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

Bug 201595

Summary: sys-apps/coreutils - sort is broken w/ LANG="lv_LV.UTF-8"
Product: Gentoo Linux Reporter: shpokas <ivars.strazdins>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2007.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description shpokas 2007-12-07 16:39:40 UTC
emerge -av gnutls (and other s/w) fails with locale set to lv_LV.UTF-8
it compiles cleanly with LANG=C emerge --info is below

joy ~ # export LANG=lv_LV.UTF-8
joy ~ # emerge -av gnutls

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-libs/gnutls-2.0.4  USE="lzo nls zlib -doc -guile" 0 kB 

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) net-libs/gnutls-2.0.4 to /
 * gnutls-2.0.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                              [ ok ]
 * checking ebuild checksums ;-) ...                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                               [ ok ]
 * checking gnutls-2.0.4.tar.bz2 ;-) ...                                                             [ ok ]
>>> Unpacking source...
>>> Unpacking gnutls-2.0.4.tar.bz2 to /var/tmp/portage/net-libs/gnutls-2.0.4/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-libs/gnutls-2.0.4/work/gnutls-2.0.4 ...
 * Running elibtoolize in: gnutls-2.0.4/build-aux
sort: sort.c:1134: inittables_mb: Assertion `mblength != (size_t)-1 && mblength != (size_t)-2' failed.
sort: sort.c:1134: inittables_mb: Assertion `mblength != (size_t)-1 && mblength != (size_t)-2' failed.
sort: sort.c:1134: inittables_mb: Assertion `mblength != (size_t)-1 && mblength != (size_t)-2' failed.

 * Portage patch failed to apply (ltmain.sh version 1.5.22 Debian 1.5.22-4)!
 * Please bug azarah or vapier to add proper patch.
 * 
 * ERROR: net-libs/gnutls-2.0.4 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line  382:  Called elibtoolize
 *             environment, line  337:  Called die
 * The specific snippet of code:
 *                                   diefunc "$FUNCNAME" "$LINENO" "$?" "Portage patch failed to apply!";
 *  The die message:
 *   Portage patch failed to apply!
 * 
 * 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/net-libs/gnutls-2.0.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/gnutls-2.0.4/temp/environment'.
 * 

 * Messages for package net-libs/gnutls-2.0.4:

 * Portage patch failed to apply (ltmain.sh version 1.5.22 Debian 1.5.22-4)!
 * Please bug azarah or vapier to add proper patch.
 * 
 * ERROR: net-libs/gnutls-2.0.4 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line  382:  Called elibtoolize
 *             environment, line  337:  Called die
 * The specific snippet of code:
 *                                   diefunc "$FUNCNAME" "$LINENO" "$?" "Portage patch failed to apply!";
 *  The die message:
 *   Portage patch failed to apply!
 * 
 * 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/net-libs/gnutls-2.0.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/gnutls-2.0.4/temp/environment'.
 * 
joy ~ # 

joy ~ # emerge --info
Portage 2.1.4_rc5 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.7-r0, 2.6.23-gentoo-r1 i686)
=================================================================
System uname: 2.6.23-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1.70GHz
Timestamp of tree: Fri, 07 Dec 2007 14:16:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
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-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -msse2 -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/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -msse2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ "
LANG="lv_LV.UTF-8"
LINGUAS="en"
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://ftp.latnet.lv/gentoo-portage"
USE="X a52 aac accessibility acl acpi aiglx alsa amrr avahi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdparanoia cdr cli cracklib crypt css cups daap dbus dga directfb dmi dri dts dvd dvdnav dvdr dvdread eds emboss emerald encode esd evo fam fame fbcon fbsplash firefox flac fontconfig foomaticdb fortran gd gdbm gif gimp gimpprint glibc-omitfp glitz gnome gnome-print gnomecanvas gpm gsm gstreamer gtk gtk2 hal hfs iconv imagemagick ipod irda jabber java jpeg kerberos lame ldap libburn libnotify live lm_sensors logrotate lzo mad madwifi mdnsresponder-compat midi mikmod mmx mmxext mono mp3 mpeg mplayer mudflap musepack nas ncurses nls nptl nptlonly nsplugin ogg openct opengl openmp oss pam pcre pdf perl png pppd python qt3support qt4 quicktime readline real realmedia reflection reiserfs replytolist rss samba sdl sensord server session slang slp smartcard sms socks5 speex spell spl sqlite sse sse2 ssl subtitles svg taglib tcl tcpd threads tiff transcode truetype truetype-fonts type1-fonts unicode usb vim vim-with-x vorbis wifi win32codecs x86 xine xml xorg xpm xprint xscreensaver xv xvid xvmc zlib" ALSA_CARDS="intel8x0 intel8x0m" 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="evdev keyboard mouse synaptics vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fglrx radeon vmware fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

joy ~ #
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-12-07 18:15:41 UTC
Bug #195722.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-12-07 22:40:24 UTC

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