Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191111 - sys-apps/util-linux-2.13 fails to build - 'LC_ALL' undeclared
Summary: sys-apps/util-linux-2.13 fails to build - 'LC_ALL' undeclared
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://article.gmane.org/gmane.linux....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-03 00:06 UTC by Jason S.
Modified: 2007-09-03 15:19 UTC (History)
0 users

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


Attachments
Build Log (build.log,8.45 KB, text/plain)
2007-09-03 00:08 UTC, Jason S.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason S. 2007-09-03 00:06:42 UTC
util-linux has failed to build for a couple of days, and a couple of sync's, the only other 2.13 error report I've seen is for an SGI, and the error is entirely unrelated.

I'd be quite amused if this and my openssl bug are both due pretty much to my use of -O0, because some friends of mine harp on my choice (and Gentoo's Recommendation) of -O2.  They mention debugging hell or something along these lines.

ANYWAYS;
Silly question, I noticed while writing this bug, that my LC_ALL is unset.  As I recall, LC_* is for lang manipulation.  Should I drop LC_ALL="en_US" (en_US.UTF8?) in my make.conf ?
I would assume LINGUAS should primarily take care of all this though?

Reproducible: Always

Steps to Reproduce:
1. emerge -u util-linux (or in my case, updating world)
2. and then you just wait

Actual Results:  
Miserable Failure

Expected Results:  
Cleanly Compiled Package

make[2]: Entering directory `/var/tmp/portage/sys-apps/util-linux-2.13/work/util-linux-ng-2.13/disk-utils'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..  -include ../config.h -I../include -DLOCALEDIR=\"\"  -fsigned-char -march=pentium3 -O0 -pipe -MT mkfs.o -MD -MP -MF ".deps/mkfs.Tpo" -c -o mkfs.o mkfs.c; \
        then mv -f ".deps/mkfs.Tpo" ".deps/mkfs.Po"; else rm -f ".deps/mkfs.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..  -include ../config.h -I../include -DLOCALEDIR=\"\"  -fsigned-char -march=pentium3 -O0 -pipe -MT mkswap.o -MD -MP -MF ".deps/mkswap.Tpo" -c -o mkswap.o mkswap.c; \
        then mv -f ".deps/mkswap.Tpo" ".deps/mkswap.Po"; else rm -f ".deps/mkswap.Tpo"; exit 1; fi
mkfs.c: In function 'main':
mkfs.c:46: error: 'LC_ALL' undeclared (first use in this function)
mkfs.c:46: error: (Each undeclared identifier is reported only once
mkfs.c:46: error: for each function it appears in.)
make[2]: *** [mkfs.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mkswap.c: In function 'main':
mkswap.c:512: error: 'LC_ALL' undeclared (first use in this function)
mkswap.c:512: error: (Each undeclared identifier is reported only once
mkswap.c:512: error: for each function it appears in.)
make[2]: *** [mkswap.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-apps/util-linux-2.13/work/util-linux-ng-2.13/disk-utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/util-linux-2.13/work/util-linux-ng-2.13'
make: *** [all] Error 2
 *
 * ERROR: sys-apps/util-linux-2.13 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   util-linux-2.13.ebuild, line 68:   Called die
 *
 * emake failed



Portage 2.1.3.7 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r4 i686)
=================================================================
System uname: 2.6.22-gentoo-r4 i686 Pentium III (Coppermine)
Gentoo Base System release 1.12.10
Timestamp of tree: Sun, 02 Sep 2007 06:50:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
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
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O0 -pipe"
CHOST="i686-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/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium3 -O0 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/"
LINGUAS="en ja"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="7zip X aac aalib acl administrator aiglx aim aimextras alsa amarok anthy ao aoss apache2 avahi bash-completion beagle berkdb bitmap-fonts bonjour branding buttons bzip2 cairo canna cgi charconv cjk cli colordiff console contrarius cracklib cran crypt css csv ctype cups curl cursors cvs cvsgraph daap dbus dia divx dmi dmx dnotify doomsday dri dvd dvdnav dvdr dvdread emerald emoticon encode escreen expat extras fam fastcgi festival firefox flac force-cgi-redirect fortran ftp fuse gaim gd gdbm geoip gif gimp gkrellm glib glitz glsa gmail gmp gnutls gpgme gpm graphviz gtalk gtk gvim gzip hal howl-compat httpd ical icecast icons iconv icq icu id3 imagemagick imap imlib immqt-bc inquisitio ipv6 irc isdnlog jabber javascript jingle jp jpeg jpeg2k kcal kde kdecards lame ldap ldap-sasl libcaca libnotify libsamplerate libsexy libvisual libwww lighttpd lj logrotate logwatch lua mad magic mcal md5sum mdnsresponder-compat mhash midi mikmod mjpeg mng moznoxft mp3 mp4 mpeg mpeg2 mpm-worker msn msnextras mudflap multiuser musepack music musicbrainz mysql mysqli nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh ncurses nethack network-cron nls nntp nptl nptlonly offensive ogg openid openmp pam pcre perl php pink png portage portaudio prediction print pulseaudio python qa qt3 qt3support qt4 quicktime rdesktop readline reflection resolvconf rss ruby samba sasl scim screen sdl sdl-image sdl-sound sdlaudio server session sftp shorten sid simplexml sms sox speex spell spl sql sqlite sqlite3 srv ssl startup-notification stream subtitles subversion svg svga svgz svn-mirror swat swig symlink tcl tcpd themes theora threads thumbnail thunderbird tidy tiff timidity tk transcode truetype truetype-fonts type1-fonts unicode unzip usb userlocales v4l v4l2 vim vim-pager vim-syntax vim-with-x vnc vncviewer vorbis vorbis-psy wav wavpack webdav win32codecs wireshark wma wmf x11vnc x86 xcomposite xhtml xine xml xmlreader xmlrpc xmlwriter xorg xpm xrandr xscreensaver xsl xslt xterm xv xvid xvmc xvnc zeroconf zip zlib" ALSA_CARDS="emu10k1" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ja" USERLAND="GNU" VIDEO_CARDS="radeon vesa vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jason S. 2007-09-03 00:08:23 UTC
Created attachment 129877 [details]
Build Log
Comment 2 SpanKY gentoo-dev 2007-09-03 15:19:25 UTC
fixed in cvs and pushed upstream