When I update my system use "emerge --deep --update world", it fails at dev-db/sqlite-3.4.2. Here is the error code: * Running elibtoolize in: sqlite-3.4.2 sort: sort.c:1134:inittables_mb: assert“mblength != (size_t)-1 && mblength != (size_t)-2”failed sort: sort.c:1134:inittables_mb: assert“mblength != (size_t)-1 && mblength != (size_t)-2”failed sort: sort.c:1134:inittables_mb: assert“mblength != (size_t)-1 && mblength != (size_t)-2”failed sort: sort.c:1134:inittables_mb: assert“mblength != (size_t)-1 && mblength != (size_t)-2”failed sort: sort.c:1134:inittables_mb: assert“mblength != (size_t)-1 && mblength != (size_t)-2”failed sort: sort.c:1134:inittables_mb: assert“mblength != (size_t)-1 && mblength != (size_t)-2”failed sort: sort.c:1134:inittables_mb: assert“mblength != (size_t)-1 && mblength != (size_t)-2”failed * Cannot apply any patches, please file a bug about this * * ERROR: dev-db/sqlite-3.4.2 failed. * Call stack: * ebuild.sh, line 1687: Called dyn_unpack * ebuild.sh, line 803: Called qa_call 'src_unpack' * ebuild.sh, line 44: Called src_unpack * sqlite-3.4.2.ebuild, line 46: Called elibtoolize * libtool.eclass, line 343: Called die * The specific snippet of code: * die * The die message: * (no error message) * Reproducible: Always
*** Bug 195724 has been marked as a duplicate of this bug. ***
Your sys-apps/coreutils is pretty screwed. Which version is this? Does it work w/ LANG=C ? Also post emerge --info output.
(In reply to comment #2) > Your sys-apps/coreutils is pretty screwed. Which version is this? Does it work > w/ LANG=C ? > > Also post emerge --info output. > My sys-apps/coreutils version is 6.9-r1. emerge --info: Portage 2.1.3.12 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.20-gentoo-r8 x86_64) ================================================================= System uname: 2.6.20-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ Timestamp of tree: Sat, 13 Oct 2007 08:50:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.1 dev-lang/python: 2.4.4-r4, 2.5.1-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 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.22-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -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/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://gentoo.anheng.com.cn/gentoo http://linux.ntcu.net/ftp/dists/gentoo" LANG="zh_CN.UTF-8" LINGUAS="zh_CN" MAKEOPTS="-j3" 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" PORTDIR_OVERLAY="/usr/portage/local/layman/gentoo-china" SYNC="rsync://linux.ntcu.net/gentoo-portage" USE="3dnow X acc acl alsa amd64 berkdb bitmap-fonts cdr cjk cli cracklib crypt cups dbus dri dvd flac fortran gdbm gif gnome gpm gtk hal iconv ipv6 isdnlog jpeg kde mad midi mmx mp3 mplayer msn mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre perl pppd python qq qt3 qt3support qt4 readline reflection session spl sse sse2 ssl svg tcpd truetype-fonts type1-fonts unicode xorg zh_CN zlib" ALSA_CARDS="nForce hda-intel 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Again, does it work with LANG=C ?
(In reply to comment #4) > Again, does it work with LANG=C ? > It's Ok when I change the LANG from zh_CN.UTF-8 to C. It works with LANG=C. no error in updating sqlite
Thanks.
*** Bug 201595 has been marked as a duplicate of this bug. ***
any word when and how this can be fixed? `sort` isn't working at all and i'm afraid sooner or later some system tool will need it (and doesn't know LANG=C would work :P) $ sort sort: sort.c:1134: inittables_mb: Assertion `mblength != (size_t)-1 && mblength != (size_t)-2' failed. Aborted sys-apps/coreutils-6.9-r1 {USE: acl nls selinux static xattr} $ emerge --info Portage 2.1.3.19 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686) ================================================================= System uname: 2.6.23-gentoo-r3 i686 AMD Athlon(tm) 64 Processor 3700+ Timestamp of tree: Fri, 25 Jan 2008 11:16:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.3 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 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-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -s" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" 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="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -s" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://gentoo.mirror.solnet.ch ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo" LANG="en_US.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" PORTDIR_OVERLAY="/usr/local/portage/veal-overlay /usr/local/portage/musicbrainz-overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac aalib alsa apm avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cscope cups curl dbus dedicated divx dri dts dvd dvdnav dvdr dvdread eds emboss encode ffmpeg firefox fortran freetype ftp gif gphoto2 gtk gtk2 hal hddtemp iconv imagemagick imagemick imap imlib ipod isdnlog java jikes jpeg lirc live lm_sensors midi mmx mmxext motif mp2 mp3 mp4 mpeg mplayer msn mudflap musicbrainz ncurses network nls nptl nptlonly nsplugin offensive ogg opengl openmp oscar oss pam pcre pdf pdflib perl png pppd python qt3 qt4 quicktime radio rar readline real reflection rtc sdl session spl sqlite srt sse sse2 ssl svga tcltk tcpd truetype truetype-fonts type1-fonts unicode v4l v4l2 videos vim-syntax vorbis win32codecs wmp wxwindows x264 x86 xinerama xml xml2 xorg xosd xv xvid xvmc zlib" ALSA_CARDS="cs46xx intel8x0" 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" LIRC_DEVICES="hauppauge" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
ETA: whenever someone fixes it most likely it'll rot until fedora fixes it
(In reply to comment #9) > ETA: whenever someone fixes it > > most likely it'll rot until fedora fixes it > upgrade to 6.10, it doesn't have this problem
that's because coreutils-6.10 doesnt have any of the i18n patches ... nor have they been integrated upstream
See if the following locale settings help: LANG=zh_CN.UTF-8 # (or whatever) LC_COLLATE=C unset LC_ALL
coreutils-6.10-r2 in the tree with updated i18n patch. please re-open if this doesnt address your issue.