Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31774 - emerge of blackbox fails with USE="nls"
Summary: emerge of blackbox fails with USE="nls"
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Commonbox Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-22 15:20 UTC by Marc Ozon
Modified: 2003-10-22 21:22 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 Marc Ozon 2003-10-22 15:20:51 UTC
Attempts to emerge blackbox with "nls" among the USE flags always fail with
translation errors.  Emerge works without problems, with USE="-nls".  I've been
able to reproduce this on ppc and x86.

Reproducible: Always
Steps to Reproduce:
1.  "emerge blackbox"
Actual Results:  
emerge fails.  Output is the same on both ppc and x86:

>>> emerge (1 of 1) x11-wm/blackbox-0.62.1-r3 to /
>>> md5 src_uri ;-) blackbox-0.62.1.tar.gz
commonbox          
>>> Unpacking source...
>>> Unpacking blackbox-0.62.1.tar.gz to /var/tmp/portage/blackbox-0.62.1-r3/work
>>> Source unpacked.
commonbox          
util/Makefile.am:9: bad macro name `_SOURCES'
util/Makefile.am:10: bad macro name `_LDADD'
util/Makefile.am:9: invalid unused variable name: `_SOURCES'
util/Makefile.am:10: invalid unused variable name: `_LDADD'
nls                
gnome              
truetype           
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc -march=athlon-xp -O3 -mmmx -msse -m3dnow
-mfpmath=sse
 -fforce-addr -funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer )
works... 
yes                
checking whether the C compiler (gcc -march=athlon-xp -O3 -mmmx -msse -m3dnow
-mfpmath=sse
 -fforce-addr -funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer )
is a cros
s-compiler... no   
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... g++
checking whether the C++ compiler (g++ -march=athlon-xp -O3 -mmmx -msse -m3dnow
-mfpmath=s
se -fforce-addr -funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer
) works..
. yes              
checking whether the C++ compiler (g++ -march=athlon-xp -O3 -mmmx -msse -m3dnow
-mfpmath=sse -fforce-addr -funroll-loops -fprefetch-loop-arrays -pipe
-fomit-frame-pointer ) is a cross-compiler... no 
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking for a BSD compatible install... /bin/install -c
checking for sed... sed
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for ctype.h... yes
checking for dirent.h... yes
checking for fcntl.h... yes
checking for libgen.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for process.h... no
checking for signal.h... yes
checking for stdarg.h... yes
checking for stdio.h... yes
checking for time.h... yes
checking for unistd.h... yes
checking for sys/param.h... yes
checking for sys/select.h... yes
checking for sys/signal.h... yes
checking for sys/stat.h... yes
checking for sys/time.h... yes
checking for sys/types.h... yes
checking for sys/wait.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for basename... yes
checking for getpid... yes
checking for setlocale... yes
checking for sigaction... yes
checking for strftime... yes
checking for strcasestr... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for catopen... yes
checking for catgets... yes
checking for catclose... yes
checking for t_open in -lnsl... no
checking for socket in -lsocket... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XOpenDisplay in -lX11... yes
checking whether to build support for the XShape extension... yes
checking for XShapeCombineShape in -lXext... yes
checking for X11/extensions/shape.h... yes
checking whether to include the Slit... yes
checking whether to include the new WM Spec (DOES NOTHING)... no
checking whether to include interlacing image code... yes
checking whether to include Pseudocolor ordered dithering code... no
checking whether to include verbose debugging code... no
checking whether to include NLS support... yes
checking for setlocale in -lxpg4... no
checking for gencat... gencat
checking whether to use the new timed pixmap cache... yes
checking return type of signal handlers... void
checking whether to enable maintainer-specific portions of Makefiles... no
                   
        blackbox version 0.62.1pre0 configured successfully.
                   
Using '/usr' for installation.
Using 'g++' for C++ compiler.
Building with '-march=athlon-xp -O3 -mmmx -msse -m3dnow -mfpmath=sse
-fforce-addr -funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer 
-I/usr/X11R6/include' for C++ compiler flags.      
Building with '  -L/usr/X11R6/lib -lX11  -lXext' for linker flags.
                   
updating cache ./config.cache
creating ./config.status
creating Makefile  
creating src/Makefile
creating util/Makefile
creating data/Makefile
creating data/styles/Makefile
creating doc/Makefile
creating doc/ja_JP/Makefile
creating doc/nl_NL/Makefile
creating doc/sl_SI/Makefile
creating nls/Makefile
creating nls/C/Makefile
creating nls/da_DK/Makefile
creating nls/de_DE/Makefile
creating nls/es_ES/Makefile
creating nls/et_EE/Makefile
creating nls/fr_FR/Makefile
creating nls/it_IT/Makefile
creating nls/ja_JP/Makefile
creating nls/nl_NL/Makefile
creating nls/pt_BR/Makefile
creating nls/ru_RU/Makefile
creating nls/sl_SI/Makefile
creating nls/sv_SE/Makefile
creating nls/tr_TR/Makefile
creating nls/zh_CN/Makefile
creating version.h 
creating config.h  
make  all-recursive
make[1]: Entering directory
`/var/tmp/portage/blackbox-0.62.1-r3/work/blackbox-0.62.1'
Making all in doc  
make[2]: Entering directory
`/var/tmp/portage/blackbox-0.62.1-r3/work/blackbox-0.62.1/doc'
Making all in ja_JP
make[3]: Entering directory
`/var/tmp/portage/blackbox-0.62.1-r3/work/blackbox-0.62.1/doc/ja_JP'             
sed -e "s,@defaultmenu@,/usr/share/commonbox/menu," \
        -e "s,@pkgdatadir@,/usr/share/commonbox," \
        -e "s,@version@,0.62.1pre0," \
        ./blackbox.1.in > blackbox.1
make[3]: Leaving directory
`/var/tmp/portage/blackbox-0.62.1-r3/work/blackbox-0.62.1/doc/ja_JP'              
Making all in nl_NL
make[3]: Entering directory
`/var/tmp/portage/blackbox-0.62.1-r3/work/blackbox-0.62.1/doc/nl_NL'             
sed -e "s,@defaultmenu@,/usr/share/commonbox/menu," \
        -e "s,@pkgdatadir@,/usr/share/commonbox," \
        -e "s,@version@,0.62.1pre0," \
        ./blackbox.1.in > blackbox.1
make[3]: Leaving directory
`/var/tmp/portage/blackbox-0.62.1-r3/work/blackbox-0.62.1/doc/nl_NL'              
Making all in sl_SI
make[3]: Entering directory
`/var/tmp/portage/blackbox-0.62.1-r3/work/blackbox-0.62.1/doc/sl_SI'             
sed -e "s,@defaultmenu@,/usr/share/commonbox/menu," \
        -e "s,@pkgdatadir@,/usr/share/commonbox," \
        -e "s,@version@,0.62.1pre0," \
        ./blackbox.1.in > blackbox.1
make[3]: Leaving directory
`/var/tmp/portage/blackbox-0.62.1-r3/work/blackbox-0.62.1/doc/sl_SI'              
make[3]: Entering directory
`/var/tmp/portage/blackbox-0.62.1-r3/work/blackbox-0.62.1/doc'
sed -e "s,@defaultmenu@,/usr/share/commonbox/menu," \
        -e "s,@pkgdatadir@,/usr/share/commonbox," \
        -e "s,@version@,0.62.1pre0," \
         ./blackbox.1.in > blackbox.1
make[3]: Leaving directory
`/var/tmp/portage/blackbox-0.62.1-r3/work/blackbox-0.62.1/doc'
make[2]: Leaving directory
`/var/tmp/portage/blackbox-0.62.1-r3/work/blackbox-0.62.1/doc'
Making all in nls  
make[2]: Entering directory
`/var/tmp/portage/blackbox-0.62.1-r3/work/blackbox-0.62.1/nls'
Making all in C    
make[3]: Entering directory
`/var/tmp/portage/blackbox-0.62.1-r3/work/blackbox-0.62.1/nls/C'                 
awk -f ./../convert.awk header=../blackbox-nls.hh \
        output=Translation.m ./BaseDisplay.m ./Basemenu.m ./Configmenu.m
./Icon.m ./Image.m ./Screen.m ./Slit.m ./Toolbar.m ./Window.m ./Windowmenu.m
./Workspace.m ./Workspacemenu.m ./blackbox.m ./common.m ./main.m ./bsetroot.m
make[3]: Leaving directory
`/var/tmp/portage/blackbox-0.62.1-r3/work/blackbox-0.62.1/nls/C'                  
Making all in da_DK
make[3]: Entering directory
`/var/tmp/portage/blackbox-0.62.1-r3/work/blackbox-0.62.1/nls/da_DK'             
Translation.m:8: invalid character: message ignored
Translation.m:9: invalid character: message ignored
Translation.m:24: invalid character: message ignored
Translation.m:27: invalid character: message ignored
Translation.m:28: invalid character: message ignored
Translation.m:29: invalid character: message ignored
Translation.m:31: invalid character: message ignored
Translation.m:32: invalid character: message ignored
Translation.m:47: invalid character: message ignored
Translation.m:57: invalid character: message ignored
Translation.m:59: invalid character: message ignored
Translation.m:100: invalid character: message ignored
Translation.m:102: invalid character: message ignored
Translation.m:109: invalid character: message ignored
Translation.m:113: invalid character: message ignored
Translation.m:121: invalid character: message ignored
Translation.m:122: invalid character: message ignored
Translation.m:123: invalid character: message ignored
Translation.m:124: invalid character: message ignored
Translation.m:139: invalid character: message ignored
Translation.m:151: invalid character: message ignored
Translation.m:154: invalid character: message ignored
Translation.m:159: invalid character: message ignored
Translation.m:160: invalid character: message ignored
Translation.m:161: invalid character: message ignored
Translation.m:167: invalid character: message ignored
Translation.m:168: invalid character: message ignored
Translation.m:169: invalid character: message ignored
Translation.m:170: invalid character: message ignored
Translation.m:184: invalid character: message ignored
Translation.m:185: invalid character: message ignored
make[3]: *** [blackbox.cat] Error 1
make[3]: *** [blackbox.cat] Error 1
make[3]: Leaving directory
`/var/tmp/portage/blackbox-0.62.1-r3/work/blackbox-0.62.1/nls/da_DK'              
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/blackbox-0.62.1-r3/work/blackbox-0.62.1/nls'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/blackbox-0.62.1-r3/work/blackbox-0.62.1'
make: *** [all-recursive-am] Error 2
                   
!!! ERROR: x11-wm/blackbox-0.62.1-r3 failed.
!!! Function commonbox_src_compile, Line 114, Exitcode 2
!!! (no error message)



emerge info from the x86 machine (the ppc machine has the same program versions
and similar USE flags, but slightly less aggressive CFLAGS):

Portage 2.0.49-r13 (default-x86-1.4, gcc-3.2.3, glibc-2.2.5-r2,2.3.2-r1,
2.4.20-gentoo-r7)
=================================================================
System uname: 2.4.20-gentoo-r7 i686 AMD Duron(TM)Processor
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -mmmx -msse -m3dnow -mfpmath=sse -fforce-addr
-funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -mmmx -msse -m3dnow -mfpmath=sse -fforce-addr
-funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache autoaddcvs sandbox userpriv"
GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/
http://sunsite.ualberta.ca/pub/unix/Linux/gentoo/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage/"
USE="x86 oss apm avi cups foomaticdb gif libg++ mad mikmod ncurses nls spell
xml2 gdbm berkdb slang readline svga tcltk java guile sdl gpm tcpd pam libwww
perl python esd imlib motif scanner 3dnow 3dnowext mmx mmxext sse usb ssl opengl
xv X rage128 alsa cdr pda gphoto2 jpeg png tiff dvd mpeg oggvorbis xmms encode
mozilla mozcalendar mozsvg tetex quicktime xvid -kde -qt -qtmt -arts gnome gtk
gtk2 bonobo evo gb gtkhtml imap mbox -maildir zlib crypt truetype pdflib"
Comment 1 Marc Ozon 2003-10-22 15:30:14 UTC
Forgot to mention, this problem has turned up in the forums:  http://forums.gentoo.org/viewtopic.php?t=98655
Comment 2 Brandon Hale (RETIRED) gentoo-dev 2003-10-22 21:22:05 UTC
Please set LC_ALL to your appropriate locale, eg LC_ALL="de_DE" to avoid
building all translations. The Dutch translation in upstream Blackbox is
broken.