Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95961 - emacs-21.4-r1 libungif/libgif problem
Summary: emacs-21.4-r1 libungif/libgif problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
: 123446 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-13 04:44 UTC by Rafał Mużyło
Modified: 2006-08-12 15:52 UTC (History)
2 users (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 Rafał Mużyło 2005-06-13 04:44:47 UTC
This ebuild tries to be smart with sed -i -e "s/-lungif/-lgif/g" but that's
wrong, emacs is built successfully but is NOT linked with libgif.
But something that seems dumber seems to work, at least emacs is built AND
linked with libgif, namely sed -i -e "s/ungif/gif/g" .

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-06-18 11:36:23 UTC
Could you paste the output of `emerge --info` and
`ldd /usr/bin/emacs-21` ? My emacs is liked with libgif.

usata@rico ~ % ldd /usr/bin/emacs-21
        linux-gate.so.1 =>  (0xffffe000)
        libXaw3d.so.7 => /usr/lib/libXaw3d.so.7 (0xb7ecc000)
        libXmu.so.6 => /usr/lib/libXmu.so.6 (0xb7eb7000)
        libXt.so.6 => /usr/lib/libXt.so.6 (0xb7e65000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb7e5c000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb7e44000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7e36000)
        libtiff.so.3 => /usr/lib/libtiff.so.3 (0xb7de5000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7dc6000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0xb7d93000)
        libz.so.1 => /lib/libz.so.1 (0xb7d83000)
        libm.so.6 => /lib/tls/libm.so.6 (0xb7d60000)
        libgif.so.4 => /usr/lib/libgif.so.4 (0xb7d58000)
        libXpm.so.4 => /usr/lib/libXpm.so.4 (0xb7d47000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7c7b000)
        libncurses.so.5 => /lib/libncurses.so.5 (0xb7c39000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7b1e000)
        /lib/ld-linux.so.2 (0xb7f57000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7b1a000)
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-07-20 14:19:32 UTC
Emacs is not linked to giflib on my box, either. And that even though the emerge
log shows:

checking for gif_lib.h... yes
checking for EGifPutExtensionLast in -lungif... no

use flags are +X -Xaw3d -gnome -leim +lesstif -motif +nls -nosendmail

I guess the gif dependency will be triggerd by one of the toolkits I don't use.



Comment 3 Erik 2005-12-16 02:10:57 UTC
My emacs is broken since I had to replace gif with ungif to build 
kdegraphics-3.4.3. And I cannot emerge emacs now because it needs gif. It 
bothers me that a text editor should need gif at all. 
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2005-12-16 17:30:19 UTC
Erik: kdegraphics doesn't need libungif, have a look at bug 83238.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-02-20 00:04:51 UTC
*** Bug 123446 has been marked as a duplicate of this bug. ***
Comment 6 Matthew Kennedy (RETIRED) gentoo-dev 2006-08-12 15:51:32 UTC
Thanks for the note, fixed in CVS, bug for ~ keywords.
Comment 7 Matthew Kennedy (RETIRED) gentoo-dev 2006-08-12 15:52:05 UTC
marking fixed.