#1151137 createrepo-c: FTBFS: 2 - test_python (BAD_COMMAND)

#1151137#5
Date:
2026-10-17 13:37:57 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/202610/

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:createrepo-c, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
50% tests passed, 1 tests failed out of 2

Total Test time (real) =   0.00 sec

The following tests FAILED:
	  2 - test_python (BAD_COMMAND)
Errors while running CTest
make[1]: *** [Makefile:74: test] Error 8
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_test: error: cd obj-x86_64-linux-gnu && make -j2 test ARGS\+=--verbose ARGS\+=-j2 returned exit code 2
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1151137#10
Date:
2026-10-18 13:13:09 UTC
From:
To:
Hi Santiago, Peter,

Thank you for the report. I have pushed a backport of the upstream fix
for this FTBFS to debian/master:

https://salsa.debian.org/pkg-rpm-team/createrepo-c/-/commit/cb8f87bccda2378b848b2ab91706e86b40c81a3a

The generated run_unittests.sh lacks a shebang. With libuv 1.53.0,
CTest cannot start it and reports an exec format error before Python
runs. Adding #!/bin/sh fixes the launcher. The upstream fix is:

https://github.com/rpm-software-management/createrepo_c/commit/6c68080d522d1254aa792f84c5f5220aa3a081dc

The updated 1.2.1-3 candidate passes normal and nocheck sbuilds on
unstable/amd64 with CMake 4.3.4-1 and libuv 1.53.0-1. The normal build
runs 127 C cases, 136 Python tests and repotest. Both autopkgtests,
repotest and the installed C consumer, pass. Lintian 2.142.0 on source
and binaries reports no errors or warnings.

The candidate remains UNRELEASED pending sponsor review and upload.
Its changelog includes Closes: #1151137. I am leaving this bug open
until the corrected package is accepted into the Debian archive.

Best regards,
Federico

#1151137#15
Date:
2026-10-18 18:20:22 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
createrepo-c, 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 1151137@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Pentchev <roam@debian.org> (supplier of updated createrepo-c 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: Sun, 18 Oct 2026 20:53:45 +0300
Source: createrepo-c
Architecture: source
Version: 1.2.1-3
Distribution: unstable
Urgency: medium
Maintainer: RPM packaging team <team+pkg-rpm@tracker.debian.org>
Changed-By: Peter Pentchev <roam@debian.org>
Closes: 1143591 1151137
Changes:
 createrepo-c (1.2.1-3) unstable; urgency=medium
 .
   [ Peter Pentchev ]
   * Team upload.
   * Declare compliance with Policy 4.7.4 with no changes.
   * Switch back to debhelper-compat now that debhelper 14 is out.
   * Salsa CI:
     - drop the build-twice job, debrebuild does that now
     - run the `debputy reformat` test here, not as an autopkgtest
     - also test the nocheck build profile
   * Remove myself from the Uploaders list; thanks, Federico Molara, for
     taking over this package, too.
 .
   [ Federico Molara ]
   * Adopt the package within the RPM packaging team and add myself to
     Uploaders. Closes: #1143591
   * Build the upstream C test executables before running the test suite.
   * Fix the library directory in pkg-config metadata so C consumers link
     successfully.
   * Add an autopkgtest that compiles, links and runs a C library consumer.
   * Backport the upstream Python test runner shebang fix to prevent a
     build failure with libuv 1.53.0. Closes: #1151137
Checksums-Sha1:
 06a2cf5ebe3b08b7ffbc999eff8354d9638a9d0e 2977 createrepo-c_1.2.1-3.dsc
 bcd69a3f7868241028b55a51a46c116bbe996eda 15208 createrepo-c_1.2.1-3.debian.tar.xz
 42328eacd869c886fa2b69aa6626d64abbcc4006 936596 createrepo-c_1.2.1-3.git.tar.xz
 4397b4e35a012a36b7b56411eec0196938e7b9cd 17744 createrepo-c_1.2.1-3_source.buildinfo
Checksums-Sha256:
 671be25ffe5e464f68336f8abca20a0efb00f06e9de9fee8ea4f4bbb08bdeff2 2977 createrepo-c_1.2.1-3.dsc
 11600cea2c72d651613ee77552d03f22c18d034976cc8e747ea242f45633e091 15208 createrepo-c_1.2.1-3.debian.tar.xz
 c0e2f664369074795e59ff2a7615beb1df2e9e3e796d6918d61a62c245f01f69 936596 createrepo-c_1.2.1-3.git.tar.xz
 718b0d917d61073920ce3a21242225aebed2ea8a055a9943b97088c3c82fb3d6 17744 createrepo-c_1.2.1-3_source.buildinfo
Files:
 6bbd1b011f8d24f6c9df9b582182e23c 2977 utils optional createrepo-c_1.2.1-3.dsc
 a1475a10397bbe0670759a52e8aea64e 15208 utils optional createrepo-c_1.2.1-3.debian.tar.xz
 30df5766ede16d23948cce40f1911a15 936596 utils None createrepo-c_1.2.1-3.git.tar.xz
 d7255fa2b1cc42a7707fec53afec01c0 17744 utils optional createrepo-c_1.2.1-3_source.buildinfo
Git-Tag-Info: tag=d9e379f4daedfe72a49e5f7ecef994b53b76b6d5 fp=2ee7a7a517fc124cf115c354651eefb02527df13
Git-Tag-Tagger: Peter Pentchev <roam@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmrVCREACgkQYG0ITkaD
wHnPWw/9HweX+3mg6tMloXxHrL2cMmtf7PP+yX9yIzuzJRwBTy6p7dFkvuGGj+0U
nZocGk6PiWCF5bpPTGbQjwKQ4t+y6SniKvUrypx2WGtb1FJyr8fh5u+UkhuQZwXI
08M/h+yZpGXc0HC+BEKHEMGjPyaSoPOttTFtRJqzj9OYO6U5VMG8+FwqOxanYKRo
pML3AGzCmHo/StR5VYjqmyInR3PYB1R7XhR5j0bv9ySirnCh37tGBF1YuSeDCIpY
kbtnIfR/fvnH/KeHm88xPJCjx+RrSWiNDl9JMfEuvQgxnbAQ5Ie0n65CVuezERZ7
FtZleRf7FJZvAGYlU5WY24UFEVGY5M/J1qYmYD14HxC9fGmcCTdajJjEgVr76IuU
iBBAGPcxNfT+4QCP/8zs3g2DPIGg0FyDqnWjw3N7bWq+wJ/jU4V2fbINKS9zkREA
d0mwkf6MNp+t1jGTiiCFRl3t9Kl1qhRVhfqF02qeTbDGq1OkjvuRX67s6fnD0jb+
5sCH1MK4HO6kKjqtvDJ8Ob/ENEHvbQC75IWHQ5ypqHJqqnbUM48oNchGlaFqsYcv
eR/XF4JvghPqEQ4EQC8gMnsyCZim73BgtWBl+rbBqCGZz6fqPvldZ9V7oDHxnX0x
It6Q7Yca/I7vRo5qDS8vRrYlFbIUhxDRwERF8Mftf9zl0ILUBro=
=fKcJ
-----END PGP SIGNATURE-----