Source: tracker
Version: 3.4.2-3
Severity: serious
Tags: patch trixie sid

tracker fails to build from source when built with the nocheck build
profile. This is considered release-critical since the trixie release,
but not earlier. The failure is:

    ../meson.build:99:26: ERROR: python3 is missing modules: gi

The build system does not automatically disable building tests and thus
fails. I'm attaching a patch for your convenience.

Helmut
diff --minimal -Nru tracker-3.4.2/debian/changelog 
tracker-3.4.2/debian/changelog
--- tracker-3.4.2/debian/changelog      2023-06-27 18:09:03.000000000 +0200
+++ tracker-3.4.2/debian/changelog      2024-01-24 22:37:52.000000000 +0100
@@ -1,3 +1,10 @@
+tracker (3.4.2-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix nocheck FTBFS. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Wed, 24 Jan 2024 22:37:52 +0100
+
 tracker (3.4.2-3) unstable; urgency=medium
 
   [ Manuel A. Fernandez Montecelo ]
diff --minimal -Nru tracker-3.4.2/debian/rules tracker-3.4.2/debian/rules
--- tracker-3.4.2/debian/rules  2023-06-27 18:09:03.000000000 +0200
+++ tracker-3.4.2/debian/rules  2024-01-24 22:37:18.000000000 +0100
@@ -19,7 +19,8 @@
                -Dbash_completion_dir=/usr/share/bash-completion/completions \
                -Dsoup=soup3 \
                -Dsystemd_user_services=true \
-               -Dsystemd_user_services_dir=/usr/lib/systemd/user
+               -Dsystemd_user_services_dir=/usr/lib/systemd/user \
+               -Dtests=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),false,true)
 
 # Enforce tight shlibs dependencies
 override_dh_makeshlibs:

Reply via email to