Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144546 - media-libs/ming-0.3.0 ebuild fails: missing libungif
Summary: media-libs/ming-0.3.0 ebuild fails: missing libungif
Status: VERIFIED DUPLICATE of bug 83238
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-20 12:03 UTC by Howard B. Golden
Modified: 2006-08-26 22:11 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 Howard B. Golden 2006-08-20 12:03:18 UTC
During ebuild of media-libs/ming-0.3.0, the link fails due to missing libungif:

i686-pc-linux-gnu-gcc  -shared -L/usr/local/lib Action.o Bitmap.o Button.o Constants.o DisplayItem.o Fill.o Font.o Gradient.o Morph.o Movie.o MovieClip.o Shape.o Sound.o SoundInstance.o SoundStream.o Text.o TextField.o VideoStream.o swf_util.o SWF.o  -o blib/arch/auto/SWF/SWF.so /var/tmp/portage/ming-0.3.0/work/ming-0.3.0/libming.a       \
           -lz -lungif -lpng    \

/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lungif
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/SWF/SWF.so] Error 1

!!! ERROR: media-libs/ming-0.3.0 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  ming-0.3.0.ebuild, line 48:   Called perl-module_src_compile
  perl-module.eclass, line 127:   Called die

Please see bug 101079 comment 5 which says "media-libs/libungif and media-libs/giflib have to be present." (I have not verified this myself so far.)

Portage 2.1.1_pre5-r2 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r8 i686)
=================================================================
System uname: 2.6.16-gentoo-r8 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.12.4
Last Sync: Sun, 20 Aug 2006 17:00:07 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/jetty/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/alias /var/qmail/control /var/service /var/spool/fax/etc /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.llarian.net/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS=""
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X X509 a52 aac acpi alsa amd ansi apache2 apm arts artswrappersuid artworkextra asf avi bcmath berkdb bitmap-fonts browserplugin bzip2 c++ cairo calendar caps cdda cddb cdf cdparanoia chroot cjk clamav cli cln cpudetection crypt css ctype cups curl curlwrappers dba dbase dbus dbx dio directfb djbfft dlloader dnd doc dri dv dvd dvdr dvdread dvi dynagraph ecc eds elibc_glibc emacs emboss encode erandom esd evo examples exif fastcgi fbcon fdftk ffmpeg fftw firefox flac flatfile font-server foomaticdb fortran ftp gb gcj gcl gd gdbm gif ginac glep gmp gnome gnomedb gnuplot gnustep gnutls gpm gprof graphviz gstreamer gtk gtk2 hal haskell iconv icq idea idl idn imagemagick imap imlib inifile innodb input_devices_keyboard input_devices_mouse insecure-drivers ipv6 isdnlog ithreads jabber java javacomm javamail javascript jce jms jpeg junit jython kde kdeenablefinal kdepim kdexdeltas kerberos kernel_linux kexi kqemu latex ldap leim libclamav libg++ libgda libwww lids live lm_sensors log4j ltsp mad maildir mailwrapper math mbox mdb memlimit mikmod mime mmap mmx motif mozdevelop mozilla moznoirc moznomail mozsha1 mozsvg mozxmlterm mp3 mpeg mpi mplayer mysql ncurses netboot nls nptl nptlonly nsplugin oav objc ocaml odbc ofx ogg openexr opengl oss pam parse-clocks patented pcntl pcre pda pdf pdflib perl pg-hier pg-intdatetime php pic plotutils png posix postgres ppds pppd prelude pwdb python pyzor qdbm qemu-fast qmail qt3 qt4 quicktime rdesktop readline reflection rhino rss ruby samba sasl sdk sdl session sguil sharedmem simplexml skey slp soap sockets socks5 source spell spl sql sqlite sqlite3 sse ssl subversion svg svga syslog sysvipc t1lib tcltk tcpd tetex theora threads tidy tiff tokenizer toolbar truetype truetype-fonts type1 type1-fonts udev unicode usb userland_GNU utf8 verbose vhosts video_cards_ati video_cards_fbdev video_cards_radeon video_cards_vesa vorbis wddx webdav win32codecs winbind wxwindows xemacs xine xml xmlreader xmlrpc xmlwriter xmms xorg xpm xsl xslt xv xvmc yahoo yv12 zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-20 12:33:39 UTC
Run revdep-rebuild, this doesn't need libungif at all.

*** This bug has been marked as a duplicate of 83238 ***
Comment 2 Guy 2006-08-25 00:11:08 UTC
(In reply to comment #1)
> Run revdep-rebuild, this doesn't need libungif at all.
> 
> *** This bug has been marked as a duplicate of 83238 ***
> 

Hi Jakub,

This is not the same as 83238

83238 and friends reports missing "libungif"

This bug reports missing "-lungif".

The reporter has assumed "libungif"

I'm having the same problem on every PC I update which has ming installed. To my non-programmer eyes, it looks like the compile command should end after .../libming.a or that "-lz -lungif -lpng   \" is in the wrong place.

/var/tmp/portage/ming-0.3.0/work/ming-0.3.0/libming.a       \
           -lz -lungif -lpng    \       <======

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-08-25 02:54:47 UTC
(In reply to comment #2)
> This is not the same as 83238

Of course it is.

> This bug reports missing "-lungif".
> The reporter has assumed "libungif"

So what? You've got junk left from libungif on your system. This shouldn't even try to link against ungif, if it does, your need to run revdep-rebuild to get rid of it. If you still have libungif installed, you should unmerge it ASAP. And no, it's not needed for ming to compile.


Comment 4 Guy 2006-08-26 22:11:51 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > This is not the same as 83238
> 
> Of course it is.
> 
> > This bug reports missing "-lungif".
> > The reporter has assumed "libungif"
> 
> So what? You've got junk left from libungif on your system. This shouldn't even
> try to link against ungif, if it does, your need to run revdep-rebuild to get
> rid of it. If you still have libungif installed, you should unmerge it ASAP.
> And no, it's not needed for ming to compile.
> 

Hi Jakub,

You are correct in that I had left over stuff from ealier versions of libgdiplus. This is what I have on at least three different PCs:

ssss_server ~ # emerge -Cp libungif

>>> These are the packages that would be unmerged:

--- Couldn't find 'libungif' to unmerge.

>>> No packages selected for removal by unmerge.

ssss_server ~ # locate libungif
/usr/lib/libungif.so.4.1.0
/usr/lib/libungif.so.4
/usr/portage/distfiles/libungif-4.1.3.tar.bz2
/usr/portage/dev-dotnet/libgdiplus/files/libgdiplus-1.1.10-libungif-configure-fix.diff
/usr/portage/dev-dotnet/libgdiplus/files/libgdiplus-1.1.13-libungif-configure-fix.diff
/usr/portage/app-editors/emacs/files/emacs-21.4-libungif-gif-gentoo.patch
ssss_server ~ # emerge -pDv libgdiplus

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-dotnet/libgdiplus-1.1.16.1  USE="gif jpeg png tiff" 0 kB

Total size of downloads: 0 kB
ssss_server ~ # emerge -pDv emacs

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] app-editors/emacs-21.4-r5  USE="X Xaw3d motif nls -leim -lesstif -nosendmail" 0 kB

Total size of downloads: 0 kB
ssss_server ~ # 

libungif and earlier versions of libgdiplus had already been unmerged from all of the PCs. revdep-rebuild didn't see any problem. Deleting the two libungif files resolved the problem. 

Thanks for responding. 

I've proceded to manually remove the two left over artifacts from the other PCs. Obviously, I haven't any clue as to why they weren't automatically removed in the first place. Hopefully, this will help anyone else who encounters the problem.