#1117261 first-last-agg: FTBFS: dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2

#1117261#5
Date:
2025-10-05 12:36:43 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:first-last-agg, 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-first-last-agg
rm -rf build-*/
rm -rf debian/postgresql-*-first-last-agg/ debian/postgresql-*-first-last-agg.substvars
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f src/first_last_agg.so src/first_last_agg.o  \
    src/first_last_agg.bc
rm -f sql/first_last_agg--0.1.4.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-11 15:36:04.000000000 +0000
+++ debian/control.OC9n3R	2025-10-04 10:05:56.484430991 +0000
@@ -15,7 +15,7 @@
 Vcs-Git: https://salsa.debian.org/postgresql/first-last-agg.git
 Homepage: https://github.com/wulczer/first_last_agg

#1117261#8
Date:
2025-10-08 12:36:30 UTC
From:
To:
Hello,

Bug #1117261 in first-last-agg 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/first-last-agg/-/commit/192c099650b70e439f17dff94ff447311aa52264
* Add ${postgresql:Breaks}.
* debian/tests: Depend on postgresql-common-dev instead of 'make'.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1117261

#1117261#15
Date:
2025-10-09 18:00:13 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
first-last-agg, 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 1117261@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 first-last-agg 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 14:34:20 +0200
Source: first-last-agg
Binary: postgresql-18-first-last-agg postgresql-18-first-last-agg-dbgsym
Architecture: source amd64
Version: 0.1.4-4-gd63ea3b-9
Distribution: unstable
Urgency: medium
Maintainer: Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org>
Changed-By: Christoph Berg <myon@debian.org>
Description:
 postgresql-18-first-last-agg - PostgreSQL extension providing first and last aggregate functions
Closes: 1117261
Changes:
 first-last-agg (0.1.4-4-gd63ea3b-9) unstable; urgency=medium
 .
   * Upload for PostgreSQL 18. (Closes: #1117261)
   * Add ${postgresql:Breaks}.
   * debian/tests: Depend on postgresql-common-dev instead of 'make'.
Checksums-Sha1:
 44fa2b2518da2edbc8f2e420442633aa724ffd96 2262 first-last-agg_0.1.4-4-gd63ea3b-9.dsc
 3166857b3fef6fd753d15d4bb36c23c4849abac4 2588 first-last-agg_0.1.4-4-gd63ea3b-9.debian.tar.xz
 b8bda72b47651778d39b0b8bb2ea373dd9f6005c 12067 first-last-agg_0.1.4-4-gd63ea3b-9_amd64.buildinfo
 fc194cea0435b1403bf378ba521644bc8b40b92c 3860 postgresql-18-first-last-agg-dbgsym_0.1.4-4-gd63ea3b-9_amd64.deb
 f93e8272f46b1766e832dc86f7d8ba1d527e343d 8684 postgresql-18-first-last-agg_0.1.4-4-gd63ea3b-9_amd64.deb
Checksums-Sha256:
 8e187e9a5c24ad008356644b565b7d88e1fb9205d04e0d7b7c665f04c7392b20 2262 first-last-agg_0.1.4-4-gd63ea3b-9.dsc
 9038bbea23473687cb1e2312956c728874de817c4f153b6f7009bb42a8243769 2588 first-last-agg_0.1.4-4-gd63ea3b-9.debian.tar.xz
 f4b779d49e98871e183b9041f65846b85a5dfb12be96f234a67bf229c395e5a7 12067 first-last-agg_0.1.4-4-gd63ea3b-9_amd64.buildinfo
 52321b0263675081b7c5d7bf51f429cbeb953483c9c17e5fa9ab150d71105169 3860 postgresql-18-first-last-agg-dbgsym_0.1.4-4-gd63ea3b-9_amd64.deb
 4ea686829417bc11d0303c913a2ae7b932f42b810eff66ceece459dcf6b17768 8684 postgresql-18-first-last-agg_0.1.4-4-gd63ea3b-9_amd64.deb
Files:
 f6c24b7506e7f2ebc8492bc6dc4e61e3 2262 database optional first-last-agg_0.1.4-4-gd63ea3b-9.dsc
 a232ea6735487d107bed461719e7164f 2588 database optional first-last-agg_0.1.4-4-gd63ea3b-9.debian.tar.xz
 f254f56ac66db13c05bded5bd1f5975d 12067 database optional first-last-agg_0.1.4-4-gd63ea3b-9_amd64.buildinfo
 b4d9e186816058857b7308651ad28b15 3860 debug optional postgresql-18-first-last-agg-dbgsym_0.1.4-4-gd63ea3b-9_amd64.deb
 f0585c7b8aa101485d2fbe47ae8f8f84 8684 database optional postgresql-18-first-last-agg_0.1.4-4-gd63ea3b-9_amd64.deb
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAmjmXHkACgkQTFprqxLS
p663PQ/+L6BtQY7m/JcSdHioRaB0k+BfF/Zot3yt0XjtkFDtl41dkKUjumZT6IpP
i/YB9cSlPWfwyembCEJe3Qp8u05V01ZWYCY8PfhBH8MW+UrJFwaiR5952gVamvZ3
lGYAwVLJVJLzbX1wFVuGM8oT/LFBbQw1+UWWCvXg26cBpecda++GzQXQDfcxUalx
hwBEM6UY0ixSIGNS08DMCoIKkRjkfYStOLAwjTnBg3wyqb3upMQy+YXwR1COBHDx
txCrYa2XrDey4wZWDwdqghjDLrvHb58MUpOmyTptGw89od+f3dlsB6QHWDSR3BD6
WvMP0nxUq0CyOgCiI3YiiFohoWuHqwb0G+kbVqfsbmIaWnu40yqw6+QyXbIbQfku
NPAS/Wix5SEwa3N54ZHFdtFEsUes98FZ2S7snUfCifqCbKupUYZcPl1oOAHZs3yE
wX2kSGbdQh1qQpSBAG2YkHBhw0eOr0P1UDpeqAbotPw5QnxFY07uXzqqPzBpnNH5
E6iUo7KodDRS2Zx7ePkdrCHS13nzBQ2YSlYKX1rkUKEY07eaUYgZqE/2xJyeNdsc
s75GVAXRfTUxiMgCRKHMppJzMwFi4dmLtw/nti5DeksUhKz4svU3pSyxdcb6Btm4
Iq69XSldNJssTNCuM3MWUS50KCpUrUCmD7n14mcA9sIyatUXD+o=
=Vp16
-----END PGP SIGNATURE-----