Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: [email protected]
Control: affects -1 + src:asmixer
User: [email protected]
Usertags: pu

[ Reason ]
The glibc version 2.41-12+deb13u4 upload to the 13.7 point release
stopped including <fcntl.h> from <sys/mount.h>, in order to avoid
namespace conflicts with linux 7.0+ headers. This causes the FTBFS of
asmixer, which does not directly include <fcntl.h> while using the
open() function.

[ Impact ]
The package now FTBFS in trixie starting with the 13.7 point release.
The binary package still works fine.

[ Tests ]
I used sbuild to confirm that the package build fine again in trixie.

[ Risks ]
There is a one line code change, basically adding an extra <fcntl.h>
include that was included indirectly through <sys/mount.h> before. The
same change has been applied to testing/unstable already. Therefore the
risk is close to zero.

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in (old)stable
  [x] the issue is verified as fixed in unstable

[ Changes ]
The change consists adding the open.patch file from unstable. This patch
just adds an extra <fcntl.h> to declare, among other things, the open()
function. 

[ Other info ]
Given the change are trivial, I have already uploaded the package to the
archive.
diff -Nru asmixer-0.5/debian/changelog asmixer-0.5/debian/changelog
--- asmixer-0.5/debian/changelog        2024-02-17 23:22:50.000000000 +0100
+++ asmixer-0.5/debian/changelog        2026-09-19 21:44:55.000000000 +0200
@@ -1,3 +1,13 @@
+asmixer (0.5-16.1+deb13u1) trixie; urgency=medium
+
+  * Non-maintainer upload
+
+  [ Adrian Bunk ]
+  * debian/patches/open.patch: Include <fcntl.h> to fix FTBFS caused by
+    implicit declaration of open() (closes: #1136761)
+
+ -- Aurelien Jarno <[email protected]>  Sat, 19 Sep 2026 21:44:55 +0200
+
 asmixer (0.5-16.1) unstable; urgency=medium
 
   * Non-maintainer upload
diff -Nru asmixer-0.5/debian/patches/open.patch 
asmixer-0.5/debian/patches/open.patch
--- asmixer-0.5/debian/patches/open.patch       1970-01-01 01:00:00.000000000 
+0100
+++ asmixer-0.5/debian/patches/open.patch       2026-09-19 21:44:55.000000000 
+0200
@@ -0,0 +1,14 @@
+Description: Fix FTBFS
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1136761
+
+--- asmixer-0.5.orig/asmixer.c
++++ asmixer-0.5/asmixer.c
+@@ -23,6 +23,7 @@
+ #include <X11/extensions/shape.h>
+ 
+ #include <errno.h>
++#include <fcntl.h>
+ #include <unistd.h>
+ 
+ #include <sys/mount.h>
diff -Nru asmixer-0.5/debian/patches/series asmixer-0.5/debian/patches/series
--- asmixer-0.5/debian/patches/series   2024-02-17 23:22:50.000000000 +0100
+++ asmixer-0.5/debian/patches/series   2026-09-19 21:44:55.000000000 +0200
@@ -1 +1,2 @@
 debian.patch
+open.patch

Reply via email to