[description] Reproducible: Always Steps to Reproduce: 1. emerge =dev-util/dialog-1.1.20080819-r1 Actual Results: >>> Emerging (1 of 1) dev-util/dialog-1.1.20080819-r1 * dialog-1.1-20080819.tgz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking dialog-1.1-20080819.tgz to /tmp/portage/dev-util/dialog-1.1.20080819-r1/work >>> Source unpacked in /tmp/portage/dev-util/dialog-1.1.20080819-r1/work >>> Preparing source in /tmp/portage/dev-util/dialog-1.1.20080819-r1/work/dialog-1.1-20080819 ... * Applying dialog-shared.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /tmp/portage/dev-util/dialog-1.1.20080819-r1/work/dialog-1.1-20080819 ... * econf: updating dialog-1.1-20080819/config.sub with /usr/share/gnuconfig/config.sub * econf: updating dialog-1.1-20080819/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --enable-nls --with-libtool --with-ncurses checking for package version... 1.1 checking for package patch date... 20080819 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc-4.3.3 checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc-4.3.3 accepts -g... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc-4.3.3 -E checking whether x86_64-pc-linux-gnu-gcc-4.3.3 needs -traditional... no checking whether make sets ${MAKE}... yes checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for a BSD compatible install... /usr/bin/install -c checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for POSIXized ISC... no checking for x86_64-pc-linux-gnu-gcc-4.3.3 option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for makeflags variable... checking if filesystem supports mixed-case filenames... yes checking for ctags... yes checking for etags... no checking if you want to see long compiling messages... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu Configuring for linux-gnu checking if x86_64-pc-linux-gnu-gcc-4.3.3 -U and -D options work together... yes checking if we must define _GNU_SOURCE... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking for fseeko... yes checking whether to use struct dirent64... no checking version of x86_64-pc-linux-gnu-gcc-4.3.3... 86 checking if you want to check for gcc warnings... no checking for ANSI C header files... yes checking for inline... inline checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking for argz.h... yes checking for limits.h... yes checking for locale.h... yes checking for nl_types.h... yes checking for malloc.h... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for feof_unlocked... yes checking for fgets_unlocked... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for stpcpy... yes checking for strchr... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking for libintl.h... yes checking for GNU gettext in libc... yes checking for dcgettext... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for catalogs to be installed... pl checking if we should use included message-library... yes checking for libintl.h... (cached) yes checking if -lm needed for math functions... yes checking if you want to use dmalloc for testing... no checking if you want to use dbmalloc for testing... no checking if you want to use purify for testing... no checking if you want to use valgrind for testing... no checking if you want to perform memory-leak testing... checking if you want --trace option... yes checking if you want to build libraries with libtool... yes checking for libtool... /usr/bin/libtool checking version of libtool... 2.2.6 checking for additional libtool options... no Looking for ncurses-config checking for ncurses6-config... no checking for ncurses5-config... /usr/bin/ncurses5-config checking if you want extra dialogs... yes checking if you want config-file support... yes checking if you want Xdialog-style dialogs... yes checking if you want the form dialog... yes checking if you want the gauge dialog... yes checking if you want the tailbox dialog... yes checking if you want the mixedform dialog... yes checking if you want the mixedgauge dialog... yes checking if you want the wide-curses features... yes checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for search.h... yes checking for unistd.h... (cached) yes checking for term.h... term.h checking return type of signal handlers... void checking for _nc_free_and_exit... yes checking for strcasecmp... (cached) yes checking for tsearch... (cached) yes checking for waitpid... yes checking if we must define _XOPEN_SOURCE_EXTENDED... no checking for flushinp... yes checking for getbegx... yes checking for getbegy... yes checking for getbegyx... yes checking for getcurx... yes checking for getcury... yes checking for getmaxx... yes checking for getmaxy... yes checking for getmaxyx... yes checking for getparx... yes checking for getpary... yes checking for getparyx... yes checking for use_default_colors... yes checking for wget_wch... no checking for start_color... yes checking for chtype typedef... yes checking if chtype is scalar or struct... scalar checking for sys/wait.h... yes checking for union wait... no checking if we must include wchar.h to declare mbstate_t... yes configure: creating ./config.status config.status: creating dialog-config config.status: creating makefile config.status: creating headers-sh config.status: creating po/makefile.in config.status: creating samples/install/makefile config.status: creating dlg_config.h config.status: creating po/POTFILES config.status: creating po/makefile >>> Source configured. >>> Compiling source in /tmp/portage/dev-util/dialog-1.1.20080819-r1/work/dialog-1.1-20080819 ... make -j3 /usr/bin/libtool --mode=compile x86_64-pc-linux-gnu-gcc-4.3.3 -O2 -pipe -march=native -I/usr/include/ncurses -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -I. -DLOCALEDIR=\"/usr/share/locale\" -c trace.c /usr/bin/libtool --mode=compile x86_64-pc-linux-gnu-gcc-4.3.3 -O2 -pipe -march=native -I/usr/include/ncurses -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -I. -DLOCALEDIR=\"/usr/share/locale\" -c rc.c /usr/bin/libtool --mode=compile x86_64-pc-linux-gnu-gcc-4.3.3 -O2 -pipe -march=native -I/usr/include/ncurses -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -I. -DLOCALEDIR=\"/usr/share/locale\" -c calendar.c libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' make: *** [trace.lo] Error 1 make: *** Waiting for unfinished jobs.... libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' make: *** [calendar.lo] Error 1 libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' make: *** [rc.lo] Error 1 Portage 2.2_rc30 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-zen1-nyth-v5 x86_64) ================================================================= System uname: Linux-2.6.29-zen1-nyth-v5-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-gentoo-2.0.0 Timestamp of tree: Wed, 15 Apr 2009 22:00:01 +0000 app-shells/bash: 4.0_p17-r1 dev-java/java-config: 2.1.7 dev-lang/python: 2.6.1-r1 dev-python/pycrypto: 2.0.1-r8 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ABI="amd64" ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-gcc-4.3.3" CDEFINE_amd64="__x86_64__" CDEFINE_x86="__i386__" CFLAGS="-O2 -pipe -march=native" CFLAGS_x86="-m32" CHOST="x86_64-pc-linux-gnu" CHOST_amd64="x86_64-pc-linux-gnu" CHOST_x86="i686-pc-linux-gnu" CXX="x86_64-pc-linux-gnu-g++-4.3.3" CXXFLAGS="-O2 -pipe -march=native" DEFAULT_ABI="amd64" DISPLAY=":0.0" DISTDIR="/usr/portage/distfiles" EDITOR="/usr/bin/vim" ELIBC="glibc" EMERGE_DEFAULT_OPTS="--verbose --ask --tree --keep-going" EMERGE_WARNING_DELAY="10" LANG="pl_PL" LANGUAGE="48" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LC_ALL="pl_PL" LDFLAGS="-Wl,--as-needed,-O1" LDFLAGS_x86="-m elf_i386" LESS="-R -M --shift 5" LESSOPEN="|lesspipe.sh %s" LIBDIR_amd64="lib64" LIBDIR_amd64_fbsd="lib64" LIBDIR_ppc="lib32" LIBDIR_ppc64="lib64" LIBDIR_sparc32="lib32" LIBDIR_sparc64="lib64" LIBDIR_x86="lib32" LIBDIR_x86_fbsd="lib32" LIBXCB_ALLOW_SLOPPY_LOCK="1" LINGUAS="pl" LOGNAME="root" WANT_MP="true"
Removing $(use_with !minimal libtool) or adding USE=minimal solves problem.
I think it's invalid and your problem lies here: CXX="x86_64-pc-linux-gnu-g++-4.3.3" whereever you set it, unset it and try again. Perhaps you will need to rebuild your libtool.
First thing I do after someting fails is to try without CC/CXX but didn't figure out to rebuild also libtool. Sorry for false alarm.