Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29273 - kdegraphics 3.1.3 didn't compile because of missing libungif (USE="gif" was set)
Summary: kdegraphics 3.1.3 didn't compile because of missing libungif (USE="gif" was set)
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-21 10:26 UTC by Matthias Nagl
Modified: 2004-01-22 17:35 UTC (History)
0 users

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


Attachments
Patch for 3.1.4 for missing libungif dependency (kdegraphics-3.1.4.ebuild.patch,412 bytes, patch)
2003-10-07 11:35 UTC, Mark Gibson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Nagl 2003-09-21 10:26:41 UTC
lz -lm -lXext -L/usr/X11R6/lib -lSM -lICE -lXext -lX11 
grep: /usr/lib/libungif.la: No such file or directory 
sed: can't read /usr/lib/libungif.la: No such file or directory 
libtool: link: `/usr/lib/libungif.la' is not a valid libtool archive 
make[3]: *** [kuickshow.la] Fehler 1 
make[3]: Leaving directory 
`/var/tmp/portage/kdegraphics-3.1.3/work/kdegraphics-3.1.3/kuickshow/src' 
make[2]: *** [all-recursive] Fehler 1 
make[2]: Leaving directory 
`/var/tmp/portage/kdegraphics-3.1.3/work/kdegraphics-3.1.3/kuickshow' 
make[1]: *** [all-recursive] Fehler 1 
make[1]: Leaving directory 
`/var/tmp/portage/kdegraphics-3.1.3/work/kdegraphics-3.1.3' 
make: *** [all] Fehler 2 
 
!!! ERROR: kde-base/kdegraphics-3.1.3 failed. 
!!! Function kde_src_compile, Line 137, Exitcode 2 
!!! died running emake, kde_src_compile:make 
 
bash-2.05b# emerge -s libungif 
Searching... 
[ Results for search key : libungif ] 
[ Applications found : 1 ] 
 
*  media-libs/libungif 
      Latest version available: 4.1.0.1b 
      Latest version installed: [ Not Installed ] 
      Size of downloaded files: 305 kB 
      Homepage:    
http://prtr-13.ucsc.edu/~badger/software/libungif/index.shtml 
      Description: A library for reading and writing gif images without LZW 
compression 
 
 
kdegraphics stopped to compile with the above error. i haven't installed the 
libungif so i think the reason is a missing dependency when the USE="gif" is 
set sp that libungif is not automatically installed before emergeing 
kdegraphics. 

Reproducible: Didn't try
Steps to Reproduce:
1.libungif musn't be installed 
2.set USE="gif" 
3.emerge kdegraphics 
Actual Results:  
see above 

Expected Results:  
installing kdegraphics without any errors
Comment 1 Mark Gibson 2003-10-07 11:35:21 UTC
Created attachment 18917 [details, diff]
Patch for 3.1.4 for missing libungif dependency

I've had the same problem with 3.1.4, here is the patch.
Also, in reply to the previous report:
The 'gif' use flag has no effect on this package.
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2003-10-08 08:04:06 UTC
This is rather interesting.  kuickshow doesn't have any dependencies on libungif
- it looks rather like one of the libraries you have installed wants to find
it somewhere.

Let's see if we can track this down.

Try: cd /usr/lib
grep ungif *.la

and see if any of the libtool libraries there want libungif for some reason

You may also want to try this in the /usr/kde/3.1/lib directory

Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2003-10-09 04:35:44 UTC
At least the imlib library uses ungif. You might want to remerge that lib.
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2003-10-09 05:56:44 UTC
Yep, imlib is the only dependency for kuickshow, and even then it should
check and see if imlib exists and if not, it should skip the compilation
of kuickshow.
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2003-10-23 10:28:41 UTC
No repsonse.  Closing.
Comment 6 Jan Smout 2004-01-16 12:16:34 UTC
I just encountered the very same problem whilst emerging kdegraphics-3.1.5  The given workaround is still applicable: manually emerge libungif.

Trying to determine what the cause is, I followed the lead caleb gave; slightly modofied tho. What I did was:

# updatedb
# slocate '*.la'| xargs grep ungif
/usr/kde/3.1/lib/kuickshow.la:dependency_libs=' -R/usr/kde/3.1/lib -R/usr/qt/3/lib -R/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib /usr/kde/3.1/lib/libkdeprint.la /usr/kde/3.1/lib/libkparts.la -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3 -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../.. -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib /usr/kde/3.1/lib/libkio.la /usr/kde/3.1/lib/libkdeui.la /usr/kde/3.1/lib/libkdesu.la /usr/kde/3.1/lib/libkdecore.la /usr/kde/3.1/lib/libDCOP.la -ldl -lresolv -lXinerama /usr/lib/libart_lgpl_2.la /usr/kde/3.1/lib/libkdefx.la -lqt-mt -lpthread -lXrender -lutil /usr/lib/libfam.la -lstdc++ /usr/lib/libImlib.la /usr/lib/libjpeg.la -ltiff /usr/lib/libungif.la -lpng -lz -lSM -lICE -lXext -lX11 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libstdc++.la -lm -lc -lgcc_s'
/usr/lib/libImlib.la:dependency_libs=' /usr/lib/libjpeg.la -ltiff /usr/lib/libungif.la -L/usr/X11R6/lib -lX11 -lpng -lz -lm -lSM -lICE -lXext'
/usr/lib/libimlib-gif.la:dependency_libs=' /usr/lib/libungif.la -L/usr/X11R6/lib -lX11 /usr/lib/libgdk_imlib.la -L/usr/lib /usr/lib/libgmodule.la /usr/lib/libglib.la -ldl -lSM -lICE -lXext'
/usr/lib/libungif.la:# libungif.la - a libtool library file
/usr/lib/libungif.la:dlname='libungif.so.4'
/usr/lib/libungif.la:library_names='libungif.so.4.1.0 libungif.so.4 libungif.so'
/usr/lib/libungif.la:old_library='libungif.a'
/usr/lib/libungif.la:# Version information for libungif.

This basically means that libungif is used in libImlib.la and kuickshow.la.

Running the following command is even more surprising:

# qpkg -q libungif
media-libs/libungif-4.1.0.1b *
DEPENDED ON BY:
media-libs/libungif-4.1.0.1b
DEPENDED ON BY:
media-libs/libungif-4.1.0-r1
DEPENDED ON BY:

According to this information, both the kdegraphics and imlib ebuild are missing the same dependency.
Comment 7 Andrej Kacian (RETIRED) gentoo-dev 2004-01-22 17:35:34 UTC
I suggest adding libungif dependency to imlib