Source: createrepo-c Version: 0.17.3-5 Severity: serious Tags: ftbfs Justification: FTBFS
Dear maintainer, During a test rebuild, createrepo-c failed to rebuild. ------------------------------------------------------------------------------- [...] 2: Working Directory: /<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/tests/python/tests 2: Test timeout computed to be: 10000000 1: Number of fails: 0 1/2 Test #1: test_main ........................ Passed 0.01 sec 2: ....................C_CREATEREPOLIB-Message: 20:06:40.948: type group added to list from path: /<<PKGBUILDDIR>>/tests/testdata/repo_with_additional_metadata/repodata/04460bfaf6cb5af6b0925d8c99401a44e5192d287796aed4cced5f7ce881761f-comps.f20.xml 2: C_CREATEREPOLIB-Message: 20:06:40.948: type group_gz added to list from path: /<<PKGBUILDDIR>>/tests/testdata/repo_with_additional_metadata/repodata/f9d860ddcb64fbdc88a9b71a14ddb9f5670968d5dd3430412565c13d42b6804d-comps.f20.xml.gz 2: C_CREATEREPOLIB-Message: 20:06:40.948: type group_gz_zck added to list from path: /<<PKGBUILDDIR>>/tests/testdata/repo_with_additional_metadata/repodata/2bbdf70c4394e71c2d3905c143d460009d04359de5a90b72b47cdb9dbdcc079d-comps.f20.xml.gz.zck 2: C_CREATEREPOLIB-Message: 20:06:40.948: type group_zck added to list from path: /<<PKGBUILDDIR>>/tests/testdata/repo_with_additional_metadata/repodata/2bbdf70c4394e71c2d3905c143d460009d04359de5a90b72b47cdb9dbdcc079d-comps.f20.xml.zck 2: C_CREATEREPOLIB-Message: 20:06:40.948: type modules added to list from path: /<<PKGBUILDDIR>>/tests/testdata/repo_with_additional_metadata/repodata/4fbad65c641f4f8fb3cec9b1672fcec2357443e1ea6e93541a0bb559c7dc9238-modules.yaml.gz 2: C_CREATEREPOLIB-Message: 20:06:40.948: type modules_zck added to list from path: /<<PKGBUILDDIR>>/tests/testdata/repo_with_additional_metadata/repodata/cb0f4b5df8268f248158e50d66ee1565591bca23ee2dbd84ae9c457962fa3122-modules.yaml.gz.zck 2: C_CREATEREPOLIB-Message: 20:06:40.948: type updateinfo added to list from path: /<<PKGBUILDDIR>>/tests/testdata/repo_with_additional_metadata/repodata/88514679cb03d8f51e850ad3639c089f899e83407a2380ef9e62873a8eb1db13-updateinfo_01.xml.gz 2: C_CREATEREPOLIB-Message: 20:06:40.948: type updateinfo_zck added to list from path: /<<PKGBUILDDIR>>/tests/testdata/repo_with_additional_metadata/repodata/0219a2f1f9f32af6b7873905269ac1bc27b03e0caf3968c929a49e5a939e8935-updateinfo_01.xml.gz.zck 2: ....... 2: (process:2121): C_CREATEREPOLIB-WARNING **: 20:06:40.966: read_header: Fopen of this_foo_pkg_should_not_exists.rpm failed No such file or directory 2: error: ./: read failed: Is a directory (21) 2: 2: 2: (process:2121): C_CREATEREPOLIB-WARNING **: 20:06:40.966: read_header: rpmReadPackageFile() error 2: 2: (process:2121): C_CREATEREPOLIB-WARNING **: 20:06:40.966: read_header: rpmReadPackageFile() error 2: . 2: (process:2121): C_CREATEREPOLIB-WARNING **: 20:06:40.967: read_header: Fopen of this_foo_pkg_should_not_exists.rpm failed No such file or directory 2: error: ./: read failed: Is a directory (21) 2: 2: 2: (process:2121): C_CREATEREPOLIB-WARNING **: 20:06:40.967: read_header: rpmReadPackageFile() error 2: 2: (process:2121): C_CREATEREPOLIB-WARNING **: 20:06:40.967: read_header: rpmReadPackageFile() error 2: ................................................................................. 2: ---------------------------------------------------------------------- 2: Ran 109 tests in 0.342s 2: 2: OK 2/2 Test #2: test_python ...................... Passed 0.59 sec 100% tests passed, 0 tests failed out of 2 Total Test time (real) = 0.60 sec make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu' debian/rules execute_after_dh_auto_test make[1]: Entering directory '/<<PKGBUILDDIR>>' env \ PYTHONPATH='obj-aarch64-linux-gnu/src/python' \ PATH="/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/src:$PATH" \ LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/src' \ python3 -B '/<<PKGBUILDDIR>>/debian/tests/repotest.py' --source '/<<PKGBUILDDIR>>/debian/tests/pkg/foo-0.1.0' --spec '/<<PKGBUILDDIR>>/debian/tests/pkg/foo.spec' 8130556 4 drwxr-xr-x 5 debusine-worker sbuild 4096 Dec 27 20:06 /tmp/repotest.afrdhqth/rpmbuild 8130620 4 drwxr-xr-x 2 debusine-worker sbuild 4096 Dec 27 20:06 /tmp/repotest.afrdhqth/rpmbuild/SOURCES 8130623 4 -rw-r--r-- 1 debusine-worker sbuild 498 Dec 27 20:06 /tmp/repotest.afrdhqth/rpmbuild/SOURCES/foo-0.1.0.tar.gz 8130558 4 drwxr-xr-x 2 debusine-worker sbuild 4096 Dec 27 20:06 /tmp/repotest.afrdhqth/rpmbuild/BUILDROOT 8130557 4 drwxr-xr-x 2 debusine-worker sbuild 4096 Dec 27 20:06 /tmp/repotest.afrdhqth/rpmbuild/BUILD error: Unable to open sqlite database /var/lib/rpm/rpmdb.sqlite: unable to open database file error: cannot open Packages index using sqlite - Operation not permitted (1) error: cannot open Packages database in /var/lib/rpm Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.wPhutH + umask 022 + cd /tmp/repotest.afrdhqth/rpmbuild/BUILD/foo-0.1.0-build + test -d /tmp/repotest.afrdhqth/rpmbuild/BUILD/foo-0.1.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /tmp/repotest.afrdhqth/rpmbuild/BUILD/foo-0.1.0-build + /usr/bin/rm -rf /tmp/repotest.afrdhqth/rpmbuild/BUILD/foo-0.1.0-build + /usr/bin/mkdir -p /tmp/repotest.afrdhqth/rpmbuild/BUILD/foo-0.1.0-build + /usr/bin/mkdir -p /tmp/repotest.afrdhqth/rpmbuild/BUILD/foo-0.1.0-build/SPECPARTS + RPM_EC=0 + jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kx0KGi + umask 022 + cd /tmp/repotest.afrdhqth/rpmbuild/BUILD/foo-0.1.0-build + cd /tmp/repotest.afrdhqth/rpmbuild/BUILD/foo-0.1.0-build + rm -rf foo-0.1.0 + /usr/lib/rpm/rpmuncompress -x /tmp/repotest.afrdhqth/rpmbuild/SOURCES/foo-0.1.0.tar.gz + STATUS=0 + [ 0 -ne 0 ] + cd foo-0.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 + jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eGdzve + umask 022 + cd /tmp/repotest.afrdhqth/rpmbuild/BUILD/foo-0.1.0-build + cd foo-0.1.0 + make -j16 DEBUGINFOD_URLS=https://debuginfod.example.com make[2]: Entering directory '/tmp/repotest.afrdhqth/rpmbuild/BUILD/foo-0.1.0-build/foo-0.1.0' cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -specs=/usr/share/debhelper/dh_package_notes/debian-package-notes.specs foo.c -o foo make[2]: Leaving directory '/tmp/repotest.afrdhqth/rpmbuild/BUILD/foo-0.1.0-build/foo-0.1.0' + RPM_EC=0 + jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Os8M3X + umask 022 + cd /tmp/repotest.afrdhqth/rpmbuild/BUILD/foo-0.1.0-build + /usr/bin/rm -rf /tmp/repotest.afrdhqth/rpmbuild/BUILD/foo-0.1.0-build/BUILDROOT + /usr/bin/mkdir -p /tmp/repotest.afrdhqth/rpmbuild/BUILD/foo-0.1.0-build + /usr/bin/mkdir /tmp/repotest.afrdhqth/rpmbuild/BUILD/foo-0.1.0-build/BUILDROOT + cd foo-0.1.0 + /usr/bin/make install DESTDIR=/tmp/repotest.afrdhqth/rpmbuild/BUILD/foo-0.1.0-build/BUILDROOT INSTALL=/usr/bin/install -p make[2]: Entering directory '/tmp/repotest.afrdhqth/rpmbuild/BUILD/foo-0.1.0-build/foo-0.1.0' mkdir -p /tmp/repotest.afrdhqth/rpmbuild/BUILD/foo-0.1.0-build/BUILDROOT/usr/bin install -m 755 foo /tmp/repotest.afrdhqth/rpmbuild/BUILD/foo-0.1.0-build/BUILDROOT/usr/bin/foo install -m 755 foosetup.pl /tmp/repotest.afrdhqth/rpmbuild/BUILD/foo-0.1.0-build/BUILDROOT/usr/bin/foosetup make[2]: Leaving directory '/tmp/repotest.afrdhqth/rpmbuild/BUILD/foo-0.1.0-build/foo-0.1.0' + /usr/bin/find-debuginfo -j16 --build-id-seed 0.1.0-1 --unique-debug-suffix -0.1.0-1.aarch64 --unique-debug-src-base foo-0.1.0-1.aarch64 /tmp/repotest.afrdhqth/rpmbuild/BUILD/foo-0.1.0-build/foo-0.1.0 find-debuginfo: starting Extracting debug info from 1 files /usr/bin/find-debuginfo: line 343: eu-strip: command not found error: Bad exit status from /var/tmp/rpm-tmp.Os8M3X (%install) RPM build errors: Unable to open sqlite database /var/lib/rpm/rpmdb.sqlite: unable to open database file cannot open Packages index using sqlite - Operation not permitted (1) cannot open Packages database in /var/lib/rpm Bad exit status from /var/tmp/rpm-tmp.Os8M3X (%install) Using temporary directory /tmp/repotest.afrdhqth Source archive: /tmp/repotest.afrdhqth/foo-0.1.0.tar.gz RPM directory structure at /tmp/repotest.afrdhqth/rpmbuild rpmbuild failed: Command '['rpmbuild', '-ba', '-D_topdir /tmp/repotest.afrdhqth/rpmbuild', '--', PosixPath('/<<PKGBUILDDIR>>/debian/tests/pkg/foo.spec')]' returned non-zero exit status 1. make[1]: *** [debian/rules:19: execute_after_dh_auto_test] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:13: binary-arch] Error 2 dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2024-12-27T20:06:51Z ------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here (for the next 30 days): https://debusine.debian.net/artifact/1137046/ About the archive rebuild: The build was made on debusine.debian.net, on arm64 using sbuild. You can find the build task here: https://debusine.debian.net/work-request/68743/ If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks, Stefano