[Android-tools-devel] Bug#1096309: android-platform-external-libselinux: ftbfs with GCC-15

Ying-Chun Liu (PaulLiu) paulliu at debian.org
Wed Sep 16 11:44:24 BST 2026


Hi all,


I'm planning to fix this bug by NMU. It is a simple fix. Just add 
-std=gnu17 in debian/rules.


Please see the debdiff attached.


I think I'll wait for 10 days if no one object. And upload to delay/10.


Yours,
Paul


-------------- next part --------------
diff -Nru android-platform-external-libselinux-10.0.0+r36/debian/changelog android-platform-external-libselinux-10.0.0+r36/debian/changelog
--- android-platform-external-libselinux-10.0.0+r36/debian/changelog	2023-07-31 09:27:56.000000000 +0100
+++ android-platform-external-libselinux-10.0.0+r36/debian/changelog	2026-09-16 11:29:45.000000000 +0100
@@ -1,3 +1,11 @@
+android-platform-external-libselinux (10.0.0+r36-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/rules: Build with -std=gnu17 to fix FTBFS with GCC 15.
+    (Closes: #1096309)
+
+ -- Ying-Chun Liu (PaulLiu) <paulliu at debian.org>  Wed, 16 Sep 2026 11:29:45 +0100
+
 android-platform-external-libselinux (10.0.0+r36-2) unstable; urgency=medium
 
   * Team upload
diff -Nru android-platform-external-libselinux-10.0.0+r36/debian/rules android-platform-external-libselinux-10.0.0+r36/debian/rules
--- android-platform-external-libselinux-10.0.0+r36/debian/rules	2023-07-31 09:27:56.000000000 +0100
+++ android-platform-external-libselinux-10.0.0+r36/debian/rules	2026-09-16 11:29:45.000000000 +0100
@@ -2,7 +2,7 @@
 
 # Security Hardening
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-export DEB_CFLAGS_MAINT_APPEND = -fPIC
+export DEB_CFLAGS_MAINT_APPEND = -fPIC -std=gnu17
 export DEB_CPPFLAGS_MAINT_APPEND = -DNDEBUG
 export DEB_LDFLAGS_MAINT_APPEND = -fPIC
 
@@ -16,7 +16,7 @@
 	dh_auto_build --buildsystem=makefile -- -f debian/libsepol.mk
 
 override_dh_auto_build: debian/out/libselinux.so debian/out/libsepol.so
-	
+
 override_dh_auto_test:
 	echo ignore tests using upstream build system
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x44173FA13D058888.asc
Type: application/pgp-keys
Size: 7875 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/android-tools-devel/attachments/20260916/ae4e1e2a/attachment-0001.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/android-tools-devel/attachments/20260916/ae4e1e2a/attachment-0001.sig>


More information about the Android-tools-devel mailing list