Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41872 - Info dir regeneration produces errors with a non-C locale.
Summary: Info dir regeneration produces errors with a non-C locale.
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-02-17 02:12 UTC by Lars Geiger
Modified: 2004-10-22 08:48 UTC (History)
0 users

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


Attachments
Fixes the info dir problem. (emerge.patch,559 bytes, patch)
2004-02-17 02:27 UTC, Lars Geiger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Geiger 2004-02-17 02:12:29 UTC
After a successful emerge, emerge tries to regenerate the info dir, using the install-info command. emerge expects the output of install-info to be in the C locale and reports lots of (non-existing) errors if it is not.
emerge therefore executes 'LANG=C install-info ...' which doesn't work as expected, as install-info uses the LANGUAGE=de_DE environment variable.

Reproducible: Always
Steps to Reproduce:
1. 'epxort LANGUAGE=de_DE.iso885915@euro'
2. 'emerge <something>'
3. Watch the errors when emerge regenerates the info directory.

Actual Results:  
Emerge reported lots of already existing entries during the info dir
regeneration step.

Expected Results:  
The info dir should be regenerated and the already existing entries should be
ignored silently.

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.1-gentoo-eden1)
=================================================================
System uname: 2.6.1-gentoo-eden1 i686 VIA Nehemiah
Gentoo Base System version 1.4.3.13
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i586 -O2 -mmmx -msse -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=i586 -O2 -mmmx -msse -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="apache2 crypt dvd ethereal fbcon gif gtk2 jpeg libwww maildir md5sum mpi
ncurses nls pam perl png python readline samba sasl slang sse ssl tiff truetype
x86 xml2 zlib"
Comment 1 Lars Geiger 2004-02-17 02:27:28 UTC
Created attachment 25752 [details, diff]
Fixes the info dir problem.

This should fix the bug by executing 'LANGUAGE=C install-info ...' instead of
'LANG=C install-info ...'.
Comment 2 Masatomo Nakano (RETIRED) gentoo-dev 2004-02-26 20:21:30 UTC
Fixed in CVS
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2004-10-22 08:48:10 UTC
Bug has been fixed and released in stable portages on or before 2.0.51-r2