Your message dated Wed, 10 Sep 2014 22:48:47 +0000
with message-id <[email protected]>
and subject line Bug#760378: fixed in apparmor 2.8.0-6
has caused the Debian Bug report #760378,
regarding apparmor: FTBFS on x32 due to use of sysctl
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
760378: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760378
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: apparmor
Version: 2.8.0-5.1
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)
Hi,
the attached patch makes apparmor build on x32.
I did not see how I could use autoconf for this,
so the architecture check is currently hardcoded,
and will likely have to be extended e.g. by arm64
later.
Please apply.
-- System Information:
Debian Release: jessie/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: x32 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
diff -Nru apparmor-2.8.0/debian/changelog apparmor-2.8.0/debian/changelog
--- apparmor-2.8.0/debian/changelog 2014-06-05 13:08:55.000000000 +0200
+++ apparmor-2.8.0/debian/changelog 2014-09-03 14:15:59.000000000 +0200
@@ -1,3 +1,9 @@
+apparmor (2.8.0-5.1+x32.1) unreleased; urgency=medium
+
+ * Work around lack of sysctl(2) on x32
+
+ -- Thorsten Glaser <[email protected]> Wed, 03 Sep 2014 14:15:42 +0200
+
apparmor (2.8.0-5.1) unstable; urgency=medium
* Non-maintainer upload.
diff -Nru apparmor-2.8.0/debian/patches/series apparmor-2.8.0/debian/patches/series
--- apparmor-2.8.0/debian/patches/series 2013-12-27 00:20:06.000000000 +0100
+++ apparmor-2.8.0/debian/patches/series 2014-09-03 14:13:43.000000000 +0200
@@ -38,3 +38,4 @@
0037-easyprof-sdk-pt2.patch
r2240-find-libs.patch
r2247-fix-bison3.patch
+x32.patch
diff -Nru apparmor-2.8.0/debian/patches/x32.patch apparmor-2.8.0/debian/patches/x32.patch
--- apparmor-2.8.0/debian/patches/x32.patch 1970-01-01 01:00:00.000000000 +0100
+++ apparmor-2.8.0/debian/patches/x32.patch 2014-09-03 14:15:40.000000000 +0200
@@ -0,0 +1,14 @@
+--- a/parser/parser_main.c
++++ b/parser/parser_main.c
+@@ -38,7 +38,11 @@
+
+ #include <unistd.h>
+ #include <limits.h>
++#if (!(defined(__x86_64__) && defined(__ILP32__)))
++/* x32 has no sysctl support */
++/*XXX better autoconf this */
+ #include <sys/sysctl.h>
++#endif
+ #include <sys/types.h>
+ #include <sys/stat.h>
+
--- End Message ---
--- Begin Message ---
Source: apparmor
Source-Version: 2.8.0-6
We believe that the bug you reported is fixed in the latest version of
apparmor, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
intrigeri <[email protected]> (supplier of updated apparmor package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 10 Sep 2014 11:55:18 -0700
Source: apparmor
Binary: apparmor apparmor-utils apparmor-profiles apparmor-docs libapparmor-dev
libapparmor1 libapparmor-perl libapache2-mod-apparmor libpam-apparmor
apparmor-notify python-libapparmor python3-libapparmor dh-apparmor
apparmor-easyprof
Architecture: source amd64 all
Version: 2.8.0-6
Distribution: unstable
Urgency: medium
Maintainer: Debian AppArmor Team <[email protected]>
Changed-By: intrigeri <[email protected]>
Description:
apparmor - User-space parser utility for AppArmor
apparmor-docs - Documentation for AppArmor
apparmor-easyprof - AppArmor easyprof profiling tool
apparmor-notify - AppArmor notification system
apparmor-profiles - Profiles for AppArmor Security policies
apparmor-utils - Utilities for controlling AppArmor
dh-apparmor - AppArmor debhelper routines
libapache2-mod-apparmor - changehat AppArmor library as an Apache module
libapparmor-dev - AppArmor development libraries and header files
libapparmor-perl - AppArmor library Perl bindings
libapparmor1 - changehat AppArmor library
libpam-apparmor - changehat AppArmor library as a PAM module
python-libapparmor - AppArmor library Python bindings
python3-libapparmor - AppArmor library Python3 bindings
Closes: 757512 760378
Changes:
apparmor (2.8.0-6) unstable; urgency=medium
.
* Put package under the Debian AppArmor Team's umbrella, and accordingly:
- Add intrigeri and Holger as Uploaders.
- Point Vcs-* control fields to our new shared repository on Alioth.
* Cherry-pick upstream fix (r2667) to fix FTBFS on x32 (Closes: #760378).
* Add Turkish translation of debconf messages (Closes: #757512).
Thanks to Mert Dirik <[email protected]> for the patch!
* Merge changes from 2.8.0-5.1 NMU.
Checksums-Sha1:
57547ecd1c1cb8b360d7cada9c1bdb428bc1fc1f 3048 apparmor_2.8.0-6.dsc
9cb049567d941da233b4af1b791ff997b8b67a48 90264 apparmor_2.8.0-6.debian.tar.xz
d40ea3b51e6ad6a6a2193666bcabee223adb828d 335244 apparmor_2.8.0-6_amd64.deb
4160cb6dce98bc5714cf8430b9bdc56e8ea6f9e4 114344
apparmor-utils_2.8.0-6_amd64.deb
e8221f2198be74788c4dbedf6b1c27d92e5a4000 57132
apparmor-profiles_2.8.0-6_all.deb
8997e30d41163543fff96a78ac0129ffb6134ac0 279760 apparmor-docs_2.8.0-6_all.deb
dbe2d0c00e7748ca01b711e0a3ebe917d5fe31cd 49184
libapparmor-dev_2.8.0-6_amd64.deb
3749fe8bad1bb6bb13df5afb3a53ffb61627a065 46566 libapparmor1_2.8.0-6_amd64.deb
0a293d30ab4d98c7adaf1da76667d4b679aae5d1 53902
libapparmor-perl_2.8.0-6_amd64.deb
09bcb80859aed7632f5b846725cac234a59b5b8d 41416
libapache2-mod-apparmor_2.8.0-6_amd64.deb
c0db1f822d70500325c3ed2e7a82d2315c140ed5 36126
libpam-apparmor_2.8.0-6_amd64.deb
0546f746daa8000651358c2e84e8e265dd7e7213 40214 apparmor-notify_2.8.0-6_all.deb
18bbf998baa2595f23e17dd70ee322e0a3883159 51154
python-libapparmor_2.8.0-6_amd64.deb
4d9769c802feead991c2b5cfff035cadacb4b147 50972
python3-libapparmor_2.8.0-6_amd64.deb
a1caecd70fbdc0c93442335ec3dc1d42e0a7d3dc 36266 dh-apparmor_2.8.0-6_all.deb
13d07126eb075036cca815a4272f0a36ae8e147b 46474
apparmor-easyprof_2.8.0-6_all.deb
Checksums-Sha256:
9c8a519ef8a64618436bec8dfc7579d9e26f70f2ea4c50e95f25c252c3f8c9bb 3048
apparmor_2.8.0-6.dsc
34b1176676349b277ac2946a131d3d8e4db198ea1711823ecd202866ed499631 90264
apparmor_2.8.0-6.debian.tar.xz
fcd263daf5b82b412c783b9d84a0b73a1cf3d48744d76a02113e1cf94b7db69a 335244
apparmor_2.8.0-6_amd64.deb
2fcd1cf4889b111f0e3754c92e7cf28d27d96b8b61ba055cfc025f0e494ea30a 114344
apparmor-utils_2.8.0-6_amd64.deb
591b9972b04081018b42f362db411633d53ba8d7ce7b7f9e00c175bc459f5da9 57132
apparmor-profiles_2.8.0-6_all.deb
d39ca38241f73accbbf04f36e04e36da7e3ba986793055a229ac1fe76dbd321c 279760
apparmor-docs_2.8.0-6_all.deb
c02ff1b2293f3a83667f9616f6803f2d0c13bf9d2689924ccf40af6b0cbc4b6c 49184
libapparmor-dev_2.8.0-6_amd64.deb
638da15f7d2b0fe722982a78005e3fd1993b80656b3395f4ba5f3cc74cd93bb1 46566
libapparmor1_2.8.0-6_amd64.deb
767cddf6295af6dd7e4ffc46315af66586aa5823d03eb04ae7c1f39db7780bea 53902
libapparmor-perl_2.8.0-6_amd64.deb
3b83e5fd02105e74067bafcfd19a86b76482c0a954f4bef51dba0fee992f4f26 41416
libapache2-mod-apparmor_2.8.0-6_amd64.deb
cf4cbc495195f0e6577d1d7844edcf4ccb60e842f86b50a0d67042043bc5c25e 36126
libpam-apparmor_2.8.0-6_amd64.deb
a65a6f945fa534be27f60fa94023e92556ca020e71a432c99cb9662f6eb59ac5 40214
apparmor-notify_2.8.0-6_all.deb
98bf980f90ac9d4efd8ba6b4ea8d48f9cd9a1486df26bcdedc38b837a4e7c5fa 51154
python-libapparmor_2.8.0-6_amd64.deb
590bcc592424a7dc52e8f4b41de0ff1d1038225b80f340dcce07ded30c3e10c4 50972
python3-libapparmor_2.8.0-6_amd64.deb
f95190992412e2f720102d5d17bbbcaef097751975c8a50ce73f8ea42a631d4e 36266
dh-apparmor_2.8.0-6_all.deb
ab3a456c310ee20d858e0eb3efbf6fa6a58f6a8e7bc32ee7d6d3db424d253552 46474
apparmor-easyprof_2.8.0-6_all.deb
Files:
05a6d0e2126b48ec538da9bf349c6921 335244 admin extra apparmor_2.8.0-6_amd64.deb
f2dded7f16af6837aa4abb6b883fe468 114344 admin extra
apparmor-utils_2.8.0-6_amd64.deb
7a84b2a5311549f3639d3288085ae247 57132 admin extra
apparmor-profiles_2.8.0-6_all.deb
1ef3afbcdc8d7cd36d79d094c75974d0 279760 doc extra apparmor-docs_2.8.0-6_all.deb
35c3752fd4e08ffba5ce70953c96b177 49184 libdevel extra
libapparmor-dev_2.8.0-6_amd64.deb
3b2227f7aa8327f1277400ad567b80af 46566 libs extra
libapparmor1_2.8.0-6_amd64.deb
f53335ca1ec28e812e6135ff981ffb70 53902 perl extra
libapparmor-perl_2.8.0-6_amd64.deb
ca1839874526eadfbf95b12fe72efcab 41416 libs extra
libapache2-mod-apparmor_2.8.0-6_amd64.deb
729f99991f2ad91b97f8c6a755523b8c 36126 libs extra
libpam-apparmor_2.8.0-6_amd64.deb
a596894ebb730f11b6a92af4c5b3fe56 40214 admin extra
apparmor-notify_2.8.0-6_all.deb
41d57a2dda7f4e53cec29ec562b054b6 51154 python extra
python-libapparmor_2.8.0-6_amd64.deb
0a1dcb7f6b37086d9f5edcfe5a19a4d3 50972 python extra
python3-libapparmor_2.8.0-6_amd64.deb
784c59a9af7cfad3f542f5ff0d0f5211 36266 devel extra dh-apparmor_2.8.0-6_all.deb
a5dacb8d132a4ad66f9a4fe029890f40 46474 admin extra
apparmor-easyprof_2.8.0-6_all.deb
a7a5b9de5ae09e3474b2b7f47c02ee5e 3048 admin extra apparmor_2.8.0-6.dsc
83088db07a7138be6f7c849b044d9865 90264 admin extra
apparmor_2.8.0-6.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCgAGBQJUENDeAAoJELrOFdKldJj/NzYQAL2+e5GhafIdnDZ/0BSY+Wjv
emLwew7yeYy9h88d4lBuuofd32c+sURWzFVKIn3QoCdCsxqkjaEUMcVq8NjLNZd4
S0EGBxc+3uXUhtE0Tu4ODL99/REKYZI7qwmYw8Giur//BN7833ciuKqIZZ4XL6vW
oML1ddH4ImG9coUwOKc9zwcsxb/bTd6nsAnMD9kui0csCUrX/KABRAypzIX8Upp4
Ay4CTusAdZhGIzn2XSijeraC11Gzi3oL63nxQ78DTpVLEFfcSgzR3MntHG0H9bFE
BAUBFCiOkrWFY8FfYlVPFTjfoK6fPr1iMK35szBYeMkUb4GIoKPpJyTcEfOTh1QX
D9s6knw0zzdN5nmLbf+yVbGxB+F827FJGkic+v9IsUVYe9BAmAQeANjp6Xq+5ncU
oE0YPMFJfKjR3jB5g8sULoVpRZvV3Leam83wCWSihQ8t1CnVkpRjdckPkRwvhWNM
PXXMn4+c7A9hStuDafhZ6EEs2cE9ELGM45CDH3KffSwobwKAmHqTh56Ekx7S7zS/
Z/X1fV7uBGybCTcC0uEaaycSutx1qWSJA91cXJpEuW9jKjzGrweVYcMng0+cMKNq
S3rKlRTXqMBEEAqe6mqQPLLFuxiUSfWeC+Q7eKBXm9n7KANqTwSCKjKY6w2+CKTl
2spYB5o65UNkQmPS2KN0
=VnVZ
-----END PGP SIGNATURE-----
--- End Message ---