Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 511036 - dev-util/scons: rework patches for ppc-aix Prefix platform
Summary: dev-util/scons: rework patches for ppc-aix Prefix platform
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All AIX
: Normal normal (vote)
Assignee: Michael Haubenwallner (RETIRED)
URL:
Whiteboard:
Keywords: PATCH, UPSTREAM
Depends on:
Blocks: prefix-gx86
  Show dependency tree
 
Reported: 2014-05-22 13:28 UTC by Michael Haubenwallner (RETIRED)
Modified: 2020-12-15 10:13 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
scons-2.3.1-envcc-rules.patch: mainline patch backported to scons-2.3.1 (scons-2.3.1-envcc-rules.patch,14.79 KB, patch)
2014-05-22 13:29 UTC, Michael Haubenwallner (RETIRED)
Details | Diff
scons-2.3.1-linker-exists-when-compiler-exists.patch: mainline patch backported to scons-2.3.1 (scons-2.3.1-linker-exists-when-compiler-exists.patch,2.65 KB, patch)
2014-05-22 13:31 UTC, Michael Haubenwallner (RETIRED)
Details | Diff
scons-2.3.1-aix-xlc_r-is-for-threads.patch: mainline patch backported to scons-2.3.1 (scons-2.3.1-aix-xlc_r-is-for-threads.patch,5.45 KB, patch)
2014-05-22 13:33 UTC, Michael Haubenwallner (RETIRED)
Details | Diff
scons-2.3.1-aix-soname-svr4.patch: mainline pull-request#144 backported to scons-2.3.1 (scons-2.3.1-aix-soname-svr4.patch,18.57 KB, patch)
2014-05-22 13:36 UTC, Michael Haubenwallner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.