Please add the four patch files as well as this ebuild diff to dev-util/scons-2.3.1-r1.ebuild: --- scons-2.3.1-r1.ebuild 22 Apr 2014 17:32:22 -0000 1.1 +++ scons-2.3.1-r1.ebuild 22 May 2014 13:23:46 -0000 @@ -22,6 +22,10 @@ python_prepare_all() { local PATCHES=( "${FILESDIR}/${PN}-2.1.0-jython.patch" + "${FILESDIR}/${PN}-2.3.1-envcc-rules.patch" + "${FILESDIR}/${PN}-2.3.1-linker-exists-when-compiler-exists.patch" + "${FILESDIR}/${PN}-2.3.1-aix-xlc_r-is-for-threads.patch" + "${FILESDIR}/${PN}-2.3.1-aix-soname-svr4.patch" ) # https://bugs.gentoo.org/show_bug.cgi?id=361061 The first three ones are part of upstream scons default branch, the fourth (aix-soname-svr4) is pull-requested already.
Created attachment 377436 [details, diff] scons-2.3.1-envcc-rules.patch: mainline patch backported to scons-2.3.1 Upstream merged: https://bitbucket.org/scons/scons/commits/01dbe77c98446a8b4d288fb541318f31b1a0656e
Created attachment 377438 [details, diff] scons-2.3.1-linker-exists-when-compiler-exists.patch: mainline patch backported to scons-2.3.1 Upstream merged: https://bitbucket.org/scons/scons/commits/d9c0df155a9b62b2ee2529d439fa2da045b00659
Created attachment 377442 [details, diff] scons-2.3.1-aix-xlc_r-is-for-threads.patch: mainline patch backported to scons-2.3.1 Upstream merged: https://bitbucket.org/scons/scons/commits/b5b8b68377f3aa8e5b77771870c2b3fbdd2957a0
Created attachment 377444 [details, diff] scons-2.3.1-aix-soname-svr4.patch: mainline pull-request#144 backported to scons-2.3.1 https://bitbucket.org/scons/scons/pull-request/144/emulate-svr4-linux-like-soname-on-aix
Is this still necessary with 2.5.0?
Yes: as far as I am aware of, AIX shared libs still aren't fully supported upstream. But as I haven't had a recent working AIX Prefix for a long time now, seems like this bug has to linger for another while...
any idea if this is present in 4.0.1?
As far as I can see in their github repo, SCons still is unable to properly build shared libraries on AIX. On the other hand, ppc-aix is phasing out in Prefix.