Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44874 - cdrdao-1.1.8 fails in configure script
Summary: cdrdao-1.1.8 fails in configure script
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Lars Weiler (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-16 11:37 UTC by Adam Jones
Modified: 2004-03-23 12:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to config.in to ignore specs files (cdrdao-1.1.8-specs.patch,291 bytes, patch)
2004-03-16 11:40 UTC, Adam Jones
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Jones 2004-03-16 11:37:14 UTC
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"
Comment 1 Adam Jones 2004-03-16 11:40:34 UTC
Created attachment 27486 [details, diff]
Patch to config.in to ignore specs files
Comment 2 Adam Jones 2004-03-23 12:04:21 UTC
Configure and compile succeeded.  Failure probably due to an invalid LIBRARY_PATH environment variable generated by an old .bash_profile.