Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61878 - glibc install fails - invalid multibyte sequence
Summary: glibc install fails - invalid multibyte sequence
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-26 19:34 UTC by Chris Smith
Modified: 2005-12-15 23:18 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Smith 2004-08-26 19:34:01 UTC
Trying to remerge glibc-2.3.4.20040808 after upgrading to linux26-headers-2.6.8.1 but the emerge fails during the install phase (I broke it down separately to verify - the compile phase is fine).

I have tried remerging gettext as well as bash, including downgrading them as well. The error remains.

Reproducible: Always
Steps to Reproduce:
1.emerge glibc
2.or ebuild /usr/portage/sys-libs/glibc/glibc-2.3.4.20040808.ebuild compile (works)
3.followed by ebuild /usr/portage/sys-libs/glibc/glibc-2.3.4.20040808.ebuild install (fails)

Actual Results:  
make[2]: Leaving directory 
`/var/tmp/portage/glibc-2.3.4.20040808/work/glibc-2.3.3/manual' 
make -j2 -C shadow subdir_install 
make[2]: Entering directory 
`/var/tmp/portage/glibc-2.3.4.20040808/work/glibc-2.3.3/shadow' 
/bin/install -c -m 644 
shadow.h /var/tmp/portage/glibc-2.3.4.20040808/image//usr/include/shadow.h 
c=`(cd /var/tmp/portage/glibc-2.3.4.20040808/work/build/shadow && \ 
    sed -n -e 
's@\$(common-objpfx)@/var/tmp/portage/glibc-2.3.4.20040808/work/build/@g' \ 
           -e 
's@\$(objpfx)@/var/tmp/portage/glibc-2.3.4.20040808/work/build/shadow/@g' \ 
           -e '/stub-tag\.h/{; g; s/./&/p; }' \ 
           -e '/:/{x; s/^.*$//; x; }' \ 
           -e 's/^.*://;s/\\$//;s/^ *\([^ ][^ ]*\) .*$/\1/' \ 
           -e '/^[^ ][^ ]*$/{G;s/^.*\n\(..*\)/\1/;s/\n//;h; }' \ 
           getspent.o.d getspnam.o.d sgetspent.o.d fgetspent.o.d putspent.o.d 
getspent_r.o.d getspnam_r.o.d sgetspent_r.o.d fgetspent_r.o.d lckpwdf.o.d 
getspent.os.d getspnam.os.d sgetspent.os.d fgetspent.os.d putspent.os.d 
getspent_r.os.d getspnam_r.os.d sgetspent_r.os.d fgetspent_r.os.d 
lckpwdf.os.d) | sort | uniq`; \ 
sed -n 's/^stub_warning *(\([^)]*\).*$/#define __stub_\1/p' \ 
    $c /dev/null 
> /var/tmp/portage/glibc-2.3.4.20040808/work/build/shadow/stubsT 
mv 
-f /var/tmp/portage/glibc-2.3.4.20040808/work/build/shadow/stubsT /var/tmp/portage/glibc-2.3.4.20040808/work/build/shadow/stubs 
make[2]: Leaving directory 
`/var/tmp/portage/glibc-2.3.4.20040808/work/glibc-2.3.3/shadow' 
make -j2 -C po subdir_install 
make[2]: Entering directory 
`/var/tmp/portage/glibc-2.3.4.20040808/work/glibc-2.3.3/po' 
msgfmt -o be.mo be.po 
msgfmt -o ca.mo ca.po 
msgfmt -o cs.mo cs.po 
msgfmt -o da.mo da.po 
msgfmt -o de.mo de.po 
msgfmt -o el.mo el.po 
msgfmt -o en_GB.mo en_GB.po 
msgfmt -o es.mo es.po 
msgfmt -o fi.mo fi.po 
msgfmt -o fr.mo fr.po 
msgfmt -o gl.mo gl.po 
msgfmt -o hr.mo hr.po 
msgfmt -o hu.mo hu.po 
msgfmt -o it.mo it.po 
msgfmt -o ja.mo ja.po 
ja.po:26:9: invalid multibyte sequence 
ja.po:26:10: invalid multibyte sequence 
ja.po:42:9: invalid multibyte sequence 
ja.po:42:14: invalid multibyte sequence 
ja.po:42:15: invalid multibyte sequence 
ja.po:42:16: invalid multibyte sequence 
ja.po:42:17: invalid multibyte sequence 
ja.po:42:28: invalid multibyte sequence 
ja.po:46:13: invalid multibyte sequence 
ja.po:46:14: invalid multibyte sequence 
ja.po:73:9: invalid multibyte sequence 
ja.po:73:10: invalid multibyte sequence 
ja.po:93:21: invalid multibyte sequence 
ja.po:93:22: invalid multibyte sequence 
ja.po:97:23: invalid multibyte sequence 
ja.po:97:26: invalid multibyte sequence 
ja.po:97:27: invalid multibyte sequence 
ja.po:97:28: invalid multibyte sequence 
ja.po:101:23: invalid multibyte sequence 
ja.po:101:26: invalid multibyte sequence 
msgfmt: too many errors, aborting 
make[2]: *** [ja.mo] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/glibc-2.3.4.20040808/work/glibc-2.3.3/po' 
make[1]: *** [po/subdir_install] Error 2 
make[1]: Leaving directory 
`/var/tmp/portage/glibc-2.3.4.20040808/work/glibc-2.3.3' 
make: *** [install] Error 2 
 
!!! ERROR: sys-libs/glibc-2.3.4.20040808 failed. 
!!! Function src_install, Line 586, Exitcode 2 
!!! (no error message) 
 

Expected Results:  
succesfull emerge (install) 

Portage 2.0.50-r10 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 
2.6.8-gentoo-r3) 
================================================================= 
System uname: 2.6.8-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz 
Gentoo Base System version 1.5.3 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5-r1 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -s" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /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/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -s" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://gentoo.seren.com/gentoo 
http://open-systems.ufl.edu/mirrors/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X aalib acpi alsa apache2 arts audiofile avi berkdb bonobo cdr crypt cups 
curl dv dvd dvdrencode esd flac gdbm gif gphoto2 gpm gstreamer gtk gtkhtml 
guile imap imlib jack java jpeg kde lcms ldap libg++ libwww mad mikmod mmx 
motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl 
png ppds python qt quicktime readline samba sasl scanner sdl slang spell 
ssessl svg svga tcltk tcpd tetex theora threads tiff truetype unicode usb wmf 
x86 xml xml2 xmms xvzlib"
Comment 1 Chris Smith 2004-08-26 19:57:22 UTC
"msgfmt -o ja.mo ja.po" fails even when done manually from the shell.

If I rename "/var/tmp/portage/glibc-2.3.4.20040808/work/glibc-2.3.3/po/ja.po" to "/var/tmp/portage/glibc-2.3.4.20040808/work/glibc-2.3.3/po/ja.po.bak" then the "ebuild /usr/portage/sys-libs/glibc/glibc-2.3.4.20040808.ebuild install" will complete.
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2005-12-15 23:18:09 UTC
I'm going to go ahead and assume this is fixed in newer versions of glibc. 
Reopen it if I'm wrong.