Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 532652 - sys-devel/gcc-apple-4.2.1_p5666-r2 - 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
Summary: sys-devel/gcc-apple-4.2.1_p5666-r2 - QA Notice: invalid self-reference instal...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-15 15:53 UTC by Fabian Groffen
Modified: 2015-05-31 10:27 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 Fabian Groffen gentoo-dev 2014-12-15 15:53:35 UTC
* 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.
Comment 1 Ruud Koolen (RETIRED) archtester gentoo-dev Security 2014-12-16 13:24:34 UTC
Do you have the latest portage?
Comment 2 Fabian Groffen gentoo-dev 2014-12-16 13:40:57 UTC
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
Comment 3 Ruud Koolen (RETIRED) archtester gentoo-dev Security 2014-12-16 14:27:38 UTC
Did you upgrade portage and gcc-apple in the same portage run?
Comment 4 Fabian Groffen gentoo-dev 2014-12-16 15:22:12 UTC
could be, but that shouldn't make much difference, should it?  (misc-functions.sh is re-sourced every time)
Comment 5 Ruud Koolen (RETIRED) archtester gentoo-dev Security 2014-12-16 15:29:50 UTC
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.
Comment 6 Fabian Groffen gentoo-dev 2014-12-16 15:31:10 UTC
% 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)
Comment 7 Fabian Groffen gentoo-dev 2014-12-16 15:32:51 UTC
Side-note:
Why do we have a "Native POSIX Threads on Linux" USE-flag by the way?
Comment 8 Fabian Groffen gentoo-dev 2014-12-19 09:49:05 UTC
emerge seemed to have finished, it ignored the QA Notices this time.
Comment 9 Ruud Koolen (RETIRED) archtester gentoo-dev Security 2014-12-19 14:03:17 UTC
I'll put in the check, then.
Comment 10 Fabian Groffen gentoo-dev 2015-01-03 10:24:49 UTC
Can we close this bug?
Comment 11 jcdx 2015-01-31 18:24:39 UTC
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)
Comment 12 Fabian Groffen gentoo-dev 2015-05-31 10:27:29 UTC
Not sure where we are here, since we switched to Clang, this is less relevant for the moment.