Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338763 - dev-libs/elfutils tests fail in non-utf-8 locale
Summary: dev-libs/elfutils tests fail in non-utf-8 locale
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-26 09:26 UTC by Kevin F. Quinn
Modified: 2010-12-11 06:40 UTC (History)
0 users

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


Attachments
Build log (dev-libs:elfutils-0.146:20101004-200415.log,566.18 KB, text/plain)
2010-10-04 20:08 UTC, Kevin F. Quinn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin F. Quinn 2010-09-26 09:26:30 UTC
test run-strings-test.sh fails for me with locale set to en_GB.  Emerging with C locale passed all tests:

LC_ALL=C emerge --oneshot =dev-libs/elfutils-0.146



Reproducible: Always

Steps to Reproduce:
1.emerge dev-libs/elfutils with locale set to en_GB
2.
3.

Actual Results:  
test run-strings-test.sh fails

Expected Results:  
all tests should pass

# emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.11.2-r0, 2.6.31-gentoo-r10 i686)
=================================================================                           
System uname: Linux-2.6.31-gentoo-r10-i686-AMD_Athlon-tm-_XP_2500+-with-gentoo-1.12.13      
Timestamp of tree: Tue, 21 Sep 2010 22:00:01 +0000                                          
app-shells/bash:     4.1_p7                                                                 
dev-java/java-config: 2.1.11                                                                
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.5-r3, 3.1.2-r4                                    
dev-util/cmake:      2.8.1-r2                                                               
sys-apps/baselayout: 1.12.13                                                                
sys-apps/sandbox:    1.6-r2                                                                 
sys-devel/autoconf:  2.13, 2.65-r1                                                          
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r2, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1       
sys-devel/binutils:  2.20.1-r1                                                              
sys-devel/gcc:       3.3.6-r1, 3.4.6-r2, 4.1.2, 4.3.4, 4.4.3-r2                             
sys-devel/gcc-config: 1.4.1                                                                 
sys-devel/libtool:   2.2.6b                                                                 
sys-devel/make:      3.81-r2                                                                
virtual/os-headers:  2.6.30-r1                                                              
ACCEPT_KEYWORDS="x86"                                                                       
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm AdobeFlash-10.1"                          
CBUILD="i686-pc-linux-gnu"                                                                  
CFLAGS="-O2 -march=athlon-xp -pipe"                                                         
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests autoaddcvs collision-protect cvs distlocks fixpackages news parallel-fetch pax protect-owned sandbox sfperms sign strict test unmerge-logs unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.virginmedia.com/ http://mirror.qubenet.net/mirror/gentoo/"
LANG="en_GB"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1"
LINGUAS="en_GB en it de es fr"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
PORTDIR_OVERLAY="/usr/local/overlays/tree"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa apache2 arts audiofile berkdb bluetooth bzip2 cairo caps cdparanoia cdr cli cracklib crypt cups cvs cxx dbus dri dts dv dvb dvd dvdr encode fam ffmpeg firefox flac foomaticdb fortran gcj gdbm gif gnutls gpm gstreamer gtk hal iconv imagemagick imap imlib ipod ipv6 jack jadetex java javascript jbig jpeg jpeg2k kde ldap mad mime mmap mmx mng modules mp3 mpeg mplayer mudflap nas ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pda pdf perl png pppd python qt3 qt4 quicktime readline reflection ruby samba sdl semantic-desktop session speex spell sse ssl subversion svg sysfs tcl tcpd test theora threads tidy tiff tk truetype unicode usb v4l v4l2 vcd vim-syntax vorbis wifi win32codecs wmf x264 x86 xcomposite xine xinerama xml xmlrpc xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en it de es fr" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa vga radeonhd" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

# locale
LANG=en_GB
LC_CTYPE="en_GB"
LC_NUMERIC="en_GB"
LC_TIME="en_GB"
LC_COLLATE=C
LC_MONETARY="en_GB"
LC_MESSAGES="en_GB"
LC_PAPER="en_GB"
LC_NAME="en_GB"
LC_ADDRESS="en_GB"
LC_TELEPHONE="en_GB"
LC_MEASUREMENT="en_GB"
LC_IDENTIFICATION="en_GB"
LC_ALL=
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-10-04 00:44:17 UTC
Please attach the failure build log.
Comment 2 Kevin F. Quinn 2010-10-04 20:08:58 UTC
Created attachment 249581 [details]
Build log
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2010-10-09 07:53:19 UTC
halo ~/portage/dev-libs/elfutils-0.149/work/elfutils-0.149/tests # LC_ALL="en_US" ../src/strings -tx testfile
     f4 /lib/ld-linux.so.2
    1c9 __gmon_start__
    1d8 libc.so.6
    1e2 __cxa_finalize
    1f1 __deregister_frame_info
    209 _IO_stdin_used
    218 __libc_start_main
    22a __register_frame_info
    240 GLIBC_2.1.3
    24c GLIBC_2.0
    2ef ������%
    2ff ������%
    30f ������% 
    336 ��PTRh�
    345 QVh,
    34c ������
    356 �SP�
    372 ]���
    3b5 �u���
    3c9 �&���
    40c �����
    446 E���
    456 E���
    46a ������]�
    48d ����
    4a8 ��u�X[]�U
    4be �SR�
    4d0 �����
    4f8 ����
    500 ����
    5a8 ���od
    5b0 ���o
    5b8 ���oV
halo ~/portage/dev-libs/elfutils-0.149/work/elfutils-0.149/tests # LC_ALL="en_US.utf-8" ../src/strings -tx testfile
     f4 /lib/ld-linux.so.2
    1c9 __gmon_start__
    1d8 libc.so.6
    1e2 __cxa_finalize
    1f1 __deregister_frame_info
    209 _IO_stdin_used
    218 __libc_start_main
    22a __register_frame_info
    240 GLIBC_2.1.3
    24c GLIBC_2.0
    338 PTRh
    345 QVh,
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2010-12-11 06:40:33 UTC
Fixed in 0.150.