Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Re: libpng12 is missing Paul Hartman <paul.hartman+gentoo@×××××.com>