Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 476534 - net-libs/opal-3.10.10 fails with media-video/ffmpeg-2.0
Summary: net-libs/opal-3.10.10 fails with media-video/ffmpeg-2.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jesus Rivero (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ffmpeg-2.0
  Show dependency tree
 
Reported: 2013-07-11 13:09 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2014-04-29 11:40 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,203.33 KB, text/plain)
2013-07-11 13:09 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
opal-3.10.10 ffmpeg.patch (opal-3.10.10 ffmpeg.patch,14.41 KB, patch)
2014-01-24 17:32 UTC, Philipp Leonhardt
Details | Diff
30644-updated-to-yet-another-ffmpeg-libav-api-change.patch (30644-updated-to-yet-another-ffmpeg-libav-api-change.patch,2.11 KB, patch)
2014-03-31 20:52 UTC, eroen
Details | Diff
30645-fixed-use-with-older-ffmpeg-after-upgrading-to-later-ffmpeg-isnt-this-fun.patch (30645-fixed-use-with-older-ffmpeg-after-upgrading-to-later-ffmpeg-isnt-this-fun.patch,541 bytes, patch)
2014-03-31 20:52 UTC, eroen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-07-11 13:09:17 UTC
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
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-07-11 13:17:39 UTC
And opal-3.12.4?
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-07-11 16:26:33 UTC
(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...
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-07-11 20:34:06 UTC
(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.
Comment 4 Philipp Leonhardt 2014-01-24 17:32:14 UTC
Created attachment 368636 [details, diff]
opal-3.10.10 ffmpeg.patch
Comment 5 Philipp Leonhardt 2014-01-24 17:37:02 UTC
(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
Comment 6 eroen 2014-03-31 20:51:47 UTC
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?
Comment 7 eroen 2014-03-31 20:52:35 UTC
Created attachment 373984 [details, diff]
30644-updated-to-yet-another-ffmpeg-libav-api-change.patch
Comment 8 eroen 2014-03-31 20:52:48 UTC
Created attachment 373986 [details, diff]
30645-fixed-use-with-older-ffmpeg-after-upgrading-to-later-ffmpeg-isnt-this-fun.patch
Comment 9 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-04-29 11:40:28 UTC
+*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).
+