Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 120054
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gnustep herd <gnustep@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jouni Rinne <l33tmmx@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
cynthiune-0.9.4-r1.diff gnustep-apps/cynthiune-0.9.4-r1 patch patch Jouni Rinne 2006-01-29 03:03 0000 1.24 KB Details | Diff
cynthiune-0.9.4-r1.ebuild gnustep-apps/cynthiune-0.9.4-r1 ebuild text/plain Jouni Rinne 2006-01-29 03:05 0000 1015 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 120054 depends on: Show dependency tree
Bug 120054 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-01-23 07:42 0000
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 From Jouni Rinne 2006-01-29 03:01:44 0000 -------
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 From Jouni Rinne 2006-01-29 03:03:44 0000 -------
Created an attachment (id=78406) [details]
gnustep-apps/cynthiune-0.9.4-r1 patch

------- Comment #3 From Jouni Rinne 2006-01-29 03:05:21 0000 -------
Created an attachment (id=78407) [details]
gnustep-apps/cynthiune-0.9.4-r1 ebuild

------- Comment #4 From Fabian Groffen 2006-03-26 00:40:23 0000 -------
Jouni,

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

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug