Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 515578 - app-emulation/vice-2.4 fails to build with media-video/ffmpeg-2.2.3
Summary: app-emulation/vice-2.4 fails to build with media-video/ffmpeg-2.2.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ffmpeg-2.2
  Show dependency tree
 
Reported: 2014-06-28 08:36 UTC by Sven Müller
Modified: 2015-06-03 05:55 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,169.97 KB, text/plain)
2014-06-28 08:36 UTC, Sven Müller
Details
emerge --info (emerge_info.txt,7.17 KB, text/plain)
2014-06-28 08:37 UTC, Sven Müller
Details
build log for vice-2.4 with ffmpeg-2.6.1 (build.log,102.29 KB, text/plain)
2015-04-03 15:25 UTC, Nuno Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Müller 2014-06-28 08:36:09 UTC
Created attachment 379824 [details]
build.log

In file included from ffmpegdrv.c:35:0:
ffmpeglib.h:73:50: warning: ‘enum CodecID’ declared inside parameter list [enabled by default]
 typedef AVCodec* (*avcodec_find_encoder_t) (enum CodecID);
                                                  ^
ffmpeglib.h:73:50: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
In file included from ffmpeglib.c:32:0:
../../src/gfxoutputdrv/ffmpeglib.h:73:50: warning: ‘enum CodecID’ declared inside parameter list [enabled by default]
 typedef AVCodec* (*avcodec_find_encoder_t) (enum CodecID);
                                                  ^
../../src/gfxoutputdrv/ffmpeglib.h:73:50: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
ffmpegdrv.c: In function ‘ffmpegdrv_open_audio’:
ffmpegdrv.c:260:5: error: type of formal parameter 1 is incomplete
     codec = (*ffmpeglib.p_avcodec_find_encoder)(c->codec_id);
     ^
ffmpegdrv.c: In function ‘ffmpegdrv_open_video’:
ffmpegdrv.c:467:5: error: type of formal parameter 1 is incomplete
     codec = (*ffmpeglib.p_avcodec_find_encoder)(c->codec_id);
     ^
ffmpegdrv.c: In function ‘ffmpegdrv_save’:
ffmpegdrv.c:674:13: error: type of formal parameter 1 is incomplete
             && (*ffmpeglib.p_avcodec_find_encoder)(audio_codec) != NULL)
             ^
ffmpegdrv.c:680:13: error: type of formal parameter 1 is incomplete
             && (*ffmpeglib.p_avcodec_find_encoder)(video_codec) != NULL)
             ^
Makefile:511: recipe for target 'ffmpegdrv.o' failed
make[3]: *** [ffmpegdrv.o] Error 1
Comment 1 Sven Müller 2014-06-28 08:37:38 UTC
Created attachment 379826 [details]
emerge --info
Comment 2 Rafał Mużyło 2014-06-28 12:09:24 UTC
This commit might be a sufficient fix - http://sourceforge.net/p/vice-emu/code/28089/.
Comment 3 Sven Müller 2014-06-30 15:40:38 UTC
(In reply to Rafał Mużyło from comment #2)
> This commit might be a sufficient fix -
> http://sourceforge.net/p/vice-emu/code/28089/.

Applied the patches. Compiled and started.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2014-07-01 17:54:11 UTC
remind me how to get clean patches out of sourceforge.
Comment 5 Pacho Ramos gentoo-dev 2015-02-05 00:02:40 UTC
Bump to 2.4.7 should be enough for this :/
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2015-02-06 21:44:23 UTC
should be fixed in 2.4.16
Comment 7 Nuno Silva 2015-04-03 15:19:15 UTC
2.4 is not 2.4.16 (2.4.16-r1). app-emulation/vice-2.4 (the latest amd64) still fails to compile, and the ebuild still depends on "virtual/ffmpeg" (without any version info). See also bug 539212 for the STABLEREQ.
Comment 8 Nuno Silva 2015-04-03 15:25:47 UTC
Created attachment 400484 [details]
build log for vice-2.4 with ffmpeg-2.6.1

Oh, and my build failure was with ffmpeg-2.6.1, although the build log seems to include the same compilation errors, so perhaps the summary should be changed as well?
Comment 9 Patrick Lauer gentoo-dev 2015-04-04 01:01:29 UTC
Since it still fails it's not resolved.
Comment 10 Mr. Bones. (RETIRED) gentoo-dev 2015-06-03 05:45:29 UTC
use vice-2.4.20
Comment 11 Patrick Lauer gentoo-dev 2015-06-03 05:52:12 UTC
Stable is still broken.

Broken is not fixed.
Comment 12 Mr. Bones. (RETIRED) gentoo-dev 2015-06-03 05:55:06 UTC
stop reopening and use the newer ebuild.  2.4 isn't going to change.