#1117295 pg-wait-sampling: FTBFS: dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2

#1117295#5
Date:
2025-10-05 12:37:54 UTC
From:
To:
Dear maintainer:

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

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/202510/

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-wait-sampling, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with pgxs_loop
   dh_auto_clean --buildsystem=pgxs_loop
	pg_buildext clean build-%v postgresql-%v-pg-wait-sampling
rm -rf build-*/
rm -rf debian/postgresql-*-pg-wait-sampling/ debian/postgresql-*-pg-wait-sampling.substvars
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f pg_wait_sampling.so   libpg_wait_sampling.a  libpg_wait_sampling.pc
rm -f pg_wait_sampling.o collector.o pg_wait_sampling.bc collector.bc
rm -rf results/ regression.diffs regression.out tmp_check/ tmp_check_iso/ log/ output_iso/
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
   pg_buildext checkcontrol
--- debian/control	2025-08-04 19:05:50.000000000 +0000
+++ debian/control.NrQFE7	2025-10-04 10:02:28.644770884 +0000
@@ -15,7 +15,7 @@
 Vcs-Browser: https://salsa.debian.org/postgresql/pg-wait-sampling
 Vcs-Git: https://salsa.debian.org/postgresql/pg-wait-sampling.git

#1117295#8
Date:
2025-10-08 15:15:23 UTC
From:
To:
Hello,

Bug #1117295 in pg-wait-sampling reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/postgresql/pg-wait-sampling/-/commit/d2f48368218537e8e2292f7698e1d4676db56b0f
* Add ${postgresql:Breaks}.
* debian/tests: Depend on postgresql-common-dev instead of 'make'.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1117295

#1117295#15
Date:
2025-10-09 18:00:24 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pg-wait-sampling, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1117295@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christoph Berg <myon@debian.org> (supplier of updated pg-wait-sampling package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 08 Oct 2025 17:14:49 +0200
Source: pg-wait-sampling
Binary: postgresql-18-pg-wait-sampling postgresql-18-pg-wait-sampling-dbgsym
Architecture: source amd64
Version: 1.1.9-2
Distribution: unstable
Urgency: medium
Maintainer: Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org>
Changed-By: Christoph Berg <myon@debian.org>
Description:
 postgresql-18-pg-wait-sampling - Extension providing statistics about PostgreSQL wait events
Closes: 1117295
Changes:
 pg-wait-sampling (1.1.9-2) unstable; urgency=medium
 .
   * Upload for PostgreSQL 18. (Closes: #1117295)
   * Add ${postgresql:Breaks}.
   * debian/tests: Depend on postgresql-common-dev instead of 'make'.
Checksums-Sha1:
 92a16e9d5d738286fc3f0baeb2c3c0db1c53a134 2206 pg-wait-sampling_1.1.9-2.dsc
 d09c32302ad8df4b44f43909cb27e54c77549ddf 2496 pg-wait-sampling_1.1.9-2.debian.tar.xz
 cdff688de0016d69e6e68e1de25331d88fdb31a1 12047 pg-wait-sampling_1.1.9-2_amd64.buildinfo
 182b51fc92d651ca25ff14cc1bd23d71e211b2bf 59372 postgresql-18-pg-wait-sampling-dbgsym_1.1.9-2_amd64.deb
 35d8173fb75e84f22902c9a26ef5a78107f731ac 39632 postgresql-18-pg-wait-sampling_1.1.9-2_amd64.deb
Checksums-Sha256:
 34217c25f0d29b8a3add8af5bf5fcd06bdcf460cd3332e8b1a58173ae58bd3c6 2206 pg-wait-sampling_1.1.9-2.dsc
 623195743d0d2b58a25dea20dea6f6de6c0d1974c5e92b6c26f0faa67cb4d9c3 2496 pg-wait-sampling_1.1.9-2.debian.tar.xz
 01da6b42cae04909137a0a32126653f607cdb176cb5a6b6ce0c1bfe6d2d9ebda 12047 pg-wait-sampling_1.1.9-2_amd64.buildinfo
 071dc5800bf644219a094c869e8732a88032a3036b2bdc6b67d2849680b64d01 59372 postgresql-18-pg-wait-sampling-dbgsym_1.1.9-2_amd64.deb
 b3aa091679039625da7c663052441bd7639c298b27bc6cc3aa18e37b9f497866 39632 postgresql-18-pg-wait-sampling_1.1.9-2_amd64.deb
Files:
 4f70f65a9fdd0d0d12fd6e3865325517 2206 database optional pg-wait-sampling_1.1.9-2.dsc
 0f10586f59b81637f4b638119bb6a8b3 2496 database optional pg-wait-sampling_1.1.9-2.debian.tar.xz
 484e9495ab8f555b1a265d0de93e5b05 12047 database optional pg-wait-sampling_1.1.9-2_amd64.buildinfo
 ffa54f5c724ae6810c7ac8c3d90c1d5e 59372 debug optional postgresql-18-pg-wait-sampling-dbgsym_1.1.9-2_amd64.deb
 cfe286f6d7731cdb50c05456b56f649c 39632 database optional postgresql-18-pg-wait-sampling_1.1.9-2_amd64.deb
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAmjmgUkACgkQTFprqxLS
p64HdRAAlGcHzAh1MoHCt8yTZdX42QSZRHa8xvqCuaXLlTkrkbpVZn86tvkpIVqE
7H2Yy89MYQBX4SaHxyQQy+vDS3G7f7vEisVaExHJvoGagbFZU8ETnybGd6hIV+y0
66L6P6G4jHO1i6wfO8mjOEqV4T53pQbm7R5wvSAFOT58fcPSJVRxI0VBwTKS3GGO
AFtiJArUDfR+KTW0JpaGRp4mj3RC0E8ErclNriL+YXhheno3JaqKDNdXrW6ljsnq
pPmwtrc99+VuimpaFoekuqmIe0U42SktQKdfiucLGByDkT+fein+/DwL8CSRsj5D
CAid+eyBqWZrwgjwPgpk0bWTmnZ0lm56IlOPIicvzskpSTZsaHBXOye/fYtthJen
5LcaaLCvAHa+kHtLdHX+7WrwuEY6rIZoUkxx9r2jbWi5mtReYi7eYdKz8T15paca
n+rVwIsBHZzPjEBZptPZ+S0D6k45zWtPWs56i6EHWb/lmzFnmxQ9Rgj7rwxuAgT8
s2MDBMhAWPDIKwZl7wZ5yfXtnZgcz/52/HCS+Xb81YYBiSNGnTBNcTJnTbUexu+Z
y1/0eSM7ULTqLsAeCC50XIbUEskEAuUWM06nTKta4VNcZwfEZiU708QtQ8xN6hU/
M3Mr5itK9+1AcwlJXNH40+BOjnJ9ljqGt7t+OgTayfxabe929wk=
=Q+PL
-----END PGP SIGNATURE-----