Summary: | sys-devel/binutils-config-2: cross-binutils have library header files deleted due to funky `find` | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pinky <j-pi> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | xmw |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://savannah.gnu.org/bugs/index.php?30777 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
buildlog for cross-avr/binutils cross-avr/binutils CONTENTS file as found after instalation |
Description
Pinky
2010-07-29 03:26:50 UTC
Created attachment 240541 [details]
emerge --info
Are you sure about the CONTENTS file you grep? michael@io % cat /var/db/pkg/sys-devel/binutils-2.20.1-r1/CONTENTS | grep bfd.h obj /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20.1/include/bfd.h f96264231e30a39d0f9d3f1d7081ffac 1273413297 michael@io % la /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20.1/include/bfd.h -rw-r--r-- 1 root root 188K May 9 15:54 /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20.1/include/bfd.h michael@io % cat /var/db/pkg/cross-avr/binutils-2.20.1-r1/CONTENTS | grep bfd.h obj /usr/lib/binutils/avr/2.20.1/include/bfd.h 1552489d5cc3f119069441fcfc3d90d1 1280185253 michael@io gentoo-dev % la /usr/lib/binutils/avr/2.20.1/include/bfd.h -rw-r--r-- 1 root root 188K Jul 27 01:00 /usr/lib/binutils/avr/2.20.1/include/bfd.h sorry, I have had this on my ming grep bfd.h /var/db/pkg/cross-avr/binutils-2.20.1-r1/CONTENTS obj /usr/lib/binutils/avr/2.20.1/include/bfd.h 1552489d5cc3f119069441fcfc3d90d1 1280439092 ls /usr/lib/binutils/avr/2.20.1/include/bfd.hls: cannot access /usr/lib/binutils/avr/2.20.1/include/bfd.h: No such file or directory I reemerged coss tools one more to by absolutely sure, so it is relly missing. Created attachment 240637 [details]
buildlog for cross-avr/binutils
nothigh abnormal at first look
post the whole /var/db/pkg/cross-avr/binutils-2.20.1-r1/CONTENTS file as an attachment. if the file is listed in CONTENTS but does not exist, that really doesnt have anything to do with binutils. also, run `qcheck cross-avr/binutils` and post the output of it qcheck cross-avr/binutils Checking cross-avr/binutils-2.20.1-r1 ... AFK: /usr/lib/binutils/avr/2.20.1/include/bfd.h AFK: /usr/lib/binutils/avr/2.20.1/include/ansidecl.h AFK: /usr/lib/binutils/avr/2.20.1/include/symcat.h AFK: /usr/lib/binutils/avr/2.20.1/include/bfdlink.h AFK: /usr/lib/binutils/avr/2.20.1/include/dis-asm.h AFK: /usr/lib/binutils/avr/2.20.1/include/libiberty.h * 261 out of 267 files are good Created attachment 241385 [details]
cross-avr/binutils CONTENTS file as found after instalation
i'm not aware of any Gentoo package that rm's those files/dirs. i would suggest you try doing: emerge -C cross-avr/binutils rm -rf /usr/lib/binutils/avr/ emerge cross-avr/binutils and see if the files in question exist. they were def installed by the ebuild, otherwise they never would have been in the CONTENTS file. that listing is created after the ebuild has finished all install steps. (In reply to comment #8) > i'm not aware of any Gentoo package that rm's those files/dirs. i would > suggest you try doing: > emerge -C cross-avr/binutils > rm -rf /usr/lib/binutils/avr/ > emerge cross-avr/binutils Still the same result. I will do some more investigations letter, now I'm too bussy ... > > and see if the files in question exist. they were def installed by the ebuild, > otherwise they never would have been in the CONTENTS file. that listing is > created after the ebuild has finished all install steps. > another test: emerge -b cross-avr/binutils look at the binary .tbz2 package and make sure bfd.h is in it emerge -C cross-avr/binutils see if the bfd.h is removed on the way in this is a smaller test, so you could even do: strace -f -o log emerge -C cross-avr/binutils (In reply to comment #10) > another test: > emerge -b cross-avr/binutils > look at the binary .tbz2 package and make sure bfd.h is in it > emerge -C cross-avr/binutils > see if the bfd.h is removed on the way in > > this is a smaller test, so you could even do: > strace -f -o log emerge -C cross-avr/binutils > works fine with =sys-devel/binutils-config-1.9-r4 does not work with =sys-devel/binutils-config-2 looks like binutils-config bug should be fixed with binutils-config-2-r1 ... odd find behavior screwed me up http://sources.gentoo.org/sys-devel/binutils-config/files/binutils-config-2?r1=1.1&r2=1.2 btw, thanks for narrowing things down. dont know why my cross-avr/binutils wasnt showing the same as you, but once i cleaned things out and started both from scratch, i could reproduce. |