Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146915 - subversion eclass fails due to invalid locale assignment
Summary: subversion eclass fails due to invalid locale assignment
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Akinori Hattori
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-09 01:15 UTC by Shogun
Modified: 2006-09-27 09:20 UTC (History)
1 user (show)

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 Shogun 2006-09-09 01:15:24 UTC
Hi guys...While emerging some package which inherit from subversion.eclass I got problem like this:

---BEGIN---
>>> Creating Manifest for /mnt/portage/overlays/custom/net-im/gaim-svn
 * checking ebuild checksums ;-) ...                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                [ ok ]
>>> Not marked as unpacked; recreating WORKDIR...
>>> Unpacking source...
/usr/portage/eclass/subversion.eclass: line 304: export: `dell'Ultimo': not a valid identifier

!!! ERROR: net-im/gaim-svn-2.0.0 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  ebuild.sh, line 1255:   Called subversion_src_unpack
  subversion.eclass, line 278:   Called subversion_fetch
  subversion.eclass, line 188:   Called die

!!! subversion.eclass: unknown problem occurred while accessing working copy.
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/mnt/portage/overlays/custom'
---END---

As you can see, this problem is related to locale settings which invalid parsing of "svn info".
Infact, line 304 of the file is:

export ESVN_WC_$(echo "${k}" | tr [a-z] [A-Z])=$(env LANG=C svn info "${wc_path}" | grep -i "^${k}" | cut -d" " -f2)

If I change LANG to LC_ALL, the problem is fixed...
Hope this helps...
Comment 1 Shogun 2006-09-09 01:16:53 UTC
This is my emerge --info, if you need it ...

Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4.90.20060805-r1, 2.6.17-beyond3 i686)
=================================================================
System uname: 2.6.17-beyond3 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.4
Last Sync: Sat, 09 Sep 2006 07:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17.50.0.3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -fforce-addr"
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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/mnt/portage/distfiles"
FEATURES="autoconfig buildpkg confcache digest distlocks keeptmp keepwork metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=both -Wl,--as-needed"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/mnt/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'"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mnt/portage/overlays/custom /mnt/portage/overlays/portage-xgl /mnt/portage/overlays/gentopia /mnt/portage/overlays/toolchain_overlay /mnt/portage/overlays/sunrise /mnt/portage/overlays/break-my-gentoo-main /mnt/portage/overlays/gnome-experimental /mnt/portage/overlays/stuart-desktop"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 7zip X a52 aac aalib ace acpi aim alsa amd amr amuled apache2 arts asf audio audiofile avahi avi bash-completion berkdb bitmap-fonts bluetooth bonobo bootsplash bzip2 cairo cdda cddb cdparanoia cdr clamav clamd cli cpdflib cpudetection crypt cups curl dbus divx4linux dlloader dmx dri dvd dvdr dvdread dvi elibc_glibc emboss encode epiphany esd fam fat fbsplash ffmpeg firefox fltk font-server fortran ftp fuse gatos gd gdbm gif glibc-omitfp glitz glut glx gmail gnome gpm gstreamer gtk gtkhtml hal imagemagick imap input_devices_keyboard input_devices_mouse ipod isdnlog java javascript joystick jpeg kad kde kdehiddenvisibility kernel_linux lame ldap libclamav libg++ libnotify linguas_it lirc lirc_devices_ati-usb live mad maildir mailwrapper matroska mbox mikmod mime mmx mmx2 mono mozilla moznocompose moznoirc moznomail mozsvg mozxmlterm mp3 mpeg mpeg2 mpeg4 mplayer msn msnextras mysql mysqli ncurses nls nptl nptlonly nsplugin ntfs nvidia ogg opengl openssh openssl oss pam pcre pdf pdflib perl plugin png ppds pppd python qt qt3 qt4 quicktime rar readline reflection reiserfs rhythmbox rtsp samba sdl sensord session sharedext sharedmem spell spl sqlite sqlite3 sse sse2 ssl startup-notification svg svga sysfs tagwriting tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales utf8 v4l v4l2 vfat vhosts video_cards_none video_cards_nvidia vorbis webdav wifi win32codecs xine xml xorg xosd xprint xscreensaver xsl xslt xv xvid zlib zvbi"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS


Sorry for my weird English in the previous message :)
   Shogun
Comment 2 Davide Cendron (RETIRED) gentoo-dev 2006-09-18 04:53:36 UTC
I confirm the bug, changing LANG=C with LC_ALL=C on line 304 in /usr/portage/eclass/subversion.eclass will fix it!
Comment 3 Akinori Hattori gentoo-dev 2006-09-27 09:20:43 UTC
Thank you for waiting. Fixed in CVS.