Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 511036

Summary: dev-util/scons: rework patches for ppc-aix Prefix platform
Product: Gentoo Linux Reporter: Michael Haubenwallner (RETIRED) <haubi>
Component: [OLD] DevelopmentAssignee: Michael Haubenwallner (RETIRED) <haubi>
Status: RESOLVED WONTFIX    
Severity: normal CC: prefix, python
Priority: Normal Keywords: PATCH, UPSTREAM
Version: unspecified   
Hardware: All   
OS: AIX   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 315803    
Attachments: scons-2.3.1-envcc-rules.patch: mainline patch backported to scons-2.3.1
scons-2.3.1-linker-exists-when-compiler-exists.patch: mainline patch backported to scons-2.3.1
scons-2.3.1-aix-xlc_r-is-for-threads.patch: mainline patch backported to scons-2.3.1
scons-2.3.1-aix-soname-svr4.patch: mainline pull-request#144 backported to scons-2.3.1

Description Michael Haubenwallner (RETIRED) gentoo-dev 2014-05-22 13:28:22 UTC
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.
Comment 1 Michael Haubenwallner (RETIRED) gentoo-dev 2014-05-22 13:29:57 UTC
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
Comment 2 Michael Haubenwallner (RETIRED) gentoo-dev 2014-05-22 13:31:45 UTC
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
Comment 3 Michael Haubenwallner (RETIRED) gentoo-dev 2014-05-22 13:33:43 UTC
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
Comment 4 Michael Haubenwallner (RETIRED) gentoo-dev 2014-05-22 13:36:30 UTC
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
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-11-06 09:42:03 UTC
Is this still necessary with 2.5.0?
Comment 6 Michael Haubenwallner (RETIRED) gentoo-dev 2016-11-07 10:13:01 UTC
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...
Comment 7 Fabian Groffen gentoo-dev 2020-12-14 20:38:45 UTC
any idea if this is present in 4.0.1?
Comment 8 Michael Haubenwallner (RETIRED) gentoo-dev 2020-12-15 10:13:22 UTC
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.