Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211380 - sys-devel/libtool-1.5.26 failed to emerge when LANGUAGE is set
Summary: sys-devel/libtool-1.5.26 failed to emerge when LANGUAGE is set
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 216344 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-25 13:59 UTC by Tony Davison
Modified: 2008-04-06 22:27 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libtool emerge log (build.log,32.52 KB, text/plain)
2008-02-25 18:23 UTC, Tony Davison
Details
emerge info verbose (einfo_v,11.28 KB, text/plain)
2008-02-27 10:53 UTC, Tony Davison
Details
config.log from build (config.log,40.91 KB, text/plain)
2008-02-27 11:14 UTC, Tony Davison
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Davison 2008-02-25 13:59:24 UTC
libtool-1.5.26 failed to emerge during a routine emerge world -uDN

Reproducible: Always

Steps to Reproduce:
1.emege world -uDN/emerge libtool
2.
3.

Actual Results:  
_=/bin/env
./libtool: line 1322: en: command not found
make[2]: *** [ltdl.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/libtool-1.5.26/work/libtool-1.5.26/libltdl'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/libtool-1.5.26/work/libtool-1.5.26/libltdl'
make: *** [all-recursive] Error 1
 *
 * ERROR: sys-devel/libtool-1.5.26 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2143:  Called die
 * The specific snippet of code:
 *           emake || die "emake failed";
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/libtool-1.5.26/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/libtool-1.5.26/temp/environment'.


Expected Results:  
emerge sucessfully completed

Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Sun, 24 Feb 2008 14:46:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.qubenet.net/mirror/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://mirror.muntinternet.net/pub/gentoo/ http://gentoo.tiscali.nl/"
LANG="en_GB.UTF-8"
LC_ALL=""
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 acl acpi alsa amd64 arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus diskio divx dri dvd dvdr dvdread emboss encode evo fam firefox fltk foomaticdb fortran gdbm gif glitz gmedia gpm gstreamer gtk hal iconv isdnlog java jpeg kde kerberos ldap mad mbox midi mikmod mmx mmxext mozdevelop mozdom mozilla mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline realmedia reflection sdl session slang spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1 type1-fonts unicode vorbis wmp wxwindows xface xml xorg xv xvmc zlib" ALSA_CARDS="cmipci i180" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-25 17:01:30 UTC
Reopen with full emerge log attached; thanks.
Comment 2 Tony Davison 2008-02-25 18:23:31 UTC
Created attachment 144612 [details]
libtool emerge log
Comment 3 Tony Davison 2008-02-26 11:17:41 UTC
Buildmlog attached
Comment 4 SpanKY gentoo-dev 2008-02-26 19:11:40 UTC
post `emerge --info --verbose` as an attachment as well as the config.log's from the build dir
Comment 5 Tony Davison 2008-02-27 10:53:45 UTC
Created attachment 144730 [details]
emerge info verbose
Comment 6 Tony Davison 2008-02-27 11:14:22 UTC
Created attachment 144733 [details]
config.log from build
Comment 7 Alexander 2008-03-02 22:39:07 UTC
try to rebuild with LANGUAGE=""
Comment 8 Tony Davison 2008-03-03 12:28:19 UTC
Emerges OK with LANGUAGE="" Also with LANGUAGE="en_GB"
There was a stray en: in /etc/env.g/02locale

Thanks very much :)
Comment 9 Niko Efthymiou 2008-03-06 12:34:34 UTC
This actualy seems to affect any packege that uses libtool and happens if $LANGUAGE consists of more than one languages seperated by semicolon. $LANGUAGES has the value "en_US;en;de_DE;de" on my system. I don't know, however, if that is a legal value or not.

It seems to me, that there is some inproper/missing argument escaping in the libtool shell script.
Comment 10 SpanKY gentoo-dev 2008-03-16 07:30:47 UTC
LANGUAGE falls into the class of config variables like LANG ... dont set it haphazardly in your environment
Comment 11 Davide Andrea 2008-04-01 17:57:54 UTC
Please reopen this bug, that's not a fix, just a workaround.
emerge libtool-1.5.26 still fails with some language set and, hey, my LC settings are perfectly legal. I dont think users have to search for bugs and then reset LC env vars as workaround before emerging anything requiring libtools, dont you?

my LC settings are:

LANG="it_IT@euro ISO-8859-15"
LC_ALL="it_IT@euro ISO-8859-15"

Resetting them worked. the last log lines of failed emerge:

[...]
make[1]: Entering directory `/var/tmp/portage/sys-devel/libtool-1.5.26/work/libtool-1.5.26'
CONFIG_FILES=libtoolize CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating libtoolize
config.status: executing depfiles commands
chmod +x libtoolize
make[1]: Leaving directory `/var/tmp/portage/sys-devel/libtool-1.5.26/work/libtool-1.5.26'
Making all in libltdl
make[1]: Entering directory `/var/tmp/portage/sys-devel/libtool-1.5.26/work/libtool-1.5.26/libltdl'
cd . && /bin/sh /var/tmp/portage/sys-devel/libtool-1.5.26/work/libtool-1.5.26/libltdl/missing --run autoheader
rm -f stamp-h1
touch config-h.in
make  all-am
make[2]: Entering directory `/var/tmp/portage/sys-devel/libtool-1.5.26/work/libtool-1.5.26/libltdl'
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
/bin/sh ./libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -march=athlon64 -O3 -pipe -fomit-frame-pointer -finline-functions -Wa,--64,-march=k8 -c -o ltdl.lo ltdl.c
mkdir .libs
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=athlon64 -O3 -pipe -fomit-frame-pointer -finline-functions -Wa,--64,-march=k8 -c ltdl.c  -fPIC -DPIC -o .libs/ltdl.o
env: ISO-8859-15: No such file or directory
make[2]: *** [ltdl.lo] Error 1
[...]

Comment 12 SpanKY gentoo-dev 2008-04-03 14:55:40 UTC
if you set reserved values in your environment to invalid settings, that's your problem.  fix your environment.
Comment 13 SpanKY gentoo-dev 2008-04-06 22:27:20 UTC
*** Bug 216344 has been marked as a duplicate of this bug. ***