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


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) <[email protected]>  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
 

Attachment: OpenPGP_0x44173FA13D058888.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to