Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 138511

Summary: dev-libs/libsigc++-2.0.16 fails configure
Product: Gentoo Linux Reporter: Martin Walch <walch.martin>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: config.log that emerge told me to attach

Description Martin Walch 2006-06-29 11:18:39 UTC
Since qtorrent is currently broken, I wanted to take a look at rtorrent and therefore emerge it. rtorrent depends on libsigc++ and is emerged first, but it fails on running configure:

# emerge rtorrent
Calculating dependencies... done!
>>> starting parallel fetching
>>> Emerging (1 of 3) dev-libs/libsigc++-2.0.16 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking libsigc++-2.0.16.tar.bz2 ;-)
>>> Unpacking source...
>>> Unpacking libsigc++-2.0.16.tar.bz2 to /var/tmp/portage/libsigc++-2.0.16/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/libsigc++-2.0.16/work/libsigc++-2.0.16 ...
 * econf: updating libsigc++-2.0.16/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating libsigc++-2.0.16/config.sub with /usr/share/gnuconfig/config.sub
/usr/bin/confcache --confcache-ignore /var/tmp/ccache:/var/tmp/.distcc --confcache-dir /var/tmp/confcache ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-debug=no --build=i686-pc-linux-gnu
configure: loading cache config.cache
checking for a BSD-compatible install... (cached) /bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) gawk
checking whether make sets $(MAKE)... (cached) yes
checking how to create a ustar tar archive... gnutar
checking build system type... (cached) i686-pc-linux-gnu
checking host system type... (cached) i686-pc-linux-gnu
checking for gm4... no
checking for m4... m4
checking for perl... /usr/bin/perl
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/libsigc++-2.0.16/work/libsigc++-2.0.16/config.log

!!! ERROR: dev-libs/libsigc++-2.0.16 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  libsigc++-2.0.16.ebuild, line 48:   Called econf '--enable-debug=no'
  ebuild.sh, line 541:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


emerge --info
Portage 2.1-r1 (default-linux/x86/2005.1, gcc-3.4.6/vanilla, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.6.15
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
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-r2
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mirror.intouch.nl/gentoo/ http://darkstar.ist.utl.pt/gentoo/ http://ftp.caliu.info/pub/gentoo/ http://mirror.switch.ch/mirror/gentoo/"
LANG="de_DE@euro"
LDFLAGS="-Wl,-O1, -Wl,-z,now"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/portage/overlay/directory"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts audiofile bitmap-fonts browserplugin bzip2 ccache cdb cdio cdparanoia cdr cdrom cli cups curl dri dvd dvdr dvdread esd fftw firefox flac fmod gdbm glx gmp gpm gzip hal i8x0 icq isdnlog jack java jikes jpeg kde kdeenablefinal libwww linguas_de logrotate mad mmx mmxext mng mod mp3 mpeg mpeg2 mpeg4 ncurses nls nodrm nojoystick nptl nptlonly nvidia offensive ogg oggvorbis openal openexr opengl openssh oss pam pcre png pppd python qt qt3 qt4 quicktime readline reflection reiserfs scsh session spl sse sse2 ssl tcltk truetype truetype-fonts type1-fonts unicode vorbis win32codecs xcomposite xmms xorg xscreensaver xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Martin Walch 2006-06-29 11:21:12 UTC
Created attachment 90451 [details]
config.log that emerge told me to attach
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-06-29 11:22:56 UTC
configure:2614: checking for C compiler default output file name
configure:2617: i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -fomit-frame-pointer  -Wl,-O1, -Wl,-z,now conftest.c  >&5
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: : No such file: No such file or directory
collect2: ld returned 1 exit status

It's caused by the extra comma you have in LDFLAGS, after -Wl,-O1. You probably removed some other flag, and then it failed because it tried to pass to the linker an empty parameter.

Comment 3 Martin Walch 2006-06-29 12:02:59 UTC
lol. Yes, you're right. Sorry for reporting nonsense.