Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236355 - x11-libs/libXpm depends on gettext
Summary: x11-libs/libXpm depends on gettext
Status: RESOLVED DUPLICATE of bug 191669
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-01 14:13 UTC by Bernhard Hartleb
Modified: 2008-09-02 08:14 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 Bernhard Hartleb 2008-09-01 14:13:54 UTC
I recently tried to build a minimal system without gettext and noticed that x11-libs/libXpm won't compile without gettext installed.

This is the error I got:

make[2]: Leaving directory `/var/tmp/portage/x11-libs/libXpm-3.5.7/work/libXpm-3.5.7/src'
Making all in sxpm
make[2]: Entering directory `/var/tmp/portage/x11-libs/libXpm-3.5.7/work/libXpm-3.5.7/sxpm'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I../include -I../include   -Wall -Wpointer-arith -Wstrict-prototypes   -Wmissing-prototypes -Wmissing-declarations  -Wnested-externs -fno-strict-aliasing -march=prescott -O2 -pipe -fno-ident -MT sxpm.o -MD -MP -MF .deps/sxpm.Tpo -c -o sxpm.o sxpm.c
sed -e 's|__vendorversion__|"libXpm 3.5.7" "X Version 11"|' -e 's|__xorgversion__|"libXpm 3.5.7" "X Version 11"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr|g' -e 's|__apploaddir__||' -e 's|__appmansuffix__|1|g' -e 's|__libmansuffix__|3|g' -e 's|__adminmansuffix__|8|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5|g'  < sxpm.man > sxpm.1
xgettext -c"L10N_Comments" -d sxpm -n ./sxpm.c
/bin/sh: xgettext: command not found
make[2]: *** [sxpm.po] Error 127
make[2]: *** Waiting for unfinished jobs....
sxpm.c:113: warning: function declaration isn't a prototype
sxpm.c:114: warning: function declaration isn't a prototype
sxpm.c:115: warning: function declaration isn't a prototype
sxpm.c:116: warning: function declaration isn't a prototype
sxpm.c:143: warning: function declaration isn't a prototype
sxpm.c:582: warning: function declaration isn't a prototype
sxpm.c:620: warning: function declaration isn't a prototype
sxpm.c:678: warning: function declaration isn't a prototype
sxpm.c:725: warning: function declaration isn't a prototype
sxpm.c:737: warning: function declaration isn't a prototype
mv -f .deps/sxpm.Tpo .deps/sxpm.Po
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libXpm-3.5.7/work/libXpm-3.5.7/sxpm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libXpm-3.5.7/work/libXpm-3.5.7'
make: *** [all] Error 2
 *
 * ERROR: x11-libs/libXpm-3.5.7 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2923:  Called x-modular_src_compile
 *             environment, line 3708:  Called x-modular_src_make
 *             environment, line 3744:  Called die

Either the libXpm ebuild needs to depend on gettext, or the use of xgettext needs to be removed (if that is possible).

Thanks a lot, Bernhard

Reproducible: Always

Steps to Reproduce:
1. create system with USE="-nls"
2. emerge --depclean OR emerge -C gettext
3. emerge x11-libs/libXpm
Comment 1 Bernhard Hartleb 2008-09-02 08:14:23 UTC

*** This bug has been marked as a duplicate of bug 191669 ***