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

Package:
src:ip4r
Source:
src:ip4r
Submitter:
Santiago Vila
Date:
2025-10-09 18:03:12 UTC
Severity:
normal
Tags:
#1117265#5
Date:
2025-10-05 12:36:51 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:ip4r, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with pgxs
   dh_auto_clean --buildsystem=pgxs
	pg_buildext clean build-%v postgresql-%v-ip4r
rm -rf build-*/
rm -rf debian/postgresql-*-ip4r/ debian/postgresql-*-ip4r.substvars
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f ip4r.so   libip4r.a  libip4r.pc
rm -f src/ip4r_module.o src/ip4r.o src/ip6r.o src/ipaddr.o src/iprange.o src/raw_io.o src/ip4r_module.bc src/ip4r.bc src/ip6r.bc src/ipaddr.bc src/iprange.bc src/raw_io.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-11 21:24:08.000000000 +0000
+++ debian/control.c4uk3d	2025-10-04 10:03:55.556320839 +0000
@@ -15,7 +15,7 @@
 Vcs-Git: https://salsa.debian.org/postgresql/ip4r.git
 Vcs-Browser: https://salsa.debian.org/postgresql/ip4r

#1117265#8
Date:
2025-10-08 13:13:26 UTC
From:
To:
Hello,

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

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1117265

#1117265#15
Date:
2025-10-09 18:00:15 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
ip4r, 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 1117265@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 ip4r 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 15:12:52 +0200
Source: ip4r
Binary: postgresql-18-ip4r postgresql-18-ip4r-dbgsym
Architecture: source amd64
Version: 2.4.2-4
Distribution: unstable
Urgency: medium
Maintainer: Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org>
Changed-By: Christoph Berg <myon@debian.org>
Description:
 postgresql-18-ip4r - IPv4 and IPv6 types for PostgreSQL 18
Closes: 1117265
Changes:
 ip4r (2.4.2-4) unstable; urgency=medium
 .
   * Upload for PostgreSQL 18. (Closes: #1117265)
   * Add ${postgresql:Breaks}.
   * debian/tests: Depend on postgresql-common-dev instead of 'make'.
Checksums-Sha1:
 2f944a48398ef9448b346628f06c2b80f819207f 2071 ip4r_2.4.2-4.dsc
 a6291219cc55e4417dcfca1ab1632e198c461969 4088 ip4r_2.4.2-4.debian.tar.xz
 722ebd793f41ce8755a933ca5037ae1cbb28018b 11909 ip4r_2.4.2-4_amd64.buildinfo
 11f4573ce4eea074c2d9fcb2bb149f7b39c33f54 215708 postgresql-18-ip4r-dbgsym_2.4.2-4_amd64.deb
 6677ca5a73b4882a30e9bc2b3cbff93a9c235d54 191088 postgresql-18-ip4r_2.4.2-4_amd64.deb
Checksums-Sha256:
 6446c94593c1fb3dc3e3a7e64b858ec03647877f07ff3970a216daecfec8ed30 2071 ip4r_2.4.2-4.dsc
 90b2de6d5be3325e9d6b7c8d1e2557922974bd4d6f0f7e68aaf840c0a3161f47 4088 ip4r_2.4.2-4.debian.tar.xz
 30a700d162f649de5bcdca5c0fce541e04f81dd95c23ca8699a2c92d2656ef40 11909 ip4r_2.4.2-4_amd64.buildinfo
 af11a7bb3941b9a1da0fc1afc9d16315b1af7e8624408433e8a30db4472b2a66 215708 postgresql-18-ip4r-dbgsym_2.4.2-4_amd64.deb
 fb8ece786ca7612f068bf3bb8c20250a375e39a55361f11a1bd180ff7ffc387d 191088 postgresql-18-ip4r_2.4.2-4_amd64.deb
Files:
 0dc619e030092d30b4fef71f9f6d441a 2071 misc optional ip4r_2.4.2-4.dsc
 7c60754d4f8c3b6188e740d797fc4ff8 4088 misc optional ip4r_2.4.2-4.debian.tar.xz
 bc36f9da0d2100090a465b8f7e9ff802 11909 misc optional ip4r_2.4.2-4_amd64.buildinfo
 9daa39f7528d0809da6c4f5f68d66bc8 215708 debug optional postgresql-18-ip4r-dbgsym_2.4.2-4_amd64.deb
 8fcfdecc8aae3a0cebdba8a82ad3ead8 191088 misc optional postgresql-18-ip4r_2.4.2-4_amd64.deb
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAmjmZd4ACgkQTFprqxLS
p66SXw//UyanODilseu8md2jJQvX3CrmZ1iA5qcqLAkoRPlY4935QrXdejSpJuyZ
Vm9b6qZUYhpUEAWPMZcyPeJmSIwN7KLB6ICnZ7Wbj8V99FpeMtxDIKNtngwkeFrk
MhwAgfUW7KEQZ6tH4+hia1Y7xVDs1JBgE7B1vixdqvmq/Bgy88YK+r4g2I3UvsHH
v642fARnC7zTcSV4wjWVcQikCV9jMm+VG7N/1umCdglM4/hF5a2D2SsHmPUQ8JkE
9yRB230KU1KanhDywzXSfdKU3OWANGOgb0jroX3fqPMG8mhdDvbS00DgXSUKEdGZ
KIDuvrOG7yiTb/8ekJP1K0PWErU8nVRAN51DDRjaLIxQ/qX+TapGq6mVBfNq5/Jp
LhepNL+YFDEqlLfuwQa6JsThtfvu4POHaFNYFiN5ASq9T4lR5qsX6KDZYcbzejrW
197L8ZtFd8OvivFSw/7Onv8zozGON2D06GDykMDcA/Z8k05vZRyEduVMUMxkAG9T
HbhaPh3T2xRzw5HKyqSAdSbpYYfprnU4mH0GxXr7NoTmT4GLEbj2gn0btWzxt+U7
5QKs6BC8ITPPncRX5gDKzJpwxexxFZCKqdQrb4qiRtNjPbx21aSZhOGbg5alrHLB
wSaBgdeECOPUxb9GP188C4pNFfcnK8kjlLc9kAfctcNOeOXR7MQ=
=gNGJ
-----END PGP SIGNATURE-----