* QA Notice: invalid self-reference install_name /Users/fgroffen/Gentoo/usr/x86_64-apple-darwin12/lib/gcc/libstdc++.6.dylib in /Users/fgroffen/Gentoo/usr/lib/gcc/x86_64-apple-darwin12/4.2.1/libstdc++.6.0.9.dylib This sulks, for it took several hours on this bloody laptop.
Do you have the latest portage?
Yes I do. Portage 2.2.14-prefix (python 3.3.3-final-0, prefix/darwin/macos/10.8/x64, gcc-4.2.1, unavailable, 12.5.0 x86_64) % qlist -Iv sys-apps/portage sys-apps/portage-2.2.14
Did you upgrade portage and gcc-apple in the same portage run?
could be, but that shouldn't make much difference, should it? (misc-functions.sh is re-sourced every time)
I thought the same, but now I'm not so sure. Maybe portage sources its temporary copy of misc-functions.sh instead or something. Could you retest? If the problem goes away, we'll need a hard blocker or a pkg_pretend check in gcc-apple.
% emerge -Dua system These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] sys-devel/gcc-apple-4.2.1_p5666-r2 [4.2.1_p5666-r1] USE="fortran* nptl* -regression-test%" Would you like to merge these packages? [Yes/No] (and now we'll wait)
Side-note: Why do we have a "Native POSIX Threads on Linux" USE-flag by the way?
emerge seemed to have finished, it ignored the QA Notices this time.
I'll put in the check, then.
Can we close this bug?
I just did emerge --sync and rebuild my gcc-apple. $ qlist -Iv sys-apps/portage sys-apps/portage-2.2.14 I performed a fresh bootstrapping process the other day and building gcc-apple failed during emerge -e system. Then I did emerge gcc-apple and this times it worked. However, I did not check for the "QA" messages. I was trying to build llvm-3.5.1 which failed and due to a suggestion to rebuild gcc-apple this time I realized this output: $ emerge gcc-apple ... make[1]: Leaving directory '/gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666-r2/work/build' >>> Completed installing gcc-apple-4.2.1_p5666-r2 into /gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666-r2/image/ * QA Notice: Unrecognized configure options: * * --enable-nls * --without-included-gettext * --enable-libgomp * --enable-nls * --without-included-gettext * --enable-libgomp * --enable-nls * --without-included-gettext * --enable-libgomp * --with-gxx-include-dir * --enable-nls * --without-included-gettext * --with-system-zlib * --disable-checking * --disable-werror * --enable-threads * --with-local-prefix * --with-as * --with-ld * --enable-libgomp * --enable-languages * --with-target-subdir Fixing .la files gentoo/usr/lib/gcc/x86_64-apple-darwin14/4.2.1/libstdc++.la * prefixing shebang of gentoo/usr/x86_64-apple-darwin14/gcc-bin/4.2.1/gccbug ecompressdir: bzip2 -9 /usr/share/gcc-data/x86_64-apple-darwin14/4.2.1/man * QA Notice: invalid self-reference install_name /gentoo/usr/x86_64-apple-darwin14/lib/gcc/libgcc_s.1.dylib in /gentoo/usr/lib/gcc/x86_64-apple-darwin14/4.2.1/libgcc_s.1.dylib * QA Notice: invalid self-reference install_name /gentoo/usr/x86_64-apple-darwin14/lib/gcc/libgcc_s.1.dylib in /gentoo/usr/lib/gcc/x86_64-apple-darwin14/4.2.1/libgcc_s.10.4.dylib * QA Notice: invalid self-reference install_name /gentoo/usr/x86_64-apple-darwin14/lib/gcc/libgcc_s.1.dylib in /gentoo/usr/lib/gcc/x86_64-apple-darwin14/4.2.1/libgcc_s.10.5.dylib * QA Notice: invalid self-reference install_name /gentoo/usr/x86_64-apple-darwin14/lib/gcc/libgomp.1.dylib in /gentoo/usr/lib/gcc/x86_64-apple-darwin14/4.2.1/libgomp.1.0.0.dylib * QA Notice: invalid self-reference install_name /gentoo/usr/x86_64-apple-darwin14/lib/gcc/libstdc++.6.dylib in /gentoo/usr/lib/gcc/x86_64-apple-darwin14/4.2.1/libstdc++.6.0.9.dylib >>> Installing (1 of 1) sys-devel/gcc-apple-4.2.1_p5666-r2::gentoo_prefix * Switching native-compiler to x86_64-apple-darwin14-4.2.1 ... [ ok ] >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. Here are the build-log and info: emerge --info: https://bpaste.net/show/dd25e6bd8d0a Where can I find the build log of a successfully compiled and installed package? Please let me know which information you need (and where I can find it)
Not sure where we are here, since we switched to Clang, this is less relevant for the moment.