[pkg-apparmor] Bug#761733: apparmor: libtool split: package needs a b-d on libtool-bin (or avoid using the libtool binary)
Helmut Grohne
helmut at subdivi.de
Fri Sep 19 13:52:34 UTC 2014
Control: tags -1 + patch
Dear apparmor maintainer,
On Mon, Sep 15, 2014 at 11:41:18PM +0000, Matthias Klose wrote:
> cd libraries/libapparmor && sh ./autogen.sh
>
> You must have libtool installed to compile .
> make[1]: *** [override_dh_auto_configure] Error 1
> Download the appropriate package for your system,
> or get the source from one of the GNU ftp sites
> listed in http://www.gnu.org/order/ftp.html
> debian/rules:11: recipe for target 'override_dh_auto_configure' failed
> make[1]: Leaving directory '/«PKGBUILDDIR»'
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
Even though apparmor checks for libtool, it doesn't actually use it. I
am attaching a patch that makes it check for libtoolize instead. Please
speak up, if you do not want this packages NMUed. The severity of this
bug will be bumped close to the libtool upload.
Helmut
-------------- next part --------------
diff -Nru apparmor-2.8.0/debian/changelog apparmor-2.8.0/debian/changelog
--- apparmor-2.8.0/debian/changelog 2014-09-11 00:24:15.000000000 +0200
+++ apparmor-2.8.0/debian/changelog 2014-09-19 15:30:39.000000000 +0200
@@ -1,3 +1,10 @@
+apparmor (2.8.0-6.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Check for libtoolize rather than libtool. (Closes: #761733)
+
+ -- Helmut Grohne <helmut at subdivi.de> Fri, 19 Sep 2014 15:30:14 +0200
+
apparmor (2.8.0-6) unstable; urgency=medium
* Put package under the Debian AppArmor Team's umbrella, and accordingly:
diff -Nru apparmor-2.8.0/debian/patches/libtoolize-check.patch apparmor-2.8.0/debian/patches/libtoolize-check.patch
--- apparmor-2.8.0/debian/patches/libtoolize-check.patch 1970-01-01 01:00:00.000000000 +0100
+++ apparmor-2.8.0/debian/patches/libtoolize-check.patch 2014-09-19 15:30:07.000000000 +0200
@@ -0,0 +1,18 @@
+From: Helmut Grohne <helmut at subdivi.de>
+Subject: check for libtoolize rather than libtool
+
+libtool is not used and it now resides in package libtool-bin.
+
+Index: apparmor-2.8.0/libraries/libapparmor/autogen.sh
+===================================================================
+--- apparmor-2.8.0.orig/libraries/libapparmor/autogen.sh 2008-05-20 00:48:31.000000000 +0200
++++ apparmor-2.8.0/libraries/libapparmor/autogen.sh 2014-09-19 15:29:10.000000000 +0200
+@@ -19,7 +19,7 @@
+ DIE=1
+ }
+
+-(libtool --version) < /dev/null > /dev/null 2>&1 || {
++(libtoolize --version) < /dev/null > /dev/null 2>&1 || {
+ echo
+ echo "You must have libtool installed to compile $package."
+ echo "Download the appropriate package for your system,"
diff -Nru apparmor-2.8.0/debian/patches/series apparmor-2.8.0/debian/patches/series
--- apparmor-2.8.0/debian/patches/series 2014-09-10 20:51:54.000000000 +0200
+++ apparmor-2.8.0/debian/patches/series 2014-09-19 15:28:32.000000000 +0200
@@ -39,3 +39,4 @@
r2240-find-libs.patch
r2247-fix-bison3.patch
r2667-debian760378-fix-ftbfs-on-x32.patch
+libtoolize-check.patch
More information about the pkg-apparmor-team
mailing list