Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84760 - mplayer (media-video/mplayer-1.0_pre5-r5) is linked with libungif instead of libgif (gif is in use)
Summary: mplayer (media-video/mplayer-1.0_pre5-r5) is linked with libungif instead of ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-10 09:15 UTC by Honza
Modified: 2005-03-22 05: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 Honza 2005-03-10 09:15:19 UTC
mplayer and mencoder (media-video/mplayer-1.0_pre5-r5) is linked with libungif instead of libgif, even if gif is in use.

I know you "solved" this in http://bugs.gentoo.org/show_bug.cgi?id=78209, but I want to remind you mplayer can even create gifs, so this "solution" is not acceptable.

Reproducible: Always
Steps to Reproduce:
1. emerge mplayer
2. ldd `which mplayer` | grep gif


Actual Results:  
libungif.so.4 => /usr/lib/libungif.so.4 (0x405aa000)

Expected Results:  
libgif.so.4 => /usr/lib/libgif.so.4 (0x405aa000)

Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.3.2, glibc-2.3.4.20040808-r1,
2.4.28-gentoo-r5 i686)
=================================================================
System uname: 2.4.28-gentoo-r5 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 14 2005, 21:46:28)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.7.9-r1, 1.5, 1.9.4, 1.6.3, 1.4_p6
sys-devel/binutils:  2.14.90.0.8-r1
sys-devel/libtool:   1.4.3-r4, 1.5.2-r7
virtual/os-headers:  2.4.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=athlon -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=athlon -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo
http://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo/
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X Xaw3d aalib afs alsa apache2 apm arts avi
bash-completion berkdb bitmap-fonts caps cdr crypt cups curl dga divx4linux doc
dvd emboss encode erandom esd flac font-server foomaticdb fortran fpx gcj gd
gdbm ggi gif gpm graphviz gtk gtk2 imagemagick imlib innodb ipv6 java jbig jpeg
lcms lesstif libcaca libg++ libwww live lzo mad mailwrapper mbox mcal memlimit
mikmod mmx mng motif mozilla mp3 mpeg mysql ncurses network nls oggvorbis opengl
oss pam pdflib perl pic png python qt quicktime readline real samba sdl slang
snmp spell sqlite sse ssl svga tcltk tcpd tetex theora tiff truetype
truetype-fonts type1-fonts unicode usb userlocales vhosts videos wmf xml xml2
xmms xosd xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-10 09:36:18 UTC
Unfortunately Bug 18820 is still pending. It's either or, but I don't think we can force an implementation. It's your decision, if you want to use giflib or libungif.

Maybe a postinstall message!?
Comment 2 Honza 2005-03-10 09:49:17 UTC
BTW, that new mplayer-1.0_pre5-r5.ebuild from Feb  7 22:14 with autodetection still had that problem, even though it didn't depend on libungif ... 

I don't know if problem can be related to time I emerged libgif and libungif ...
 ... it's correct solution unmerge libungif ? Or should I simply re-emerge both of them ?

How can I test if I have installed somethink which depend on libungif ?
Comment 3 Chris White (RETIRED) gentoo-dev 2005-03-15 21:50:43 UTC
Huh, what are you talking about?

MPlayer now depends soley on giflib, not libungif, as libungif does horrible things to gif headers and upstream prefers it as the default.  Not sure what else to say but to try emerge-ing giflib instead.
Comment 4 Honza 2005-03-16 08:05:19 UTC
I'm talking about situation I'm presently in. I have installed both libgif and libungif, not sure about order, and when I reinstalled mplayer, it links with libungif.
I can believe I'm in situation which could not happen with current portage, but still I'm sure there is better solution that reinstall ...
So I'm asking about that solution.

For example: can I safely unmerge libungif ? Or better, how can I test what other packages are linked to it ? If someone answer that question, I can try it and report, if reemerging mplayer after have correct results.
Comment 5 Chris White (RETIRED) gentoo-dev 2005-03-19 19:58:48 UTC
Ok, libungif is being removed.  So basically, I'd remove libungif and use giflib instead.  libungif is being removed anyways, and giflib will become the replacement for it.

a) get rid of libungif
b) get giflib
c) emerge mplayer
d) profit!
Comment 6 Honza 2005-03-22 05:39:32 UTC
So I unmerged libungif, use revdep-rebuild (comment at bug 58317 answer my question "how can I test what other packages are linked to it ?") and must reemerge not only mplayer, but also following: app-office/openoffice-bin app-text/gocr media-libs/imlib media-libs/imlib2 media-video/transcode app-emulation/wine.

Mplayer is now linked to giflib, wine does not work ... (some clone of bug 73458).