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

Bug 120284

Summary: media-libs/gst-plugins-0.8.11 fails complaning that 'C compiler cannot create executables'
Product: Gentoo Linux Reporter: Nathan Adams <nadams>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: normal CC: nadams
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: config.log created during the emerge
config.log created during the (latest) emerge

Description Nathan Adams 2006-01-25 04:02:31 UTC
# emerge -uv --oneshot gst-plugins
Calculating dependencies ...done!
>>> emerge (1 of 1) media-libs/gst-plugins-0.8.11 to /
>>> md5 files   ;-) gst-plugins-0.8.10.ebuild
>>> md5 files   ;-) gst-plugins-0.8.2.ebuild
>>> md5 files   ;-) gst-plugins-0.8.9-r2.ebuild
>>> md5 files   ;-) gst-plugins-0.8.8-r2.ebuild
>>> md5 files   ;-) gst-plugins-0.8.11.ebuild
>>> md5 files   ;-) gst-plugins-0.8.8.ebuild
>>> md5 files   ;-) files/digest-gst-plugins-0.8.10
>>> md5 files   ;-) files/digest-gst-plugins-0.8.11
>>> md5 files   ;-) files/digest-gst-plugins-0.8.8-r2
>>> md5 files   ;-) files/digest-gst-plugins-0.8.9-r2
>>> md5 files   ;-) files/gst-plugins-0.8.9-ximagefix.patch
>>> md5 files   ;-) files/digest-gst-plugins-0.8.2
>>> md5 files   ;-) files/digest-gst-plugins-0.8.8
>>> md5 files   ;-) files/gst-plugins-0.8.11-conffix.patch
>>> md5 files   ;-) files/gst-plugins-0.8.9-qtdemux-fixrawpcm.patch
>>> md5 files   ;-) files/gst-plugins-0.8.9-riffmedia-isompeg4.patch
>>> md5 files   ;-) files/gst-plugins-0.8.8-gstplaybin_subfont.patch
>>> md5 files   ;-) files/gst-plugins-0.8.8-qtdemux.diff.gz
>>> md5 src_uri ;-) gst-plugins-0.8.11.tar.bz2
>>> Unpacking source...
>>> Unpacking gst-plugins-0.8.11.tar.bz2 to /var/tmp/portage/gst-plugins-0.8.11/work
>>> Source unpacked.
 * Running elibtoolize in: gst-plugins-0.8.11
 *   Applying portage-1.5.10.patch ...
 *   Applying max_cmd_len-1.5.14.patch ...
 *   Applying sed-1.5.6.patch ...
 * Configuring to build x xshm plugin(s) ...
 * econf: updating gst-plugins-0.8.11/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating gst-plugins-0.8.11/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dr3 --disable-oss --disable-qcam --disable-v4l --disable-v4l2 --disable-vcd --disable-vga --disable-cdrom --disable-xvideo --disable-a52dec --disable-aalib --disable-aalibtest --disable-alsa --disable-arts --disable-artstest --disable-artsc --disable-audiofile --disable-avifile --disable-cdparanoia --disable-dvdread --disable-dvdnav --disable-esd --disable-esdtest --disable-flac --disable-ffmpeg --disable-gnome_vfs --disable-gsm --disable-hermes --disable-http --disable-jack --disable-jpeg --disable-ladspa --disable-lame --disable-lcs --disable-libdv --disable-libfame --disable-libfametest --disable-libpng --disable-mad --disable-mikmod --disable-libmikmodtest --disable-mjpegtools --disable-mpeg2dec --disable-openquicktime --disable-raw1394 --disable-rtp --disable-sdl --disable-sdltest --disable-shout --disable-shout2 --disable-shout2test --disable-sidplay --disable-smoothwave --disable-snapshot --disable-swfdec --disable-tarkin --disable-vorbis --disable-vorbistest --disable-xmms --disable-libmmx --disable-atomic --disable-tests --disable-examples --disable-divx --disable-faad --disable-gdk_pixbuf --disable-ogg --disable-sndfile --disable-x --disable-pango --disable-speex --disable-xvid --disable-mpeg2enc --disable-mplex --disable-musicbrainz --disable-nas --disable-librfb --disable-libcaca --disable-ivorbis --disable-faac --disable-theora --disable-kio --disable-osx_audio --disable-osx_video --disable-sunaudio --disable-artsc --disable-dts --disable-libvisual --disable-dirac --disable-libmng --disable-opengl --disable-gst_v4l --disable-gst_v4l2 --disable-libmms --disable-musepack --disable-directfb --disable-polyp --disable-cairo --disable-spc --disable-wavpack --disable-cdio --disable-amrnb --disable-x264 --disable-raw1394 --enable-x --enable-xshm --build=i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking whether to enable maintainer-specific portions of Makefiles... no
configure: configuring gst-plugins for release
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 for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... 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 config.log to your bug report:
!!! /var/tmp/portage/gst-plugins-0.8.11/work/gst-plugins-0.8.11/config.log

!!! ERROR: media-libs/gst-plugins-0.8.11 failed.
!!! Function econf, Line 495, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.
# emerge --info
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14.2 i686)
=================================================================
System uname: 2.6.14.2 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -funroll-loops -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/X11/app-defaults /etc/gconf /etc/hotplug /etc/hotplug/usb /etc/init.d /etc/lynx /etc/pam.d /etc/snort /etc/sound/events /etc/terminfo /usr/X11R6/lib/X11/xkb /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -funroll-loops -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl -O1"
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 a52 acl aim alsa arts artswrappersuid audiofile avi bash-completion bcmath berkdb bitmap-fonts browserplugin bzip2 bzlib caps cdr cpdflib cross crypt cscope ctype cups dedicated dga dio directfb divx4linux doc dts dv dvb dvd dvdr dvdread eds emboss encode ethereal exif expat fam fbcon fdftk ffmpeg fftw flac flash flatfile foomaticdb fortran gd gdbm ggi gif gimpprint ginac glut gmp gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile howl icq idn imagemagick imap imlib innodb iodbc jabber jack java jikes joystick jpeg junit kde kerberos krb4 ladcca lcms libedit libg++ libgda libwww lua mad matroska mcal mhash mikmod mime ming mmap mmx mng motif mp3 mpeg mpi msn ncurses netcdf nls nocd nsplugin offensive ofx ogg oggvorbis openal opengl oscar oss pam pcntl pcre pda pdflib perl plotutils png portaudio posix ppds python qt quicktime radeon readline recode sasl scanner sdl shared sharedmem simplexml slang smime sndfile sockets speex spell ssl svg svga sysvipc szip tcpd theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb v4l videos vorbis wddx win32codecs wmf x86 xine xml xml2 xmlrpc xpm xsl xv xvid yahoo zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, MAKEOPTS
Comment 1 Nathan Adams 2006-01-25 04:03:39 UTC
Created attachment 78062 [details]
config.log created during the emerge
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-01-25 04:08:30 UTC
(In reply to comment #0)
> LDFLAGS="-Wl -O1"

Don't put crap into LDFLAGS and it will work. Correct syntax is -Wl,-O1
Comment 3 Nathan Adams 2006-01-25 04:15:48 UTC
Nope.

# emerge  -uv --oneshot gst-plugins
Calculating dependencies ...done!
>>> emerge (1 of 1) media-libs/gst-plugins-0.8.11 to /
>>> md5 files   ;-) gst-plugins-0.8.10.ebuild
>>> md5 files   ;-) gst-plugins-0.8.2.ebuild
>>> md5 files   ;-) gst-plugins-0.8.9-r2.ebuild
>>> md5 files   ;-) gst-plugins-0.8.8-r2.ebuild
>>> md5 files   ;-) gst-plugins-0.8.11.ebuild
>>> md5 files   ;-) gst-plugins-0.8.8.ebuild
>>> md5 files   ;-) files/digest-gst-plugins-0.8.10
>>> md5 files   ;-) files/digest-gst-plugins-0.8.11
>>> md5 files   ;-) files/digest-gst-plugins-0.8.8-r2
>>> md5 files   ;-) files/digest-gst-plugins-0.8.9-r2
>>> md5 files   ;-) files/gst-plugins-0.8.9-ximagefix.patch
>>> md5 files   ;-) files/digest-gst-plugins-0.8.2
>>> md5 files   ;-) files/digest-gst-plugins-0.8.8
>>> md5 files   ;-) files/gst-plugins-0.8.11-conffix.patch
>>> md5 files   ;-) files/gst-plugins-0.8.9-qtdemux-fixrawpcm.patch
>>> md5 files   ;-) files/gst-plugins-0.8.9-riffmedia-isompeg4.patch
>>> md5 files   ;-) files/gst-plugins-0.8.8-gstplaybin_subfont.patch
>>> md5 files   ;-) files/gst-plugins-0.8.8-qtdemux.diff.gz
>>> md5 src_uri ;-) gst-plugins-0.8.11.tar.bz2
>>> Unpacking source...
>>> Unpacking gst-plugins-0.8.11.tar.bz2 to /var/tmp/portage/gst-plugins-0.8.11/work
>>> Source unpacked.
 * Running elibtoolize in: gst-plugins-0.8.11
 *   Applying portage-1.5.10.patch ...
 *   Applying max_cmd_len-1.5.14.patch ...
 *   Applying sed-1.5.6.patch ...
 * Configuring to build x xshm plugin(s) ...
 * econf: updating gst-plugins-0.8.11/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating gst-plugins-0.8.11/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dr3 --disable-oss --disable-qcam --disable-v4l --disable-v4l2 --disable-vcd --disable-vga --disable-cdrom --disable-xvideo --disable-a52dec --disable-aalib --disable-aalibtest --disable-alsa --disable-arts --disable-artstest --disable-artsc --disable-audiofile --disable-avifile --disable-cdparanoia --disable-dvdread --disable-dvdnav --disable-esd --disable-esdtest --disable-flac --disable-ffmpeg --disable-gnome_vfs --disable-gsm --disable-hermes --disable-http --disable-jack --disable-jpeg --disable-ladspa --disable-lame --disable-lcs --disable-libdv --disable-libfame --disable-libfametest --disable-libpng --disable-mad --disable-mikmod --disable-libmikmodtest --disable-mjpegtools --disable-mpeg2dec --disable-openquicktime --disable-raw1394 --disable-rtp --disable-sdl --disable-sdltest --disable-shout --disable-shout2 --disable-shout2test --disable-sidplay --disable-smoothwave --disable-snapshot --disable-swfdec --disable-tarkin --disable-vorbis --disable-vorbistest --disable-xmms --disable-libmmx --disable-atomic --disable-tests --disable-examples --disable-divx --disable-faad --disable-gdk_pixbuf --disable-ogg --disable-sndfile --disable-x --disable-pango --disable-speex --disable-xvid --disable-mpeg2enc --disable-mplex --disable-musicbrainz --disable-nas --disable-librfb --disable-libcaca --disable-ivorbis --disable-faac --disable-theora --disable-kio --disable-osx_audio --disable-osx_video --disable-sunaudio --disable-artsc --disable-dts --disable-libvisual --disable-dirac --disable-libmng --disable-opengl --disable-gst_v4l --disable-gst_v4l2 --disable-libmms --disable-musepack --disable-directfb --disable-polyp --disable-cairo --disable-spc --disable-wavpack --disable-cdio --disable-amrnb --disable-x264 --disable-raw1394 --enable-x --enable-xshm --build=i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking whether to enable maintainer-specific portions of Makefiles... no
configure: configuring gst-plugins for release
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 for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... 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 config.log to your bug report:
!!! /var/tmp/portage/gst-plugins-0.8.11/work/gst-plugins-0.8.11/config.log

!!! ERROR: media-libs/gst-plugins-0.8.11 failed.
!!! Function econf, Line 495, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.

# emerge --info
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14.2 i686)
=================================================================
System uname: 2.6.14.2 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -funroll-loops -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/X11/app-defaults /etc/gconf /etc/hotplug /etc/hotplug/usb /etc/init.d /etc/lynx /etc/pam.d /etc/snort /etc/sound/events /etc/terminfo /usr/X11R6/lib/X11/xkb /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -funroll-loops -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl, -O1"
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 a52 acl aim alsa arts artswrappersuid audiofile avi bash-completion bcmath berkdb bitmap-fonts browserplugin bzip2 bzlib caps cdr cpdflib cross crypt cscope ctype cups dedicated dga dio directfb divx4linux doc dts dv dvb dvd dvdr dvdread eds emboss encode ethereal exif expat fam fbcon fdftk ffmpeg fftw flac flash flatfile foomaticdb fortran gd gdbm ggi gif gimpprint ginac glut gmp gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile howl icq idn imagemagick imap imlib innodb iodbc jabber jack java jikes joystick jpeg junit kde kerberos krb4 ladcca lcms libedit libg++ libgda libwww lua mad matroska mcal mhash mikmod mime ming mmap mmx mng motif mp3 mpeg mpi msn ncurses netcdf nls nocd nsplugin offensive ofx ogg oggvorbis openal opengl oscar oss pam pcntl pcre pda pdflib perl plotutils png portaudio posix ppds python qt quicktime radeon readline recode sasl scanner sdl shared sharedmem simplexml slang smime sndfile sockets speex spell ssl svg svga sysvipc szip tcpd theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb v4l videos vorbis wddx win32codecs wmf x86 xine xml xml2 xmlrpc xpm xsl xv xvid yahoo zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, MAKEOPTS

Separating the LDFLAGS list with commas doesn't follow the convention of every other make.conf variable, by the way. Of course, I'm not even sure that LDFLAGS is supported; vim flags it in red...
Comment 4 Nathan Adams 2006-01-25 04:17:00 UTC
Created attachment 78063 [details]
config.log created during the (latest) emerge
Comment 5 Nathan Adams 2006-01-25 04:18:39 UTC
Take another look, please?
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-01-25 04:21:49 UTC
(In reply to comment #5)
> Take another look, please?

No, thanks. Your system is clearly screwed.

Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-01-25 04:22:41 UTC
And I've already told you once that the correct syntax is -Wl,-O1 without any spaces.
Comment 8 Nathan Adams 2006-01-25 04:25:24 UTC
Now, was that so hard? ;)

Thanks for your help (pithy remarks and all)!