Summary: | media-video/ffmpeg-0.4.9_p20080326 causes compilation errors in k9copy | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bob Raitz <pappy_mcfae> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andrej.filipcic, dliana, gapon, gentoo-bugs, glua, kkrizka, tetromino, zeekec |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 214740 | ||
Attachments: |
Error message from xine-lib when it fails.
patch for (ffmpeg-20080326 + patch from #223701) k9copy fix patch for k9copy 1.2.3-r1 |
Description
Bob Raitz
2008-06-30 08:22:22 UTC
The following is the error message from the compilation failure of k9copy: rm -rf import.h; /usr/qt/3/bin/uic -L /usr/kde/3.5/lib/kde3/plugins/designer -nounload ./import.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> import.h ; rm -rf menuEdit.h; /usr/qt/3/bin/uic -L /usr/kde/3.5/lib/kde3/plugins/designer -nounload ./menuEdit.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> menuEdit.h ; rm -rf newTitle.h; /usr/qt/3/bin/uic -L /usr/kde/3.5/lib/kde3/plugins/designer -nounload ./newTitle.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> newTitle.h ; /usr/qt/3/bin/moc ./k9avidecode.h -o k9avidecode.moc /bin/sh ../libtool --silent --tag=CXX --mode=compile i486-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../k9devices -I../k9vamps -I../libk9copy -I../src -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -I. -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=pentium3 -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fpermissive -c -o k9avidecode.lo k9avidecode.cpp distcc[22320] ERROR: compile (null) on localhost failed In file included from k9avidecode.cpp:13: k9avidecode.h:17:29: error: ffmpeg/avformat.h: No such file or directory k9avidecode.cpp:14:28: error: ffmpeg/avcodec.h: No such file or directory distcc[22319] ERROR: compile k9avidecode.cpp on 192.168.0.130 failed make[2]: *** [k9avidecode.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-cdr/k9copy-1.2.3-r1/work/k9copy-1.2.3/k9author' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-cdr/k9copy-1.2.3-r1/work/k9copy-1.2.3' make: *** [all] Error 2 * * ERROR: app-cdr/k9copy-1.2.3-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4056: Called kde_src_compile * environment, line 2888: Called kde_src_compile 'all' * environment, line 3008: Called kde_src_compile 'myconf' 'configure' 'make' * environment, line 3004: Called die * The specific snippet of code: * emake || die "died running emake, $FUNCNAME:make" * The die message: * died running emake, kde_src_compile:make * * 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/app-cdr/k9copy-1.2.3-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-cdr/k9copy-1.2.3-r1/temp/environment'. Created attachment 158927 [details]
Error message from xine-lib when it fails.
This is the output to the screen when xine-lib compilation fails.
Masking media-video/ffmpeg-0.4.9_p20080326, and emerging media-video/ffmpeg-0.4.9_p20070616-r2 gets rid of the problem. The listed programs once again compile properly. The same compilation errors also occur with ffmpeg-0.4.9_p20080206; however, since it's hard masked, that point is moot. I mention it only for reference. Blessed be! Pappy With ~arch keyworded ffmpeg you are supposed to use ~arch keyworded packages. Latest xine-lib works. Although earlier versions should indeed block ~arch ffmpeg-0.4.9_p2008*, which still needs to be fixed. I have opened bug 230151 as a tracker bug for xine-lib and similar packages. I'll leave this bug open for k9copy only, as that one has slipped between our fingers and is ~arch keyworded... If you find other packages whose latest ~arch version does not work with ffmpeg-0.4.9_p2008* please open new bugs blocking 214740. *** Bug 230161 has been marked as a duplicate of this bug. *** Created attachment 158953 [details, diff]
patch for (ffmpeg-20080326 + patch from #223701)
I can compile k9copy-1.2.3-r1 with ffmpeg+20080326 with this patch.
But I use ffmpeg-20080326 with my patch from issue #223701.
Just for info :)
(In reply to comment #4) > With ~arch keyworded ffmpeg you are supposed to use ~arch keyworded packages. > Latest xine-lib works. Although earlier versions should indeed block ~arch > ffmpeg-0.4.9_p2008*, which still needs to be fixed. I have opened bug 230151 as > a tracker bug for xine-lib and similar packages. > > I'll leave this bug open for k9copy only, as that one has slipped between our > fingers and is ~arch keyworded... > > If you find other packages whose latest ~arch version does not work with > ffmpeg-0.4.9_p2008* please open new bugs blocking 214740. > The latest version of xine-lib *may* work, but to move to it would prevent gxine from being recompiled. That is why I maintain that particular version of xine-lib on my machine. Created attachment 159045 [details, diff]
k9copy fix
I think this is a better patch (for k9copy + new ffmpeg)
Created attachment 159101 [details, diff]
patch for k9copy 1.2.3-r1
this is patch for k9copy-1.2.3-r1.ebuild to work with my patch (it applies only if you have >=media-video/ffmpeg-0.4.9_p20080326 installed)
David Watzke's fix works good here. I don't think you need to rename the ebuild to r2 though, if it compiled for people great, if not the fix should allow it to compile. Yes, this rates a "works for me" as far as I am concerned. Thanks to all. Blessed be! Pappy Please allow me to be perfectly clear about this: THE BUG IS NOT CLOSED TILL THE FIX IS IN TREE Now, it's fixed. Still not working here: erhome tobias # emerge -uavD world These are the packages that would be merged, in order: Calculating world dependencies / !!! Multiple versions within a single package slot have been !!! pulled into the dependency graph: media-video/ffmpeg:0 ('installed', '/', 'media-video/ffmpeg-0.4.9_p20080326', 'nomerge') pulled in by ('installed', '/', 'app-cdr/k9copy-1.2.3-r2', 'nomerge') ('ebuild', '/', 'media-video/ffmpeg-0.4.9_p20070616', 'merge') pulled in by ('installed', '/', 'media-video/transcode-1.0.4-r3', 'nomerge') ('installed', '/', 'media-libs/xine-lib-1.1.13', 'nomerge') ('installed', '/', 'media-sound/picard-0.9.0', 'nomerge') It may be possible to solve this problem by using package.mask to prevent one of those packages from being selected. However, it is also possible that conflicting dependencies exist such that they are impossible to satisfy simultaneously. If such a conflict exists in the dependencies of two different packages, then those packages can not be installed simultaneously. For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. !!! Depgraph creation failed. (In reply to comment #14) > Still not working here: > ('ebuild', '/', 'media-video/ffmpeg-0.4.9_p20070616', 'merge') pulled in by > ('installed', '/', 'media-video/transcode-1.0.4-r3', 'nomerge') > ('installed', '/', 'media-libs/xine-lib-1.1.13', 'nomerge') > ('installed', '/', 'media-sound/picard-0.9.0', 'nomerge') See comment #4. You need to add all packages that pull in ffmpeg-0.4.9_p2007* to package.keywords. |