emerge sys-fs/cryptsetup-luks-1.0.3-r2 fails with "Failed Running aclocal". The following update is therefore impossible: sys-fs/cryptsetup-luks-1.0.3-r2 [1.0.1-r1] USE="pic% -dynamic -nls" The contents of /var/tmp/portage/cryptsetup-luks-1.0.3-r2/temp/aclocal-23655.out is: ***** aclocal ***** aclocal: configure.in: 53: macro `AM_GNU_GETTEXT' not found in library aclocal: configure.in: 54: macro `AM_GNU_GETTEXT_VERSION' not found in library I think this may have to do with the USE-Flag setting -nls. emerge --info Portage 2.1-r1 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r4, 2.6.14-hardened-r8 i686) ================================================================= System uname: 2.6.14-hardened-r8 i686 AMD Athlon(tm) 64 Processor 3700+ Gentoo Base System version 1.6.15 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 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.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="" ANT_HOME="/usr/share/ant-core" ARCH="x86" AUTOCLEAN="yes" CATALINA_HOME="/usr/share/tomcat-5.5" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CLASSPATH="." CLEAN_DELAY="5" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc /terminfo" CVS_RSH="ssh" CXXFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" EDITOR="/usr/bin/vim" ELIBC="glibc" EMERGE_DEFAULT_OPTS="--verbose" EMERGE_WARNING_DELAY="10" FEATURES="autoconfig buildpkg distlocks fixpackages metadata-transfer sandbox sfperms strict" FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI}" GCC_SPECS="" GDM_LANG="de_DE.utf8" GENERATION="2" GENTOO_MIRRORS="http://gentoo.intergenia.de/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp-stud.fh t-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mirror.solnet.ch/ http://mirrors.sec.informatik.tu-darmst adt.de/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/" GRP_STAGE23_USE="x86 x86 berkdb crypt dlloader hardened nls pam pic readline ssl tcpd userlocales zlib" HOME="/root" HOSTNAME="sam" INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/i686- pc-linux-gnu/3.4.6/info" INPUT_DEVICES="mouse keyboard" JAVAC="/opt/sun-jdk-1.4.2.12/bin/javac" JAVA_HOME="/opt/sun-jdk-1.4.2.12" JDK_HOME="/opt/sun-jdk-1.4.2.12" KERNEL="linux" LANG="de_DE.utf8" LC_ADDRESS="de_DE.utf8" LC_COLLATE="de_DE.utf8" LC_CTYPE="de_DE.utf8" LC_IDENTIFICATION="de_DE.utf8" LC_MEASUREMENT="de_DE.utf8" LC_MESSAGES="en_US.utf8" LC_MONETARY="de_DE.utf8" LC_NAME="de_DE.utf8" LC_NUMERIC="de_DE.utf8" LC_PAPER="de_DE.utf8" LC_TELEPHONE="de_DE.utf8" LC_TIME="de_DE.utf8" LESS="-R -M --shift 5" LESSOPEN="|lesspipe.sh %s" LINGUAS="de en" LOGNAME="root" LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41 :mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31: *.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.t z=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*. rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35: *.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01; 35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.qt=01;35:*.wmv= 01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf= 01;35:*.xwd=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*. doc=00;32:*.flac=01;35:*.mp3=01;35:*.mpc=00;36:*.ogg=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36 :*.flac=00;36:*.aac=00;36:" MAIL="/var/mail/root" MAKEOPTS="-j2" MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/man:/usr/sh are/gcc-data/i686-pc-linux-gnu/3.4.6/man:/opt/sun-jdk-1.4.2.12/man:/etc/java-config/system-vm/man/" OLDPWD="/var/log" PAGER="/usr/bin/less" PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin /3.4.6:/usr/i386-pc-linux-gnu/gcc-bin/3.4.4:/opt/sun-jdk-1.4.2.12/bin:/opt/sun-jdk-1.4.2.12/jre/bin:/opt/s un-jdk-1.4.2.12/jre/javaws" PKGDIR="/usr/portage//packages/x86/" PORTAGE_ARCHLIST="ppc s390 amd64 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha ppc-macos hppa x86" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_BIN_PATH="/usr/lib/portage/bin" PORTAGE_CALLER="emerge" PORTAGE_CONFIGROOT="/" PORTAGE_ELOG_CLASSES="info warn error log" PORTAGE_ELOG_MAILFROM="portage" PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}" PORTAGE_ELOG_MAILURI="root" PORTAGE_ELOG_SYSTEM="save" PORTAGE_GID="250" PORTAGE_INST_GID="0" PORTAGE_INST_UID="0" PORTAGE_NICENESS="7" PORTAGE_PYM_PATH="/usr/lib/portage/pym" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync.exclude" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --del ete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_RSYNC_RETRIES="5" PORTAGE_TMPDIR="/var/tmp" PORTAGE_WORKDIR_MODE="0700" PORTDIR="/usr/portage/" PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/java-migration-packages /usr/portage/local/l ayman/java-experimental" PORT_LOGDIR="/var/log/portage" PRELINK_PATH="" PRELINK_PATH_MASK="" PWD="/root" PYTHONPATH="/usr/lib/portage/pym" RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI}" ROOT="/" RPMDIR="/usr/portage/rpm" SHELL="/bin/bash" SHLVL="1" STAGE1_USE="hardened pic userlocales" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" TERM="xterm" TZ="Europe/Berlin" USE="3dnow apache2 berkdb bzip2 bzlib crypt dlloader hardened idn java libg++ mmx nptl nptlonly pam pic po stgres readline sse sse2 ssl tcpd udev unicode userlocales vhosts x86 xml2 xorg zlib elibc_glibc input_dev ices_mouse input_devices_keyboard kernel_linux linguas_de linguas_en userland_GNU" USER="root" USERLAND="GNU" USE_EXPAND="DVB_CARDS ELIBC FCDSL_CARDS FRITZCAPI_CARDS INPUT_DEVICES KERNEL LINGUAS LIRC_DEVICES USERLAND VIDEO_CARDS" USE_EXPAND_HIDDEN="ELIBC KERNEL USERLAND" USE_ORDER="env:pkg:conf:defaults" VMHANDLE="sun-jdk-1.4" XARGS="xargs -r" _="/usr/bin/emerge"
the cryptsetup-luks package doesnt include the gettext m4 files so trying to rebuild the autotools will always fail unless gettext is installed personally i'd say WONTFIX but that's me ... another solution would be to patch the generated autotool files so you dont have to run things like aclocal
I think I'll go with you on this one vapier.
so, why not add a dep upon gettext ?
CC me
The ebuild emerges without problems when gettext is available. So just adding the proposed dependency to gettext would fix this. And the aim should be a correct dependency tree for everyone, not just for some people with the right use-flags :-) What sense does the nls-flag make if it breaks without it?