Bug#782575: Please add Build-Depends-Package for the move to /lib

Michael Biebl biebl at debian.org
Tue Apr 14 12:41:29 BST 2015


Package: libapparmor1
Version: 2.9.0-3+exp1
Severity: important
Tags: patch

Hi,

in version 2.9.0-3+exp1, the libraries were moved to /lib and Martin
(re)enabled apparmor support in systemd. While doing that, he also added
a hard-coded, versioned dependency on libapparmor1 (>= 2.9.0-3+exp1) to
ensure that systemd depends on a libapparmor1 version which has its
libraries in /lib.

This is super-ugly, and we should not do that.

I therefor suggest, that libapparmor1 adds
* Build-Depends-Package: libapparmor-dev
to its symbols file.

This way, we can simply make the Build-Depends on libapparmor-dev
versioned, indicating that we want a version which was moved to lib, and
get a proper versioned library dependency.

Please consider applying the attached patch and making a new
experimental upload for libapparmor, so we can drop the hard-coded
library dependency.

While looking at the symbols file, I also noticed, that it contains a
lot of versions including the debian revision 0ubuntu1.
Is that really intentional?

Regards,
Michael


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libapparmor1 depends on:
ii  libc6  2.19-17

libapparmor1 recommends no packages.

libapparmor1 suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libapparmor-build-depends-package.diff
Type: text/x-diff
Size: 387 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20150414/bdc5ffdc/attachment.diff>


More information about the Pkg-systemd-maintainers mailing list