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

#1117275#5
Date:
2025-10-05 12:37:13 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-cron, 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-cron
rm -rf build-*/
rm -rf debian/postgresql-*-cron/ debian/postgresql-*-cron.substvars
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f pg_cron.so   libpg_cron.a  libpg_cron.pc
rm -f pg_cron--1.0.sql
rm -f src/entry.o src/job_metadata.o src/misc.o src/pg_cron.o src/task_states.o src/entry.bc src/job_metadata.bc src/misc.bc src/pg_cron.bc src/task_states.bc
rm -rf src/*.gcno src/*.gcda
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:11:33.000000000 +0000
+++ debian/control.XCZn4m	2025-10-04 10:08:48.040189631 +0000
@@ -15,7 +15,7 @@
 Vcs-Git: https://salsa.debian.org/postgresql/pg-cron.git
 Homepage: https://github.com/citusdata/pg_cron

#1117275#8
Date:
2025-10-08 14:07:42 UTC
From:
To:
Hello,

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

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1117275

#1117275#15
Date:
2025-10-09 18:00:18 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pg-cron, 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 1117275@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-cron 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:07:11 +0200
Source: pg-cron
Binary: postgresql-18-cron postgresql-18-cron-dbgsym
Architecture: source amd64
Version: 1.6.7-2
Distribution: unstable
Urgency: medium
Maintainer: Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org>
Changed-By: Christoph Berg <myon@debian.org>
Description:
 postgresql-18-cron - Run periodic jobs in PostgreSQL
Closes: 1117275
Changes:
 pg-cron (1.6.7-2) unstable; urgency=medium
 .
   * Upload for PostgreSQL 18. (Closes: #1117275)
   * Add ${postgresql:Breaks}.
   * debian/tests: Depend on postgresql-common-dev instead of 'make'.
Checksums-Sha1:
 a2730d8d0c45c5002cdbeb3ca7fb0e9562a91e46 2090 pg-cron_1.6.7-2.dsc
 a27858c8d9bb3bfd5b7b480ccfa89f6b831a6c49 4468 pg-cron_1.6.7-2.debian.tar.xz
 dd65778211c20c9eaa21184f43daa6237673c26a 11918 pg-cron_1.6.7-2_amd64.buildinfo
 6747efe20e71db21acb054ea258f74313c9a78fb 123412 postgresql-18-cron-dbgsym_1.6.7-2_amd64.deb
 b029f6b1bde95cda52f20d6797ee39be005e3bdf 93680 postgresql-18-cron_1.6.7-2_amd64.deb
Checksums-Sha256:
 c380eb1431fb462b717336c2c18ea33b3a97351647b32303139ff60b89f74507 2090 pg-cron_1.6.7-2.dsc
 ac07baa20e50bc71c4d3471bd7198ea495dc59e34cf4851b151bb8d3130f04bf 4468 pg-cron_1.6.7-2.debian.tar.xz
 37944706fcb817dc3e1c23ac33dd04b6546f5bacd534486fc15732294662a510 11918 pg-cron_1.6.7-2_amd64.buildinfo
 fb8576f9a827fc05b494174b3e712c9036e25c31fa07ffad762477dfc72406dc 123412 postgresql-18-cron-dbgsym_1.6.7-2_amd64.deb
 0477c1b1d3aeb436e5c4a015c0e47a7101ef6fa91e971038aec2eff736c5fcbd 93680 postgresql-18-cron_1.6.7-2_amd64.deb
Files:
 d18271f46fb7ae0b7b834d8d98152a5f 2090 database optional pg-cron_1.6.7-2.dsc
 897b4032c8cbad76ccae34b960ee2f25 4468 database optional pg-cron_1.6.7-2.debian.tar.xz
 57a1f5614aef1e988e5b3304497f8561 11918 database optional pg-cron_1.6.7-2_amd64.buildinfo
 7cb63dfed1f9a539421db6b7edb52e0e 123412 debug optional postgresql-18-cron-dbgsym_1.6.7-2_amd64.deb
 b273226c5726e78e80351ded19c3b587 93680 database optional postgresql-18-cron_1.6.7-2_amd64.deb
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAmjmdyMACgkQTFprqxLS
p65p8RAAlQlMFJZ0nXcNkwPdawrHiQfPjWaCNy+RrhlFFjej/eCCOjHeL3zkR7ET
KnVPDK2VgKss0gwQub1kjUJzU0VxEAAndK97WPwuAPW6a5Gtqd0ynJgAxFNGCgEa
RL1FbL5aOHHCxiQXXaqh2Ihz/zEv7j+e0Qe9ZzEcH9EVlocU3KuWRLm7l4+hvlla
EDzZExSVsxPAAgQfXTKnGDFMjdNbF/ZbyoXNH1AgNmqqlUKjBoe6pius1ryEWvyc
ye4ycGfVpEps+bfHCXMDcOIyryCis10Jz+FyG29fhA7UQwy2y/jGn/g63JnskF0E
i+qipw5qKRsDZZsT+tTEHVSNIqGQm166uE0MTsSDo7lxaWCfHRUvDTPLnpmgqavE
SFwu0oVsJobnzEySzUSBTYeaBr5lyH/GuDKDzvwC3zZ7m0qWLYNuDoabnQve7Ib7
uDXZqcUhBd3swcExwP7bgafg4HU7ICPMeqYF2u/h/nSg9+mVOozJRprJwRRgVjlk
vd0GLAId71dz/wWLlpxNK53ZJ6JEzr9yUuymqGEKxtkficgL/Yy75o+Xc8i6sriZ
pIncqyV7aQKM/ED5uySnoKQVT8kh0t1MevL5fO+VcxoTvdHqrT1HUUxiy+aDyvOq
MnyFpDzQX1hfMx1JSze86INtcel22L/GeMtUMYJfk7W4KFcZFm0=
=1qlL
-----END PGP SIGNATURE-----