Looks like there was another issue, that only happens on sbuild/buildd
but not on pbuilder, a missing "-p" for mkdir in d/rules:

>    debian/rules override_dh_auto_test
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> mkdir '/<<PKGBUILDDIR>>/debian/tests-home'
> mkdir: cannot create directory ‘/<<PKGBUILDDIR>>/debian/tests-home’: File 
> exists
> make[1]: *** [debian/rules:52: override_dh_auto_test] Error 1

Uploaded a new NMU, full debdiff attached.

-- 
Kind regards,
Luca Boccassi
--- libdnf-0.69.0/debian/changelog	2023-01-08 09:08:51.000000000 +0000
+++ libdnf-0.69.0/debian/changelog	2023-11-03 19:22:17.000000000 +0000
@@ -1,3 +1,17 @@
+libdnf (0.69.0-2.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Use mkdir -p in override_dh_auto_test to fix FTBFS on buildds
+
+ -- Luca Boccassi <bl...@debian.org>  Fri, 03 Nov 2023 19:22:17 +0000
+
+libdnf (0.69.0-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Move python3 modules from /usr/lib/local/ (Closes: #1052915)
+
+ -- Luca Boccassi <bl...@debian.org>  Sun, 29 Oct 2023 15:57:28 +0000
+
 libdnf (0.69.0-2) unstable; urgency=medium
 
   * Set myself to maintainer
diff -Nru libdnf-0.69.0/debian/python3-hawkey.install libdnf-0.69.0/debian/python3-hawkey.install
--- libdnf-0.69.0/debian/python3-hawkey.install	2022-11-12 22:06:07.000000000 +0000
+++ libdnf-0.69.0/debian/python3-hawkey.install	2023-11-03 19:17:26.000000000 +0000
@@ -1 +1 @@
-usr/local/lib/python3.*/dist-packages/hawkey
+usr/lib/python3/dist-packages/hawkey
diff -Nru libdnf-0.69.0/debian/python3-libdnf.install libdnf-0.69.0/debian/python3-libdnf.install
--- libdnf-0.69.0/debian/python3-libdnf.install	2022-11-12 22:06:07.000000000 +0000
+++ libdnf-0.69.0/debian/python3-libdnf.install	2023-11-03 19:17:11.000000000 +0000
@@ -1 +1 @@
-usr/local/lib/python3.*/dist-packages/libdnf
+usr/lib/python3/dist-packages/libdnf
diff -Nru libdnf-0.69.0/debian/rules libdnf-0.69.0/debian/rules
--- libdnf-0.69.0/debian/rules	2022-11-12 22:05:59.000000000 +0000
+++ libdnf-0.69.0/debian/rules	2023-11-03 19:21:34.000000000 +0000
@@ -49,7 +49,7 @@
 	dh_auto_clean --builddirectory=build
 
 override_dh_auto_test:
-	mkdir '$(CURDIR)/debian/tests-home'
+	mkdir -p '$(CURDIR)/debian/tests-home'
 	LC_ALL=C HOME='$(CURDIR)/debian/tests-home' dh_auto_test --builddirectory=build -- ARGS='-V'
 
 override_dh_missing:

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to