When attempting to emerge cdrdao (version 1.1.8), the configure script fails, claiming that the C compiler is unable to create executables. Removing the specs directory from the work directory seems to allow the configure script to pass this stage, but results in a failure when creating config.status (config.status: error: cannot find input file: specs/cdrdao.rh9.spec.in). Removing the references to the specs/* files from configure.in and re-running autoconf results in a successful configuration and make. Reproducible: Always Steps to Reproduce: 1. emerge cdrdao 2. 3. Actual Results: emerge output is: >>> Source unpacked. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... gcc checking for C compiler default output... configure: error: C compiler cannot create executables See `config.log' for more details. config.log gives: configure:2126: checking for C compiler version configure:2129: gcc --version </dev/null >&5 gcc (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2132: $? = 0 configure:2134: gcc -v </dev/null >&5 Reading specs from ./specs gcc: ./specs: Is a directory configure:2137: $? = 1 configure:2139: gcc -V </dev/null >&5 gcc: `-V' option must have argument configure:2142: $? = 1 configure:2166: checking for C compiler default output configure:2169: gcc -O3 -mcpu=athlon-xp -march=athlon-xp -pipe conftest.c >&5 gcc: ./specs: Is a directory configure:2172: $? = 1 configure: failed program was: | #line 2145 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "cdrdao" | #define PACKAGE_TARNAME "cdrdao" | #define PACKAGE_VERSION "1.1.8" | #define PACKAGE_STRING "cdrdao 1.1.8" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "cdrdao" | #define VERSION "1.1.8" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2211: error: C compiler cannot create executables See `config.log' for more details. Expected Results: Successful build. Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.6.4) ================================================================= System uname: 2.6.4 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=athlon-xp -march=athlon-xp -funroll-loops -pipe" 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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -mcpu=athlon-xp -march=athlon-xp -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/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="3dnow X aalib acpi alsa apm avi berkdb cdr crypt cups curl dga dvd dvdr encode flac foomaticdb gdbm gif gnome gpm gtk gtk2 imagemagick imlib java jpeg kde libg++ libwww lirc mad mbox mikmod mmx motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline scanner sdl slang spell sse ssl svga tcpd truetype usb x86 xface xml xml2 xmms xv zlib"
Created attachment 27486 [details, diff] Patch to config.in to ignore specs files
Configure and compile succeeded. Failure probably due to an invalid LIBRARY_PATH environment variable generated by an old .bash_profile.