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

Bug 341927

Summary: media-sound/audacity-1.3.12 fails to build with USE=ffmpeg
Product: Gentoo Linux Reporter: Sven E. <dark>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal CC: xmw
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Audacity ffmpeg patch
Fixed patch

Description Sven E. 2010-10-20 18:41:19 UTC
media-sound/audacity-1.3.12 fails to build when ffmpeg is enabled.

Reproducible: Always

Steps to Reproduce:
1. Try emergeing audacity with USE +ffmpeg
Actual Results:  
build fails with:

FFmpeg.cpp:257: error: invalid conversion from ‘int (*)(URLContext*, unsigned char*, int)’ to ‘int (*)(URLContext*, const unsigned char*, int)’

Expected Results:  
Clean build

Looks like a Type mismatch and should probably be taken upstream.
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-10-26 15:20:32 UTC
Hi,

can you please attach the full build.log and environment files mentioned at the end of the failed emerge process?

Thanks
Comment 2 Tim Harder gentoo-dev 2010-10-26 17:56:28 UTC
Upstream already knows about this.

See the Linux section of the active issues at [1] and the bug posting at [2].

[1] http://wiki.audacityteam.org/index.php?title=Known_Issues
[2] http://bugzilla.audacityteam.org/show_bug.cgi?id=176
Comment 3 Sven E. 2010-10-26 18:58:54 UTC
Since it is a know issue by upstream folks I assume the build log is not needed anymore?
Comment 4 Tim Harder gentoo-dev 2010-10-26 19:20:15 UTC
Created attachment 252087 [details, diff]
Audacity ffmpeg patch

The attached patch allows audacity to be compiled with any ffmpeg version.

I'll push it upstream too.
Comment 5 Tim Harder gentoo-dev 2010-10-26 19:23:52 UTC
Created attachment 252089 [details, diff]
Fixed patch

Fix typo in previous patch.
Comment 6 Tim Harder gentoo-dev 2010-10-26 21:26:47 UTC
I added the attached patch to CVS.