Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 520488

Summary: www-plugins/gnash-0.8.10_p20131019 - ffmpeg/MediaParserFfmpeg.cpp:383:5: error: invalid conversion from 'boost::int64_t (*)(void*, boost::int64_t, int)' to 'int64_t (*)(void*, int64_t, int)'
Product: Gentoo Linux Reporter: Erik <esigra>
Component: [OLD] LibraryAssignee: Chí-Thanh Christopher Nguyễn <chithanh>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 522422    
Bug Blocks:    
Attachments: build.log
emerge --info '=www-plugins/gnash-0.8.10_p20131019::gentoo'
emerge -pqv '=www-plugins/gnash-0.8.10_p20131019::gentoo'

Description Erik 2014-08-22 09:46:04 UTC
www-plugins/gnash-0.8.10_p20131019 fails:
ffmpeg/MediaParserFfmpeg.cpp: In member function 'void gnash::media::ffmpeg::MediaParserFfmpeg::initializeParser()':
ffmpeg/MediaParserFfmpeg.cpp:383:5: error: invalid conversion from 'boost::int64_t (*)(void*, boost::int64_t, int) {aka long long int (*)(void*, long long int, int)}' to 'int64_t (*)(void*, int64_t, int) {aka long int (*)(void*, long int, int)}' [-fpermissive]
In file included from /usr/include/libavformat/avformat.h:207:0,
                 from ffmpeg/ffmpegHeaders.h:63,
                 from ffmpeg/MediaParserFfmpeg.cpp:21:
/usr/include/libavformat/avio.h:179:14: error:   initializing argument 7 of 'AVIOContext* avio_alloc_context(unsigned char*, int, int, void*, int (*)(void*, uint8_t*, int), int (*)(void*, uint8_t*, int), int64_t (*)(void*, int64_t, int))' [-fpermissive]


It seems to use boost::int64_t, which is wrong.
Comment 1 Erik 2014-08-22 09:48:06 UTC
Created attachment 383340 [details]
build.log
Comment 2 Erik 2014-08-22 09:51:21 UTC
Created attachment 383342 [details]
emerge --info '=www-plugins/gnash-0.8.10_p20131019::gentoo'
Comment 3 Erik 2014-08-22 09:53:03 UTC
Created attachment 383344 [details]
emerge -pqv '=www-plugins/gnash-0.8.10_p20131019::gentoo'
Comment 4 Sergey Popov (RETIRED) gentoo-dev 2014-09-09 11:30:37 UTC
Can not reproduce with current stable Boost and gnash
Comment 5 Paul Osmialowski 2014-09-10 06:11:14 UTC
See comment to Bug 522422 as I experienced the same problem.