media-video/kino-1.3.1 fails to compile on my very up-to-date system. Here is the end snipit: libtool: compile: i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -Wall -pthread -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/ffmpeg -I/usr/include/lqt -D_FILE_OFFSET_BITS=64 -DKINO_PLUGINDIR=\"/usr/lib/kino-gtk2/kino-gtk2\" -DDATADIR=\"/usr/share\" -D__STDC_CONSTANT_MACROS -I/usr/include/libavcodec -I/usr/include/libavformat -I/usr/include/libswscale -march=i686 -Os -pipe -fomit-frame-pointer -w -c superimpose.cc -fPIC -DPIC -o .libs/superimpose.o ../frame.h:111: error: ISO C++ forbids declaration of 'AVCodecContext' with no type ../frame.h:111: error: expected ';' before '*' token make[3]: *** [dvtitler.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... libtool: compile: i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -Wall -pthread -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/ffmpeg -I/usr/include/lqt -D_FILE_OFFSET_BITS=64 -DKINO_PLUGINDIR=\"/usr/lib/kino-gtk2/kino-gtk2\" -DDATADIR=\"/usr/share\" -D__STDC_CONSTANT_MACROS -I/usr/include/libavcodec -I/usr/include/libavformat -I/usr/include/libswscale -march=i686 -Os -pipe -fomit-frame-pointer -w -c superimpose.cc -o superimpose.o >/dev/null 2>&1 make[3]: Leaving directory `/usr/portage/local/portage/media-video/kino-1.3.1/work/kino-1.3.1/src/dvtitler' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/portage/local/portage/media-video/kino-1.3.1/work/kino-1.3.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/portage/local/portage/media-video/kino-1.3.1/work/kino-1.3.1' make: *** [all] Error 2 * * ERROR: media-video/kino-1.3.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 110: Called die * The specific snippet of code: * emake || die "Compilation failed" * The die message: * Compilation failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/usr/portage/local/portage/media-video/kino-1.3.1/temp/build.log'. * The ebuild environment file is located at '/usr/portage/local/portage/media-video/kino-1.3.1/temp/environment'. * Reproducible: Always
Created attachment 163162 [details] /usr/portage/local/portage/media-video/kino-1.3.1/temp/environment /usr/portage/local/portage/media-video/kino-1.3.1/temp/environment
Created attachment 163163 [details] /usr/portage/local/portage/media-video/kino-1.3.1/temp/build.log /usr/portage/local/portage/media-video/kino-1.3.1/temp/build.log
I was going to mark this as a duplicate of bug #218101, but then I noticed two things. Firstly, bug #218101 comment #2 only mentions that 1.3.0 got fixed, and not 1.3.1, which someone should check out (maybe it's not the same bug at all). Secondly I noticed that there is no ChangeLog entry for 1.3.0's version bump, which should be fixed.
what ffmpeg version do you have ? quickly reading the #include directives in frame.h suggest that we should bump the dep of ffmpeg to >=0.4.9_p20080326
Same error on amd64 with the stable ffmpeg-0.4.9_p20070616. I will retry to merge kino-1.3.1 with latest ffmpeg-0.4.9_p20080326 from ~amd64 and report back then.
(In reply to comment #0) > media-video/kino-1.3.1 fails to compile on my very up-to-date system. Here is > the end snipit: > > libtool: compile: i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -Wall > -pthread -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 > -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo > -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/directfb > -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 > -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/ffmpeg -I/usr/include/lqt -D_FILE_OFFSET_BITS=64 > -DKINO_PLUGINDIR=\"/usr/lib/kino-gtk2/kino-gtk2\" -DDATADIR=\"/usr/share\" > -D__STDC_CONSTANT_MACROS -I/usr/include/libavcodec -I/usr/include/libavformat > -I/usr/include/libswscale -march=i686 -Os -pipe -fomit-frame-pointer -w -c > superimpose.cc -fPIC -DPIC -o .libs/superimpose.o > ../frame.h:111: error: ISO C++ forbids declaration of 'AVCodecContext' with no > type > ../frame.h:111: error: expected ';' before '*' token > make[3]: *** [dvtitler.lo] Error 1 > make[3]: *** Waiting for unfinished jobs.... > libtool: compile: i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -Wall > -pthread -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 > -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo > -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/directfb > -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 > -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/ffmpeg -I/usr/include/lqt -D_FILE_OFFSET_BITS=64 > -DKINO_PLUGINDIR=\"/usr/lib/kino-gtk2/kino-gtk2\" -DDATADIR=\"/usr/share\" > -D__STDC_CONSTANT_MACROS -I/usr/include/libavcodec -I/usr/include/libavformat > -I/usr/include/libswscale -march=i686 -Os -pipe -fomit-frame-pointer -w -c > superimpose.cc -o superimpose.o >/dev/null 2>&1 > make[3]: Leaving directory > `/usr/portage/local/portage/media-video/kino-1.3.1/work/kino-1.3.1/src/dvtitler' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/usr/portage/local/portage/media-video/kino-1.3.1/work/kino-1.3.1/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/usr/portage/local/portage/media-video/kino-1.3.1/work/kino-1.3.1' > make: *** [all] Error 2 > * > * ERROR: media-video/kino-1.3.1 failed. > * Call stack: > * ebuild.sh, line 49: Called src_compile > * environment, line 110: Called die > * The specific snippet of code: > * emake || die "Compilation failed" > * The die message: > * Compilation failed > * > * If you need support, post the topmost build error, and the call stack if > relevant. > * A complete build log is located at > '/usr/portage/local/portage/media-video/kino-1.3.1/temp/build.log'. > * The ebuild environment file is located at > '/usr/portage/local/portage/media-video/kino-1.3.1/temp/environment'. > * > > > Reproducible: Always > Hello I've exactly the same error than Matt on my system. Profil 2008.0 and arch ~x86 Do you want my emerge --info ? Or that's not necessary ?
(In reply to comment #5) > Same error on amd64 with the stable ffmpeg-0.4.9_p20070616. > > I will retry to merge kino-1.3.1 with latest ffmpeg-0.4.9_p20080326 from ~amd64 > and report back then. > (I'm on x86, but...) There's couple problems with going to that rev of ffmpeg: app-cdr/k3b-1.0.4 (ffmpeg? <media-video/ffmpeg-0.4.9_p20080326) media-video/transcode-1.0.5-r3 (<media-video/ffmpeg-0.4.9_p20080326) That said, kino compiles with ffmpeg-0.4.9_p20080326. I will try with the rev just behind that ( ffmpeg-0.4.9_p20080206 ) and see if the whole system likes it and report back.
(In reply to comment #7) > I will try with the rev just behind that ( ffmpeg-0.4.9_p20080206 ) and see if > the whole system likes it and report back. > Maybe not... !!! All ebuilds that could satisfy "=media-video/ffmpeg-0.4.9_p20080206" have been masked. !!! One of the following masked packages is required to complete your request: - media-video/ffmpeg-0.4.9_p20080206 (masked by: package.mask) /usr/portage/profiles/package.mask: # Luca Barbato <lu_zero@gentoo.org> (26 Mar 2008) # huge ffmpeg migration mask # we leave intermediate version masked, unmasking 20080326 -yngwin awaiting further orders... :-) I am revdep-rebuilding my system against ffmpeg-0.4.9_p20080326 and will let y'all know what happens P.S. Sorry for the super-quick back-back posting. I guess I should've hit ENTER in konsole to see if it was even possible to try the lower rev before hitting submit here. :\
On amd64, kino-1.3.1 compiled like a charm against ffmpeg-20080326 I'm trying now to reconciliate my packages against the new library now. On amd64, k3b-1.0.4 stable has no version dependence on ffmpeg. but VLC-0.8.6i stabe has this constraint : <media-video/ffmpeg-0.4.9_p20070616-r20 Those ffmpeg dependencies are so complicated, we should slot different versions to manage all this ...
Not really. You are using an ~arch marked (testing branch) version of ffmpeg. So you are supposed to use ~arch marked versions of packages that depend on ffmpeg. For example k3b-1.0.5-r3, transcode-1.0.6 and vlc-0.9.0_beta3.
(In reply to comment #10) > Not really. You are using an ~arch marked (testing branch) version of ffmpeg. > So you are supposed to use ~arch marked versions of packages that depend on > ffmpeg. > For example k3b-1.0.5-r3, transcode-1.0.6 and vlc-0.9.0_beta3. > Actualy, it's kino I use as ~arch ... but anyway, you have a point. Maybe I should request kino-1.3.0 to make it into stable.
(In reply to comment #7) > That said, kino compiles with ffmpeg-0.4.9_p20080326. ssuominen@unique ~/gentoo-x86/media-video/kino $ ls ChangeLog CVS kino-1.2.0.ebuild kino-1.3.1.ebuild Manifest metadata.xml 12 Dec 2008; <ssuominen@gentoo.org> kino-1.3.1.ebuild: Fix ffmpeg dep. to >=media-video/ffmpeg-0.4.9_p20080326 wrt #235838. Solving this bug, closing as RESOLVED, FIXED.