openjade fails to build with lots of messages of the form "libtool: 1: eval: base_compile+= x86_64-pc-linux-gnu-g++: not found" (full log attached). This only occurs if the /bin/sh symlink points to a shell, which does not have the += operator (in my case app-shells/dash). Reproducible: Always Steps to Reproduce: 1. emerge app-shells/dash 2. eselect sh set dash 3. emerge openjade Actual Results: openjade build fails with "$XYZ not found" errors. Expected Results: Should use bash explicitly or use POSIX operators. As bash is required for portage anyway, one can easily work around it temporarily by selecting bash for sh during the build and switching back.
Created attachment 318534 [details] Build log of the failed emerge
It looks like Makefile.comm should set SHELL=/bin/bash. + 19 Jul 2012; Mike Gilbert <floppym@gentoo.org> openjade-1.3.2-r3.ebuild, + openjade-1.3.2-r4.ebuild: + Pass SHELL=/bin/bash on the emake command line to avoid bug 427090.