#1117272 pg-checksums: FTBFS: dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2

#1117272#5
Date:
2025-10-05 12:37:09 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-checksums, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with pgxs
   dh_auto_clean --buildsystem=pgxs
	pg_buildext clean build-%v postgresql-%v-pg-checksums
rm -rf build-*/
rm -rf debian/postgresql-*-pg-checksums/ debian/postgresql-*-pg-checksums.substvars
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f pg_checksums_ext
rm -f pg_checksums_ext.o port.o  pg_checksums_ext.bc port.bc
rm -rf tmp_check doc/man1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
   pg_buildext checkcontrol
--- debian/control	2025-09-03 11:09:20.000000000 +0000
+++ debian/control.stP0QW	2025-10-04 10:07:50.581178706 +0000
@@ -14,7 +14,7 @@
 Vcs-Git: https://salsa.debian.org/postgresql/pg-checksums.git
 Homepage: https://github.com/credativ/pg_checksums

#1117272#8
Date:
2025-10-08 13:58:17 UTC
From:
To:
Hello,

Bug #1117272 in pg-checksums 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-checksums/-/commit/c20c4d7f4100651c17361a60b2ecd02c4911cdcd
* Mark postgresql-all as <!nocheck>.
* debian/tests: Depend on postgresql-common-dev instead of 'make'.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1117272

#1117272#15
Date:
2025-10-09 18:00:18 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pg-checksums, 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 1117272@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-checksums 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 15:53:16 +0200
Source: pg-checksums
Binary: pg-checksums-doc postgresql-18-pg-checksums postgresql-18-pg-checksums-dbgsym
Architecture: source all amd64
Version: 1.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org>
Changed-By: Christoph Berg <myon@debian.org>
Description:
 pg-checksums-doc - Activate/deactivate/verify PostgreSQL data checksums (Documentati
 postgresql-18-pg-checksums - Activate/deactivate/verify PostgreSQL data checksums
Closes: 1117272
Changes:
 pg-checksums (1.3-2) unstable; urgency=medium
 .
   * Team upload for PostgreSQL 18. (Closes: #1117272)
   * Mark postgresql-all as <!nocheck>.
   * debian/tests: Depend on postgresql-common-dev instead of 'make'.
Checksums-Sha1:
 60889561528a83e34f406df4bda9b16c3639ee32 2199 pg-checksums_1.3-2.dsc
 38c14a4e2a3dbb534b730b2b0890346d82256f3d 5056 pg-checksums_1.3-2.debian.tar.xz
 f17589471faacdb33dcbaad44ec5318424609b22 6724 pg-checksums-doc_1.3-2_all.deb
 d84518fd9dab282f1450aba4b0d5b23a25d7352b 12318 pg-checksums_1.3-2_amd64.buildinfo
 a4a977b2499335aba49f61526c2cb659b02fb6ca 23188 postgresql-18-pg-checksums-dbgsym_1.3-2_amd64.deb
 bfd2e81b2833cf18cb344835b996a506ad7551a8 39304 postgresql-18-pg-checksums_1.3-2_amd64.deb
Checksums-Sha256:
 72af0c77147c04bdfe23717fdb4d4b0da77beadd77377cbcc3f91dd8ee91f5d5 2199 pg-checksums_1.3-2.dsc
 99d0535cb1d632246aa72d097527ae078f40122f53167fa9ad765cc2122907ed 5056 pg-checksums_1.3-2.debian.tar.xz
 5ab71c120a0cf865a01cb370205812cc868aca32d1a1772b1d19e4d354b53627 6724 pg-checksums-doc_1.3-2_all.deb
 ecefd89d9459bbf16aeeeab859057049b3323b7000768065a033ae2a90dda0a1 12318 pg-checksums_1.3-2_amd64.buildinfo
 22ebf8417e778f482147558c60f088b73eafc7387689fc544d2d6bef28ae517c 23188 postgresql-18-pg-checksums-dbgsym_1.3-2_amd64.deb
 02bab5567c4a6660cecc4e478ed7a9f8e8e3c5be93e07e8fbe48f0766c95fe07 39304 postgresql-18-pg-checksums_1.3-2_amd64.deb
Files:
 b8b48e4e74ef0fe284e8ebeaa24a4f23 2199 database optional pg-checksums_1.3-2.dsc
 d8d63458694fa962002d948d55b61fe1 5056 database optional pg-checksums_1.3-2.debian.tar.xz
 4236c8f39447e1b6ad1e5b426187747c 6724 doc optional pg-checksums-doc_1.3-2_all.deb
 369963a663f74ef2287e7d792199cd97 12318 database optional pg-checksums_1.3-2_amd64.buildinfo
 88a6a922c14d393c0ef11634cb68fccd 23188 debug optional postgresql-18-pg-checksums-dbgsym_1.3-2_amd64.deb
 18d34620672c7e4d69370b40d2bde075 39304 database optional postgresql-18-pg-checksums_1.3-2_amd64.deb
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAmjmb2oACgkQTFprqxLS
p67VgQ/+Ldm6ZwE1UXURToxa7nQgcGlpkAwYzMNcYyhA4eS2SAdL78yS6EnK+yq/
r39Fh5Ob4aieFZtsIr3RNCIR+ZLjj39L4ZY8hXmreILpRlCj5WusWcQItjF0Cp4I
axRU3tf65o7DwOof3INX8LInXwidh9VxL6pY2ARskDOtQ78bRemlNhEKJ7jU/Ofa
E5TEjNJSbyjSI+RnsS83OxGU8FWfQTIwH0hx8PGyBdLs3oj0uqZ1pSMJpE/e31wQ
MCa5XtJk0N8URAb71ZE4fVI3iMuinSWfKpxB3WwfHyGdmW6dSHLT1w9eEUZ/OXkr
gumfdI8RLi7GeMW6UA2W1cUMkMlIQ+ISyVc5x/E7I9jZWknNVG2bTGdxLjTf0Kwo
4HeVURGWHVQHsDI00wTsLjZu9gFxoUveng9yYaRAlB7mhB4kXkP+dBsyM9uop5Uf
8aHkXz8oNjyH+7wM8jd/Tj6bql6cgAPPtgOBJsYrx/yblWDFx+vTgyW9bU3SbVk3
lSigc033h3ZuZvMKGu9lOM1hyffDWvVf/kx24mVlPBWe2fmW2zW8DM69HfCOPm09
hK0VNaHjwhB9BYO0eEwgGuhqiSRke/NWnfN6Il+Zs5RF4DksBj7l84jjlYCmdnIH
NFVkD5m+I+/NsO1XH4C4aTghR4sygJvZznQ94trbTU8W4jotgOQ=
=B+gR
-----END PGP SIGNATURE-----