Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 512942

Summary: media-libs/gd-2.0.35-r4: gdlib-config outputs spurious @LIBICONV@
Product: Gentoo Linux Reporter: Ulrich Müller <ulm>
Component: [OLD] LibraryAssignee: SpanKY <vapier>
Status: RESOLVED FIXED    
Severity: normal CC: graphics+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=512866
Whiteboard:
Package list:
Runtime testing required: ---

Description Ulrich Müller gentoo-dev 2014-06-11 08:03:25 UTC
To reproduce:

   # emerge -C sys-devel/gettext; emerge -1 media-libs/gd
   [... output not shown ...]
   # gdlib-config --libs
   -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lz -lm @LIBICONV@

Looks like the build system needs /usr/share/aclocal/iconv.m4 for proper functioning, which would mean that gd misses a dependency on gettext.

(Also I don't understand why the build silently continues if it doesn't find iconv.m4. It should error out.)
Comment 1 SpanKY gentoo-dev 2014-06-15 00:59:41 UTC
the ebuild is written so as to not require gettext.  i've tweaked it further to make sure @LIBICONV@ is elided.

http://sources.gentoo.org/media-libs/gd/gd-2.0.35-r4.ebuild?r1=1.1&r2=1.2