Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 320025 - dev-libs/totem-pl-parser-2.28.3 fails to compile against media-libs/libpng-1.4.2:0 and media-libs/libpng-1.2.43-r3:1.2 due to transitive dependency of x11-libs/cairo-1.8.8-r1
Summary: dev-libs/totem-pl-parser-2.28.3 fails to compile against media-libs/libpng-1....
Status: RESOLVED DUPLICATE of bug 319101
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-16 18:35 UTC by Martin von Gagern
Modified: 2010-05-16 18:39 UTC (History)
0 users

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 Martin von Gagern 2010-05-16 18:35:26 UTC
The dev-libs/totem-pl-parser-2.28.3 fails to detect libpng, even though media-libs/libpng-1.4.2:0 and media-libs/libpng-1.2.43-r3:1.2 are installed here. The pkgconfig dependency seems to be transitively due to x11-libs/cairo-1.8.8-r1:

configure: error: Package requirements (glib-2.0 >= 2.21.6 gtk+-2.0 libxml-2.0 gthread-2.0 gio-2.0 >= 2.17.3 gmime-2.4) were not met:

Package libpng12 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpng12.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpng12', required by 'cairo', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables TOTEM_PLPARSER_CFLAGS
and TOTEM_PLPARSER_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


Re-merging cairo didn't solve the issue. It made configure work OK, but the linker failed:

libtool: link:  x86_64-pc-linux-gnu-gcc -shared  .libs/libtotem_plparser_la-totem-pl-parser-builtins.o .libs/libtotem_
plparser_la-totem-disc.o .libs/libtotem_plparser_la-totem-pl-parser.o .libs/libtotem_plparser_la-totem-pl-parser-lines
.o .libs/libtotem_plparser_la-totemplparser-marshal.o .libs/libtotem_plparser_la-totem-pl-parser-media.o .libs/libtote
m_plparser_la-totem-pl-parser-misc.o .libs/libtotem_plparser_la-totem-pl-parser-pla.o .libs/libtotem_plparser_la-totem
-pl-parser-pls.o .libs/libtotem_plparser_la-totem-pl-parser-podcast.o .libs/libtotem_plparser_la-totem-pl-parser-qt.o 
.libs/libtotem_plparser_la-totem-pl-parser-smil.o .libs/libtotem_plparser_la-totem-pl-parser-wm.o .libs/libtotem_plpar
ser_la-totem-pl-parser-xspf.o .libs/libtotem_plparser_la-xmlparser.o .libs/libtotem_plparser_la-xmllexer.o  -Wl,--whol
e-archive ../lib/.libs/libtotem_glibc.a -Wl,--no-whole-archive  -Wl,--as-needed /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so -L/usr/lib64 /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libpangocairo-1.0.so -lpng12 /usr/lib64/libpangoft2-1.0.so /usr/lib64/libcairo.so /usr/lib64/libpixman-1.so /usr/lib64/libpng14.so /usr/lib64/libxcb-render-util.so /usr/lib64/libxcb-render.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libpango-1.0.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libexpat.so /usr/lib64/libxml2.so -lm /usr/lib64/libgio-2.0.so -lresolv /usr/lib64/libgmime-2.4.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libgthread-2.0.so -lpthread -lrt -lz -lnsl /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so  -pthread -march=amdfam10 -pthread   -pthread -Wl,-soname -Wl,libtotem-plparser.so.12 -Wl,-version-script -Wl,.libs/libtotem-plparser.ver -o .libs/libtotem-plparser.so.12.4.5
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpng12
collect2: ld returned 1 exit status
make[4]: *** [libtotem-plparser.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/dev-libs/totem-pl-parser-2.28.3/work/totem-pl-parser-2.28.3/plparse'
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-05-16 18:39:44 UTC

*** This bug has been marked as a duplicate of bug 319101 ***