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

#1117282#5
Date:
2025-10-05 12:37:26 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-permissions, 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-permissions
rm -rf build-*/
rm -rf debian/postgresql-*-pg-permissions/ debian/postgresql-*-pg-permissions.substvars
make[1]: Entering directory '/<<PKGBUILDDIR>>'
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	2024-09-13 16:33:59.000000000 +0000
+++ debian/control.CNqAib	2025-10-04 10:00:40.237000045 +0000
@@ -14,7 +14,7 @@
 Vcs-Browser: https://salsa.debian.org/postgresql/pg-permissions
 Vcs-Git: https://salsa.debian.org/postgresql/pg-permissions.git

#1117282#10
Date:
2025-10-08 14:40:09 UTC
From:
To:
Hello,

Bug #1117282 in pg-permissions 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-permissions/-/commit/39cfaa4acdf5caae990d2208961ba0ae829cf757
debian/tests: Depend on postgresql-common-dev instead of 'make'.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1117282

#1117282#17
Date:
2025-10-09 18:00:20 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pg-permissions, 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 1117282@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-permissions 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 16:24:17 +0200
Source: pg-permissions
Binary: postgresql-18-pg-permissions
Architecture: source all
Version: 1.4-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-permissions - see all permissions in a PostgreSQL database
Closes: 1117282
Changes:
 pg-permissions (1.4-2) unstable; urgency=medium
 .
   * Upload for PostgreSQL 18. (Closes: #1117282)
   * debian/tests: Depend on postgresql-common-dev instead of 'make'.
Checksums-Sha1:
 c321e3385e760904607b9bea4a26e7201354c6ab 2127 pg-permissions_1.4-2.dsc
 29b37c8512297b2b9516c44d57697d78a6706e1c 2264 pg-permissions_1.4-2.debian.tar.xz
 5b500434ba7f90cc456b74de70e2bb83dd3c8733 11604 pg-permissions_1.4-2_amd64.buildinfo
 4b2fbc76bebf883d05cfdd16c7de8aefcaa2c3fa 8584 postgresql-18-pg-permissions_1.4-2_all.deb
Checksums-Sha256:
 68025376c43156b5626124644be7d5c2987979448ebf05e883bca4760278c3db 2127 pg-permissions_1.4-2.dsc
 fd19dcd7f97c56b199503261a9b2cccb7e094f9e59b0d15e4f414af2b16959d0 2264 pg-permissions_1.4-2.debian.tar.xz
 754212a0145ecf847c14e16d488fffd269d1f25600dae00bb8077a7ee22a8268 11604 pg-permissions_1.4-2_amd64.buildinfo
 2c27876c12221b5f4d59a8e3f2f84326240e59234841fdfab49e71d67e2023cf 8584 postgresql-18-pg-permissions_1.4-2_all.deb
Files:
 7dd8824b0c0c40d46e5586a634ebdc41 2127 database optional pg-permissions_1.4-2.dsc
 a2ffdb88cac9531f6a1cf2cbdc29aec1 2264 database optional pg-permissions_1.4-2.debian.tar.xz
 7d04d81a911974dba17fa56fc56d7574 11604 database optional pg-permissions_1.4-2_amd64.buildinfo
 398a206f4dd649b3df36fdea5eb9c209 8584 database optional postgresql-18-pg-permissions_1.4-2_all.deb
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAmjmeOMACgkQTFprqxLS
p66gmw/+LZ95cHSBPkCqRpiXucMUW1vPcmLHcWhvDKHEghYHRzrLeJRrggpi2qYH
OILebX2Wh5PiC4wXoJSFj2A2ossu8EWj1o+yVqx91KzVaAj28R2bRmNNyyZwEgL0
iJqOYwdMSp6bsP3Y31ADtcWKJQppepTRcMleBIDVx83zEz/59upvtacpv7Bh2uDc
5fy5jgXuEoEGBw/sKEbpAlkwMsGDmNhfP70eF1EJYZsTpzROryPh9Y0mmhGu+s1u
+oEDM2CNWPAzDpjcTr4qcI/IuERMFPW6zjwHgukb9XldePOHgPCtRc7GEirBHWP/
AMK0PdJWgyBdCpWsaLGAZFyGm6EK2PjnIACDTe9xTo7nPLXp7eK/6K/2Cv0hLesQ
9vEA0DttRK2zfOIN2sMAdwQn6hNTICarxRqQO7TEn6UkRmyLK5Ifj3E9HOQSMd3M
OvY3eQeaWemsyElT/6raAKuZsl0VX/d0kz7xKBUKx6zQTwysfJWzIHi69bVRnXY0
SDByxMcBno9du4ka2ovV0Q0BtvwyFuAzjOfCU1Zrf82Knn5Jr+jIA3gj0m2gnyWV
o32d3gfthf7VJSyFJo/YFKKiAwi5yHY4GQ/5ZItci7mIyuJZgZo72awTW7Lq5LAp
t3lcH0t+cK1zAqMRn20jJBt3xIr05bm7aficoE6Jc4fTv+C3IWs=
=imxp
-----END PGP SIGNATURE-----