Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327275 - sci-electronics/eagle-5.10.0: Missing media-libs/libpng:1.2 depend
Summary: sci-electronics/eagle-5.10.0: Missing media-libs/libpng:1.2 depend
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Joe Sapp (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-07 10:47 UTC by Juergen Rose
Modified: 2010-07-08 11:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2010-07-07 10:47:46 UTC
On i686 systems eagle fails to start, because of missing libpng12.so.0:
rose@cheetah:/home/rose(1)$ eagle 
/opt/eagle-5.10.0/bin/eagle: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

sci-electronics/eagle-5.10.0 depends on libpng12.so.0:
root@cheetah:/root(2)# ldd /opt/eagle-5.10.0/bin/eagle | grep png
        libpng12.so.0 => not found
but there is no entry in eagle-5.10.0.ebuild:
root@cheetah:/root(9)# grep -A 7 DEPEND /usr/portage/sci-electronics/eagle/eagle-5.10.0.ebuild 
RDEPEND="sys-libs/glibc
        x11-libs/libXext
        x11-libs/libX11
        x11-libs/libXau
        x11-libs/libXdmcp
        x86? ( <media-libs/jpeg-7 )
        amd64? ( app-emulation/emul-linux-x86-baselibs
                 app-emulation/emul-linux-x86-xlibs )"

That's why revdep-rebuild tries endless to reemerge eagle at i686 systems.
The issue does not arise at x86_64 systems, because there is /usr/lib32/libpng12.so.0

root@moose:/root(29)# ldd /opt/eagle-5.10.0/bin/eagle | grep png
        libpng12.so.0 => /usr/lib32/libpng12.so.0 (0xf74ad000)


Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-07-08 03:07:36 UTC
+  08 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> eagle-5.10.0.ebuild:
+  Missing QA_DT_HASH to prevent warning about LDFLAGS not being respected.
+  Missing libpng12.so.0 RDEPEND wrt #327275 by Juergen Rose.
Comment 2 Alberto Casari 2010-07-08 07:10:36 UTC
(In reply to comment #1)
> +  08 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> eagle-5.10.0.ebuild:
> +  Missing QA_DT_HASH to prevent warning about LDFLAGS not being respected.
> +  Missing libpng12.so.0 RDEPEND wrt #327275 by Juergen Rose.
> 

Samuli, I don't want to waste your time but I'm not sure about this bug.
I have 'eagle-5.10' here and it works perfectly on a i686 system(Athlon K7) with 'media-libs/libpng-1.4.3'(media-libs/libpng-1.2.44 is not installed):

equery f libpng | grep usr/lib
/usr/lib/libpng.a
/usr/lib/libpng.la
/usr/lib/libpng.so
/usr/lib/libpng12.so.0
/usr/lib/libpng14.a
/usr/lib/libpng14.la
/usr/lib/libpng14.so
/usr/lib/libpng14.so.14
/usr/lib/libpng14.so.14.3.0
/usr/lib/pkgconfig
/usr/lib/pkgconfig/libpng.pc
/usr/lib/pkgconfig/libpng14.pc

Am I missing something?
Comment 3 Juergen Rose 2010-07-08 08:42:46 UTC
To Comment 2: What is the result of  'll /usr/lib/libpng*so*'?
Comment 4 Juergen Rose 2010-07-08 09:11:57 UTC
I also tried:
root@cheetah:/root(13)# history | tail -n4 | head -n2
 1011  emerge -C eagle
 1012  emerge -uvDN eagle
root@cheetah:/root(14)# uname -a
Linux cheetah 2.6.34-gentoo-r1 #1 PREEMPT Mon Jun 28 12:27:56 CEST 2010 i686 AMD Athlon(tm) XP 1800+ AuthenticAMD GNU/Linux
root@cheetah:/root(15)# ldd /opt/eagle-5.10.0/bin/eagle | grep png
        libpng12.so.0 => not found
Comment 5 Alberto Casari 2010-07-08 09:22:03 UTC
(In reply to comment #4)
Hello Juergen, here the outputs:

ll /usr/lib/libpng*so*:
-rwxr-xr-x 1 root root 146K 2010-06-30 21:57 /usr/lib/libpng12.so.0
lrwxrwxrwx 1 root root   18 2010-06-30 21:57 /usr/lib/libpng14.so -> libpng14.so.14.3.0
lrwxrwxrwx 1 root root   18 2010-06-30 21:57 /usr/lib/libpng14.so.14 -> libpng14.so.14.3.0
-rwxr-xr-x 1 root root 150K 2010-06-30 21:57 /usr/lib/libpng14.so.14.3.0
lrwxrwxrwx 1 root root   11 2010-06-30 21:57 /usr/lib/libpng.so -> libpng14.so

ldd /opt/eagle-5.10.0/bin/eagle | grep png:
libpng12.so.0 => /usr/lib/libpng12.so.0
Comment 6 Juergen Rose 2010-07-08 10:23:13 UTC
Hi niviux,
i.e., you still have libpng12.so.0. On my system libpng12.so.0 disappeared, when I upgraded libpng. Of course I can install  libpng12.so.0 manually with 
   emerge -vuDN =libpng-1.2* ,
but I mean, it should be a dependency of sci-electronics/eagle-5.10.0.


Comment 7 Juergen Rose 2010-07-08 10:54:33 UTC
After the last 'emerge --sync' I found that libpng-1.2* is now in RDEPEND of eagle/eagle-5.10.0.ebuild.


Comment 8 Alberto Casari 2010-07-08 11:12:33 UTC
(In reply to comment #7)
> After the last 'emerge --sync' I found that libpng-1.2* is now in RDEPEND of
> eagle/eagle-5.10.0.ebuild.
> 
Hi Juergen,
you are right, after re-emerge libpng 'libpng12.so.0' is now missing.
I don't know, maybe I made a mess with 'lafilefixer' when I updated libpng
the first time.

Juergen, Samuli, I'm sorry :-(.
Shame on me for all this noise.