Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120054 - gnustep-apps/cynthiune-0.9.4 USE-flags doesn't work as they should, and other problems...
Summary: gnustep-apps/cynthiune-0.9.4 USE-flags doesn't work as they should, and other...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Gnustep project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-23 07:42 UTC by Jouni Rinne
Modified: 2006-03-26 00:40 UTC (History)
0 users

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


Attachments
gnustep-apps/cynthiune-0.9.4-r1 patch (cynthiune-0.9.4-r1.diff,1.24 KB, patch)
2006-01-29 03:03 UTC, Jouni Rinne
Details | Diff
gnustep-apps/cynthiune-0.9.4-r1 ebuild (cynthiune-0.9.4-r1.ebuild,1015 bytes, text/plain)
2006-01-29 03:05 UTC, Jouni Rinne
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jouni Rinne 2006-01-23 07:42:40 UTC
I'm trying to install gnustep-apps/cynthiune-0.9.4.

First, there is an unlisted dependency of media-libs/audiofile, Cynthiune doesn't compile without it.

Second, the USE-flags doesn't work as they should. For example, I don't have media-sound/esound installed on the machine I'm working on, so the corresponding USE-flag is set to "-esd". However, the compilation stops with the following error:

Making all in Bundles/Esound...
make[1]: esd-config: Command not found
make[1]: Entering directory `/var/tmp/portage/cynthiune-0.9.4/work/Cynthiune-0.9.4/Bundles/Esound'
make[1]: esd-config: Command not found
make[1]: Entering directory `/var/tmp/portage/cynthiune-0.9.4/work/Cynthiune-0.9.4/Bundles/Esound'
make[1]: Entering directory `/var/tmp/portage/cynthiune-0.9.4/work/Cynthiune-0.9.4/Bundles/Esound'
Making all for bundle Esound...
make[2]: esd-config: Command not found
make[2]: esd-config: Command not found
 Creating Esound.output/....
 Compiling file Esound.m ...
cc1: warning: command line option "-fgnu-runtime" is valid for ObjC/ObjC++ but not for C
cc1: warning: command line option "-fconstant-string-class=NSConstantString" is valid for ObjC/ObjC++ but not for C
Esound.m:29:16: warning: esd.h: Tiedostoa tai hakemistoa ei ole
Esound.m: In function `-[Esound _openSocket]':
Esound.m:93: warning: implicit declaration of function `esd_play_stream'
Esound.m:93: error: `ESD_BITS16' undeclared (first use in this function)
Esound.m:93: error: (Each undeclared identifier is reported only once
Esound.m:93: error: for each function it appears in.)
Esound.m:94: error: `ESD_STREAM' undeclared (first use in this function)
Esound.m:94: error: `ESD_PLAY' undeclared (first use in this function)
Esound.m:99: warning: implicit declaration of function `esd_play_stream_fallback'
Esound.m: In function `-[Esound prepareDeviceWithChannels:andRate:]':
Esound.m:145: error: `ESD_MONO' undeclared (first use in this function)
Esound.m:148: error: `ESD_STEREO' undeclared (first use in this function)
distcc[6225] ERROR: compile Esound.m on 192.168.1.10 failed
make[2]: *** [shared_obj/Esound.o] Error 1
make[1]: *** [Esound.all.bundle.variables] Error 2
make[1]: Leaving directory `/var/tmp/portage/cynthiune-0.9.4/work/Cynthiune-0.9.4/Bundles/Esound'
make: *** [internal-all] Error 2

!!! ERROR: gnustep-apps/cynthiune-0.9.4 failed.
!!! Function egnustep_make, Line 172, Exitcode 2
!!! package make failed
!!! If you need support, post the topmost build error, NOT this status message.

I.e. the script looks for esd-config, although it shouldn't, because USE="-esd"  is set.

If Cynthiune really needs all the dependencies to compile, they should NOT be marked as optional (via the USE-flags). Please, make a proper ebuild
Comment 1 Jouni Rinne 2006-01-29 03:01:44 UTC
Well, I fixed the ebuild myself ;) Here's a patch and a complete ebuild. I haven't got much experience on making these ebuilds, hopefully this one is correct. At least it worked...
Comment 2 Jouni Rinne 2006-01-29 03:03:44 UTC
Created attachment 78406 [details, diff]
gnustep-apps/cynthiune-0.9.4-r1 patch
Comment 3 Jouni Rinne 2006-01-29 03:05:21 UTC
Created attachment 78407 [details]
gnustep-apps/cynthiune-0.9.4-r1 ebuild
Comment 4 Fabian Groffen gentoo-dev 2006-03-26 00:40:23 UTC
Jouni,

Thanks, I took over your changes.  Indeed the USE-flags looked somewhat daft since they weren't handled in any way.