| Summary: | media-video/mpeg4ip-1.5.0.1-r2 failed. w/ USE="ffmpeg" | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Zillode <zillode> |
| Component: | New packages | Assignee: | Olivier Crete (RETIRED) <tester> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ari, kredba, patrizio.bassi, tetromino, tuxie |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
buildlog
patch to fix compilation patched ebuild |
||
|
Description
Zillode
2007-08-08 22:43:55 UTC
Created attachment 127325 [details]
buildlog
I ran into the same when media-libs/x264-svn-20070924 forced a revdep-rebuild of media-video/mpeg4ip-1.5.0.1-r2.
This however is not a problem of mpeg4ip, but of media-video/ffmpeg-0.4.9_p20070616-r1.
The reason for the problem is that the include <ffmpeg/avcodec.h> is not C++ - save. Wrapping the include in 'extern "C" { ... }' makes mpeg4ip compile (and work) again.
Besides, this seems to be a DUPE of bug #186420 Running into the same issue. Created attachment 136864 [details, diff]
patch to fix compilation
I'm sick of hand-patching this every time things like faad require an revdep-rebuild, so here's a patch.
Created attachment 136866 [details]
patched ebuild
And the ebuild for it.
Diego, this is one less in you 'emerge -e system' rebuild struggle... (In reply to comment #5) Had same compilation error as everyone else. Patch fixes it for me. quite old bug, can we apply to portage? today i still have this issue *** Bug 186420 has been marked as a duplicate of this bug. *** patch is in.. sorry for the delay |