Summary: | swfdec-0.6.2 won't emerge (all-recursive error 1) on amd64 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Waldo <VValdo> |
Component: | Current packages | Assignee: | Nguyen Thai Ngoc Duy (RETIRED) <pclouds> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Jimmy.Jazz |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | http://bugs.freedesktop.org/show_bug.cgi?id=15565 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 218105 | ||
Attachments: |
my build log
CONTENTS /usr/lib/pkgconfig/libavcodec.pc /usr/lib/pkgconfig/libswscale.pc libavcodec.pc libswscale.pc build.log libavcodec.pc libswscale.pc |
Description
Waldo
2008-04-09 03:16:01 UTC
Please attach build.log. Thanks Created attachment 149264 [details]
my build log
Here ya go... I'm probably doing something stupid but can't figure out what it is...
Thanks for the assist...
W
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 Created attachment 149320 [details]
CONTENTS
Created attachment 149322 [details]
/usr/lib/pkgconfig/libavcodec.pc
Created attachment 149323 [details]
/usr/lib/pkgconfig/libswscale.pc
Thanks!
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. Created attachment 150003 [details]
libavcodec.pc
Created attachment 150005 [details]
libswscale.pc
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 Created attachment 150012 [details]
build.log
Sure thing. here ya go...
W
Created attachment 150042 [details]
libavcodec.pc
Created attachment 150044 [details]
libswscale.pc
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. |