Gentoo Archives: gentoo-user

From: Hilco Wijbenga <hilco.wijbenga@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] media-gfx/graphviz-2.26.3-r3
Date: Thu, 22 Sep 2011 17:51:16
Message-Id: CAE1pOi0K8FDQmg34DK1RhjpMi=7B34aKH-Y=HPw6p82tyx1Zaw@mail.gmail.com
In Reply to: Re: [gentoo-user] media-gfx/graphviz-2.26.3-r3 by Florian Philipp
1 On 22 September 2011 00:18, Florian Philipp <lists@×××××××××××.net> wrote:
2 > Am 22.09.2011 07:56, schrieb Mick:
3 >> On Wednesday 21 Sep 2011 23:02:02 Hilco Wijbenga wrote:
4 >>> Hi all,
5 >>>
6 >>> I'm trying to install Graphviz but I get:
7 >>>
8 >>> centaur ~ # emerge graphviz
9 >>> </snip>
10 >>> make[3]: Entering directory
11 >>> `/var/tmp/portage/media-gfx/graphviz-2.26.3-r3/work/graphviz-2.26.3/plugin/
12 >>> gd' CC     gvplugin_gd.lo
13 >>>   CC     gvrender_gd.lo
14 >>>   CC     gvrender_gd_vrml.lo
15 >>>   CC     gvtextlayout_gd.lo
16 >>>   CC     gvloadimage_gd.lo
17 >>>   CC     gvdevice_gd.lo
18 >>>   CCLD   libgvplugin_gd_C.la
19 >>>   CCLD   libgvplugin_gd.la
20 >>> /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../../i686-pc-linux-gnu/bin/ld:
21 >>> cannot find -lpng14
22 >>> </snip>
23 >>>
24 >>> Even though I have libpng-1.4.8-r2 installed:
25 >>>
26 >>> centaur ~ # eix media-libs/libpng
27 >>> [I] media-libs/libpng
28 >>>      Available versions:
29 >>>         (1.2)   1.2.45 (~)1.2.46
30 >>>         (0)     1.4.8 (~)1.4.8-r1 (~)1.5.4
31 >>>         (1.4)   (~)1.4.8-r2
32 >>>         {apng static-libs}
33 >>>      Installed versions:  1.2.46(1.2)(02:17:28 PM 21/09/11)
34 >>> 1.4.8-r2(1.4)(02:17:42 PM 21/09/11)(apng) 1.5.4(02:45:21 PM
35 >>> 21/09/11)(apng -static-libs)
36 >>>      Homepage:            http://www.libpng.org/
37 >>>      Description:         Portable Network Graphics library
38 >>>
39 >>> Is there something I can do about this? Or is it a bug in the ebuild?
40 >>
41 >> Did you try:
42 >>
43 >>  emerge -v -p --library '/usr/lib/libpng14.so'
44 >>
45 >> and then revdep-rebuild just for good measure?
46 >>
47 >> If the above doesn't work, then you'll need to search in Gentoo's bugzilla in
48 >> case something similar has already been reported.
49 >>
50 >
51 > This reminds me of the old libpng-1.4/1.2 update mess.[1] You are not
52 > far behind your update schedule, are you?
53
54 No, I'm fully up-to-date. Although, I've been using --changed-use and
55 maybe I shouldn't since it doesn't seem to be foolproof.
56
57 > For good measure, try `lafilefixer --justfixit` from
58 > dev-util/lafilefixer and search your system for references to libpng-1.2.
59
60 That did nothing. In fact, I followed Diego's advice and added
61 lafilefixer to /etc/portage/bashrc during the libpng crisis so that's
62 not unexpected.
63
64 > Hope this helps,
65 > Florian Philipp
66 >
67 > [1] http://blog.flameeyes.eu/2010/06/29/stable-users-libpng-update
68
69 I ran emerge -v world overnight and although it ran out of space
70 before it could finish, apparently that was enough. I was able to
71 emerge graphviz just now. So I'm unclear what exactly was wrong.
72
73 Should I not use --changed-use when emerge-ing world?