Bug#979113: libpulse-dev: lib .so files in -dev package, cause other programs to fail

Federico Grau donfede at casagrau.org
Sat Jan 2 21:38:34 GMT 2021


Package: libpulse-dev
Version: 12.2-4+deb10u1
Severity: normal

Dear Maintainer,

* What led up to the situation?
    Other programs were failing, because they were unable to load
    libpulse-simple.so library file with only libpulse0 package installed.
    The xcwcp package is one such example.

* What exactly did you do (or not do) that was effective (or ineffective)?
    A workaround is to install libpulse-dev in addition to libpulse0.
    However this also installs several additional other packages, and should
    not be required for standard library usage.

    Attached is a patch against current salsa.debian.org git, to alter the
    debian file packaging associating library .so files with the library
    package.


-- System Information:
Debian Release: 10.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-13-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libpulse-dev depends on:
ii  libglib2.0-dev           2.58.3-2+deb10u2
ii  libpulse-mainloop-glib0  12.2-4+deb10u1
ii  libpulse0                12.2-4+deb10u1

libpulse-dev recommends no packages.

libpulse-dev suggests no packages.

-- no debconf information

Control: tag -1 +patch
-------------- next part --------------
diff --git a/debian/libpulse-dev.install b/debian/libpulse-dev.install
index a1bcccb8..23df19cc 100644
--- a/debian/libpulse-dev.install
+++ b/debian/libpulse-dev.install
@@ -1,7 +1,4 @@
 usr/lib/*/cmake
-usr/lib/*/libpulse.so
-usr/lib/*/libpulse-simple.so
-usr/lib/*/libpulse-mainloop-glib.so
 usr/lib/*/pkgconfig/*
 usr/include/pulse/*
 usr/share/vala/vapi
diff --git a/debian/libpulse-mainloop-glib0.install b/debian/libpulse-mainloop-glib0.install
index d2af2063..f0103839 100644
--- a/debian/libpulse-mainloop-glib0.install
+++ b/debian/libpulse-mainloop-glib0.install
@@ -1 +1,2 @@
+usr/lib/*/libpulse-mainloop-glib.so
 usr/lib/*/libpulse-mainloop-glib.so.*
diff --git a/debian/libpulse0.install b/debian/libpulse0.install
index cf55606f..cf3d95ed 100644
--- a/debian/libpulse0.install
+++ b/debian/libpulse0.install
@@ -1,4 +1,6 @@
 etc/pulse/client.conf
+usr/lib/*/libpulse.so
 usr/lib/*/libpulse.so.*
+usr/lib/*/libpulse-simple.so
 usr/lib/*/libpulse-simple.so.*
 usr/lib/*/pulseaudio/libpulsecommon-*.so
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-pulseaudio-devel/attachments/20210102/5a0e986c/attachment.sig>


More information about the pkg-pulseaudio-devel mailing list