Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 324279 - media-sound/kradio-4.0.0 fails to build with >=media-video/ffmpeg-0.6
Summary: media-sound/kradio-4.0.0 fails to build with >=media-video/ffmpeg-0.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ffmpeg-0.6
  Show dependency tree
 
Reported: 2010-06-16 12:46 UTC by Alexis Ballier
Modified: 2010-06-16 13:17 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Ballier gentoo-dev 2010-06-16 12:46:30 UTC
Linking CXX shared module ../../lib/kradio4_plugin_gui_quickbar.so                                                                                           
In file included from /usr/include/libavutil/avutil.h:81:0,                                                                                                  
                 from /usr/include/libavcodec/avcodec.h:30,
                 from /usr/include/libavformat/avformat.h:56,
                 from /var/tmp/portage/media-sound/kradio-4.0.0/work/kradio4-4.0.0/plugins/internetradio/decoder_thread.h:41,
                 from /var/tmp/portage/media-sound/kradio-4.0.0/work/kradio4-4.0.0/plugins/internetradio/decoder_thread.cpp:35:
/usr/include/libavutil/common.h: In function ‘int32_t av_clipl_int32(int64_t)’:
/usr/include/libavutil/common.h:154:47: error: ‘UINT64_C’ was not declared in this scope
/var/tmp/portage/media-sound/kradio-4.0.0/work/kradio4-4.0.0/plugins/internetradio/decoder_thread.cpp: In member function ‘virtual void DecoderThread::run()’:
/var/tmp/portage/media-sound/kradio-4.0.0/work/kradio4-4.0.0/plugins/internetradio/decoder_thread.cpp:266:47: warning: ‘int avcodec_decode_audio2(AVCodecContext*, int16_t*, int*, const uint8_t*, int)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3390)
/var/tmp/portage/media-sound/kradio-4.0.0/work/kradio4-4.0.0/plugins/internetradio/decoder_thread.cpp:270:83: warning: ‘int avcodec_decode_audio2(AVCodecContext*, int16_t*, int*, const uint8_t*, int)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3390)
[ 52%] Building CXX object plugins/gui-standard-display/CMakeFiles/kradio4_plugin_gui_standard_display.dir/radioview_element.o
make[2]: *** [plugins/internetradio/CMakeFiles/kradio4_plugin_internetradio.dir/decoder_thread.o] Error 1                                                    
make[1]: *** [plugins/internetradio/CMakeFiles/kradio4_plugin_internetradio.dir/all] Error 2


easy fix:

append-flags -D__STDC_CONSTANT_MACROS

(UINT64_C isnt standard in C++ unless this macro is defined, and ffmpeg headers
require it)
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-06-16 13:17:34 UTC
+  16 Jun 2010; Samuli Suominen <ssuominen@gentoo.org> kradio-4.0.0.ebuild:
+  Fix building with FFmpeg >= 0.6 wrt #324279 by Alexis Ballier.