Package: src:pg-stat-log Version: 0.1-1 Severity: serious Tags: forky sid ftbfs patch User: [email protected] Usertags: ftbfs-nocheck-profile
Dear maintainer: During a rebuild of all packages in unstable using the nocheck build profile, this package failed to build. Below you will find the last part of the build log, which is also the relevant part. If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202606/ A wiki page discussing how to reproduce bugs in this category and possible solutions is available here: https://wiki.debian.org/qa.debian.org/FTBFS/nocheck I'm tagging this report as "patch" because there is a trivial to fix it (see below). No claim, however, that the patch is the only way to fix it. 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:pg-stat-log, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] dh_auto_install --buildsystem=pgxs_loop --destdir=debian/postgresql-18-stat-log/ pg_buildext loop postgresql-%v-stat-log ### PostgreSQL 18 loop ### # 18: make make[1]: Entering directory '/<<PKGBUILDDIR>>' /usr/bin/clang-21 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -O2 -I. -I./ -I/usr/include/postgresql/18/server -I/usr/include/postgresql/internal -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -flto=thin -emit-llvm -c -o pg_stat_log.bc pg_stat_log.c ERROR: cannot find errcodes.txt; set ERRCODES_FILE=/path/to/errcodes.txt make[1]: *** [Makefile:22: pg_stat_log_errcodes.h] Error 1 make[1]: *** Waiting for unfinished jobs.... pg_stat_log.c:35:10: fatal error: 'pg_stat_log_errcodes.h' file not found 35 | #include "pg_stat_log_errcodes.h" | ^~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[1]: *** [/usr/lib/postgresql/18/lib/pgxs/src/makefiles/../../src/Makefile.global:1104: pg_stat_log.bc] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' ### End 18 loop (FAILED with exit code 2) ### dh_auto_install: error: pg_buildext loop postgresql-%v-stat-log returned exit code 2 make: *** [debian/rules:4: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 -------------------------------------------------------------------------------- The trivial patch: --- a/debian/control +++ b/debian/control @@ -7,7 +7,7 @@ Uploaders: Build-Depends: architecture-is-64-bit <!pkg.postgresql.32-bit>, debhelper-compat (= 13), - postgresql-all <!nocheck>, + postgresql-all, postgresql-server-dev-all (>= 217~), Standards-Version: 4.7.4 Rules-Requires-Root: no

