Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 447706 - Solaris needs same as interfix for libbz2 in app-arch/bzip2
Summary: Solaris needs same as interfix for libbz2 in app-arch/bzip2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Solaris
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-18 11:34 UTC by Alan Hourihane
Modified: 2013-01-23 20:58 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Hourihane 2012-12-18 11:34:20 UTC
For Solaris, the bzip2 ebuild needs this for Solaris 10... (just as interix)

elif [[ ${CHOST} == *-solaris* ]]; then
        sed -i -e 's,-soname,-h,' Makefile-libbz2.so || die "cannot replace -sonamee with -h"
fi
Comment 1 Fabian Groffen gentoo-dev 2012-12-18 11:42:49 UTC
I guess that's when not using GNU-ld.  I'm still not sure if we should support that.
Comment 2 Alan Hourihane 2012-12-18 11:49:05 UTC
The GNU linker supports both -soname and -h, whereas the internal linker just supports -h.

And bzip2 has shown up as the only problem, so I can't see any reason we can't make this change.
Comment 3 Alan Hourihane 2012-12-18 11:49:48 UTC
Oh, and this is only during bootstrap. We'll get the full binutils package later.
Comment 4 Fabian Groffen gentoo-dev 2012-12-18 12:16:17 UTC
It's a bit odd that I never hit this problem, while I've been bootstrapping on Solaris and derivatives a lot...  So I'm wondering what you're doing different (like bug #447704).
Comment 5 Alan Hourihane 2012-12-18 12:34:15 UTC
I'm just following the guide....

http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml
Comment 6 Fabian Groffen gentoo-dev 2012-12-18 12:44:18 UTC
That's manual.

This one should work flawlessly for Solaris:

http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap.xml

(I verified it last week on Solaris 10u6 Sparc)
Comment 7 Alan Hourihane 2012-12-18 12:59:43 UTC
o.k. I'm starting this one right now.
Comment 8 Alan Hourihane 2013-01-23 20:58:08 UTC
It works with the auto script.