Gentoo Archives: gentoo-user

From: John Covici <covici@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] a couple of preserved-rebuild problems -- how to fix
Date: Sun, 29 Jan 2017 15:03:37
Message-Id: m3zii9c3ic.wl-covici@ccs.covici.com
In Reply to: Re: [gentoo-user] a couple of preserved-rebuild problems -- how to fix by Alan McKinnon
1 On Sun, 29 Jan 2017 09:13:34 -0500,
2 Alan McKinnon wrote:
3 >
4 > On 29/01/2017 16:02, John Covici wrote:
5 > > On Sun, 29 Jan 2017 08:41:59 -0500,
6 > > Responses in line.
7 > >
8 > > Alan McKinnon wrote:
9 > >>
10 > >> On 29/01/2017 12:11, John Covici wrote:
11 > >>> Hi. I am having a couple of preserved rebuild problems which I have
12 > >>> no idea how to fix.
13 > >>
14 > >> Ugh. Those problems are horrid to fix
15 > >>
16 > >>>
17 > >>> The first one is like this:
18 > >>>>>> package: sys-libs/binutils-libs-2.27
19 > >>> * - /usr/lib64/libbfd-2.25.1.so
20 > >>> * used by
21 > >>> /usr/lib64/binutils/x86_64-pc-linux-gnu/2.25.1/libopcodes-2.25.1.so
22 > >>> (sys-devel/binutils-2.25.1-r1)
23 > >>>
24 > >>> And no matter how many times I recompile the suggested package(s) it
25 > >>> remains. Why is this happening and how can I fix?
26 > >>
27 > >> Let's establish first what portage thinks the problem is. What is the
28 > >> output of
29 > >>
30 > >> ldd /usr/lib64/binutils/x86_64-pc-linux-gnu/2.25.1/libopcodes-2.25.1.so
31 > >>
32 > >
33 > > linux-vdso.so.1 (0x00007fff91936000)
34 > > libbfd-2.25.1.so => /usr/lib64/libbfd-2.25.1.so
35 > > (0x00007fd3deeb7000)
36 > > libc.so.6 => /lib64/libc.so.6
37 > > (0x00007fd3deb1e000)
38 > > libz.so.1 => /lib64/libz.so.1
39 > > (0x00007fd3de906000)
40 > > libdl.so.2 => /lib64/libdl.so.2
41 > > (0x00007fd3de702000)
42 > > /lib64/ld-linux-x86-64.so.2
43 > > (0x000055f4cd0d2000)
44 > >
45 > >> and just for fun
46 > >>
47 > >> ldd /usr/lib64/libbfd-2.25.1.so
48 > > linux-vdso.so.1 (0x00007ffeac123000)
49 > > libz.so.1 => /lib64/libz.so.1 (0x00007fbaf1838000)
50 > > libdl.so.2 => /lib64/libdl.so.2
51 > > (0x00007fbaf1634000)
52 > > libc.so.6 => /lib64/libc.so.6 (0x00007fbaf129a000)
53 > > /lib64/ld-linux-x86-64.so.2
54 > > (0x00005643cb966000)
55 > >
56 > >>
57 > >> Plus, what are your USE flags for binutils.
58 > > I seem to have several binutils -- here is what I have:
59 > > Installed versions: 2.25.1-r1(2.25.1)(01:06:59 AM
60 > > 01/11/2017)(cxx nls zlib -multitarget -static-libs -test
61 > > -vanilla) 2.26.1(2.26.1)(07:16:43 AM 12/27/2016)(cxx nls
62 > > -multitarget -static-libs -test -vanilla) 2.27(2.27)(07:23:40 AM
63 > > 12/27/2016)(cxx nls -multitarget -static-libs -test -vanilla)
64 >
65 >
66 > All of that looks normal and correct, no problems. I can't see any
67 > reason why portage lost track of what it's preserving for binutils
68 >
69 > Unless someone else has a bright idea, I suggest you log a bug and see
70 > what the devs have to say
71 >
72 > >
73 > >>
74 > >>>
75 > >>> Now the second one is more complicated:
76 > >>>>>> package: media-video/ffmpeg-3.2.2
77 > >>> * - /usr/lib64/libswscale.so.3
78 > >>> * - /usr/lib64/libswscale.so.3.1.101
79 > >>> * used by /usr/lib64/gstreamer-0.10/libgstffmpegscale.so
80 > >>> (media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r3)
81 > >>> * - /usr/lib64/libpostproc.so.53
82 > >>> * - /usr/lib64/libpostproc.so.53.3.100
83 > >>> * used by /usr/lib64/gstreamer-0.10/libgstpostproc.so
84 > >>> (media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r3)
85 > >>> * - /usr/lib64/libavcodec.so.56
86 > >>> * - /usr/lib64/libavcodec.so.56.60.100
87 > >>> * used by /usr/lib64/gstreamer-0.10/libgstffmpeg.so
88 > >>> (media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r3)
89 > >>> * used by /usr/lib64/gstreamer-0.10/libgstpostproc.so
90 > >>> (media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r3)
91 > >>> * - /usr/lib64/libavformat.so.56
92 > >>> * - /usr/lib64/libavformat.so.56.40.101
93 > >>> * used by /usr/lib64/gstreamer-0.10/libgstffmpeg.so
94 > >>> (media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r3)
95 > >>> * - /usr/lib64/libavutil.so.54
96 > >>> * - /usr/lib64/libavutil.so.54.31.100
97 > >>> * used by
98 > >>> /usr/lib64/gstreamer-0.10/libgstffmpeg.so
99 > >>> (media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r3)
100 > >>> * used by
101 > >>> /usr/lib64/gstreamer-0.10/libgstffmpegscale.so
102 > >>> (media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r3)
103 > >>> * used by
104 > >>> /usr/lib64/gstreamer-0.10/libgstpostproc.so
105 > >>> (media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r3)
106 > >>> * - /usr/lib64/libswresample.so.1
107 > >>> * - /usr/lib64/libswresample.so.1.2.101
108 > >>>
109 > >>> Now when I try to recompile it wants to upgrade, but the upgrade does
110 > >>> not emerge and there are so many depricated warnings and errors that I
111 > >>> have a link to the build log instead
112 > >>>
113 > >>> https://covici.com/owncloud/index.php/s/LOysHMSxcFDfLDD
114 > >>>
115 > >>> There is no ebuild for the original version in the tree, so I am
116 > >>> stumped here.
117 > >>
118 > >> This one rings a bell but I can't recall exactly what.
119 > >>
120 > >> I have several times in the past resolved these by brute force,
121 > >> unmerging the problem package and the thing it depends or or links to,
122 > >> then rebuilding both.
123 > >>
124 > >> Are you by chance running a mixed stable/testing system here?
125 > >>
126 > >
127 > > No, just testing. I could unmerge and re-emerge ffmpeg, but not the
128 > > plugin.
129 >
130 > Ah, but you can :-)
131 >
132 > portage keeps a copy of all installed ebuilds, very useful for cases
133 > like this:
134 >
135 > /var/db/pkg/cat/pkg-version/*ebuild
136 >
137 > Copy that to your local overlay so you can reinstall it.
138 > Alternatively, copy it somewhere safe and run
139 > ebuild /path/to/copy/of/<plugin>ebuild merge.
140 > This is ebuild, not portage, so it won't figure out dependencies for
141 > you; but that shouldn't be a problem as it's already installed and
142 > emerge world is happy with the situation
143 >
144 >
145 >
146 > --
147 > Alan McKinnon
148 > alan.mckinnon@×××××.com
149 >
150 >
151 w
152 Thanks for that tip, I did not know about that, but unfortunately,
153 even when compiling that one, I get the same types of errors as with
154 the upgrade.
155
156 --
157 Your life is like a penny. You're going to lose it. The question is:
158 How do
159 you spend it?
160
161 John Covici
162 covici@××××××××××.com