Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41244 - strange jack and alsa dependency issues
Summary: strange jack and alsa dependency issues
Status: RESOLVED DUPLICATE of bug 40579
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-11 06:44 UTC by Hans-Christian Armingeon
Modified: 2005-07-17 13:06 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 Hans-Christian Armingeon 2004-02-11 06:44:48 UTC
# emerge -u pcmcia-cs grub syslog-ng vixie-cron tcpdump netcat nmap hostapd ethereal kde gnome apache mplayer mplayer-skins openoffice mozilla kphone vim

Calculating dependencies ...done!
>>> emerge (1 of 198) media-sound/jack-audio-connection-kit-0.80.0 to /
>>> md5 src_uri ;-) jack-audio-connection-kit-0.80.0.tar.gz
>>> Unpacking source...
>>> Unpacking jack-audio-connection-kit-0.80.0.tar.gz to /var/tmp/portage/jack-audio-connection-kit-0.80.0/work
RUNNING FROM extra_functions.sh
 * Applying jack-audio-connection-kit-0.80.0-alsalib-fix.patch...                          [ ok ]
RUNNING FROM extra_functions.sh
 * Applying jack-audio-connection-kit-doc-option.patch...                                  [ ok ]
>>> Source unpacked.
doc
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
<...>

runs into an error>

<...>
checking for on_exit... yes
checking for atexit... yes
   JACK will use System V shm API (shmget() and friends)
checking for snd_pcm_drop in -lasound... no
configure: WARNING: ALSA 0.9 support not found
configure: error: *** Neither Solaris nor ALSA audio support was found, aborting...

!!! ERROR: media-sound/jack-audio-connection-kit-0.80.0 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed


When I run:
# emerge -u jack-audio-connection-kit
Calculating dependencies ...done!
>>> emerge (1 of 2) media-libs/alsa-lib-0.9.8 to /
>>> md5 src_uri ;-) alsa-lib-0.9.8.tar.bz2
>>> Unpacking source...
>>> Unpacking alsa-lib-0.9.8.tar.bz2 to /var/tmp/portage/alsa-lib-0.9.8/work
>>> Source unpacked.
 * Patching ${S}/ltmain.sh...
 *   Applying portage-1.4.1.patch...

portage merges alsa-lib BEFORE jack!

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Brian Harring (RETIRED) gentoo-dev 2004-02-11 19:07:53 UTC
I don't completely follow what you're getting at w/ the initial statement, although I'm guessing your experiencing bug 40579 by chance?
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-15 06:12:20 UTC

*** This bug has been marked as a duplicate of 40579 ***
Comment 3 Hans-Christian Armingeon 2004-02-15 07:48:09 UTC
What I want to say is, that I wonder,that in the first run, jack gets emerged before alsa-lib.

And when I emerge jack alone, then alsa-lib get merged before jack, and jack compiles without any problems.

Johnny
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-15 12:14:11 UTC
This is because of the circular dependency.  alsa depends on jack and jack on alsa.  In the first run, something pulled in jack which then pulld in alsa as a depend.  In the second, you asked for jack which pulled in alsa first.  This is a dupe.

*** This bug has been marked as a duplicate of 40579 ***