When emerging chemtool with -nls in the USE flags, the localization files still
get installed. However they are installed in a directory named no in the root
of the filesystem.
Reproducible: Always
Steps to Reproduce:
1. USE="-nls" emerge chemtool
Actual Results:
A snippet of the emerge output shows this:
>>> Merging app-sci/chemtool-1.6 to /
[snip]
>>> /usr/bin/chemtool
>>> /no/
>>> /no/de/
>>> /no/de/LC_MESSAGES/
>>> /no/de/LC_MESSAGES/chemtool.mo
>>> /no/pt_BR/
>>> /no/pt_BR/LC_MESSAGES/
>>> /no/pt_BR/LC_MESSAGES/chemtool.mo
>>> /no/ru/
>>> /no/ru/LC_MESSAGES/
>>> /no/ru/LC_MESSAGES/chemtool.mo
>>> /no/fr/
>>> /no/fr/LC_MESSAGES/
>>> /no/fr/LC_MESSAGES/chemtool.mo
>>> /no/cs/
>>> /no/cs/LC_MESSAGES/
>>> /no/cs/LC_MESSAGES/chemtool.mo
>>> /no/pl/
>>> /no/pl/LC_MESSAGES/
>>> /no/pl/LC_MESSAGES/chemtool.mo
Expected Results:
The .mo files should either not be installed, or they should be installed in
another directory.
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0,
2.6.0)
=================================================================
System uname: 2.6.0 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS=" -z combreloc -mcpu=athlon-tbird -march=athlon-tbird -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/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/env.d"
CXXFLAGS=" -z combreloc -mcpu=athlon-tbird -march=athlon-tbird -O3 -pipe
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="ftp://gentoo.linux.no/pub/gentoo/
http://gentoo.oregonstate.edu
http://www.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://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb bonobo cdr crypt cups directfb dvd
encode esd fbcon foomaticdb gdbm ggi gif gnome gpm gstreamer gtk gtk2 gtkhtml
guile imlib java jpeg kde libg++ libwww mad matrox mikmod mmx motif mozilla
mpeg ncurses ntpl oggvorbis opengl oss pam pdflib perl png python qt quicktime
readline sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv
zlib video_cards_matrox video_cards_radeon"
Since I failed to convince that it should not use i18n, I at least changed -r1
so that the files won't be installed any more. I also removed the gettext
dependency - it compiles fine without. Thanks for the hint.