#1117292 pg-stat-kcache: FTBFS: dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2

#1117292#5
Date:
2025-10-05 12:37:48 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-stat-kcache, 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-pg-stat-kcache
rm -rf build-*/
rm -rf debian/postgresql-*-pg-stat-kcache/ debian/postgresql-*-pg-stat-kcache.substvars
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f pg_stat_kcache.so   libpg_stat_kcache.a  libpg_stat_kcache.pc
rm -f pg_stat_kcache.o pg_stat_kcache.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 16:16:52.000000000 +0000
+++ debian/control.pS5b2H	2025-10-04 10:07:55.149382570 +0000
@@ -15,10 +15,10 @@
 Vcs-Browser: https://salsa.debian.org/postgresql/pg-stat-kcache
 Vcs-Git: https://salsa.debian.org/postgresql/pg-stat-kcache.git

#1117292#8
Date:
2025-10-08 15:00:39 UTC
From:
To:
Hello,

Bug #1117292 in pg-stat-kcache 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-stat-kcache/-/commit/03062728709ed56f7cf99dffe5e8bef4e437ec15
------------------------------------------------------------------------
New upstream version 2.3.1.

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

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1117292

#1117292#15
Date:
2025-10-09 18:00:23 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pg-stat-kcache, 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 1117292@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-stat-kcache 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:59:42 +0200
Source: pg-stat-kcache
Binary: postgresql-18-pg-stat-kcache postgresql-18-pg-stat-kcache-dbgsym
Architecture: source amd64
Version: 2.3.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org>
Changed-By: Christoph Berg <myon@debian.org>
Description:
 postgresql-18-pg-stat-kcache - PostgreSQL extension to gather per-query kernel statistics.
Closes: 1117292
Changes:
 pg-stat-kcache (2.3.1-1) unstable; urgency=medium
 .
   * New upstream version 2.3.1.
   * Upload for PostgreSQL 18. (Closes: #1117292)
   * Add ${postgresql:Breaks}.
   * debian/tests: Depend on postgresql-common-dev instead of 'make'.
Checksums-Sha1:
 4ac29af87cd161ec4e7170a13000be791f7d347c 2188 pg-stat-kcache_2.3.1-1.dsc
 8d950df3139aa6f5cfb1940e364479499cb2a971 24693 pg-stat-kcache_2.3.1.orig.tar.gz
 c7e8fcb8e5e3a3d37d727b74ae371444b001c3d3 2768 pg-stat-kcache_2.3.1-1.debian.tar.xz
 fe2763e29841c4496c3311e2616bfe780c98222d 12023 pg-stat-kcache_2.3.1-1_amd64.buildinfo
 499a0d22881016006d0b9d02c4a7114fa60140a4 43200 postgresql-18-pg-stat-kcache-dbgsym_2.3.1-1_amd64.deb
 46e74bde13453f649a06a40a92a8b4caa913b1c3 38700 postgresql-18-pg-stat-kcache_2.3.1-1_amd64.deb
Checksums-Sha256:
 9da35850bd2cbff2be326e02470f2c27c4f0ec75b0f46d504e4e3356e168a678 2188 pg-stat-kcache_2.3.1-1.dsc
 f2999dbae5644cb0e83b90be932c7a501cbf79f4bcf0ecbda4153d8060bb3e02 24693 pg-stat-kcache_2.3.1.orig.tar.gz
 18350a1cc2ed2facd0d606ae950af764e6c5509347fbfd838e71ca19a4f93cbf 2768 pg-stat-kcache_2.3.1-1.debian.tar.xz
 d917b50f6fc0dd723498470b70d3c8d8e9214329defe30c434c8148fa42e7c64 12023 pg-stat-kcache_2.3.1-1_amd64.buildinfo
 d915be8986070516aa55cd7e594f7d6947fa2d782893052329bcc4542b747ada 43200 postgresql-18-pg-stat-kcache-dbgsym_2.3.1-1_amd64.deb
 1c2c06ac9f2ddb721b7b2a076eaf9b7ec366dc82733c00bec1c4d50d701d0ebc 38700 postgresql-18-pg-stat-kcache_2.3.1-1_amd64.deb
Files:
 9d3cad8fb70f1cb1820f0326e5494db5 2188 database optional pg-stat-kcache_2.3.1-1.dsc
 75f48de4585af3ee2203a15e65b30e75 24693 database optional pg-stat-kcache_2.3.1.orig.tar.gz
 2b4288b14bac4e6cbed547e6eb216bb2 2768 database optional pg-stat-kcache_2.3.1-1.debian.tar.xz
 92f6a43b211470037a3ac357c4d67a8e 12023 database optional pg-stat-kcache_2.3.1-1_amd64.buildinfo
 efc19072ef8bc284c17c8a4660e01f0f 43200 debug optional postgresql-18-pg-stat-kcache-dbgsym_2.3.1-1_amd64.deb
 3ee82c1740970665a1b8f0fd9e235d4e 38700 database optional postgresql-18-pg-stat-kcache_2.3.1-1_amd64.deb
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAmjmffoACgkQTFprqxLS
p64CZw//dEDINc0YXYhye5m8kpsSOTN7EkWB7HSwVGRY47PAEB7Pyy7U3AmNcRL9
C71fGJ0y7FGwOKv5KcLGJ0Ma7dmARp+HGfGaJtMv/YWwetyCg9i2egAQ9ljk93Lj
eVRGBgZ+E+QqBB91UhslpTOYEmpyGT4Q6OtdOoocdkbh98Pp5Pqm/Yg5fW0rXAJP
kK9bTQ9NbpTQKO54Fmr1Rd91wrzY+8mhKGqz8RH2xuh/6lip3GYMg5Zwl9EG35Qw
esI888jlUkX89Pb6flGuZkheHYhojZC+Imr2EkmjlWKnysu8vuccHwe8xOhz1pdh
QAl/HV6kP0Z7aU8duMeyGy2VWlcmWIurr42PUZgmD9dpObnOacTfEpDBkCHp/iRj
M7mmfAjxJpmnXA4jX84Ntep5gSlXpBPweBsjYXKAwF0yRPMw1g9DHqYlyZHFn1IP
GlFeq9CRRJb8izfrCum9f7+0LqsGLd21YAe32pW7IxCrspzc9YGEJ2i/doR6Idml
RmrKge3iGLUAWYEuICZwCUYf/+D1y51hvl1mYCQx/6yc+qgbcTcIBdSyVXjRnswc
1DZaxdIgmQNb84kOOzkkCKylU9NqNsqMukBrPO9NTPqcVwHRKFDkkHo44/xRjU18
mnamzDSvv9hHoSfM3vOzgjja4uy8aYbsya935/600SSnAp8gvIc=
=jSZP
-----END PGP SIGNATURE-----