Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: libpng12 is missing
Date: Tue, 11 May 2010 16:43:23
Message-Id: AANLkTimHaK7YvSWAtfrgdcI9CGyU8m8gTAatl-w8EwJ4@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: libpng12 is missing by Rudmer van Dijk
1 On Tue, May 11, 2010 at 10:25 AM, Rudmer van Dijk
2 <rudmer.van.dijk@××××××.nl> wrote:
3 > On Tuesday 11 May 2010, Paul Hartman wrote:
4 >> On Mon, May 10, 2010 at 5:27 PM, Volker Armin Hemmann
5 >>
6 >> <volkerarmin@××××××××××.com> wrote:
7 >> > On Sonntag 09 Mai 2010, Rudmer van Dijk wrote:
8 >> >> On Sunday 09 May 2010, Volker Armin Hemmann wrote:
9 >> >> > On Sonntag 09 Mai 2010, Rudmer van Dijk wrote:
10 >> >> > > On Sunday 09 May 2010, walt wrote:
11 >> >> > > > This looks to me like a major portage screwup. I see that on my
12 >> >> > > > ~amd64 machine I have both versions of libpng, but the 1.2.43-r1
13 >> >> > > > doesn't install a pkg-config file because 1.4.2 installs one with
14 >> >> > > > the same name, and just as bad, version 1.2.43-r1 removed the
15 >> >> > > > libpng12 header files.
16 >> >> > > >
17 >> >> > > > For now, I'd suggest just going back to to 1.2.43 if you can --
18 >> >> > > > maybe mask
19 >> >> > > >
20 >> >> > > > >1.2.43 in package.mask?
21 >> >> > > >
22 >> >> > > > Meanwhile I'm trying to fix firefox so I can read the bug report
23 >> >> > > > mentioned by Andras.
24 >> >> > >
25 >> >> > > well I'm getting into a .la hell...
26 >> >> > > you need to rebuild packages which are themselves not invalid and
27 >> >> > > therefore can't be found by revdep-rebuild...
28 >> >> > >
29 >> >> > > searching with "grep png12 `find /usr/lib64/ -name '*.la'`" lists
30 >> >> > > all .la files with a bad png version, rebuilding those will fix the
31 >> >> > > system. after that all packages found by revdep-rebuild can be
32 >> >> > > emerged.
33 >> >> > >
34 >> >> > > Rudmer
35 >> >> >
36 >> >> > run la fixer
37 >> >>
38 >> >> ah, yes I knew there was something easier 8-)
39 >> >> well running `lafilefixer --justfixit` did not find anything so I got
40 >> >> them all
41 >> >>
42 >> >> thanks!
43 >> >>
44 >> >> Rudmer
45 >> >
46 >> > sadly, it does not get them all.
47 >> > The only save way:
48 >> > grep -R for png12 and remerge all packages whose files pop up.
49 >> >
50 >> > For example revdep-rebuilt failed to rebuild pygtk - because of glade.
51 >> > But it never tried to rebuild glade...
52 >>
53 >> In my box (~amd64, unmasked portage) emerge automagically slotted 1.2
54 >> and emerged 1.4 in slot 0. And everything seems to work and be happy.
55 >> revdep-rebuild finds nothing wrong. So maybe the easy fix is to
56 >> "emerge libpng:1.2"?
57 >
58 > yeah, thats what I have now... I still need png 1.2 for VMware Player.
59 >
60 > but in my case, I had 1.2.43-r2 which is in slot 0?!
61 > so on install of 1.4.2 it deinstalled the 1.2.43-r2 version. manually
62 > installed 1.2.43-r1 to get 1.2 back.
63
64 You're right, in fact after updating again it wanted to downgrade
65 because of nxserver... So I masked 1.2.43-r2 and now everyone is happy
66 again.