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

[ Reason ]
xchpst 0.6.2-1 FTBFS on trixie due to missing <fcntl.h> includes.

The defect presumably arose due to a transitive include being dropped.

[ Impact ]
Users cannot rebuild the source package as is in trixie. This is a
policy violation.

[ Tests ]
Built in trixie chroot with dgit sbuild and installed and run on trixie.

[ Risks ]
The two additional #includes present no risk.

[ 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 ]
Two instances of "#include <fcntl.h>"

Because this is the first dgit(7) and dgit-maint-merge(7) upload for the
trixie branch, there is some slight detritus showing up in the debdiff.

[ Other info ]
diff -Nru xchpst-0.6.2/debian/changelog xchpst-0.6.2/debian/changelog
--- xchpst-0.6.2/debian/changelog       2025-04-12 11:12:09.000000000 +0100
+++ xchpst-0.6.2/debian/changelog       2026-12-03 21:29:58.000000000 +0000
@@ -1,3 +1,9 @@
+xchpst (0.6.2-1+deb13u1) trixie; urgency=medium
+
+  * minimal #include fix to build on trixie (Closes: #1147952)
+
+ -- Andrew Bower <[email protected]>  Thu, 03 Dec 2026 21:29:58 +0000
+
 xchpst (0.6.2-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru xchpst-0.6.2/debian/.gitignore xchpst-0.6.2/debian/.gitignore
--- xchpst-0.6.2/debian/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ xchpst-0.6.2/debian/.gitignore      2026-12-03 21:29:58.000000000 +0000
@@ -0,0 +1,4 @@
+*.debhelper.log
+debhelper-build-stamp
+files
+xchpst.substvars
diff -Nru xchpst-0.6.2/debian/patches/dgit-changes 
xchpst-0.6.2/debian/patches/dgit-changes
--- xchpst-0.6.2/debian/patches/dgit-changes    1970-01-01 01:00:00.000000000 
+0100
+++ xchpst-0.6.2/debian/patches/dgit-changes    2026-12-03 21:29:58.000000000 
+0000
@@ -0,0 +1,48 @@
+From: 
+Subject: Debian changes
+
+The Debian packaging of xchpst is maintained in git, using a workflow
+similar to the one described in dgit-maint-merge(7).
+The Debian delta is represented by this one combined patch; there isn't a
+patch queue that can be represented as a quilt series.
+
+A detailed breakdown of the changes is available from their canonical
+representation -- git commits in the packaging repository.
+For example, to see the changes made by the Debian maintainer in the first
+upload of upstream version 1.2.3, you could use:
+
+    % git clone https://git.dgit.debian.org/xchpst
+    % cd xchpst
+    % git log --oneline 1.2.3..debian/1.2.3-1 -- . ':!debian'
+
+(If you have dgit, use `dgit clone xchpst`, rather than plain `git clone`.)
+
+We don't use debian/source/options single-debian-patch because it has bugs.
+Therefore, NMUs etc. may nevertheless have made additional patches.
+
+---
+
+diff --git a/mount.c b/mount.c
+index c9f6e11..4a59107 100644
+--- a/mount.c
++++ b/mount.c
+@@ -9,6 +9,7 @@
+ #include <errno.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <fcntl.h>
+ #include <string.h>
+ #include <unistd.h>
+ #include <sys/dir.h>
+diff --git a/precreate.c b/precreate.c
+index ac8f3ec..d82f912 100644
+--- a/precreate.c
++++ b/precreate.c
+@@ -9,6 +9,7 @@
+ #include <errno.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <fcntl.h>
+ #include <string.h>
+ #include <unistd.h>
+ #include <sys/dir.h>
diff -Nru xchpst-0.6.2/debian/patches/series xchpst-0.6.2/debian/patches/series
--- xchpst-0.6.2/debian/patches/series  1970-01-01 01:00:00.000000000 +0100
+++ xchpst-0.6.2/debian/patches/series  2026-12-03 21:29:58.000000000 +0000
@@ -0,0 +1 @@
+dgit-changes

Reply via email to