Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 431044

Summary: cross-i686-pc-linux-gnu/glibc-2.15-r2 (headers only) - file collisions in /usr/i686-pc-linux-gnu/usr/include/*
Product: Gentoo Linux Reporter: Quasimodo <quasi>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: log 1
cross-i686-pc-linux-gnu-glibc-headers.log.xz
glibc-config.logs.tar.xz

Description Quasimodo 2012-08-12 07:44:00 UTC
Updating from cross-i686-pc-linux-gnu/glibc-2.14.1-r3 to cross-i686-pc-linux-gnu/glibc-2.15-r2 failes because of file collisions.

Reproducible: Always
Comment 1 Quasimodo 2012-08-12 07:44:48 UTC
Created attachment 321072 [details]
log 1
Comment 2 Quasimodo 2012-08-12 07:45:24 UTC
Created attachment 321074 [details]
cross-i686-pc-linux-gnu-glibc-headers.log.xz
Comment 3 Quasimodo 2012-08-12 07:46:28 UTC
Created attachment 321076 [details]
glibc-config.logs.tar.xz
Comment 4 Quasimodo 2012-08-12 08:07:12 UTC
There seems to be a more general problem updating the cross* packages via emerge or crossdev. Obvoiusly I can't update them but have to uninstall all of them via crossdev -C i686-pc-linux-gnu and then reinstall them via crossdev i686-pc-linux-gnu, which is pretty anoying.
Comment 5 David Flogeras 2012-08-12 14:12:37 UTC
For me, removing my cross toolchain and then trying to start from scratch ended with glibc failing, the config.log reports it is missing libgcc_eh

ie. I first did 'crossdev -C i686-pc-linux-gnu', then 'crossdev -S i686-pc-linux-gnu'
Comment 6 SpanKY gentoo-dev 2012-08-12 18:57:59 UTC
the SLOT changed.  you need to manually update the SLOT in your installed glibc, or do what David suggested.

locally, i did:
for f in /var/db/pkg/cross-*/glibc*/environment.bz2; do \
  bzcat $f | sed '/SLOT=/s:=.*:=2.2:' | bzip2 > /tmp/f ; mv /tmp/f $f ; \
done
for f in /var/db/pkg/cross-*/glibc*/SLOT; do echo 2.2 > $f ; done