Xulrunner-1.9.1.1-r1 is required for Mozilla-Firefox-3.5.1-r1 . 'emerge -pv' shows Alsa-lib & Alsa-headers as dependencies & 'emerge --nodeps' fails with the lines : checking for snd_pcm_open in -lasound... no configure: error: Ogg support on Linux requires the alsa library I have no speakers in my hardware & have not enabled sound in my kernel. I do not want to have sound software installed in my machine. I'm not deaf, but deaf users have no conceivable use for sound packages. Xulrunner-1.9.0.11-r1 installed without any need for sound packages. This happened earlier this year with KDE 4 , whose libs had a sound dependency. I was told by the Gentoo dev to submit a bug to KDE, but they told me quickly & brusquely that the problem lay with Gentoo, whose devs should be able to fix the ebuild not to require it. The ebuild for Xulrunner needs to be amended not to require sound. 'emerge --info' is below. Reproducible: Always Steps to Reproduce: 1. 'emerge -pv xulrunner' 2. 3. Actual Results: [ebuild N ] media-sound/alsa-headers-1.0.20 2,833 kB [ebuild N ] media-libs/alsa-lib-1.0.20-r1 USE="-alisp -debug -doc python" ALSA_PCM_PLUGINS="-adpcm -alaw -asym -copy -dmix -dshare -dsnoop -empty -extplug -file -hooks -iec958 -ioplug -ladspa -lfloat -linear -meter -mmap_emul -mulaw -multi -null -plug -rate -route -share -shm -softvol" 777 kB [ebuild U ] net-libs/xulrunner-1.9.1.1-r1 [1.9.0.11-r1] USE="-custom-optimization dbus -debug% -gnome java python%* -startup-notification" 0 kB Expected Results: [ebuild U ] net-libs/xulrunner-1.9.1.1-r1 [1.9.0.11-r1] USE="-custom-optimization dbus -debug% -gnome java python%* -startup-notification" 0 kB 'emerge --info' : Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-1.12.11.1 Timestamp of tree: Sat, 01 Aug 2009 20:45:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.5.4-r3, 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -mtune=native -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=native -mtune=native -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="buildsyspkg distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://osmirrors.cerias.purdue.edu/pub/gentoo/ http://lug.mtu.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/z/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X amd64 apm bitmap-fonts bonobo bzip2 cdr crypt cups dbus foomaticdb gcj gdbm gif gnutls gpm gtk gtk2 hal imagemagick imlib java javascript jpeg kde lcms libwww lm_sensors mime motif mpeg multilib ncurses nptl nptlonly nsplugin nvidia opengl pcre pdf perl plotutils png pop python qt3 readline scanner session slang sqlite ssl svg threads tiff tk toolbar truetype truetype-fonts type1-fonts unicode usb vim-syntax xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS I don't know where the ALSA items above come from. The USE line in 'make.conf' is USE="-* apm bitmap-fonts bonobo bzip2 cdr crypt cups dbus foomaticdb gcj gdbm gif gnutls gpm gtk gtk2 hal imagemagick imlib java javascript jpeg kde lcms libwww lm_sensors mime motif mpeg multilib ncurses nptl nptlonly nsplugin nvidia opengl pcre pdf perl plotutils png pop python qt3 readline scanner session slang sqlite ssl svg threads tiff tk toolbar truetype truetype-fonts type1-fonts unicode usb vim-syntax win32codecs X xml xorg xv zlib" Again, the sound dependency did not happen with earlier versions of Xulrunner.
Complain to upstream.They made the dep not gentoo.
So who is "upstream" ? -- Xulrunner or Mozilla-firefox ?
I have reported the problem to Mozilla bugzilla : bug # 507869 .
Mozilla replied very promptly: "Benjamin Smedberg [:bs] (bsmedberg) <benjamin@smedbergs.us> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX --- Comment #1 from Benjamin Smedberg [:bs] (bsmedberg) <benjamin@smedbergs.us> 2009-08-01 21:57:57 PDT --- You can configure mod without audio/video support, but we want them to be part of the default platform and you would have to explicitly disable them". So how do I "explicitly disable them" in Gentoo ?
There's no need to CC yourself when you're the reporter of a bug. You will receive mails on changes to this bug anyway.
Created attachment 199912 [details, diff] add sound useflag to control ogg/wave support which requires alsa apply patch to ebuild and report back please.
Comment on attachment 199912 [details, diff] add sound useflag to control ogg/wave support which requires alsa The patch is obsolete, I made use of the alsa USE flag to enable sound support. It is currently avaliable in the git overlay for mozilla, I will have it moved to the tree as soon as possible,
Fixed in tree.
Thanks for the prompt response, but it's only half-fixed. Xulrunner compiles ok, but not Firefox-3.5.1-r2 : checking for snd_pcm_open in -lasound... no configure: error: Ogg support on Linux requires the alsa library !!! Please attach the following file when seeking support: !!! /z/tmp/portage/www-client/mozilla-firefox-3.5.1-r2/work/mozilla-1.9.1/config.log * The ebuild environment file is located at '/z/tmp/portage/www-client/mozilla-firefox-3.5.1-r2/temp/environment'. >>> Failed to emerge www-client/mozilla-firefox-3.5.1-r2, Log file: I tried to upload the 'config.log' file above, but Firefox-3.0.11 stalls. I can try with Konqueror if you need it, but perhaps it's a simple fix.
(In reply to comment #9) > Thanks for the prompt response, but it's only half-fixed. > Xulrunner compiles ok, but not Firefox-3.5.1-r2 : > > checking for snd_pcm_open in -lasound... no > configure: error: Ogg support on Linux requires the alsa library > > !!! Please attach the following file when seeking support: > !!! > /z/tmp/portage/www-client/mozilla-firefox-3.5.1-r2/work/mozilla-1.9.1/config.log > * The ebuild environment file is located at > '/z/tmp/portage/www-client/mozilla-firefox-3.5.1-r2/temp/environment'. > > >>> Failed to emerge www-client/mozilla-firefox-3.5.1-r2, Log file: > > I tried to upload the 'config.log' file above, but Firefox-3.0.11 stalls. > I can try with Konqueror if you need it, but perhaps it's a simple fix. > Thanks I was meaning to add it to firefox and just drop'd the ball I will have it commited before the end of night.
Fixed in-tree w/o a bump.
Excellent ! -- I have installed Firefox-3.5.1-r2 & it's working ok. Apparently, 3.5.2 has been released & presumably will appear in Gentoo soon. I assume it & future versions will continue to respect '-alsa' & similar. Thanks again for so prompty fixing it.