#1147952 xchpst: FTBFS in trixie

Package:
src:xchpst
Source:
src:xchpst
Submitter:
Santiago Vila
Date:
2026-09-15 17:03:07 UTC
Severity:
normal
Tags:
#1147952#5
Date:
2026-09-15 17:00:42 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in trixie, this package failed to build.

[ Note: The bug is marked as fixed with the version in forky/sid, but
  packages in trixie must still build in trixie ].

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/trixie/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:xchpst, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -pedantic -Werror -MMD -MP -Wall -Wextra -Werror -std=c2x -D_GNU_SOURCE -DPROG_NAME=xchpst -DPROG_VERSION=0.6.2-1 -DINST_PREFIX=/usr -Wdate-time -D_FORTIFY_SOURCE=2  -c -o mount.o mount.c
mount.c: In function ‘special_mount’:
mount.c:26:16: error: ‘AT_FDCWD’ undeclared (first use in this function)
   26 |   rc = mkdirat(AT_FDCWD, path, 0777);
      |                ^~~~~~~~
mount.c:26:16: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [<builtin>: mount.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:12: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------