Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 377671 - media-plugins/audacious-plugins-3.0 fails to build due to "Failed to compile ffaudio-core.c (plugin)!"
Summary: media-plugins/audacious-plugins-3.0 fails to build due to "Failed to compile ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-04 09:26 UTC by Alessandro Surace
Modified: 2011-08-24 21:51 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge_info,6.91 KB, text/plain)
2011-08-04 09:49 UTC, Alessandro Surace
Details
build log (audacious-plugins-3.0.build.log,38.26 KB, text/plain)
2011-08-04 09:50 UTC, Alessandro Surace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Surace 2011-08-04 09:26:50 UTC
The build process fails for the follow reason:
Entering directory ffaudio.
Successfully generated dependencies.
In file included from ffaudio-io.c:23:
ffaudio-stdinc.h:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
ffaudio-stdinc.h:35: error: expected ‘)’ before ‘*’ token
ffaudio-io.c:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
ffaudio-io.c:46: error: expected ‘)’ before ‘*’ token
Failed to compile ffaudio-io.c (plugin)!
make[5]: *** [ffaudio-io.plugin.o] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from ffaudio-core.c:28:
ffaudio-stdinc.h:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
ffaudio-stdinc.h:35: error: expected ‘)’ before ‘*’ token
ffaudio-core.c: In function ‘open_input_file’:
ffaudio-core.c:197: error: ‘AVIOContext’ undeclared (first use in this function)
ffaudio-core.c:197: error: (Each undeclared identifier is reported only once
ffaudio-core.c:197: error: for each function it appears in.)
ffaudio-core.c:197: error: ‘io’ undeclared (first use in this function)
ffaudio-core.c:197: warning: implicit declaration of function ‘io_context_new’
ffaudio-core.c:200: warning: implicit declaration of function ‘avformat_open_input’
ffaudio-core.c:205: warning: implicit declaration of function ‘io_context_free’
ffaudio-core.c: In function ‘close_input_file’:
ffaudio-core.c:214: error: ‘AVIOContext’ undeclared (first use in this function)
ffaudio-core.c:214: error: ‘io’ undeclared (first use in this function)
ffaudio-core.c: In function ‘ffaudio_get_meta’:
ffaudio-core.c:268: error: ‘AVDictionaryEntry’ undeclared (first use in this function)
ffaudio-core.c:268: error: ‘tag’ undeclared (first use in this function)
ffaudio-core.c:272: warning: implicit declaration of function ‘av_dict_get’
ffaudio-core.c: In function ‘ffaudio_play’:
ffaudio-core.c:434: warning: implicit declaration of function ‘av_get_bytes_per_sample’
Failed to compile ffaudio-core.c (plugin)!
make[5]: *** [ffaudio-core.plugin.o] Error 1
make[4]: *** [all] Error 2
make[3]: *** [subdirs] Error 1
make[2]: *** [all] Error 2
make[1]: *** [subdirs] Error 1
make: *** [all] Error 2
Comment 1 Alessandro Surace 2011-08-04 09:49:30 UTC
Created attachment 282029 [details]
emerge --info
Comment 2 Alessandro Surace 2011-08-04 09:50:40 UTC
Created attachment 282031 [details]
build log
Comment 3 Wormo (RETIRED) gentoo-dev 2011-08-07 06:27:16 UTC
What version of ffmpeg do you have installed?
Comment 4 Alessandro Surace 2011-08-13 14:02:20 UTC
(In reply to comment #3)
> What version of ffmpeg do you have installed?

0.6_p25767
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2011-08-13 14:05:42 UTC
You want 0.7; the only way you could have managed this is through package.keywords

I will tighten up dependencies to make this impossible shortly.
Comment 6 Tony Vroon (RETIRED) gentoo-dev 2011-08-24 21:51:15 UTC
+*audacious-3.0.2 (24 Aug 2011)
+
+  24 Aug 2011; Tony Vroon <chainsaw@gentoo.org> -audacious-3.0.ebuild,
+  +audacious-3.0.2.ebuild:
+  Newest ebuild on the 3.x branch. Removed old ebuild.

+*audacious-plugins-3.0.2 (24 Aug 2011)
+
+  24 Aug 2011; Tony Vroon <chainsaw@gentoo.org> -audacious-plugins-3.0.ebuild,
+  +audacious-plugins-3.0.2.ebuild:
+  Version bump to newest 3.x branch ebuild. Tighten up ffmpeg dependency to
+  prevent the breakage that Alessandro Surace pointed out in bug #377671.
+  Removed old ebuild.