>>> Completed installing gettext-0.19.3 into /Users/joe/gentoo/tmp/var/tmp/portage/sys-devel/gettext-0.19.3/image/ * prefixing shebang of Users/joe/gentoo/usr/bin/autopoint * prefixing shebang of Users/joe/gentoo/usr/bin/gettext.sh * prefixing shebang of Users/joe/gentoo/usr/bin/gettextize ecompressdir: bzip2 -9 /usr/share/doc ecompressdir: bzip2 -9 /usr/share/info ecompressdir: bzip2 -9 /usr/share/man * QA Notice: invalid reference to /Users/joe/gentoo/usr/x86_64-apple-darwin12/lib/gcc/libstdc++.6.dylib in /Users/joe/gentoo/usr/lib/libasprintf.0.0.0.dylib * ERROR: sys-devel/gettext-0.19.3::gentoo_prefix failed: * invalid install_name found, your application or library will crash at runtime * * Call stack: * misc-functions.sh, line 1191: Called install_qa_check * misc-functions.sh, line 220: Called install_qa_check_macho * misc-functions.sh, line 401: Called die * The specific snippet of code: * has allow_broken_install_names ${FEATURES} || \ * die "invalid install_name found, your application or library will crash at runtime" * _________ As a workaround, ln -s /Users/joe/gentoo/usr/lib/gcc/x86_64-apple-darwin12/4.2.1/libstdc++.6.dylib /Users/joe/gentoo/usr/x86_64-apple-darwin12/lib/gcc/ allowed it to get passed the QA concern and complete the merge.
That libstdc++ came from an unmodified gcc-apple?
Yeah, I'm just trying a fresh bootstrap using the newly bumped snapshot.
OK, and now I die here: The following mask changes are necessary to proceed: (see "package.unmask" in the portage(5) man page for more details) # required by sys-devel/gcc-apple-4.2.1_p5666-r2 # required by sys-devel/binutils-apple-6.1 # required by @system # required by @world (argument) # /Users/joe/gentoo/usr/portage/profiles/package.mask: # Ryan Hill <rhill@gentoo.org> (28 Apr 2015) # Moving to /lib/gentoo/functions.sh broke the eclass # by changing output it relies on. See bug #504118, # 547586, and 547962. =sys-devel/gcc-config-1.8-r1
Now that bootstrap has completed (having unmasked gcc-config-1.8-r1), it looks like I have two copies of libstdc++.6.0.9: joe@Josephs-MacBook-Pro ~/gentoo $ ls -li /Users/joe/gentoo/usr/lib/gcc/x86_64-apple-darwin12/4.2.1 total 3704 54512237 -rw-r--r-- 1 joe staff 3264 May 6 06:57 crt3.o 53808546 drwxr-xr-x 29 joe staff 986 May 6 06:58 include 53808545 drwxr-xr-x 6 joe staff 204 May 6 06:58 kext 54512217 -rw-r--r-- 1 joe staff 347360 May 6 06:57 libgcc.a 54512221 -rw-r--r-- 1 joe staff 119408 May 6 06:57 libgcc_eh.a 54512222 -rw-r--r-- 1 joe staff 84660 May 6 06:57 libgcc_s.1.dylib 54512205 -rw-r--r-- 1 joe staff 10896 May 6 06:57 libgcc_s.10.4.dylib 54512206 -rw-r--r-- 1 joe staff 11024 May 6 06:57 libgcc_s.10.5.dylib 54513105 lrwxrwxrwx 1 joe staff 16 May 6 06:57 libgcc_s_ppc64.1.dylib -> libgcc_s.1.dylib 54513104 lrwxrwxrwx 1 joe staff 16 May 6 06:57 libgcc_s_x86_64.1.dylib -> libgcc_s.1.dylib 54512219 -rw-r--r-- 1 joe staff 90864 May 6 06:57 libgcov.a 54512932 -rwxr-xr-x 1 joe staff 38856 May 6 06:57 libgomp.1.0.0.dylib 54513103 lrwxrwxrwx 1 joe staff 19 May 6 06:57 libgomp.1.dylib -> libgomp.1.0.0.dylib 54512937 -rw-r--r-- 1 joe staff 60584 May 6 06:57 libgomp.a 54513102 lrwxrwxrwx 1 joe staff 19 May 6 06:57 libgomp.dylib -> libgomp.1.0.0.dylib 54512935 -rwxr-xr-x 1 joe staff 784 May 6 06:57 libgomp.la 54512931 -rw-r--r-- 1 joe staff 165 May 6 06:57 libgomp.spec 54512923 -rwxr-xr-x 1 joe staff 1096084 May 6 06:57 libstdc++.6.0.9.dylib 54513101 lrwxrwxrwx 1 joe staff 21 May 6 06:57 libstdc++.6.dylib -> libstdc++.6.0.9.dylib 54512928 -rw-r--r-- 1 joe staff 1727712 May 6 06:57 libstdc++.a 54513100 lrwxrwxrwx 1 joe staff 21 May 6 06:57 libstdc++.dylib -> libstdc++.6.0.9.dylib 54512994 -rwxr-xr-x 1 joe staff 1050 May 6 06:58 libstdc++.la 54512917 -rw-r--r-- 1 joe staff 142864 May 6 06:57 libsupc++.a 54512915 -rwxr-xr-x 1 joe staff 978 May 6 06:57 libsupc++.la 53808544 drwxr-xr-x 6 joe staff 204 May 6 06:58 static joe@Josephs-MacBook-Pro ~/gentoo $ ls -li /Users/joe/gentoo/usr/x86_64-apple-darwin12/lib/gcc/ total 1236 54513142 -rw-r--r-- 1 joe staff 84660 May 6 06:57 libgcc_s.1.dylib 54513143 -rw-r--r-- 1 joe staff 10896 May 6 06:57 libgcc_s.10.4.dylib 54513144 -rw-r--r-- 1 joe staff 11024 May 6 06:57 libgcc_s.10.5.dylib 54513145 lrwxr-xr-x 1 joe staff 16 May 6 06:57 libgcc_s_ppc64.1.dylib -> libgcc_s.1.dylib 54513146 lrwxr-xr-x 1 joe staff 16 May 6 06:57 libgcc_s_x86_64.1.dylib -> libgcc_s.1.dylib 54513147 -rwxr-xr-x 1 joe staff 38856 May 6 06:57 libgomp.1.0.0.dylib 54513148 lrwxr-xr-x 1 joe staff 19 May 6 06:57 libgomp.1.dylib -> libgomp.1.0.0.dylib 54513150 -rwxr-xr-x 1 joe staff 1096084 May 6 06:57 libstdc++.6.0.9.dylib 54513151 lrwxr-xr-x 1 joe staff 21 May 6 06:57 libstdc++.6.dylib -> libstdc++.6.0.9.dylib joe@Josephs-MacBook-Pro ~/gentoo $ md5sum /Users/joe/gentoo/usr/lib/gcc/x86_64-apple-darwin12/4.2.1/libstdc++.6.0.9.dylib 67072184080f6142c4a0b2f3d50093b9 /Users/joe/gentoo/usr/lib/gcc/x86_64-apple-darwin12/4.2.1/libstdc++.6.0.9.dylib joe@Josephs-MacBook-Pro ~/gentoo $ md5sum /Users/joe/gentoo/usr/x86_64-apple-darwin12/lib/gcc/libstdc++.6.0.9.dylib 67072184080f6142c4a0b2f3d50093b9 /Users/joe/gentoo/usr/x86_64-apple-darwin12/lib/gcc/libstdc++.6.0.9.dylib joe@Josephs-MacBook-Pro ~/gentoo $
Same issue occurs with me, late 2013 MBP. Workaround with symlink resolves bug for me as well.
I changed the bootstrap to use clang, please try again tomorrow
Yep, tried again today, and it worked during a brand new prefix bootstrap on Yosemite OS X 10.10.3 (14D136).
Very nice. I tried it today too on Yosemite 10.10.3 and everything worked for me too!