Description of sys-libs/csu states: "Darwin Csu (crt1.o) - Mac OS X 10.6.6 and 10.7 versions". However, `emerge -u --ask system` suggests to install it on 10.5.
Yeah? We install newer versions for ages on older OSX versions, see darwin-miscutils, gcc-apple, binutils-apple, gdb-apple ;) It's one of the great things of being on Gentoo Prefix -- even though you're on 10.4 (like I used to be until my old G5 died 2 weeks ago) you can still have a 4.2.1 compiler which is necessary to compile e.g. qt. IOW we can go where noone has ever thought we could go before. Or does your report mean it doesn't compile? It did back on 10.4/ppc.
>like I used to be until my old G5 died 2 weeks ago My condolences :( >Or does your report mean it doesn't compile? Yes, it doesn't compile (I thought it's OK when read description of package): >>> Preparing source in /Volumes/Development/Gentoo/var/tmp/portage/sys-libs/csu-79/work ... sed: can't read Makefile: No such file or directory * ERROR: sys-libs/csu-79 failed (prepare phase): * (no error message)
huh? Did it download the correct file? Were there unpack errors?
you should be able to find a copy on my devspace: http://www.gentoo.org/~grobian/distfiles/Csu-79.tar.gz
ls /Volumes/Development/Gentoo/var/tmp/portage/sys-libs/csu-79/work/Csu-79/ Makefile crt.c dyld_glue.s icplusplus.c lazy_dylib_helper.s lazy_dylib_loader.c start.s
* Csu-79.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking Csu-79.tar.gz to /Volumes/Development/Gentoo/var/tmp/portage/sys-libs/csu-79/work >>> Source unpacked in /Volumes/Development/Gentoo/var/tmp/portage/sys-libs/csu-79/work >>> Preparing source in /Volumes/Development/Gentoo/var/tmp/portage/sys-libs/csu-79/work ... sed: can't read Makefile: No such file or directory * ERROR: sys-libs/csu-79 failed (prepare phase): * (no error message) * * Call stack: * ebuild.sh, line 62: Called call-ebuildshell 'src_prepare' * environment, line 100: Called src_prepare * environment, line 213: Called die * The specific snippet of code: * sed -i -e 's:$(SYMROOT)/crt0.o::' -e '/LOCLIBDIR)\/crt0.o/d' Makefile || die
oh, crap. case-insensitivity
I'm on case-sensitive volume
RCS file: /var/cvsroot/gentoo-x86/sys-libs/csu/csu-79.ebuild,v retrieving revision 1.2 diff -u -r1.2 csu-79.ebuild --- csu-79.ebuild 3 Sep 2011 10:52:52 -0000 1.2 +++ csu-79.ebuild 4 Sep 2011 13:18:38 -0000 @@ -13,6 +13,7 @@ SLOT="0" KEYWORDS="~ppc-macos ~x64-macos ~x86-macos" IUSE="" +S=${WORKDIR}/Csu-${PV} src_prepare() { # since we don't have crt0, we can't build it either bet it works for you if you add that S= line
It works!
thanks, committed!