Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234479 - media-sound/pulseaudio-0.9.11-r2 should depend on consolekit
Summary: media-sound/pulseaudio-0.9.11-r2 should depend on consolekit
Status: RESOLVED DUPLICATE of bug 321181
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-11 16:42 UTC by Dror Levin (RETIRED)
Modified: 2011-05-23 01:32 UTC (History)
3 users (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 Dror Levin (RETIRED) gentoo-dev 2008-08-11 16:42:31 UTC
I don't have sys-auth/consolekit installed and I get a warning on boot (even though pulseaudio is not started) and the following error when I try to run pulseaudio:
E: module.c: Failed to open module "module-console-kit": file not found

As a workaround I commented line 85 in /etc/pulse/default.pa:
load-module module-console-kit
and the problem was fixed - pulseaudio started.

The pulseaudio version I have is media-sound/pulseaudio-0.9.11-r2.
My emerge --info:
Portage 2.2_rc7 (default/linux/amd64/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26 x86_64)
=================================================================
System uname: Linux-2.6.26-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Mon, 11 Aug 2008 15:15:02 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O3 -pipe -fomit-frame-pointer"
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"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going --jobs=3"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="he_IL.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en he"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://dagobah/gentoo-portage"
USE="X a52 aac acl acpi aiglx aim alsa amd64 amr amrnb amrwb bash-completion berkdb bidi bzip2 cairo cdr cli cracklib crypt cscope curl dbus dga divx dri dts dvd dvdr dvdread encode exif ffmpeg firefox flac fortran gdbm gif git gpm gtk2 iconv icq icu idn ieee1394 imagemagic ipod ipv6 isdnlog jabber java java6 jpeg jpeg2k kde lame mad midi mmx mng mozilla mp3 mpeg mpeg2 mpeg4 mplayer msn mudflap multilib mysql ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp oscar pam pch pcre pdf png pppd pulseaudio python qt3 qt4 quicktime readline reflection sdl session spl sqlite srt sse sse2 ssl ssse3 subversion svg symlink sysfs tcpd theora threads tiff truetype unicode usb vim-pager vim-syntax vim-with-x vorbis wifi x264 xcomposite xine xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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 keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en he" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Louis Frayser 2010-01-02 03:30:58 UTC
(In reply to comment #0)
> I don't have sys-auth/consolekit installed and I get a warning on boot (even
> though pulseaudio is not started) and the following error when I try to run
> pulseaudio:
> E: module.c: Failed to open module "module-console-kit": file not found
> 
> As a workaround I commented line 85 in /etc/pulse/default.pa:
> load-module module-console-kit
> and the problem was fixed - pulseaudio started.
>
After uninstalling consolekit, I had nearly the same problem: same error message, and no sound.  I don't run pulse at boot, though.

A conditional statement will allow for conditional loading:
   .ifexists module-console-kit
   load-module module-console-kit
   .endif
I got the idea from the lines that load other modules in default.pa.

NOTE: some module loads are wrapped in ".nofail", ".fail".  I don't know what that does; but those directives might be useful too.

Since pulseaudio runs without consolekit, there should be no hard dependency.  A dependency based on USE=consolekit flag might be helpful, though not really necessary if module-console-kit is loaded conditionally on the whether it exists or not.
Comment 2 Arun Raghavan (RETIRED) gentoo-dev 2011-05-23 01:32:27 UTC

*** This bug has been marked as a duplicate of bug 321181 ***
Comment 3 Arun Raghavan (RETIRED) gentoo-dev 2011-05-23 01:32:53 UTC
Sorry this one's taken so long. I'll get it done in the next bump.