Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431236 - app-emulation/spice without media-libs/alsa-lib - configure: error: Package requirements (alsa) were not met: No package 'alsa' found
Summary: app-emulation/spice without media-libs/alsa-lib - configure: error: Package r...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
: 434442 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-08-13 14:13 UTC by Christian Affolter
Modified: 2012-10-04 16:58 UTC (History)
1 user (show)

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 Christian Affolter 2012-08-13 14:13:25 UTC
The configure phase of app-emulation/spice-0.11.0 (with the 'client' USE flag disabled) fails if media-libs/alsa-lib isn't present:

[...]
checking for CELT051... yes
checking for pyparsing python module... found
checking for ALSA... no
configure: error: Package requirements (alsa) were not met:

No package 'alsa' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables ALSA_CFLAGS
and ALSA_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


According to the ebuild, media-libs/alsa-lib is only added to RDEPEND if the 'client' USE flag has been set. Manually installing media-libs/alsa-lib beforehand fixes the issue, however the resulting libspice-server.so library doesn't seems to link to an alsa lib, therefore it might also be an upstream configure problem.

Steps to reproduce:
emerge --unmerge media-libs/alsa-lib
echo "app-emulation/spice -client" >> /etc/portage/package.use
emerge -va "=app-emulation/spice-0.11.0"
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2012-10-04 16:55:59 UTC
*** Bug 434442 has been marked as a duplicate of this bug. ***
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2012-10-04 16:58:27 UTC
Fixed in the tree.