Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54275 - baselayout and xfree set $INFODIR, which is wrong
Summary: baselayout and xfree set $INFODIR, which is wrong
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-06-17 23:09 UTC by Martin Lambers
Modified: 2004-08-02 13:09 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 Martin Lambers 2004-06-17 23:09:14 UTC
The environment variable INFODIR is set in profile.env to
"/usr/share/info:/usr/X11R6/info"
by sys-apps/baselayout-1.9.4-r2 (via /etc/env.d/00basic) and
x11-base/xfree-4.3.0-r5 (via /etc/env.d/10xfree) on my system.

There may be other packages that set INFODIR that I do not have installed.

Is there any use for this variable? 
info does not use it, it uses INFOPATH instead. 

The directory /usr/share/info is correctly set in INFOPATH,
and /usr/X11R6/info does not even exist.

I suggest to not set INFODIR at all for the following reasons:
- keeping the environment clean
- INFODIR breaks a NetBSD cross compile from Gentoo


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.6) 
================================================================= 
System uname: 2.6.6 i686 AMD Athlon(tm) XP 2400+ 
Gentoo Base System version 1.4.16 
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /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="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/ace/gentoo-distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo 
http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://ace6/gentoo-portage" 
USE="3dnow X acpi aim alsa apache2 apm arts audiofile avi berkdb cdr crypt 
cups curl dga divx4linux doc dvd dvdr encode fam flac foomaticdb gdbm gif gtk 
gtk2 icq imlib ipv6 java jpeg kde lesstif libg++ libwww mad mbox mikmod mmx 
mozilla mpeg ncurses nls offensive oggvorbis opengl oscar pam pdflib perl png 
ppds python qt quicktime readline sasl scanner sdl slang spell sse ssl tcltk 
tcpd tetex theora tiff truetype unicode usb videos wmf x86 xml2 xmms xosd xv 
xvid yahoo zlib"
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-08-02 02:06:30 UTC
Fixed in xfree and xorg-x11.
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2004-08-02 12:51:36 UTC
fixed in rc-scripts cvs
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2004-08-02 13:09:20 UTC
baselayout-1.10.2 released