Bug 64862 - sys-fs/xfsprogs fails to emerge when sys-devel/gettext is not emerged.
Bug#: 64862 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: agipson@gmail.com
Component: Ebuilds
URL:  http://forums.gentoo.org/viewtopic.php?t=225825
Summary: sys-fs/xfsprogs fails to emerge when sys-devel/gettext is not emerged.
Keywords:  
Status Whiteboard: 
Opened: 2004-09-21 08:06 0000
Description:   Opened: 2004-09-21 08:06 0000
sys-fs/xfsprogs does not have a DEPEND statement to include sys-devel/gettext,
however the package will not emerge without it being installed first.  Further
exploring shows that sys-devel/gettext is not included in the
default-x86-2004.2 profile and since the system was not compiled with nls use
flag being set, performing a emerge depclean or any other dependancy checking
script says it can/should be removed.

Reproducible: Always
Steps to Reproduce:
1.  Make sure nls was/is not in the use flags
2.  Make sure sys-devel/gettext is not currently emerged
3.  Emerge sys-fs/xfsprogs

Actual Results:  
Diego portage # emerge xfsprogs
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-fs/xfsprogs-2.6.13 to /
>>> md5 src_uri ;-) xfsprogrs-2.6.13.src.tar.gz
>>> Unpacking source...
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler i detected then cross compile mode will be used.
checking for make... /usr/bin/make
checking for libtool... /usr/bin/libtool
checking for tar... /bin/tar
checking for gzip... /bin/gzip
checking for makedepend... /bin/true
checking for awk... /bin/awk
checking for sed... /bin/sed
checking for echo... /bin/echo
checking for sort... /bin/sort
cecking whether ln -s works... yes
checking for msgfmt... no

FATAL ERROR: msgfmt does not seem to be installed.
xfsprogs cannot be built without a working gettext installation.

!!! ERROR: sys-fs/xfsprogs-2.6.13 failed.
!!! Function econf, Line 362, Exitcode 1
!!! econf failed 

Expected Results:  
Attempted to emerge sys-devel/gettext first then emerge xfsprogs.

Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.4.1, glibc-2.3.3.20040420-r1,
2.6.8-gentoo-r3)
==============================================================
System uname: 2.6.8-gentoo-r3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORKDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
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/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache fixpackages sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibilio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages/march-pentium3"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi aim alsa apm arts avi bootsplash bzlib cdr crypt cups dga dio
directfb divx4linux encode ethereal evo fbcon flac foomaticdb gif gnutls gpm
gtk
gtk2 jabber java jpeg kde kderberos krb4 ldap libedit libwww mad memlimit mmx
mpeg ncurses nptl opengl oscar pam pdflib perl png posix python qt quicktime
readline samba sasl slang spell sse ssl svga szip tiff truetype usb wmf x86
xinerama xml xml2 xmms sv svid yahoo zlib"

------- Comment #1 From SpanKY 2004-09-21 20:37:14 0000 -------
gettext is optional; made it pass configure flags based upon USE=nls