Bug#993457: tracker-miners FTCBFS: requires native tracker-testutils

Helmut Grohne helmut at subdivi.de
Wed Sep 1 17:41:22 BST 2021


Source: tracker-miners
Version: 3.1.1-3
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

tracker-miners fails to cross build from source, because meson.build
requires native tracker-testutils. I'm not sure whether it really is
being used, but it is quite explicit about that.

As such, it cannot be annotated <!nocheck>, but beyond that I think that
since it is being run, the native one is needed.

Please consider applying the attached patch or improving upon it.

Helmut
-------------- next part --------------
diff --minimal -Nru tracker-miners-3.1.1/debian/changelog tracker-miners-3.1.1/debian/changelog
--- tracker-miners-3.1.1/debian/changelog	2021-08-31 04:49:52.000000000 +0200
+++ tracker-miners-3.1.1/debian/changelog	2021-09-01 18:36:51.000000000 +0200
@@ -1,3 +1,10 @@
+tracker-miners (3.1.1-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Require native tracker-testutils. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Wed, 01 Sep 2021 18:36:51 +0200
+
 tracker-miners (3.1.1-3) unstable; urgency=medium
 
   * Release to unstable
diff --minimal -Nru tracker-miners-3.1.1/debian/control tracker-miners-3.1.1/debian/control
--- tracker-miners-3.1.1/debian/control	2021-08-31 04:49:52.000000000 +0200
+++ tracker-miners-3.1.1/debian/control	2021-09-01 18:36:43.000000000 +0200
@@ -50,7 +50,7 @@
                python3-gi <!nocheck>,
                python3-tap <!nocheck>,
                shared-mime-info <!nocheck>,
-               tracker-test-utils <!nocheck>,
+               tracker-test-utils:native,
                systemd (>= 242) [linux-any],
 Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/gnome-team/tracker-miners
diff --minimal -Nru tracker-miners-3.1.1/debian/patches/cross.patch tracker-miners-3.1.1/debian/patches/cross.patch
--- tracker-miners-3.1.1/debian/patches/cross.patch	1970-01-01 01:00:00.000000000 +0100
+++ tracker-miners-3.1.1/debian/patches/cross.patch	2021-09-01 18:36:23.000000000 +0200
@@ -0,0 +1,11 @@
+--- tracker-miners-3.1.1.orig/meson.build
++++ tracker-miners-3.1.1/meson.build
+@@ -19,7 +19,7 @@ tracker_required = '3.1.0'
+ 
+ if get_option('tracker_core') == 'system'
+   tracker_sparql = dependency('tracker-sparql-3.0', version: '>=' + tracker_required, required: false)
+-  tracker_testutils = dependency('tracker-testutils-3.0', required: false)
++  tracker_testutils = dependency('tracker-testutils-3.0', required: false, native: true)
+ 
+   if not tracker_sparql.found() or not tracker_testutils.found()
+     error('Did not find the required versions of the Tracker core libraries ' +
diff --minimal -Nru tracker-miners-3.1.1/debian/patches/series tracker-miners-3.1.1/debian/patches/series
--- tracker-miners-3.1.1/debian/patches/series	2021-08-31 04:49:52.000000000 +0200
+++ tracker-miners-3.1.1/debian/patches/series	2021-09-01 18:36:18.000000000 +0200
@@ -3,3 +3,4 @@
 debian/Revert-build-Include-libdir-in-rpath.patch
 debian/tracker-extract-meson.build-Set-RPATH-for-the-extract-mod.patch
 seccomp-Allow-64bit-time-functions-on-32bit-systems.patch
+cross.patch


More information about the pkg-gnome-maintainers mailing list