#1117312 pgsql-http: FTBFS: dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2

#1117312#5
Date:
2025-10-05 12:38:29 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:pgsql-http, 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-http
rm -rf build-*/
rm -rf debian/postgresql-*-http/ debian/postgresql-*-http.substvars
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f http.so   libhttp.a  libhttp.pc
rm -f http.o http.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	2024-09-14 18:43:05.000000000 +0000
+++ debian/control.y8RPh6	2025-10-04 10:07:56.045324126 +0000
@@ -16,7 +16,7 @@
 Vcs-Browser: https://salsa.debian.org/postgresql/pgsql-http
 Vcs-Git: https://salsa.debian.org/postgresql/pgsql-http.git

#1117312#10
Date:
2025-10-08 17:03:02 UTC
From:
To:
Hello,

Bug #1117312 in pgsql-http 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/pgsql-http/-/commit/ede5f35d9758c7d9e5944a7aa4c7d65b219c2401
* Add ${postgresql:Breaks}.
* debian/tests: Depend on postgresql-common-dev instead of 'make'.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1117312

#1117312#17
Date:
2025-10-09 18:00:28 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pgsql-http, 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 1117312@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 pgsql-http 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 19:02:14 +0200
Source: pgsql-http
Binary: postgresql-18-http postgresql-18-http-dbgsym
Architecture: source amd64
Version: 1.7.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org>
Changed-By: Christoph Berg <myon@debian.org>
Description:
 postgresql-18-http - HTTP client for PostgreSQL, retrieve a web page from inside the d
Closes: 1117312
Changes:
 pgsql-http (1.7.0-3) unstable; urgency=medium
 .
   * Upload for PostgreSQL 18. (Closes: #1117312)
   * Add ${postgresql:Breaks}.
   * debian/tests: Depend on postgresql-common-dev instead of 'make'.
Checksums-Sha1:
 a17a13558a35741b1f0ff1aff515a65d3ad2a9ba 2259 pgsql-http_1.7.0-3.dsc
 9f4177f8a1b7bab263bec35fc1f6299a783749ce 3396 pgsql-http_1.7.0-3.debian.tar.xz
 8462f8446cb69b9d8b54db0b04301a278ac71589 14096 pgsql-http_1.7.0-3_amd64.buildinfo
 69c480db5552f699156ebdcb2e11d6072647df51 62256 postgresql-18-http-dbgsym_1.7.0-3_amd64.deb
 279b608b4a49d9c21fe8e39dea51b99a91bf75b2 53420 postgresql-18-http_1.7.0-3_amd64.deb
Checksums-Sha256:
 a580b3eae3ba095e0d2b91a587ff517d54dcc0e99b00ca4102f82fe80c8ea8b2 2259 pgsql-http_1.7.0-3.dsc
 29ef3238f9334fce17463b8c571fd2fb8d949a1daca903ec91852ae62d915d9c 3396 pgsql-http_1.7.0-3.debian.tar.xz
 0d994d0e8ea6f52a2f430891f1bb794b1a95045440ee309ee33d195cd5329e79 14096 pgsql-http_1.7.0-3_amd64.buildinfo
 b8bf2957aec6c96113e8bc237a5a77ca09a406ca3790c24b894a7593c7a62b7a 62256 postgresql-18-http-dbgsym_1.7.0-3_amd64.deb
 a0337d158891a6ad969d18c2d1aaeae89064c338771b65b40e12b282d6f35840 53420 postgresql-18-http_1.7.0-3_amd64.deb
Files:
 d7bfae5fae07405143b871410244393a 2259 database optional pgsql-http_1.7.0-3.dsc
 7e282b350518790cb3409f499b094d9f 3396 database optional pgsql-http_1.7.0-3.debian.tar.xz
 5d59fa8b4d99a79c81d72df993ce75b1 14096 database optional pgsql-http_1.7.0-3_amd64.buildinfo
 2d6752c346e158fc6085e13aa6de84c1 62256 debug optional postgresql-18-http-dbgsym_1.7.0-3_amd64.deb
 62d1a7586d1649bd3fe35b177d08722a 53420 database optional postgresql-18-http_1.7.0-3_amd64.deb
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAmjmnfwACgkQTFprqxLS
p672iA/9Ei4uhBl8ajQRTB0FKk6VA615k9STBEqXqlHZAH1gj8XhT+guf/BzCcAg
gPYD82nkW6Dj/TS49+HQd9Rf/NKf0zq+qunFp0Ovh424yutJGKbEQ9INvAbE+dce
k1uFaRlR5GfYOasopGD0HRkBKAIr3iRiRQ9sPT+Zh5ukkeXPqrxzKZqcXe+o7E01
mszSrFtm3ZBXsk0eG4ScbdD1xIiPTB/EYXZji1D/iZ7kW6MCS9ueNfTKnGeFenqr
MWG6YGkXNwF/i6bUX3aILS5aFdm5XxrbE9pQ9KjgZxoLuFhMI9xLJ9BrS1qCjf0T
H/vz6bhqAJ1vP/q4fWx5wQ6tsVCOQpFY+rxjVsi42df5ln03p1F9+zUFSl8ztdkX
ibk0J9GcN3a3t+Oo6xSJRAWfW7sTSR3GpQT8i3/XhLEj4m+RY+bkAonSqh9gbfxc
7SpuPeEpPkDHkFeyWOUa8JFoIUX4DCmWY4EYC9gzfGya8ZAOLiVwKc3PR1M6blW4
9K6Nw8socVIeN6f3Q0l9v1e8PwGOBjGfXTHawWI1MOl4z1wJh7mLjEDauVzseiIM
q8OxIeJzaFJD3vGUNdD29IJhJGaBWGi3HpbX/cR8FMq2hmfS6SiJZaUKuWCkvk4i
rAl30jLdct7048PmfkGZyBM27s3IZPgWNC7rLkf9/Slf2B7wS6s=
=weBI
-----END PGP SIGNATURE-----