Summary: | gst-plugins-ffmpeg fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Keith Rusler <xeckosx> |
Component: | Current packages | Assignee: | GStreamer package maintainers <gstreamer> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cneil, cybersnacker, even.more.spam.for.me, gnome, horigen, teidakankan, xororand |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 198121 | ||
Attachments: |
build log
config.log emerge --info |
Description
Keith Rusler
2008-06-12 06:53:05 UTC
Created attachment 156459 [details]
build log
build log
I can confirm this bug. Portage 2.1.5.5 (default-linux/x86/2007.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25.6 i686) ================================================================= System uname: 2.6.25.6 i686 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz Timestamp of tree: Fri, 13 Jun 2008 22:15:03 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r4 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.62 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="" LINGUAS="en de en_GB" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/nntpgrab /usr/local/portage/layman/sunrise /usr/local/portage/layman/gnash-cvs /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="7zip X a52 aac aalib acl acpi alsa bash-completion bluetooth bzip2 cairo calendar captury cdparanoia cdr cli cracklib crypt cscope cups daap dba dbus devfs26 dillo divx divx4linux doc dri dts dvb dvd dvdr dvdread eds effects encode examples exif fastcgi fbcon ffmpeg flac fluidsynth font-server foomaticdb fortran ftp gd gdbm gif gimpprint gmedia gnokii gpm gsnd gstreamer gtk gtk2 hal iconv ieee1394 imagemagick imap imlib ipv6 isdnlog jabber jack javascript jingle jpeg kde kdeenablefinal kdehiddenvisibility kipi ladspa lash lirc logrotate mad matroska midi mikmod mime mmx mng mozilla moznocompose moznoirc moznomail mp3 mpeg mpeg2 mpeg4 msn mudflap musepack musicbrainz ncurses nethack nls nptl nptlonly nvidia ogg opengl openmp oss pcre pdf pdo perl plugin png pni postgres povray ppds pppd python qt3 qt4 quicktime rdesktop readline reflection ruby samba scanner sdl session spamassassin speex spell spl sql sqlite sse sse2 ssl stencil-buffer subversion svg tcpd tetex theora threads tiff truetype udev unicode usb userlocales v4l v4l2 vcd vim vim-syntax vorbis wifi win32codecs wmp wxwin wxwindows x264 x86 xcomposite xfs xine xinerama xml xorg xscreensaver xv xvid xvmc zlib" ALSA_CARDS="emu10k1 hda-intel" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="usb-wt220u" ELIBC="glibc" INPUT_DEVICES="joystick mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de en_GB" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="glint vesa nvidia nv nouveau" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Looks gcc-4.3 specific to me (In reply to comment #3) > Looks gcc-4.3 specific to me It is and only on x86, as far as I can tell. It compiles fine with gcc-4.3 on amd64, and compiles fine with gcc-4.2 on x86. I could not find a patch- though, admittedly, I didn't look very hard. Instead, I added a pre-release version, 0.10.3.3, to my overlay and that compiled fine with gcc-4.3 on x86 and amd64. Hopefully, that means this will be fixed in the next official release. (In reply to comment #4) > Instead, I added a pre-release version, 0.10.3.3, to my overlay > and that compiled fine with gcc-4.3 on x86 and amd64. > Hopefully, that means this will be fixed in the next official release. Could you please attach the .ebuild? Thanks. When i try to use my own overlay for 10.3.3 or 10.4 i just get: config.status: executing depfiles commands === configuring in gst-libs/ext/ffmpeg (/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.4/work/gst-ffmpeg-0.10.4/gst-libs/ext/ffmpeg) configure: running /bin/sh ./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-ffplay' '--build=i686-pc-linux-gnu' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2 -march=athlon-xp -mtune=athlon-xp -mmmx -msse -m3dnow -fomit-frame-pointer -pipe -fno-ident' 'LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed -Wl,--enable-new-dtags' 'CPPFLAGS=' 'CXXFLAGS=-O2 -march=athlon-xp -mtune=athlon-xp -mmmx -msse -m3dnow -fomit-frame-pointer -pipe -fno-ident -fvisibility-inlines-hidden' '--disable-vhook' '--disable-ffserver' '--disable-ffplay' '--enable-postproc' '--enable-gpl' '--enable-static' '--enable-shared' '--disable-encoder=flac' '--disable-decoder=cavs' --cache-file=/dev/null --srcdir=. Unknown option "--host=i686-pc-linux-gnu". See ./configure --help for available options. Unknown option "--infodir=/usr/share/info". See ./configure --help for available options. Unknown option "--datadir=/usr/share". See ./configure --help for available options. Unknown option "--sysconfdir=/etc". See ./configure --help for available options. Unknown option "--localstatedir=/var/lib". See ./configure --help for available options. Unknown option "--build=i686-pc-linux-gnu". See ./configure --help for available options. Unknown option "build_alias=i686-pc-linux-gnu". See ./configure --help for available options. Unknown option "host_alias=i686-pc-linux-gnu". See ./configure --help for available options. Unknown option "CFLAGS=-O2". See ./configure --help for available options. Unknown option "LDFLAGS=-Wl,-O1". See ./configure --help for available options. ./configure: line 1055: _Wl,__hash_style=-Wl,-O1: command not found Unknown option "CPPFLAGS=". See ./configure --help for available options. Unknown option "CXXFLAGS=-O2". See ./configure --help for available options. Unknown option "--cache-file=/dev/null". See ./configure --help for available options. Unknown option "--srcdir=.". See ./configure --help for available options. gcc is unable to create an executable file. If gcc is a cross-compiler, use the --enable-cross-compile option. Only do this if you know what cross compiling means. C compiler test failed. If you think configure made a mistake, make sure you are using the latest version from SVN. If the latest version fails, report the problem to the ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.err" produced by configure as this will help solving the problem. configure: error: ./configure failed for gst-libs/ext/ffmpeg Created attachment 157565 [details]
config.log
/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.4/work/gst-ffmpeg-0.10.4/config.log
Sorry, I've been busy and wasn't paying attention to the bug. Anyway, the 0.10.3.3 ebuild in my overlay is identical to the 0.10.3 ebuild in the portage tree - except for the SRC_URI, which I changed to download from the correct directory on the upstream site. Can you post your emerge --info? I just noticed something, but I don't know if it's causing your problem. You have your LDFLAGS set to: LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed -Wl,--enable-new-dtags but the internal ffmpeg's configure is mangling it: ./configure: line 1055: _Wl,__hash_style=-Wl,-O1: command not found You might want to see if removing -Wl,--hash-style=gnu from your LDFLAGS helps, since it seems to be choking on it. Like I said, I don't know if it'll help, but you may want to give it a shot. Disregard comment #9. I just started an emerge of gst-plugins-ffmpeg-0.10.3.3 and I had a similar error message: [snip] Unknown option "CFLAGS=-march=athlon64". See ./configure --help for available options. ./configure: line 1055: _O2: command not found Unknown option "LDFLAGS=-Wl,-O1". See ./configure --help for available options. Unknown option "CPPFLAGS=". See ./configure --help for available options. Unknown option "CXXFLAGS=-march=athlon64". See ./configure --help for available options. ./configure: line 1055: _O2: command not found Unknown option "--cache-file=/dev/null". See ./configure --help for available options. Unknown option "--srcdir=.". See ./configure --help for available options. install prefix /usr source path /var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.3.3/work/gst-ffmpeg-0.10.3.3/gst-libs/ext/ffmpeg C compiler gcc [snip] The compile did not fail from that error message. Created attachment 157889 [details]
emerge --info
(In reply to comment #9) > You might want to see if removing -Wl,--hash-style=gnu from your LDFLAGS helps, > since it seems to be choking on it. Like I said, I don't know if it'll help, > but you may want to give it a shot. > I was trying that before, but it did not work. But when I remove the "-march=athlon-xp" flag it compiles. FAILS: >>> Emerging (1 of 2) media-plugins/gst-plugins-ffmpeg-0.10.4 to / >>> LDFLAGS in use:-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed -Wl,--enable-new-dtags >>> CFLAGS In use:-O2 -march=athlon-xp -mmmx -msse -m3dnow -fomit-frame-pointer -fweb -pipe -fno-ident COMPILES: >>> Emerging (1 of 2) media-plugins/gst-plugins-ffmpeg-0.10.4 to / >>> LDFLAGS in use:-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed -Wl,--enable-new-dtags >>> CFLAGS In use:-O2 -mmmx -msse -m3dnow -fomit-frame-pointer -fweb -pipe -fno-ident Shuffling the flags helps too:
>>> Emerging (1 of 2) media-plugins/gst-plugins-ffmpeg-0.10.4 to /
>>> LDFLAGS in use:-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed -Wl,--enable-new-dtags
>>> CFLAGS In use:-O2 -fomit-frame-pointer -fweb -pipe -fno-ident -ffast-math -march=athlon-xp
IMHO that is really wiered!
The same problem: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libavutil -I../../libavcodec -DHAVE_AV_CONFIG_H=1 -fomit-frame-pointer -Wall -Wno-switch -msse -O2 -march=native -pipe -MT libmmxsse_la-fft_3dn.lo -MD -MP -MF .deps/libmmxsse_la-fft_3dn.Tpo -c fft_3dn.c -fPIC -DPIC -o .libs/libmmxsse_la-fft_3dn.o mv -f .deps/libmmxsse_la-fft_3dn.Tpo .deps/libmmxsse_la-fft_3dn.Plo mv -f .deps/libmmxsse_la-fft_sse.Tpo .deps/libmmxsse_la-fft_sse.Plo make[8]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.3/work/gst-ffmpeg-0.10.3/gst-libs/ext/ffmpeg/libavcodec/i386' make[7]: *** [all-recursive] Error 1 make[7]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.3/work/gst-ffmpeg-0.10.3/gst-libs/ext/ffmpeg/libavcodec' make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.3/work/gst-ffmpeg-0.10.3/gst-libs/ext/ffmpeg' make[5]: *** [all] Error 2 make[5]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.3/work/gst-ffmpeg-0.10.3/gst-libs/ext/ffmpeg' make[4]: *** [all-local] Error 2 make[4]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.3/work/gst-ffmpeg-0.10.3/gst-libs/ext' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.3/work/gst-ffmpeg-0.10.3/gst-libs/ext' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.3/work/gst-ffmpeg-0.10.3/gst-libs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.3/work/gst-ffmpeg-0.10.3' make: *** [all] Error 2 * * ERROR: media-plugins/gst-plugins-ffmpeg-0.10.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2332: Called die * The specific snippet of code: * emake || die "emake failed." * The die message: * emake failed. * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-plugins/gst-plugins-ffmpeg-0.10.3/temp/environment'. emerge --info Portage 2.1.5.6 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.24-16-generic i686) ================================================================= System uname: 2.6.24-16-generic i686 Genuine Intel(R) CPU T2050 @ 1.60GHz Timestamp of tree: Sat, 21 Jun 2008 11:15:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r4 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.62 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=native -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch sandbox sfperms strict userfetch" GENTOO_MIRRORS="ftp://gentoo.anheng.com.cn/gentoo" LANG="C" LDFLAGS="" LINGUAS="en_US en af am ar as_IN az be be_BY bg bn bo br bs ca cs csb cy da de dz el en_GB en_ZA eo es es_AR es_ES es_LA et et_EE eu fa fi fo fr fr_CA fy fy_NL ga ga_IE gl gu gu_IN he hi hi_IN hr hsb hu hy id is it ja ka kk km kn ko ku la lo lt lv mk ml ml_IN mn mr_IN ms mt nb nb_NO nds ne nl nn nn_NO no nr ns nso oc or_IN pa pa_IN pl pt pt_BR pt_PT ro ru rw se sh sh_YU si sk sl sq sr sr@Latn sr_CS ss st sv sv_SE sw_TZ ta ta_IN te te_IN tg th ti_ER tk tl tn tr ts uk ur_IN uz ve vi wa xh zh zh_CN zh_HK zh_TW zu" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/science /usr/local/portage/layman/zugaina /usr/local/portage/local/modified-ebuild /usr/local/portage/layman/gentoo-china /usr/local/portage/layman/desktop-effects" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="X aac acl acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cdr cjk cli cracklib crypt cups cvs dbus dri dvd dvdr dvdread eds emacs emboss encode esd evo fortran gdbm gif git gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kerberos latex ldap libnotify mad midi mikmod mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python quicktime readline reflection samba sdl session spell spl sse sse2 ssl startup-notification subversion svg tcpd tiff truetype unicode v4l v4l2 vorbis win32codecs wxwindows x86 xml xorg xulrunner xv zlib" ALSA_CARDS="hda-intel" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en af am ar as_IN az be be_BY bg bn bo br bs ca cs csb cy da de dz el en_GB en_ZA eo es es_AR es_ES es_LA et et_EE eu fa fi fo fr fr_CA fy fy_NL ga ga_IE gl gu gu_IN he hi hi_IN hr hsb hu hy id is it ja ka kk km kn ko ku la lo lt lv mk ml ml_IN mn mr_IN ms mt nb nb_NO nds ne nl nn nn_NO no nr ns nso oc or_IN pa pa_IN pl pt pt_BR pt_PT ro ru rw se sh sh_YU si sk sl sq sr sr@Latn sr_CS ss st sv sv_SE sw_TZ ta ta_IN te te_IN tg th ti_ER tk tl tn tr ts uk ur_IN uz ve vi wa xh zh zh_CN zh_HK zh_TW zu" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS + 22 Jun 2008; Peter Alfredsen <loki_val@gentoo.org> + +gst-plugins-ffmpeg-0.10.4.ebuild: + Bumping to 0.10.4, to get something that compiles with gcc-4.3. Solves + 226023, 225855 and 137401. Uses system ffmpeg, despite upstream + recommending against it. Debian, Ubuntu and a few others are already doing + this, though. |