Your message dated Sat, 21 Nov 2026 09:28:03 +0000
with message-id <[email protected]>
and subject line Released in 13.8
has caused the Debian Bug report #1148532,
regarding trixie-pu: package switchsh/0~20070801-5+deb13u1
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.)


-- 
1148532: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1148532
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: [email protected]
Control: affects -1 + src:switchsh
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
switchsh, 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 switchsh-0~20070801/debian/changelog 
switchsh-0~20070801/debian/changelog
--- switchsh-0~20070801/debian/changelog        2024-11-01 09:52:01.000000000 
+0100
+++ switchsh-0~20070801/debian/changelog        2026-09-19 22:35:15.000000000 
+0200
@@ -1,3 +1,13 @@
+switchsh (0~20070801-5+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: #1136783)
+
+ -- Aurelien Jarno <[email protected]>  Sat, 19 Sep 2026 22:35:15 +0200
+
 switchsh (0~20070801-5) unstable; urgency=medium
 
   [ наб ]
diff -Nru switchsh-0~20070801/debian/patches/open.patch 
switchsh-0~20070801/debian/patches/open.patch
--- switchsh-0~20070801/debian/patches/open.patch       1970-01-01 
01:00:00.000000000 +0100
+++ switchsh-0~20070801/debian/patches/open.patch       2026-09-19 
22:35:15.000000000 +0200
@@ -0,0 +1,14 @@
+Description: Fix FTBFS
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1136783
+
+--- switchsh-0~20070801.orig/switchsh.c
++++ switchsh-0~20070801/switchsh.c
+@@ -21,6 +21,7 @@
+ #include <unistd.h>
+ #include <string.h>
+ #include <errno.h>
++#include <fcntl.h>
+ #include <pwd.h>
+ #include <grp.h>
+ #include <sys/syscall.h>      /* syscall */
diff -Nru switchsh-0~20070801/debian/patches/series 
switchsh-0~20070801/debian/patches/series
--- switchsh-0~20070801/debian/patches/series   2024-11-01 09:52:01.000000000 
+0100
+++ switchsh-0~20070801/debian/patches/series   2026-09-19 22:35:15.000000000 
+0200
@@ -3,3 +3,4 @@
 remount_rootfs_rslave.patch
 0004-Don-t-fork-just-exec-directly.patch
 0005-Try-to-bind-mount-over-bin-sh-instead-of-over-realpa.patch
+open.patch

--- End Message ---
--- Begin Message ---
Version: 13.8

This update was released as part of 13.8.

--- End Message ---

Reply via email to