[Pkg-pulseaudio-devel] Bug#489060: warning: `pulseaudio' uses 32-bit capabilities (legacy support in use)

Ted Percival ted at midg3t.net
Thu Jul 3 04:36:20 UTC 2008


Package: pulseaudio
Version: 0.9.10-2
Severity: normal
Tags: patch

On recent Linux kernels (2.6.24? definitely 2.6.25), the kernel logs a
warning about pulseaudio using 32-bit capabilities. This is because it
links with libcap1, but needs to be updated to libcap2 for 64-bit
capability support.

Linux only logs a warning about 32-bit capabilities for the first
process that uses them, so you might not see the message for pulseaudio
if another app triggers the warning first (eg. avahi-daemon, Debian bug
#464712).

You need a versioned dependency on libcap2-dev >= 2.10-1 as described in
the header of the attached patch.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-rc8 (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pulseaudio depends on:
ii  adduser                       3.108      add and remove users and groups
ii  libasound2                    1.0.16-2   ALSA library
ii  libasyncns0                   0.3-1      Asyncronous name service query lib
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  libcap1                       1:1.10-14  support for getting/setting POSIX.
ii  libdbus-1-3                   1.2.1-2    simple interprocess messaging syst
ii  libflac8                      1.2.1-1.2  Free Lossless Audio Codec - runtim
ii  libltdl3                      1.5.26-4   A system independent dlopen wrappe
ii  libogg0                       1.1.3-4    Ogg Bitstream Library
ii  liboil0.3                     0.3.14-5   Library of Optimized Inner Loops
ii  libpulsecore5                 0.9.10-2   PulseAudio sound server core
ii  libsamplerate0                0.1.3-1    audio rate conversion library
ii  libsndfile1                   1.0.17-4   Library for reading/writing audio 
ii  libwrap0                      7.6.q-15   Wietse Venema's TCP wrappers libra
ii  lsb-base                      3.2-12     Linux Standard Base 3.2 init scrip

Versions of packages pulseaudio recommends:
ii  gstreamer0.10-pulseaudio     0.9.7-2     GStreamer plugin for PulseAudio
ii  libasound2-plugins           1.0.16-1+b1 ALSA library additional plugins
ii  padevchooser                 0.9.3-2     PulseAudio Device Chooser
pn  paprefs                      <none>      (no description available)
ii  pulseaudio-esound-compat     0.9.10-2    PulseAudio ESD compatibility layer
ii  pulseaudio-module-hal        0.9.10-2    HAL device detection module for Pu
ii  pulseaudio-module-x11        0.9.10-2    X11 module for PulseAudio sound se

-- no debconf information
-------------- next part --------------
commit 3af50eeb6c20754b1893b8e0471245d16e23d4c1
Author: Ted Percival <ted.percival at quest.com>
Date:   Thu Jul 3 14:24:16 2008 +1000

    Build against libcap2
    
    Removes a warning about deprecated 32-bit capabilities.
    Build-Depends on libcap2-dev (>= 2.10-1) to avoid possibly-insecure
    use of v2 capabilities. See kernel/capability.c in the Linux source
    for details (look for warn_deprecated_v2).

diff --git a/debian/control b/debian/control
index bf0d40b..b5ad632 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Build-Depends: debhelper (>= 5), cdbs, quilt, m4, libltdl3-dev,
     liboil0.3-dev (>= 0.3.0) | liboil-dev, libsamplerate0-dev,
     libsndfile1-dev (>= 1.0.10) | libsndfile-dev, libx11-dev,
     x11proto-core-dev, libxt-dev, libglib2.0-dev,
-    libcap-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
+    libcap-dev (>= 2.10-1) [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
     libasound-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
     libavahi-client-dev, libjack0.100.0-dev, libwrap0-dev,
     liblircclient-dev, libgconf2-dev, libhal-dev, libasyncns-dev,


More information about the Pkg-pulseaudio-devel mailing list