Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 341005 - media-sound/audacity-1.3.12 fails to compile with ffmpeg-0.6_p25423
Summary: media-sound/audacity-1.3.12 fails to compile with ffmpeg-0.6_p25423
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-14 16:35 UTC by haarp
Modified: 2010-10-27 01:31 UTC (History)
4 users (show)

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


Attachments
build log (build.log,746.86 KB, text/plain)
2010-10-15 14:42 UTC, haarp
Details
environment (environment,121.88 KB, text/plain)
2010-10-15 14:43 UTC, haarp
Details
audacity ffmpeg 0.6 patch (audacity-1.3.12-FFmpeg.patch,2.21 KB, patch)
2010-10-20 09:14 UTC, Thomas Pfaff
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description haarp 2010-10-14 16:35:04 UTC
This seems to be a known problem. The description and solution is listed here:
http://wiki.audacityteam.org/wiki/Known_Issues#Active_issues

"FFmpeg from SVN after June 1st 2010 may cause Audacity not to compile with error "invalid conversion from ‘int (*)(URLContext*, unsigned char*, int)’ to ‘int (*)(URLContext*, const unsigned char*, int)’" in FFmpeg.cpp:257. Workaround: change src/FFmpeg.cpp line 207 from "static int ufile_write(URLContext *h, unsigned char *buf, int size)" to "static int ufile_write(URLContext *h, const unsigned char *buf, int size)" "
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-10-14 23:55:29 UTC
Hi,

can you please submit a full build.log and environment file?

Thanks, Michael
Comment 2 haarp 2010-10-15 14:42:48 UTC
Created attachment 250715 [details]
build log
Comment 3 haarp 2010-10-15 14:43:08 UTC
Created attachment 250717 [details]
environment
Comment 4 Thomas Pfaff 2010-10-20 09:14:33 UTC
Created attachment 251315 [details, diff]
audacity ffmpeg 0.6 patch

audacity 1.3.12 builds fine with this patch applied
Comment 5 Kamen Dokov 2010-10-26 06:55:18 UTC
Same here


FFmpeg.cpp:257: error: invalid conversion from ‘int (*)(URLContext*, unsigned char*, int)’ to ‘int (*)(URLContext*, const unsigned char*, int)’
make[1]: *** [FFmpeg.o] Error 1
Comment 6 Tim Harder gentoo-dev 2010-10-27 01:31:13 UTC
I've added a patch to fix this issue to CVS that allows audacity to be built with any ffmpeg version currently in the tree.