Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171750 - media-libs/libvorbis configure fails
Summary: media-libs/libvorbis configure fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-22 06:39 UTC by Slawomir Gasiorowski
Modified: 2007-03-22 08:45 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Slawomir Gasiorowski 2007-03-22 06:39:58 UTC
I use pure 64 bit Gentoo Linux with gcc-4.1.1-3. After 'emerge libvorbis' compilation fails very quickly on configuration stage with error: 

checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

Reproducible: Always

Steps to Reproduce:
1.emerge libvorbis


Actual Results:  
Compilation fails on ./configure stage with error described above.

Expected Results:  
Should pass configuration stage and start the compilation.

Portage 2.1.2.2 (default-linux/amd64/2006.1/no-multilib, gcc-4.1.1, glibc-2.5-r1, 2.6.20-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 22 Mar 2007 05:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl/"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="aac acl acpi alsa amd64 amr berkdb bitmap-fonts bzip2 cli cracklib crypt cups dbus dri dvd dvdread fortran gdbm gif gpm gzip hal iconv ipv6 isdnlog ithreads jpeg kde kdehiddenvisibility libg++ mad midi ncurses nls nptl nptlonly ogg opengl pam pcmcia pcre perl pic png ppds pppd python qt3 readline reflection samba sdl session spl ssl svg syslog tcpd threads tiff truetype-fonts type1-fonts unicode vorbis xcomposite xinerama xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Slawomir Gasiorowski 2007-03-22 06:44:27 UTC
Here is part of config.log generated by configure script:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --prefix=/usr --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 --build=x86_64-pc-linux-gnu

## --------- ##
## Platform. ##
## --------- ##

hostname = pc-126
uname -m = x86_64
uname -r = 2.6.20-gentoo-r1
uname -s = Linux
uname -v = #1 Wed Mar 7 13:39:13 CET 2007

/usr/bin/uname -p = AMD Athlon(tm) 64 Processor 3500+
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib64/portage/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /opt/bin
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1
PATH: /usr/kde/3.5/sbin
PATH: /usr/kde/3.5/bin
PATH: /usr/qt/3/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1537: checking build system type
configure:1555: result: x86_64-pc-linux-gnu
configure:1563: checking host system type
configure:1577: result: x86_64-pc-linux-gnu
configure:1585: checking target system type
configure:1599: result: x86_64-pc-linux-gnu
configure:1631: checking for a BSD-compatible install
configure:1686: result: /bin/install -c
configure:1697: checking whether build environment is sane
configure:1740: result: yes
configure:1805: checking for gawk
configure:1821: found /bin/gawk
configure:1831: result: gawk
configure:1841: checking whether make sets $(MAKE)
configure:1861: result: yes
configure:2029: checking whether to enable maintainer-specific portions of Makefiles
configure:2038: result: no
configure:2084: checking for x86_64-pc-linux-gnu-gcc
configure:2100: found /usr/bin/x86_64-pc-linux-gnu-gcc
configure:2110: result: x86_64-pc-linux-gnu-gcc
configure:2392: checking for C compiler version
configure:2395: x86_64-pc-linux-gnu-gcc --version </dev/null >&5
x86_64-pc-linux-gnu-gcc (GCC) 4.1.1 (Gentoo 4.1.1-r3)
Copyright (C) 2006 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:2398: $? = 0
configure:2400: x86_64-pc-linux-gnu-gcc -v </dev/null >&5
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.1.1-r3/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1-r3)
configure:2403: $? = 0
configure:2405: x86_64-pc-linux-gnu-gcc -V </dev/null >&5
x86_64-pc-linux-gnu-gcc: '-V' option must have argument
configure:2408: $? = 1
configure:2431: checking for C compiler default output file name
configure:2434: x86_64-pc-linux-gnu-gcc -O2 -march=k8 -pipe   conftest.c  >&5
/lib64/libc.so.6: file not recognized: File format not recognized
collect2: ld returned 1 exit status
configure:2437: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libvorbis"
| #define VERSION "1.1.2"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2476: error: C compiler cannot create executables
Comment 2 Slawomir Gasiorowski 2007-03-22 08:43:21 UTC
SendEnv LANG LC_*
    HashKnownHosts yes
Comment 3 Slawomir Gasiorowski 2007-03-22 08:45:09 UTC
Sorry, I have pasted some trash from clippboard.
Problem is somewhere else. I found that I can't compile any package. I suppose that problem is somewhere betwee binutils/glibc and gcc. 

Sorry.