Created attachment 353092 [details] build.log make[3]: Entering directory `/var/tmp/portage/net-libs/opal-3.10.10/work/opal-3.10.10/plugins/video/H.263-1998' [CC] h263-1998.cxx In file included from h263-1998.cxx:50:0: h263-1998.h:118:23: error: ‘CodecID’ has not been declared In file included from h263-1998.cxx:58:0: ../common/dyna.h:91:27: error: expected ‘)’ before ‘codec’ ../common/dyna.h:96:38: error: use of enum ‘CodecID’ without previous declaration ../common/dyna.h:97:38: error: use of enum ‘CodecID’ without previous declaration ../common/dyna.h:120:5: error: ‘CodecID’ does not name a type ../common/dyna.h:127:44: error: use of enum ‘CodecID’ without previous declaration ../common/dyna.h:128:44: error: use of enum ‘CodecID’ without previous declaration h263-1998.cxx:97:58: error: no matching function for call to ‘FFMPEGLibrary::FFMPEGLibrary(AVCodecID)’ h263-1998.cxx:97:58: note: candidates are: In file included from h263-1998.cxx:58:0: ../common/dyna.h:88:7: note: FFMPEGLibrary::FFMPEGLibrary() ../common/dyna.h:88:7: note: candidate expects 0 arguments, 1 provided ../common/dyna.h:88:7: note: FFMPEGLibrary::FFMPEGLibrary(const FFMPEGLibrary&) ../common/dyna.h:88:7: note: no known conversion for argument 1 from ‘AVCodecID’ to ‘const FFMPEGLibrary&’ h263-1998.cxx:206:37: error: ‘bool H263_Base_EncoderContext::Init’ is not a static member of ‘class H263_Base_EncoderContext’ h263-1998.cxx:206:37: error: ‘CodecID’ was not declared in this scope h263-1998.cxx:207:1: error: expected ‘,’ or ‘;’ before ‘{’ token make[3]: *** [/var/tmp/portage/net-libs/opal-3.10.10/work/opal-3.10.10/plugins/../lib_linux_x86_64/plugins/h263_ffmpeg/h263-1998.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/net-libs/opal-3.10.10/work/opal-3.10.10/plugins/video/H.263-1998' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/net-libs/opal-3.10.10/work/opal-3.10.10/plugins' make[1]: *** [subdirs] Error 2 make[1]: Leaving directory `/var/tmp/portage/net-libs/opal-3.10.10/work/opal-3.10.10' make: *** [opt] Error 2 [31;01m*[0m ERROR: net-libs/opal-3.10.10 failed (compile phase): [31;01m*[0m emake failed
And opal-3.12.4?
(In reply to Chí-Thanh Christopher Nguyễn from comment #1) > And opal-3.12.4? Fails in a different way: [CC] src/opal/console_mgr.cxx /var/tmp/portage/net-libs/opal-3.12.4/work/opal-3.12.4/src/opal/console_mgr.cxx: In member function ‘virtual bool OpalManagerConsole::Initialise(PArgList&, bool, const PString&)’: /var/tmp/portage/net-libs/opal-3.12.4/work/opal-3.12.4/src/opal/console_mgr.cxx:512:42: error: invalid use of incomplete type ‘class OpalEndPoint’ In file included from /var/tmp/portage/net-libs/opal-3.12.4/work/opal-3.12.4/include/im/im.h:40:0, from /var/tmp/portage/net-libs/opal-3.12.4/work/opal-3.12.4/include/opal/pres_ent.h:48, from /var/tmp/portage/net-libs/opal-3.12.4/work/opal-3.12.4/include/opal/manager.h:41, from /var/tmp/portage/net-libs/opal-3.12.4/work/opal-3.12.4/include/opal/console_mgr.h:38, from /var/tmp/portage/net-libs/opal-3.12.4/work/opal-3.12.4/src/opal/console_mgr.cxx:37: /var/tmp/portage/net-libs/opal-3.12.4/work/opal-3.12.4/include/opal//transports.h:50:7: error: forward declaration of ‘class OpalEndPoint’ make[3]: *** [/var/tmp/portage/net-libs/opal-3.12.4/work/opal-3.12.4/lib_linux_x86_64/obj/console_mgr.o] Error 1 Dunno if this is ffmpeg-related...
(In reply to Lars Wendler (Polynomial-C) from comment #2) > cxx:512:42: error: invalid use of incomplete type ‘class OpalEndPoint’ > transports.h:50:7: error: forward declaration of ‘class OpalEndPoint’ > Dunno if this is ffmpeg-related... That is not ffmpeg related, it's bug 474740.
Created attachment 368636 [details, diff] opal-3.10.10 ffmpeg.patch
(In reply to Philipp Leonhardt from comment #4) > Created attachment 368636 [details, diff] [details, diff] > opal-3.10.10 ffmpeg.patch worked for me with the patch, after applying the Gentoo patched except "3.10.9-ffmpeg.patch" the patch needs to be adjusted fit into portage tree, but compiling works. found here: https://www.mail-archive.com/slackbuilds-users@slackbuilds.org/msg08920.html
This is fixed upstream. Patches apply and build with net-libs/opal-3.12.4 and media-video/ffmpeg-2.2, I do not possess the knowledge to perform runtime testing. ------------------------------------------------------------------------ r30644 | rjongbloed | 2013-10-08 12:17:16 +0200 (Tue, 08 Oct 2013) | 2 lines Updated to yet another FFMPEG/LibAV API change. ------------------------------------------------------------------------ r30645 | rjongbloed | 2013-10-08 13:25:40 +0200 (Tue, 08 Oct 2013) | 2 lines Fixed use with older FFMPEG after upgrading to later FFMPEG. Isn't this fun?
Created attachment 373984 [details, diff] 30644-updated-to-yet-another-ffmpeg-libav-api-change.patch
Created attachment 373986 [details, diff] 30645-fixed-use-with-older-ffmpeg-after-upgrading-to-later-ffmpeg-isnt-this-fun.patch
+*opal-3.10.11 (29 Apr 2014) + + 29 Apr 2014; Lars Wendler <polynomial-c@gentoo.org> +opal-3.10.11.ebuild, + +files/opal-3.10.11-libav9-gentoo.patch: + Version bump. Fixed compilation with >=media-video/ffmpeg-2 and + >=media-video/libav-9 (bug #443206). +