Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39134 - media-sound/pd compilation borks if media-sound/jack-audio-connection-kit is installed
Summary: media-sound/pd compilation borks if media-sound/jack-audio-connection-kit is ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 32191 35822 37246 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-23 01:21 UTC by Brian Harring (RETIRED)
Modified: 2004-02-07 13:51 UTC (History)
3 users (show)

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


Attachments
pd-0.37-jack-audio-ck-0.80.0.patch (pd-0.37.patch,721 bytes, patch)
2004-02-03 06:24 UTC, Brian Harring (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Harring (RETIRED) gentoo-dev 2004-01-23 01:21:08 UTC
Pretty much, the configure script picks up the fact that libjack exists, and trys compiling against it, thus imploding (media-sound/pd-0.37 and media-sound/jack-audio-connection-kit-0.94.0).
This was missed when it was version bumped; 0.36 doesn't have this issue.
That said and done, .36 will not compile against alsa-lib-1.0 due to a compilation break w/ the api; .37 doesn't appear to suffer from this.

Make pukage for 0.37;

checking for jack_set_error_function in -ljack... yes
OPT_CFLAGS --------------- -g
configure: creating ./config.status
config.status: creating makefile
gcc -DPD -DUNIX  -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -g -DDL_OPEN -DPA_USE_OSS -DPA_LITTLE_ENDIAN              -DUSEAPI_OSS         -I../portaudio/pa_common         -I../portaudio/pablio -I../portaudio/portmidi-macosx -Werror -DUSEAPI_JACK -DINSTALL_PREFIX=\"/usr\" -I. -c -o ../obj/s_audio_jack.o s_audio_jack.c 
cd ../obj; gcc -I. -o ../bin/pd-gui t_main.o t_tkcmd.o \
-ltk8.3 -ltcl8.3  -lX11 -L/usr/X11R6/lib -lrt -ljack -ljack
cc1: warnings being treated as errors
s_audio_jack.c: In function `srate':
s_audio_jack.c:72: warning: long int format, jack_nframes_t arg (arg 2)

I've verified it's caused by having jack-audio-connection-kit emerged, ended up having to compair config.log's from a working system, and non-working.
For the alsa-lib breakage, either check bug #35412 for an example, or contact me- I can post the existing patch I have.
Comment 1 Brian Harring (RETIRED) gentoo-dev 2004-02-03 03:04:48 UTC
At the moment, this is breaking due to jack-audio-connection-kit-0.80.0 being the current unmasked version.  This version of pd uses the older 0.75 jack-audio-blah api.

Looks minor to adjust, but just making a note of it in the bug.
Comment 2 Brian Harring (RETIRED) gentoo-dev 2004-02-03 06:24:05 UTC
Created attachment 24884 [details, diff]
pd-0.37-jack-audio-ck-0.80.0.patch

The actual problem with this ebuild wasn't alsa related, it's related to
goofyness in the jack-audio-connection-kit code when compiling against 0.80.0
This fixes compilation issues, and will work the same for jack-audio-blah 0.75.


Anyone running 0.80.0, please test this.
Comment 3 Brian Harring (RETIRED) gentoo-dev 2004-02-06 12:18:39 UTC
*** Bug 37246 has been marked as a duplicate of this bug. ***
Comment 4 Brian Harring (RETIRED) gentoo-dev 2004-02-06 12:19:08 UTC
*** Bug 35822 has been marked as a duplicate of this bug. ***
Comment 5 Brian Harring (RETIRED) gentoo-dev 2004-02-06 12:26:56 UTC
*** Bug 32191 has been marked as a duplicate of this bug. ***
Comment 6 Brian Harring (RETIRED) gentoo-dev 2004-02-07 13:51:54 UTC
In CVS.