This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM335X: Yocto build for tisdk-default-image failing because of openssl command missing

Part Number: PROCESSOR-SDK-AM335X


Tool/software:

I'm trying to build the default image for the AM3359ICE with the current PROCESSOR-SDK linux-rt-am335x-evm-09.01.00.001 under Ubuntu 22.04LTS

I reconfigured the default shell to use bash, sourced the environment and started the build:

$ git clone https://git.ti.com/git/arago-project/oe-layersetup.git tisdk
$ cd tisdk
$ ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-09.01.00-config.txt
$ source sources/oe-core/oe-init-build-env
$ . conf/setenv
$ MACHINE=am335x-evm bitbake -k tisdk-default-image


Which eventually fails to complete the libcamera recipe/script, because it cannot find the openssl command:

ERROR: libcamera-1_0.0.5-r0 do_recalculate_ipa_signatures_package: ExecutionError('/home/user/ti-processor-sdk-linux-rt-am335x-evm-09.01.00.001/tisdk/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/libcamera/1_0.0.5-r0/temp/run.do_recalculate_ipa_signatures_package.2113609', 127, None, None)
ERROR: Logfile of failure stored in: /home/user/ti-processor-sdk-linux-rt-am335x-evm-09.01.00.001/tisdk/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/libcamera/1_0.0.5-r0/temp/log.do_recalculate_ipa_signatures_package.2113609
Log data follows:
| DEBUG: Executing shell function do_recalculate_ipa_signatures_package
| Regenerating IPA modules signatures
| /home/user/ti-processor-sdk-linux-rt-am335x-evm-09.01.00.001/tisdk/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/libcamera/1_0.0.5-r0/git/src/ipa/ipa-sign.sh: line 13: openssl: command not found
| /home/user/ti-processor-sdk-linux-rt-am335x-evm-09.01.00.001/tisdk/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/libcamera/1_0.0.5-r0/git/src/ipa/ipa-sign.sh: line 13: openssl: command not found
| WARNING: /home/user/ti-processor-sdk-linux-rt-am335x-evm-09.01.00.001/tisdk/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/libcamera/1_0.0.5-r0/temp/run.do_recalculate_ipa_signatures_package.2113609:156 exit 127 from '/home/user/ti-processor-sdk-linux-rt-am335x-evm-09.01.00.001/tisdk/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/libcamera/1_0.0.5-r0/git/src/ipa/ipa-sign-install.sh /home/user/ti-processor-sdk-linux-rt-am335x-evm-09.01.00.001/tisdk/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/libcamera/1_0.0.5-r0/build/src/ipa-priv-key.pem "${modules}"'
| WARNING: Backtrace (BB generated script):
|       #1: do_recalculate_ipa_signatures_package, /home/user/ti-processor-sdk-linux-rt-am335x-evm-09.01.00.001/tisdk/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/libcamera/1_0.0.5-r0/temp/run.do_recalculate_ipa_signatures_package.2113609, line 156
|       #2: main, /home/user/ti-processor-sdk-linux-rt-am335x-evm-09.01.00.001/tisdk/build/arago-tmp-default-glibc/work/armv7at2hf-neon-oe-linux-gnueabi/libcamera/1_0.0.5-r0/temp/run.do_recalculate_ipa_signatures_package.2113609, line 159
ERROR: Task (/home/user/ti-processor-sdk-linux-rt-am335x-evm-09.01.00.001/tisdk/sources/meta-arago/meta-arago-extras/recipes-multimedia/libcamera/libcamera_0.0.5.bb:do_recalculate_ipa_signatures_package) failed with exit code '1'

openssl as well as libssl-dev packages are installed and are usable from the shell. They are installed at the default location /usr/bin/. I also tried reinstalling both of those packages, but this does not seem to solve the issue at hand.

What's the best way to solve this issue?