Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232418 - media-plugins/audacious-plugins-1.5.1 fails to build on 64bits arches.
Summary: media-plugins/audacious-plugins-1.5.1 fails to build on 64bits arches.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-20 09:48 UTC by Alexis Ballier
Modified: 2008-07-22 14:25 UTC (History)
1 user (show)

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


Attachments
Patch that fixes the bug (patch.txt,376 bytes, patch)
2008-07-22 13:15 UTC, Ivan Iraci
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Ballier gentoo-dev 2008-07-20 09:48:58 UTC
Similar to bug #216848


 * QA Notice: Package has poor programming practices which may compile
 *            but will almost certainly crash on 64bit architectures.
 * Function `audacious_get_localdir' implicitly converted to pointer at i_configure.c:419

 * 
 * ERROR: media-plugins/audacious-plugins-1.5.1 failed.
 * Call stack:
 *       misc-functions.sh, line 653:  Called install_qa_check
 *       misc-functions.sh, line 349:  Called die
 * The specific snippet of code:
 *   				alpha*|ia64*|powerpc64*|mips64*|sparc64*|x86_64*) die "this code is not 64bit clean";;
 *  The die message:
 *   this code is not 64bit clean



Probably missing #include <audacious/plugin.h>
that means the default return value of the function will be int, while it's casted to gchar*
Comment 1 Ivan Iraci 2008-07-22 13:02:46 UTC
(In reply to comment #0)
Same here.
Comment 2 Ivan Iraci 2008-07-22 13:15:34 UTC
Created attachment 161095 [details, diff]
Patch that fixes the bug
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2008-07-22 13:29:04 UTC
Thank you Ivan, patch committed upstream:
<CIA-1> audacious-plugins: Tony Vroon <chainsaw@gentoo.org> default * 2843:29a14d80fcd8 /src/amidi-plug/i_configure.c: Patch by ivanhoe@vfemail.net to include missing header, resolves QA warning and Gentoo bug #232418.
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2008-07-22 14:15:42 UTC
Ivan, your contribution to the Audacious project & Gentoo linux is highly appreciated. This is in the tree as 1.5.1-r1.
Comment 5 Ivan Iraci 2008-07-22 14:25:19 UTC
(In reply to comment #4)
It was a pleasure to contribute. Thanks to you all for your efforts.