Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30096 - media-libs/libhydrogen-0.8.0 compile fails without JACK
Summary: media-libs/libhydrogen-0.8.0 compile fails without JACK
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-01 11:56 UTC by Joern P. Meier
Modified: 2003-10-04 09:05 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joern P. Meier 2003-10-01 11:56:29 UTC
When trying to emerge media-libs/libhydrogen-0.8.0, the compile fails with the
following error:

Hydrogen.cpp: In function `void audioEngine_startAudioDrivers()':
Hydrogen.cpp:1393: error: invalid conversion from `int (*)(long unsigned int,
   void*)' to `int (*)(unsigned int, void*)'
Hydrogen.cpp:1393: error:   initializing argument 1 of `
   JackDriver::JackDriver(int (*)(unsigned int, void*))'
make[2]: *** [Hydrogen.lo] Error 1
make[2]: Leaving directory `/[...]/libhydrogen-0.8.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/[...]/libhydrogen-0.8.0'
make: *** [all] Error 2

I suspect this occurs only if JACK ist not installed.

I think the ebuild should either lauch the configure with --disable-jack-support
(if JACK not installed) or have JACK as a dependency.

Reproducible: Always
Steps to Reproduce:
1. emerge media-libs/libhydrogen-0.8.0

Actual Results:  
Build fails with error.

Expected Results:  
Compile. :)

Workaround:
1. Install from source with ./configure --disable-jack-support
2. Inject media-libs/libhydrogen-0.8.0 with emerge -i media-libs/libhydrogen-0.8.0

The bug occured on:
Linux version 2.4.20-gentoo-r7 (gcc version 3.3.1 20030916 (Gentoo Linux
3.3.1-r4, propolice))
Comment 1 J. Ellis (RETIRED) gentoo-dev 2003-10-03 23:17:44 UTC
virtual/jack is in the dependencies. How are you managing to compile with
out j-a-c-k or jack-cvs emerged?
Comment 2 Joern P. Meier 2003-10-04 09:05:57 UTC
Actually, you are right. media-sound/jack-audio-connection-kit is indeed
emerged on my system. (How could I overlook that? :) Still, the error occurs,
whether using portage or manual compile.
This is probably a problem with the prototype of audioEngine_process and
not the ebuild. Sorry for bothering you.