Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233602 - media-libs/swfdec-0.6.6-r1 USE=-alsa - checking for ALSA... configure: error: Package requirements (alsa >= 1.0) were not met
Summary: media-libs/swfdec-0.6.6-r1 USE=-alsa - checking for ALSA... configure: error:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-01 14:50 UTC by David Stutzman
Modified: 2008-08-26 10:18 UTC (History)
0 users

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


Attachments
Patch to ebuild to fix audio=none issue, and pa/alsa/oss order issues (fix-swfdec-audio-backend-logic.patch,1.34 KB, patch)
2008-08-07 00:43 UTC, Nirbheek Chauhan (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Stutzman 2008-08-01 14:50:20 UTC
Build died with:
checking for ALSA... configure: error: Package requirements (alsa >= 1.0) 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.

System in question is a server and I don't have any sound hardware and I don't have alsa USE flag enabled.

depgraph of why the package is getting pulled in:
[nomerge      ] gnome-base/gnome-2.22.2 [2.20.3] USE="-accessibility -cdr -cups -dvdr -esd -ldap -mono"
[ebuild     U ]  x11-libs/vte-0.16.14 [0.16.13] USE="-debug -doc opengl python" 0 kB
[ebuild     U ]  gnome-base/gnome-menus-2.22.2 [2.20.3] USE="-debug python" 0 kB
[ebuild     U ]   dev-python/pygtk-2.12.1-r2 [2.12.0] USE="X%* -doc -examples (-opengl%*)" 0 kB
[ebuild     U ]  gnome-extra/gcalctool-5.22.3 [5.20.2] USE="-debug" 0 kB
[ebuild  N    ]  gnome-extra/swfdec-gnome-2.22.2  USE="-debug" 0 kB
[ebuild  N    ]   media-libs/swfdec-0.6.6-r1  USE="-alsa -doc -ffmpeg -gstreamer gtk -oss -pulseaudio" 0 kB


Reproducible: Always



Expected Results:  
Expected it to not complain about alsa when -alsa is in use for the package.

Can the package be built without any sound support whatsoever?
Comment 1 Arun Raghavan (RETIRED) gentoo-dev 2008-08-04 10:08:00 UTC
(In reply to comment #0)
[...]
> Can the package be built without any sound support whatsoever?

Yes it can. There is a --with-audio=none option that should, in a sense, be the default for the myconf variable. I'll get to this as soon as my internet connection gets fixed. If anyone else feels like beating me to it, you're welcome ... :D
Comment 2 Nirbheek Chauhan (RETIRED) gentoo-dev 2008-08-07 00:43:55 UTC
Created attachment 162402 [details, diff]
Patch to ebuild to fix audio=none issue, and pa/alsa/oss order issues

(In reply to comment #1)
> Yes it can. There is a --with-audio=none option that should, in a sense, be the
> default for the myconf variable. I'll get to this as soon as my internet
> connection gets fixed. If anyone else feels like beating me to it, you're
> welcome ... :D
> 

Hah! I beat you to it! You suck! (among other things) ;p

Contributions to the attached ebuild patch came from: Cardoe, Ford_Prefect, leio, and a few other guys on #-desktop :p
Comment 3 Arun Raghavan (RETIRED) gentoo-dev 2008-08-17 20:28:17 UTC
Thanks for the patch - fixed in CVS without bump (0.6.8 and 0.7.4 to make future bumps easier).
Comment 4 David Stutzman 2008-08-26 10:18:12 UTC
Thanks guys, I was able to merge media-libs/swfdec-0.6.8 this morning.  I kept trying the old one and missed the fact that you said 0.6.8 :)