HI MPICH build is facing a problem due to the fact that the configure has a variable call BASH_SHELL the which set the bash shell of the developer computer. However if the developer has /usr/bin/bash the configure set this for the rest of compilation ( you can check this in config.log). Due to the fact that Yocto just has /bin/bash the build of any image that includes mpich fails.
ERROR: Unable to install packages. Command '/home/vrodri3/poky/build/tmp/sysroots/x86_64-linux/usr/bin/smart --quiet --data-dir=/home/vrodri3/poky/build/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/rootfs/var/lib/smart install -y mpich@i586 gcc@i586 run-postinsts@all packagegroup-core-boot@qemux86 bash@i586' returned 1: error: Can't install mpich-3.1.1-r0@i586: no package provides /usr/bin/bash I tested on the mpich src and the problem is fixed with a simple : export BASH_SHELL=/bin/bash ( configure does not have an option for this ) I have 2 points : 1) When I do the same export and then bitbake os-core-image-minimal the build still fails , Why is that happening? 2) What is the best way to fix this ? How can I set the environment variable on the recipe ? Should I patch the Configure ? Thanks a lot and regards Victor Rodriguez
-- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
