Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32322 - mjpegtools-1.6.1.90-r1 compilation fails with undefined references to png_* in libquicktime.so
Summary: mjpegtools-1.6.1.90-r1 compilation fails with undefined references to png_* i...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-30 03:51 UTC by Tavin Cole
Modified: 2003-10-30 22:43 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 Tavin Cole 2003-10-30 03:51:45 UTC
When emerging mjpegtools-1.6.1.90-r1 (during emerge -u world), emerge fails with
this output:

<snip>

gcc -mcpu=i686 -march=i686 -march=athlon-tbird -O3 -pipe -Wall -Wunused -o
.libs/lav2wav lav2wav.o  ../utils/libmjpegutils.a ./.libs/liblavfile.so
-L/usr/lib -lmovtar /usr/lib/libquicktime.so -ldl -L/usr/local/src/jpeg-mmx
/usr/lib/libjpeg.so -L/usr/local/lib /usr/lib/libdv.so -lm /usr/lib/libglib.so
-lpthread
/usr/lib/libquicktime.so: undefined reference to `png_set_compression_level'
/usr/lib/libquicktime.so: undefined reference to `png_create_read_struct'
/usr/lib/libquicktime.so: undefined reference to `png_set_read_fn'
/usr/lib/libquicktime.so: undefined reference to `png_get_io_ptr'
/usr/lib/libquicktime.so: undefined reference to `png_set_IHDR'
/usr/lib/libquicktime.so: undefined reference to `png_create_write_struct'
/usr/lib/libquicktime.so: undefined reference to `png_write_info'
/usr/lib/libquicktime.so: undefined reference to `png_write_end'
/usr/lib/libquicktime.so: undefined reference to `png_set_write_fn'
/usr/lib/libquicktime.so: undefined reference to `png_read_info'
/usr/lib/libquicktime.so: undefined reference to `png_destroy_read_struct'
/usr/lib/libquicktime.so: undefined reference to `png_write_image'
/usr/lib/libquicktime.so: undefined reference to `png_read_image'
/usr/lib/libquicktime.so: undefined reference to `png_create_info_struct'
/usr/lib/libquicktime.so: undefined reference to `png_destroy_write_struct'
collect2: ld returned 1 exit status
make[2]: *** [lav2wav] Error 1
make[2]: *** Waiting for unfinished jobs....
gcc -mcpu=i686 -march=i686 -march=athlon-tbird -O3 -pipe -Wall -Wunused -o
.libs/lav2yuv lav2yuv.o lav_common.o  ../utils/libmjpegutils.a
./.libs/liblavfile.so -L/usr/lib -lmovtar /usr/lib/libquicktime.so -ldl
-L/usr/local/src/jpeg-mmx -L/usr/local/lib ./.libs/liblavjpeg.so
/usr/lib/libjpeg.so /usr/lib/libdv.so -lm /usr/lib/libglib.so -lpthread
/usr/lib/libquicktime.so: undefined reference to `png_set_compression_level'
/usr/lib/libquicktime.so: undefined reference to `png_create_read_struct'
/usr/lib/libquicktime.so: undefined reference to `png_set_read_fn'
/usr/lib/libquicktime.so: undefined reference to `png_get_io_ptr'
/usr/lib/libquicktime.so: undefined reference to `png_set_IHDR'
/usr/lib/libquicktime.so: undefined reference to `png_create_write_struct'
/usr/lib/libquicktime.so: undefined reference to `png_write_info'
/usr/lib/libquicktime.so: undefined reference to `png_write_end'
/usr/lib/libquicktime.so: undefined reference to `png_set_write_fn'
/usr/lib/libquicktime.so: undefined reference to `png_read_info'
/usr/lib/libquicktime.so: undefined reference to `png_destroy_read_struct'
/usr/lib/libquicktime.so: undefined reference to `png_write_image'
/usr/lib/libquicktime.so: undefined reference to `png_read_image'
/usr/lib/libquicktime.so: undefined reference to `png_create_info_struct'
/usr/lib/libquicktime.so: undefined reference to `png_destroy_write_struct'
collect2: ld returned 1 exit status
make[2]: *** [lav2yuv] Error 1
make[2]: Leaving directory
`/var/tmp/portage/mjpegtools-1.6.1.90-r1/work/mjpegtools-1.6.1.90/lavtools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/mjpegtools-1.6.1.90-r1/work/mjpegtools-1.6.1.90'
make: *** [all] Error 2
 
!!! ERROR: media-video/mjpegtools-1.6.1.90-r1 failed.
!!! Function src_compile, Line 66, Exitcode 2
!!! compile problem


Reproducible: Always
Steps to Reproduce:
emerge -u mjpegtools
Actual Results:  
emerge failed with compile problem

Expected Results:  
compiled

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20)
=================================================================
System uname: 2.4.20 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.noved.org/
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://mirrors.tds.net/gentoo
http://oss.redundant.com/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod
mpeg ncurses nls pdflib png quicktime truetype xml2 xmms xv zlib gtkhtml gdbm
berkdb slang readline tetex aalib bonobo svga java guile ruby mysql X sdl gpm
pam libwww ssl perl python esd imlib oggvorbis gtk motif opengl mozilla snmp cdr
scanner doc dvd gd gtk2 innodb jikes plotutils postgres ppds samba tiff usb
-arts -kde -qt -spell -tcpd -gnome video_cards_radeon"
Comment 1 Tavin Cole 2003-10-30 16:28:30 UTC
I tried discovering the package owning libquicktime.so and re-emerging that.
 I found that libquicktime-0.9.2_pre1 and quicktime4linux-1.5.5-r1 were both
installed on my system and both considered to be blocking each other by portage.
 I unmerged both of them and then continued my emerge -u world, letting portage
choose which one it wanted (it chose quicktime4linux).

I'm not sure where the real bug is here;  I never installed either libquicktime
or quicktime4linux myself, so they were only there as dependencies.  Somehow
in the normal course of doing emerge -u worlds, these two packages came to
be installed together, blocking each other, and causing a third package to
fail to emerge, but there was never any error message indicating that there
was a blocking issue.
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2003-10-30 22:43:21 UTC
This has slight similarities to bug 20705...
The problem is that there are different quicktime libraries in portage which
should always have blocked each other, but didn't. The blocking statements
were
added later. As far as I remember we didn't force a version bump of the packages
because this problem appears rather rarely. Sorry for any inconvenience.
I'm setting this to "wontfix" for now.