Bug 216978 - swfdec-0.6.2 won't emerge (all-recursive error 1) on amd64
|
Bug#:
216978
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: AMD64
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: pclouds@gentoo.org
|
Reported By: VValdo@gmail.com
|
|
Component: Applications
|
|
|
URL:
http://bugs.freedesktop.org/show_bug.cgi?id=15565
|
|
Summary: swfdec-0.6.2 won't emerge (all-recursive error 1) on amd64
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2008-04-09 03:16 0000
|
It was recommended in bug 216284 that I file this as its own bug.
I cannot emerge swfdec-0.6.2:
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra
-Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition
-Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes
-Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-align
-Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum
-Wswitch-default -std=gnu99 -I/usr/include/cairo -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/pixman-1 -pthread
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0
-I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I..
-I./jpeg/ -I/usr/include/liboil-0.3 -pthread -I/usr/include/gstreamer-0.10
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2
-DG_LOG_DOMAIN=\"Swfdec\" -O2 -march=athlon64 -pipe -fomit-frame-pointer -msse3
-frerun-loop-opt -ftracer -fforce-addr -ftree-vectorize -fprefetch-loop-arrays
-MT libswfdec_0.6_la-swfdec_codec_gst.lo -MD -MP -MF
.deps/libswfdec_0.6_la-swfdec_codec_gst.Tpo -c swfdec_codec_gst.c -o
libswfdec_0.6_la-swfdec_codec_gst.o >/dev/null 2>&1
mv -f .deps/libswfdec_0.6_la-swfdec_codec_gst.Tpo
.deps/libswfdec_0.6_la-swfdec_codec_gst.Plo
make[4]: Leaving directory
`/var/tmp/portage/media-libs/swfdec-0.6.2/work/swfdec-0.6.2/swfdec'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/media-libs/swfdec-0.6.2/work/swfdec-0.6.2/swfdec'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/media-libs/swfdec-0.6.2/work/swfdec-0.6.2/swfdec'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/media-libs/swfdec-0.6.2/work/swfdec-0.6.2'
make: *** [all] Error 2
*
* ERROR: media-libs/swfdec-0.6.2 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2719: Called die
* The specific snippet of code:
* emake || die "emake failed"
* The die message:
* emake failed
Reproducible: Always
Steps to Reproduce:
# emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.3, glibc-2.7-r2,
2.6.24-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
4200+
Timestamp of tree: Wed, 09 Apr 2008 02:30:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python: 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.12
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
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.24
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -msse3 -frerun-loop-opt
-ftracer -fforce-addr -ftree-vectorize -fprefetch-loop-arrays"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -msse3
-frerun-loop-opt -ftracer -fforce-addr -ftree-vectorize
-fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms
strict unmerge-orphans userfetch"
GENTOO_MIRRORS="rsync://csociety-ftp.ecn.purdue.edu/pub/gentoo/
http://mirror.espri.arizona.edu/gentoo/
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo"
LANG="en_US,UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi aim alsa amd64 asf avahi avi
berkdb browserplugin bzip2 cairo canvas cddb cdparanoia cdr cli cracklib cups
curl daap dbus dca divx4linux dri dv dvd dvdr dvdread eds emboss encode evo
evolution faad fam ffmpeg firefox flac foomatic fortran freetype gcj gdbm gif
gimpprint glib glitz glut glx gmail gnome gnutls gphoto2 gpm gstreamer gtk gtk2
gtkhtml hal howl-compat iconv ieee1394 imagemagick imlib ipod ipv6 isdnlog jack
java jpeg kerberos lame lcms ldap libgda libnotify libsndfile libwww live
lm_sensors mad matroska mdnsresponder-compat midi mikmod mjpeg mmx mmxext mng
mono mozilla mozsvg mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin nvidia
offensive ofx ogg oggvorbis openal opengl openmp oscar oss pam pch pcre pdf
perl png pop ppds pppd python qt-static qt3 qt3support qt4 quicktime quotes
readline reflection regex rtc rtsp sasl scanner sdl session spell spl sse sse2
ssl ssse3 svg symlink tagwriting tcpd theora threads tiff tokenizer truetype
type1 unicode usb v4l v4l2 vcd vorbis widescreen wxwindows xcomposite xine
xinerama xml xml2 xorg xprint xulrunner xv xvid yahoo zlib"
ALSA_CARDS="intel8x0" 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" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
PORTDIR_OVERLAY
Thx,
W
Please attach build.log. Thanks
Since this looks ffmpeg related (I actually read the log this time), I should
say I re-emerged ffmpeg (0.4.9_p20080326) and gst-plugins-ffmpeg (0.10.3) but
still got the swfdec error.
W
What is the output of the following command?
pkg-config --cflags --libs libavcodec libswscale
From your build.log it looks like -I/usr/include/ffmpeg was missing
# pkg-config --cflags --libs libavcodec libswscale
-pthread -lavcodec -lz -la52 -lfaac -lfaad -lmp3lame -lxvidcore -ldc1394 -ldl
-lX11 -lXext -lraw1394 -ltheora -lvorbisenc -lvorbis -lm -logg -lswscale
-lavutil
W
(In reply to comment #5)
> # pkg-config --cflags --libs libavcodec libswscale
> -pthread -lavcodec -lz -la52 -lfaac -lfaad -lmp3lame -lxvidcore -ldc1394 -ldl
> -lX11 -lXext -lraw1394 -ltheora -lvorbisenc -lvorbis -lm -logg -lswscale
> -lavutil
>
Hmm.. no -I at all. Please attach /var/db/pkg/media-video/ffmpeg-*/CONTENTS and
/usr/lib/pkg-config/lib{avcodec,swscale}.pc
Was there anything else you needed? Thx,
W
I'm sorry I am a little off these days. I am going to look at this tomorrow as
soon as I can.
Please replace libavcodec.pc and lbiswscale.pc with my versions and retry
swfdec. If it does not succeed, please post "pkg-config --cflags libavcodec
libswscale"
Thanks
Argh. Sorry to say that it didn't work... here was the crash:
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra
-Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition
-Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes
-Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-align
-Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum
-Wswitch-default -std=gnu99 -I/usr/include/cairo -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/pixman-1 -pthread
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0
-I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I..
-I./jpeg/ -I/usr/include/liboil-0.3 -pthread -I/usr/include/gstreamer-0.10
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2
"-I{includedir}/avcodec" -I/usr/include/swscale -DG_LOG_DOMAIN=\"Swfdec\" -O2
-march=athlon64 -pipe -fomit-frame-pointer -msse3 -frerun-loop-opt -ftracer
-fforce-addr -ftree-vectorize -fprefetch-loop-arrays -MT
libswfdec_0.6_la-swfdec_codec_gst.lo -MD -MP -MF
.deps/libswfdec_0.6_la-swfdec_codec_gst.Tpo -c swfdec_codec_gst.c -o
libswfdec_0.6_la-swfdec_codec_gst.o >/dev/null 2>&1
mv -f .deps/libswfdec_0.6_la-swfdec_codec_gst.Tpo
.deps/libswfdec_0.6_la-swfdec_codec_gst.Plo
make[4]: Leaving directory
`/var/tmp/portage/media-libs/swfdec-0.6.4/work/swfdec-0.6.4/swfdec'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/media-libs/swfdec-0.6.4/work/swfdec-0.6.4/swfdec'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/media-libs/swfdec-0.6.4/work/swfdec-0.6.4/swfdec'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/media-libs/swfdec-0.6.4/work/swfdec-0.6.4'
make: *** [all] Error 2
*
* ERROR: media-libs/swfdec-0.6.4 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2719: 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-libs/swfdec-0.6.4/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/media-libs/swfdec-0.6.4/temp/environment'.
*
* Messages for package media-libs/swfdec-0.6.4:
*
* ERROR: media-libs/swfdec-0.6.4 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2719: 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-libs/swfdec-0.6.4/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/media-libs/swfdec-0.6.4/temp/environment'.
*
The first time I ran it it made me put a "-oss" in package.use for swfdec,
which I did. The second time I got the error.
Here is the output you requested:
# pkg-config --cflags libavcodec libswscale
-I{includedir}/avcodec -I/usr/include/swscale
Thanks again for your help.
W
(In reply to comment #15)
> Here is the output you requested:
>
> # pkg-config --cflags libavcodec libswscale
> -I{includedir}/avcodec -I/usr/include/swscale
Argh.. that libavcodec.pc is broken (missing a $). Please replace the last line
in libavcodec.pc with this
Cflags: -I${includedir} -I${includedir}/avcodec
(bugzilla is broken as well so I cannot attach a new version)
Shoot. thought that might be the problem. But I still got a crash.
# pkg-config --cflags libavcodec libswscale
-I/usr/include/avcodec -I/usr/include/swscale
--------------
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra
-Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition
-Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes
-Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-align
-Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum
-Wswitch-default -std=gnu99 -I/usr/include/cairo -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/pixman-1 -pthread
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pango-1.0
-I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I..
-I./jpeg/ -I/usr/include/liboil-0.3 -pthread -I/usr/include/gstreamer-0.10
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2
-I/usr/include/avcodec -I/usr/include/swscale -DG_LOG_DOMAIN=\"Swfdec\" -O2
-march=athlon64 -pipe -fomit-frame-pointer -msse3 -frerun-loop-opt -ftracer
-fforce-addr -ftree-vectorize -fprefetch-loop-arrays -MT
libswfdec_0.6_la-swfdec_codec_mad.lo -MD -MP -MF
.deps/libswfdec_0.6_la-swfdec_codec_mad.Tpo -c swfdec_codec_mad.c -o
libswfdec_0.6_la-swfdec_codec_mad.o >/dev/null 2>&1
mv -f .deps/libswfdec_0.6_la-swfdec_codec_gst.Tpo
.deps/libswfdec_0.6_la-swfdec_codec_gst.Plo
mv -f .deps/libswfdec_0.6_la-swfdec_codec_mad.Tpo
.deps/libswfdec_0.6_la-swfdec_codec_mad.Plo
make[4]: Leaving directory
`/var/tmp/portage/media-libs/swfdec-0.6.4/work/swfdec-0.6.4/swfdec'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/media-libs/swfdec-0.6.4/work/swfdec-0.6.4/swfdec'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/media-libs/swfdec-0.6.4/work/swfdec-0.6.4/swfdec'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/media-libs/swfdec-0.6.4/work/swfdec-0.6.4'
make: *** [all] Error 2
*
* ERROR: media-libs/swfdec-0.6.4 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2720: 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-libs/swfdec-0.6.4/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/media-libs/swfdec-0.6.4/temp/environment'.
*
* Messages for package media-libs/swfdec-0.6.4:
*
* ERROR: media-libs/swfdec-0.6.4 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2720: 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-libs/swfdec-0.6.4/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/media-libs/swfdec-0.6.4/temp/environment'.
*
Please attach build.log again
My bad again. The correct directories should be
/usr/include/lib{avcodec,swscale}. Please try again. Hopefully we will get this
resolved (otherwise, build.log as usual please)
Finally! It worked!! Thanks so much.. wish I knew why those files were messed
up, but your help is really appreciated! I'm going to resolve this bug now...
Thanks again!
W
Yeah while it worked, it was a workaround. I'd like to leave this open until a
decision is made: either patch swfdec to support this ffmpeg version, or block
the version if upstream refuses to support it.
Future swfdec versions will have ffmpeg support removed (see URL). So I will
limit supported ffmpeg versions to <ffmpeg-0.4.9_p20080326. But if you can
provide a working patch (the hard part is detecting ffmpeg version), I will
happily apply it.