[pkg-apparmor] Bug#866636: /lib/powerpc64le-linux-gnu/libapparmor.la: wrong libdir

Helmut Grohne helmut at subdivi.de
Fri Jun 30 15:32:08 UTC 2017


Package: libapparmor-dev
Version: 2.11.0-5
Severity: important
File: /lib/powerpc64le-linux-gnu/libapparmor.la
User: helmutg at debian.org
Usertags: rebootstrap
Control: affects -1 + src:dbus

dbus fails to cross build from source, because libtool turns -lapparmor
into /lib/powerpc64le-linux-gnu/libapparmor.so and thus fails linking
dbus-daemon. The cause is that libapparmor-dev's libapparmor.la file
declares libdir=/lib/powerpc64le-linux-gnu while the libapparmor.so is
located in /usr/lib/powerpc64le-linux-gnu. Simply removing the .la file
makes the dbus build continue here.

Please either remove the broken .la file or fix the libdir.

Helmut



More information about the pkg-apparmor-team mailing list