#1117333 postgresql-set-user: FTBFS: dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2

#1117333#5
Date:
2025-10-05 12:39:12 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:postgresql-set-user, 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-set-user
rm -rf build-*/
rm -rf debian/postgresql-*-set-user/ debian/postgresql-*-set-user.substvars
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f src/set_user.so src/set_user.o  \
    src/set_user.bc
rm -rf extension/set_user--4.1.0.sql
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-15 11:31:16.000000000 +0000
+++ debian/control.N68BG0	2025-10-04 10:06:33.440187020 +0000
@@ -15,7 +15,7 @@
 Vcs-Browser: https://salsa.debian.org/postgresql/postgresql-set-user
 Vcs-Git: https://salsa.debian.org/postgresql/postgresql-set-user.git

#1117333#8
Date:
2025-10-08 21:50:23 UTC
From:
To:
Hello,

Bug #1117333 in postgresql-set-user 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/postgresql-set-user/-/commit/40e5b19c0dff45c7752ee569151baa2a3ce10a04
------------------------------------------------------------------------
New upstream version 4.2.0.

* Upload for PostgreSQL 18. (Closes: #1117333)
* Add ${postgresql:Breaks}.
* debian/tests: Depend on postgresql-common-dev instead of 'make'.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1117333

#1117333#15
Date:
2025-10-09 18:00:35 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
postgresql-set-user, 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 1117333@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 postgresql-set-user 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 20:30:55 +0200
Source: postgresql-set-user
Binary: postgresql-18-set-user postgresql-18-set-user-dbgsym
Architecture: source amd64
Version: 4.2.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org>
Changed-By: Christoph Berg <myon@debian.org>
Description:
 postgresql-18-set-user - PostgreSQL privilege escalation with enhanced logging and control
Closes: 1117333
Changes:
 postgresql-set-user (4.2.0-1) unstable; urgency=medium
 .
   * New upstream version 4.2.0.
   * Upload for PostgreSQL 18. (Closes: #1117333)
   * debian/pgversions: Bump to 13+.
   * Add ${postgresql:Breaks}.
   * debian/tests: Depend on postgresql-common-dev instead of 'make'.
Checksums-Sha1:
 cca2beb385bff6c1bab671e1e6a47df6742d2e45 2205 postgresql-set-user_4.2.0-1.dsc
 4b8ed81141258b7b7131c284a6b052a0535940b2 22671 postgresql-set-user_4.2.0.orig.tar.gz
 5ed71b8629698689eaea099970ca1818722ff268 2916 postgresql-set-user_4.2.0-1.debian.tar.xz
 3f3eb63a69c5284d80671a2d661738d1727ab75d 51732 postgresql-18-set-user-dbgsym_4.2.0-1_amd64.deb
 d2a87c4f6db15fabd7fd3c85ad4378e796002081 36308 postgresql-18-set-user_4.2.0-1_amd64.deb
 04447e5b8755b3216e33c555c1c48009b581aa7f 11995 postgresql-set-user_4.2.0-1_amd64.buildinfo
Checksums-Sha256:
 bf40d65d4c45d3794286e4844ca1fcc3afd745d8fb8e60c5f1b047873072c4d5 2205 postgresql-set-user_4.2.0-1.dsc
 87db7f1baee9149bfb88547415644d0855bf975ad22d3d17de7e01901e35850c 22671 postgresql-set-user_4.2.0.orig.tar.gz
 b469735e44c7e32b3c9045319047a4f6a6551a29caf4d0006f6ba30788b3d0bf 2916 postgresql-set-user_4.2.0-1.debian.tar.xz
 f3e3b6df570fb1b28e623351852bcf3aed910e993a1d43d0bbbe5398347fb7ae 51732 postgresql-18-set-user-dbgsym_4.2.0-1_amd64.deb
 13f3d0408d23de863ddb496d8ee04208b892fd49a46cf3c4448f1fb7fa52643c 36308 postgresql-18-set-user_4.2.0-1_amd64.deb
 b8ceb34ef43c3a2ce5019996c74941d391ef4d6e2a44587da8b8ddc30af96aa3 11995 postgresql-set-user_4.2.0-1_amd64.buildinfo
Files:
 f333465a039572ed0133d8b7a40c17c5 2205 database optional postgresql-set-user_4.2.0-1.dsc
 f392f2a4776c413369e7948d92baf6fb 22671 database optional postgresql-set-user_4.2.0.orig.tar.gz
 e85d3a764c53c8307a190ec9888dd567 2916 database optional postgresql-set-user_4.2.0-1.debian.tar.xz
 20cce862109024b08080d69c4d8dd4d5 51732 debug optional postgresql-18-set-user-dbgsym_4.2.0-1_amd64.deb
 6a6e7e1361354b16cbcfc610a39937f6 36308 database optional postgresql-18-set-user_4.2.0-1_amd64.deb
 0c5d14de681087e22e322006c62d7ca5 11995 database optional postgresql-set-user_4.2.0-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAmjm3/wACgkQTFprqxLS
p67amQ//cvMxwuMNVmjDd/AFQ+GqVURiRNk7/tPhek1hTLeA+v18C/vOeHhlsPBz
i+lpruS2fNhu/YPHz9VmE3srWG8J2caPBe1oz0lQb9ffO7Q1rDPD2iF0/OflD9k9
Ojp2ofWxTkrrFk5ACWVFH4OYgmbNmNYs7nMHEyKq9rwsxSfVhnuy2KWqL6IBfRwF
cfFZ00M7RNoCaisArXxVTd2GMvDE9vZt4iAQ0OuYE132sh16fSxhY6fhMJyoou8R
Xt4kXqF/GyKxMjnymlKeZu0a/gQZsEcuiB4j3TWH8V/Hqh8N3QvGBIVrhm5a8zRk
uAIwluzBRAm1+00qI6i3Xp8Y6rI3GlIeNfYU76hfs/ew6McNLFAhq9JOajUHzJjP
RSHjmx4aS4ODH0iNYHLjxQ8ILwdW1HDxkjCuSR9KR7Sjf7CpZb2w9M5qm2RJvXx4
+J3wHTuq6uX3sJmKSnD36SeTSP+OFXgzrFV1SMRVrfaQ/5gpFrEwfRbcu+LBxmIY
ZxM0SiUsNu0SpPwuJqD47SLaA3l1WF7sDc9SZA9cPfIPtaVvNU4Y6g798tJGapLD
SZdwLA5HqprlO1MVEfrYc4hde++mERZeS58HLxB2b/nl1gL/fbgO44ecVlpV/ksh
f4Wd8w308VYuQQ7Kbvhkx+GkU5IsFSYuA6k6Wsb56OjrQuP5ASU=
=kkge
-----END PGP SIGNATURE-----