Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 354255

Summary: media-gfx/graphviz-2.26.3-r3 does not properly dep on media-libs/libpng:1.2
Product: Gentoo Linux Reporter: Allen Parker <infowolfe>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build log

Description Allen Parker 2011-02-09 16:00:45 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpng12
collect2: ld returned 1 exit status
make[3]: *** [libgvplugin_gd.la] Error 1
make[3]: Leaving directory `/dev/shm/portage/media-gfx/graphviz-2.26.3-r3/work/graphviz-2.26.3/plugin/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/dev/shm/portage/media-gfx/graphviz-2.26.3-r3/work/graphviz-2.26.3/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/dev/shm/portage/media-gfx/graphviz-2.26.3-r3/work/graphviz-2.26.3'
make: *** [all] Error 2
emake failed
 * ERROR: media-gfx/graphviz-2.26.3-r3 failed:
 *   emake failed

Reproducible: Always

Steps to Reproduce:
1. Install -only- libpng slot 0 latest (1.4.5 on this system)
2. emerge graphviz
3. failure

Actual Results:  
see description


While this can be fixed by users who don't suffer from rectal-cranial inversion by emerging libpng:1.2, graphviz's ebuilds should be updated to reflect the current slotted state of libpng.
Comment 1 Rafał Mużyło 2011-02-09 16:12:02 UTC
Most likely INVALID.
Attach full build log, but I'm nearly sure you haven't updated to libpng1.4 properly.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-02-09 16:33:07 UTC
Please paste your `emerge --info' output in a comment and attach the entire build log.
Comment 3 Allen Parker 2011-02-09 17:12:34 UTC
Created attachment 261935 [details]
emerge --info
Comment 4 Allen Parker 2011-02-09 17:13:26 UTC
Created attachment 261937 [details]
build log
Comment 5 Allen Parker 2011-02-09 17:14:31 UTC
(In reply to comment #1)
> Most likely INVALID.
> Attach full build log, but I'm nearly sure you haven't updated to libpng1.4
> properly.
> 

Where's the documentation on how to "properly" update libpng:0 (slot 0) to =libpng-1.4*?
Comment 6 Rafał Mużyło 2011-02-09 21:20:15 UTC
That log seems incomplete - i.e. full configure line should be echoed.

Likely, running revdep-rebuild against libpng12.so is a good start - probably it's cairo again.
There were a few threads about that upgrade at the time.
Comment 7 Rafał Mużyło 2011-02-09 21:20:55 UTC
...also, V=1 would help against silent make.
Comment 8 SpanKY gentoo-dev 2011-02-19 18:53:42 UTC
nothing should be linking against -lpng12.  if you have a reference on your system, it most likely lives in some .la file which you need to re-emerge.  try using revdep-rebuild.