I’m trying to install the generated SDK with the Angstrom Installer but the process always hangs after extracting the sysroot. It fails to find some shell scripts.
I’m calling the installer like this from build directory:
Angstrom SDK installer version nodistro.0
=========================================
Enter target directory for SDK (default: /usr/local/oecore-x86_64): /usr/local/oecore-x86_64
You are about to install the SDK to "/usr/local/oecore-x86_64". Proceed[Y/n]?
Extracting SDK.....................................................................................................................................................................................................done
Setting it up...ls: cannot access '/usr/local/oecore-x86_64/environment-setup-*': No such file or directory
The sysroot directory is 4.8GB in size so not much seems to be missing except for the build environment scripts.
I assume you did build the SDK with -c populate_sdk and you used the image recipe angstrom-qt5-x11-image.
Recent changes seem to make the order in which the classes populate_sdk and populate_sdk_qt5 are inherited matter and angstrom-qt5-x11-image does it in the wrong order.
Adding populate_sdk before populate_sdk_qt5 forces the correct order. I added this commit which does this.
$ ./angstrom-glibc-x86_64-armv7at2hf-neon-v2017.12-toolchain.sh
Angstrom SDK installer version nodistro.0
=========================================
Enter target directory for SDK (default: /usr/local/oecore-x86_64):
You are about to install the SDK to "/usr/local/oecore-x86_64". Proceed[Y/n]?
Extracting SDK.................................................................................done
Setting it up...ls: cannot access '/usr/local/oecore-x86_64/environment-setup-*': No such file or directory
but this using the console-tdx-image recipe.
I’m building the SDK with “bitbake console-tdx-image -c populate_sdk”.
It was working fine before with my earlier builds of the sdk but suddenly I’m getting this error. I’ve spent hours trying to figure out what may have changed inbetween but I’m at a loss. I have also tried building and installing on a different machine but I get the same result.
Build host is Ubuntu 16.04 and I’m building for colibri-imx7-emmc, build config output follows: