#1117340 tdigest: FTBFS: dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2

#1117340#5
Date:
2025-10-05 12:39: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:tdigest, 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-tdigest
rm -rf build-*/
rm -rf debian/postgresql-*-tdigest/ debian/postgresql-*-tdigest.substvars
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f tdigest.so   libtdigest.a  libtdigest.pc
rm -f tdigest.so tdigest.o  \
    tdigest.bc
rm -f tdigest.o tdigest.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-17 17:17:52.000000000 +0000
+++ debian/control.rZIyie	2025-10-04 10:04:04.386579786 +0000
@@ -17,7 +17,7 @@
 Vcs-Git: https://salsa.debian.org/postgresql/tdigest.git
 Rules-Requires-Root: no

#1117340#8
Date:
2025-10-08 22:08:49 UTC
From:
To:
Hello,

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

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1117340

#1117340#15
Date:
2025-10-09 18:00:38 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
tdigest, 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 1117340@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 tdigest 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: Thu, 09 Oct 2025 00:06:12 +0200
Source: tdigest
Binary: postgresql-18-tdigest postgresql-18-tdigest-dbgsym
Architecture: source amd64
Version: 1.4.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org>
Changed-By: Christoph Berg <myon@debian.org>
Description:
 postgresql-18-tdigest - t-digest algorithm for on-line accumulation of rank-based statist
Closes: 1117340
Changes:
 tdigest (1.4.3-2) unstable; urgency=medium
 .
   * Upload for PostgreSQL 18. (Closes: #1117340)
   * Add ${postgresql:Breaks}.
   * debian/tests: Depend on postgresql-common-dev instead of 'make'.
Checksums-Sha1:
 e076959e3467113a56d99d4a1ebe7ad01d93c9a9 2136 tdigest_1.4.3-2.dsc
 b921e0e26631102896c5fbb51f5c72532a990710 2872 tdigest_1.4.3-2.debian.tar.xz
 d093d33223593ddf2ca380ba86ec70afc15a5dd3 55132 postgresql-18-tdigest-dbgsym_1.4.3-2_amd64.deb
 07283d2b944c85198556ebe8937230ee46ba7323 63988 postgresql-18-tdigest_1.4.3-2_amd64.deb
 11a1ed9b7be837a075760da767a96fc66f52a41f 11939 tdigest_1.4.3-2_amd64.buildinfo
Checksums-Sha256:
 99c9340b08dc4694cfb39f9952fcdc111150f1b15532e031f93890f00881fe7e 2136 tdigest_1.4.3-2.dsc
 5f687d8b4a994cca8124b87fa2b5bc0b9995381a0c17942a192befae7666c6ad 2872 tdigest_1.4.3-2.debian.tar.xz
 2d1f6ed2265490ca1ac8518ee715e340b3d9fb4627a6b8e2a08fdb0d76928b6a 55132 postgresql-18-tdigest-dbgsym_1.4.3-2_amd64.deb
 b222950c6d29089afd971f5cc35c320184e6f44285771b1de01647b823e80a03 63988 postgresql-18-tdigest_1.4.3-2_amd64.deb
 cc397bddb001a8dddb6dc8b082a3a6380ac961dc5f0bb18020771cbabc12103e 11939 tdigest_1.4.3-2_amd64.buildinfo
Files:
 3c3fc4cc943a23cb6134efec4d062f55 2136 database optional tdigest_1.4.3-2.dsc
 45797d2fdfca2577111ea79d16bd1924 2872 database optional tdigest_1.4.3-2.debian.tar.xz
 eb87140399d457d6c4bf0c09ba16e607 55132 debug optional postgresql-18-tdigest-dbgsym_1.4.3-2_amd64.deb
 ab10ecaed570a0caa78a56f98c256290 63988 database optional postgresql-18-tdigest_1.4.3-2_amd64.deb
 e7fc1142375c7cb70a9d3b3e75ea4e16 11939 database optional tdigest_1.4.3-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAmjm46AACgkQTFprqxLS
p66f+RAAr6wewOTJcr6VwVCF4xEQbvzXFXSpZYY9n9H7Z5zje2TtuYfEfSjB9jkw
KNsutEJ4CZWAvPLdvfqW/Skaux07BtMfSDur7GK4fw3fnRBxAqPs+MtslKehFwfD
d+DMFEHcDNMzOtxlHy2ZMWkU/ddOqsmRZrpnhtz68bwShtQrmH74g6TEiYSZTUNn
XhCpOfGMUKf3pZ371IdrwaQfq7586FUYQIA/oFH+zHd+NZ1N01jxBKBKed0pim4i
N1iSF/eHqWVLKtwSEGKT2cVqFeDcuElvSZb+FESNFJu/VBxPug7ecJSiZW0Gi2Rm
oIw8P1+xAJmewoHuy80uMteGCpepUzfnBfplnIlo6CUSFRpEKUUgD+qJC1J/6+VO
5OVNPkjMJJx1ORZTwoEUkoxXSEfpemoHo0LBmaEqwwljvjaldi7/LgO2C+5E8G2S
iqLeVWi6Vd4XK5HaGKkaYn0AS0Gwg7jCyimOSY+RoOxx4P+d1CPcXJ0ARuHdHYVC
eN3gOTY5zwcimYUL2bD8OuMMoPWWCBwIsa0STqOZwTha+SHq/zStjiCAdiKq+S0C
DhS7DtJhTk3e73JS9lZtHNWeI0XN+xO2FRkTroM1U54IAyJRil77ngaYUxjwth6N
BOHsawgLumDRVYmCMAxuPaC463aigYo48pCSqfN9l7hjYh7lEyE=
=kum+
-----END PGP SIGNATURE-----