Gentoo Archives: gentoo-user

From: Stefan Schulte <stefan.schulte@×××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] binutils broken revdep-rebuild
Date: Thu, 04 Feb 2010 09:58:56
Message-Id: 20100204095758.GA2153@nebukadnezar.matrix.de
In Reply to: Re: [gentoo-user] binutils broken revdep-rebuild by Mariusz Ceier
1 On Thu, Feb 04, 2010 at 09:58:42AM +0100, Mariusz Ceier wrote:
2 > W dniu 04.02.2010 08:15, Steven pisze:
3 > > I am having a recurring error for the last few weeks
4 > >
5 > > revdep-rebuild -p
6 > >
7 > > * Configuring search environment for revdep-rebuild
8 > >
9 > > * Checking reverse dependencies
10 > > * Packages containing binaries and libraries broken by a package
11 > > * update
12 > > * will be emerged.
13 > >
14 > > * Collecting system binaries and libraries
15 > > * Generated new 1_files.rr
16 > > * Collecting complete LD_LIBRARY_PATH
17 > > * Generated new 2_ldpath.rr
18 > > * Checking dynamic linking consistency
19 > > [ 37% ] * broken
20 > > /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libbfd.la (requires
21 > > -liberty)
22 > > * broken
23 > > * /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libopcodes.la
24 > > * (requires -liberty)
25 > > [ 100% ]
26 > > * Generated new 3_broken.rr
27 > > * Assigning files to packages
28 > > * /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libbfd.la
29 > > * -> sys-devel/binutils
30 > > * /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libopcodes.la
31 > > * -> sys-devel/binutils
32 > > * Generated new 4_raw.rr and 4_owners.rr
33 > > * Cleaning list of packages to rebuild
34 > > * Generated new 4_pkgs.rr
35 > > * Assigning packages to ebuilds
36 > > * Generated new 4_ebuilds.rr
37 > > * Evaluating package order
38 > > * Generated new 5_order.rr
39 > > * All prepared. Starting rebuild
40 > >
41 > > emerge --oneshot --pretend sys-devel/binutils:0
42 > >
43 > > I am not to sure how to go about trouble shooting this problem.
44 > > Everything seems to be running as usual aside from the revdep-rebuild
45 > > broken error.
46 > Check if you have /etc/ld.so.conf.d/05binutils and not
47 > /etc/env.d/00glibc ( this file should contain LDPATH="include
48 > ld.so.conf.d/*.conf" ), if so - rebuild glibc. If this is not the case,
49 > maybe try lafilefixer --justfixit.
50 >
51 > HTH
52 >
53
54 I have the same problem and I think the problem is revdep-rebuild.
55 binutils is just working fine and revdep-rebuild just thinks that it is
56 broken, because it doesnt check the right librarypath
57 (/usr/x86_64-pc-linux-gnu/lib). I tried your suggestion (rebuild glibc)
58 and it doesnt work. But I noticed something interesting:
59
60 cat /etc/ld.so.conf.d/05binutils.conf
61 /usr/x86_64-pc-linux-gnu/lib
62
63 cat /etc/ld.so.conf
64 /usr/local/lib
65 include ld.so.conf.d/*.conf
66 [...]
67
68 I think this is normal. But when I start revdep-rebuild -v I get
69
70 revdep-rebuild environment:
71 SEARCH_DIRS="/bin
72 include
73 ld.so.conf.d/*.conf
74 /lib
75 /lib64
76 /opt/bin
77 [...]
78
79 So I guess the include-Statement should load the files under
80 ld.so.conf.d but it looks like its interpreted as a normal path
81
82 -Stefan