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

Bug 33326

Summary: dev-util/glade-2.0.0-r1 fails (possible nls problem)
Product: Gentoo Linux Reporter: Heiko Helmle <helman>
Component: [OLD] LibraryAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Heiko Helmle 2003-11-12 13:15:57 UTC
make[3]: Leaving directory `/var/tmp/portage/glade-2.0.0-r1/work/glade-2.0.0/glade'
make[2]: Leaving directory `/var/tmp/portage/glade-2.0.0-r1/work/glade-2.0.0/glade'
Making all in po
make[2]: Entering directory `/var/tmp/portage/glade-2.0.0-r1/work/glade-2.0.0/po'
make[2]: *** Keine Regel vorhanden, um das Target 
Comment 1 Heiko Helmle 2003-11-12 13:15:57 UTC
make[3]: Leaving directory `/var/tmp/portage/glade-2.0.0-r1/work/glade-2.0.0/glade'
make[2]: Leaving directory `/var/tmp/portage/glade-2.0.0-r1/work/glade-2.0.0/glade'
Making all in po
make[2]: Entering directory `/var/tmp/portage/glade-2.0.0-r1/work/glade-2.0.0/po'
make[2]: *** Keine Regel vorhanden, um das Target »en.gmo«,
  benötigt von »all-yes«, zu erstellen.  Schluss.
make[2]: Leaving directory `/var/tmp/portage/glade-2.0.0-r1/work/glade-2.0.0/po'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/glade-2.0.0-r1/work/glade-2.0.0'
make: *** [all-recursive-am] Fehler 2

!!! ERROR: dev-util/glade-2.0.0-r1 failed.
!!! Function src_compile, Line 45, Exitcode 2
!!! Compilation failed

LINGUAS is set to "en de" but the problem persists with linguas unset or set to
"en" or "de" only.
Also LANG is set to de_DE globally but a LANG=C emerge xxx doesn't solve the
problem.
(but then make's messages are half english half german...)

Reproducible: Always
Steps to Reproduce:
1. set LINGUAS="en de" and LANG=de_DE
2. emerge dev-util/glade-2.0.0-r1
3.




Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test9)
=================================================================
System uname: 2.6.0-test9 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.3.12
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-tbird -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-tbird -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache fixpackages"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/
http://ftp.easynet.nl/mirror/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod motif
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm
berkdb slang readline arts tetex aalib bonobo svga tcltk java X sdl gpm tcpd pam
libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde opengl mozilla
gphoto2 cdr scanner 3dnow acpi acpi4linux artswrappersuid dvd dvdr faad
gstreamer gtk2 gtkhtml mmx nptl pic samba slp tiff unicode wmf xml -apm
linguas_de linguas_en"
Comment 2 Leonardo Boshell (RETIRED) gentoo-dev 2003-11-12 18:35:10 UTC
This is only reproducible when `en' is part of the LINGUAS variable. Leaving LINGUAS alone, or setting it to "de" (or any other valid language code that glade supports, for that matter (look at the po/ dir, under glade's sources)) doesn't cause any problems.

In general, it's a good idea to either don't touch LINGUAS, or at least make sure it doesn't include the word `en' (which doesn't make much sense after all, since the convention for all gettext-aware packages is to write all strings in English from the start).

Googling for this subject brings a few interesting items:
http://rpmfind.net/tools/glade/messages/1291.html
http://www.mail-archive.com/fink-devel@lists.sourceforge.net/msg01962.html