Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 308215 - app-emulation/uade-2.13: wrong configure option doesn't disable audacious plugin
Summary: app-emulation/uade-2.13: wrong configure option doesn't disable audacious plugin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-07 12:59 UTC by Paul Osmialowski
Modified: 2010-03-20 13:19 UTC (History)
2 users (show)

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


Attachments
fixing configure flag (uade-2.13.diff,361 bytes, patch)
2010-03-20 13:01 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Osmialowski 2010-03-07 12:59:00 UTC
New ebuild removes 'audacious' USE flag as code for audacious plugin is broken. As a result, there's no way to disable searching for audacious by uade configure scrtipt, so when audacious is found compilation fails in /var/tmp/portage/app-emulation/uade-2.13/work/uade-2.13/src/frontends/audacious directory due to errors in plugin code:
gcc -I. -I./include -c  -fomit-frame-pointer -Wall -Wno-unused -Wno-format -Wmissing-prototypes -Wstrict-prototypes -fno-exceptions -O2 -g -O2 -march=i686 -pipe  custom.c -o custom.o
plugin.c:81: warning: initialization from incompatible pointer type
plugin.c:88: error: unknown field ‘get_song_info’ specified in initializer
plugin.c:88: warning: initialization from incompatible pointer type
plugin.c:89: warning: initialization from incompatible pointer type
To prevent this, --only-uade123 option should be passed to configure. Instead of this, new ebuild passes --with-uade123 option which is unknown to configure:
>>> Compiling source in /var/tmp/portage/app-emulation/uade-2.13/work/uade-2.13 ...
Adding  -O2 -march=i686 -pipe to ARCHFLAGS
Adding  -Wl,-O1 to ARCHLIBS
ignoring option --with-uade123
Using strlcpy/cat() replacements

Easiest workaround for now is to install uade like this:
mv /usr/lib/pkgconfig/audacious.pc /usr/lib/pkgconfig/audacious.pc.lock
emerge uade
mv /usr/lib/pkgconfig/audacious.pc.lock /usr/lib/pkgconfig/audacious.pc


Reproducible: Always

Steps to Reproduce:
1. emerge audacious
2. emerge uade
3. watch results

Actual Results:  
compilation failure

Expected Results:  
successful compilation
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-03-20 13:01:08 UTC
Created attachment 224369 [details, diff]
fixing configure flag
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2010-03-20 13:19:04 UTC
This should be fixed since yesterday.  Thanks for reporting the problem and for the patch.