Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246814 - rsync metadata cache is invalid
Summary: rsync metadata cache is invalid
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: High normal (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-15 05:44 UTC by MATSUI Tetsushi
Modified: 2008-11-16 21:59 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 MATSUI Tetsushi 2008-11-15 05:44:38 UTC
emerge of x11-libs/libXau-1.0.4 stops at the end of compilation with
"unknown flag: -compatibility_version".

Reproducible: Always

Steps to Reproduce:
1.select native-cctools-1 as the binutils
2.emerge =x11-libs/libXau-1.0.4

Actual Results:  
the last of its output:

i686-apple-darwin8-gcc -dynamiclib  -o .libs/libXau.6.0.0.dylib  .libs/AuDispose.o .libs/AuFileName.o .libs/AuGetAddr.o .libs/AuGetBest.o .libs/AuLock.o .libs/AuRead.o .libs/AuUnlock.o .libs/AuWrite.o   -march=nocona -install_name  /Users/tetsushi/Gentoo/usr/lib/libXau.6.dylib -Wl,-compatibility_version -Wl,7 -Wl,-current_version -Wl,7.0
/Users/tetsushi/Gentoo/usr/bin/i686-apple-darwin8-ld: unknown flag: -compatibility_version
collect2: ld returned 1 exit status
make[1]: *** [libXau.la] Error 1
make[1]: Leaving directory `/Users/tetsushi/Gentoo/var/tmp/portage/x11-libs/libXau-1.0.4/work/libXau-1.0.4'
make: *** [all] Error 2



I'm using:
gcc-apple-4.0.1_p5488
native-cctools-1

At the time I installed 1.0.3, there was no problem.
I suspect native-cctools and switch back to binutils-apple,
then emerge doesn't fail.
Comment 1 Fabian Groffen gentoo-dev 2008-11-15 21:46:52 UTC
native-cctools is not meant for normal use on OSX.  It is only a hack to recover from a broken linker situation, and cannot be expected to work for general stuff.
Comment 2 MATSUI Tetsushi 2008-11-16 03:05:20 UTC
(In reply to comment #1)
> native-cctools is not meant for normal use on OSX.

Then, I have to ask how to prevend accidental emerge of native-cctools.
Maybe it is automatically pulled in by x-modular.eclass.

Thanks anyway for clarification.
Comment 3 Fabian Groffen gentoo-dev 2008-11-16 09:13:45 UTC
I added it to package.mask.  If you see a package pulling it in, please file a bug so we can fix that.  Only AIX should pull it in, no other platform for the moment.
Comment 4 MATSUI Tetsushi 2008-11-16 13:46:40 UTC
rsync servers for prefix have outdated metadata/cache entries.
This is the root cause why native-cctools has pulled in.

The scenario played is the following.
DEPEND includes (from old x-modular.eclass, I guess):
|| ( >=sys-devel/binutils-2.16.1-r3 sys-devel/odcctools sys-devel/native-cctools )
and
(1) binutils has no ~x86-macos keyword
(2) odcctools is masked
(3) native-cctools is keyworded and not (yet) masked
thus native-cctools is pulled in.

The expected scenario is the following.
The DEPEND include:
|| ( >=sys-devel/binutils-2.16.1-r3 sys-devel/binutils-apple sys-devel/native-cctools )
and
(2') binutils-apple has been already installed
thus no role for native-cctools.

Currently, there's no installable binutils for x86-macos in *the* DEPEND.
Please update cache!
Comment 5 Fabian Groffen gentoo-dev 2008-11-16 20:44:44 UTC
thanks, you pointed out a serious bug.
Comment 6 Fabian Groffen gentoo-dev 2008-11-16 21:59:11 UTC
rsync cache generation has been fixed to take eclass changes into account.

Thanks!