GNU bug report logs -
#61780
[PATCH 0/3] Fix Tracker and update it
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61780 in the body.
You can then email your comments to 61780 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#61780
; Package
guix-patches
.
(Sat, 25 Feb 2023 08:14:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Liliana Marie Prikler <liliana.prikler <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 25 Feb 2023 08:14:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi Guix,
I noticed that the tracker3 command line utility which ships with our
tracker package is a little broken. I decided to fix the issue behind
it and also update the package alongside.
I'm currently running the builds, but since more than 100 packages
appear to be affected, I'll only do native builds. Let's cross our
fingers that CI also thinks it's fine :)
Cheers
Liliana Marie Prikler (3):
gnu: tracker: Don't wrap binaries in libexec/tracker3 directory.
gnu: tracker: Use G-Expressions in arguments.
gnu: tracker: Update to 3.4.2.
gnu/packages/gnome.scm | 86 ++++++++++++++++++++++++------------------
1 file changed, 49 insertions(+), 37 deletions(-)
base-commit: ea2fa86f31a83195ac789a6d92bcaee8e53e4397
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61780
; Package
guix-patches
.
(Sat, 25 Feb 2023 08:54:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 61780 <at> debbugs.gnu.org (full text, mbox):
These binaries are mere symlinks to the already wrapped tracker command.
They are used in a command lookup via argv[0], which wrapping them breaks.
* gnu/packages/gnome.scm (tracker)[#:phases]: Add ‘unwrap-libexec’.
---
gnu/packages/gnome.scm | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index ff53781b7c..dd9b80ea67 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9707,7 +9707,18 @@ (define-public tracker
;; Some tests expect to write to $HOME.
(setenv "HOME" "/tmp")
(apply invoke "dbus-run-session" "--" "meson" "test"
- "--print-errorlogs" test-options)))))))
+ "--print-errorlogs" test-options))))
+ (add-after 'glib-or-gtk-wrap 'unwrap-libexec
+ (lambda* (#:key outputs #:allow-other-keys)
+ (with-directory-excursion (string-append (assoc-ref outputs "out")
+ "/libexec/tracker3")
+ (for-each
+ (lambda (f)
+ (let ((real (string-append "." (basename f) "-real")))
+ (when (file-exists? real)
+ (delete-file f)
+ (rename-file real f))))
+ (find-files "."))))))))
(native-inputs
(list gettext-minimal
`(,glib "bin")
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61780
; Package
guix-patches
.
(Sat, 25 Feb 2023 08:54:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 61780 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/gnome.scm (tracker)[arguments]: Change to list of
G-Expressions. Re-indent.
---
gnu/packages/gnome.scm | 93 +++++++++++++++++++++---------------------
1 file changed, 47 insertions(+), 46 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index dd9b80ea67..00d4190727 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9673,52 +9673,53 @@ (define-public tracker
"0r144kdqxdzs51qn495vablzf1zxkhkk6imrlrzj9wiqwc2gg520"))))
(build-system meson-build-system)
(arguments
- `(#:glib-or-gtk? #t
- #:test-options (list ,@(if (target-riscv64?)
- `("--timeout-multiplier" "5")
- '()))
- #:configure-flags
- ;; Otherwise, the RUNPATH will lack the final path component.
- (list (string-append "-Dc_link_args=-Wl,-rpath="
- (assoc-ref %outputs "out") "/lib:"
- (assoc-ref %outputs "out") "/lib/tracker-3.0")
- "-Ddocs=false"
- "-Dsystemd_user_services=false")
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-paths
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "utils/trackertestutils/__main__.py"
- (("/bin/bash")
- (search-input-file inputs "bin/bash")))))
- (add-before 'configure 'set-shell
- (lambda _
- (setenv "SHELL" (which "bash"))))
- (add-before 'configure 'fix-paths
- (lambda* (#:key inputs #:allow-other-keys)
- (let* ((manpage "/etc/asciidoc/docbook-xsl/manpage.xsl")
- (file (search-input-file inputs manpage)))
- (substitute* "docs/manpages/meson.build"
- (("/etc/asciidoc[^']+")
- file)))))
- (replace 'check
- (lambda* (#:key tests? test-options #:allow-other-keys)
- (when tests?
- ;; Some tests expect to write to $HOME.
- (setenv "HOME" "/tmp")
- (apply invoke "dbus-run-session" "--" "meson" "test"
- "--print-errorlogs" test-options))))
- (add-after 'glib-or-gtk-wrap 'unwrap-libexec
- (lambda* (#:key outputs #:allow-other-keys)
- (with-directory-excursion (string-append (assoc-ref outputs "out")
- "/libexec/tracker3")
- (for-each
- (lambda (f)
- (let ((real (string-append "." (basename f) "-real")))
- (when (file-exists? real)
- (delete-file f)
- (rename-file real f))))
- (find-files "."))))))))
+ (list
+ #:glib-or-gtk? #t
+ #:test-options `(list ,@(if (target-riscv64?)
+ `("--timeout-multiplier" "5")
+ '()))
+ #:configure-flags
+ ;; Otherwise, the RUNPATH will lack the final path component.
+ #~(list (string-append "-Dc_link_args=-Wl,-rpath="
+ #$output "/lib:"
+ #$output "/lib/tracker-3.0")
+ "-Ddocs=false"
+ "-Dsystemd_user_services=false")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "utils/trackertestutils/__main__.py"
+ (("/bin/bash")
+ (search-input-file inputs "bin/bash")))))
+ (add-before 'configure 'set-shell
+ (lambda _
+ (setenv "SHELL" (which "bash"))))
+ (add-before 'configure 'fix-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let* ((manpage "/etc/asciidoc/docbook-xsl/manpage.xsl")
+ (file (search-input-file inputs manpage)))
+ (substitute* "docs/manpages/meson.build"
+ (("/etc/asciidoc[^']+")
+ file)))))
+ (replace 'check
+ (lambda* (#:key tests? test-options #:allow-other-keys)
+ (when tests?
+ ;; Some tests expect to write to $HOME.
+ (setenv "HOME" "/tmp")
+ (apply invoke "dbus-run-session" "--" "meson" "test"
+ "--print-errorlogs" test-options))))
+ (add-after 'glib-or-gtk-wrap 'unwrap-libexec
+ (lambda* (#:key outputs #:allow-other-keys)
+ (with-directory-excursion (string-append (assoc-ref outputs "out")
+ "/libexec/tracker3")
+ (for-each
+ (lambda (f)
+ (let ((real (string-append "." (basename f) "-real")))
+ (when (file-exists? real)
+ (delete-file f)
+ (rename-file real f))))
+ (find-files "."))))))))
(native-inputs
(list gettext-minimal
`(,glib "bin")
--
2.39.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#61780
; Package
guix-patches
.
(Sat, 25 Feb 2023 08:54:03 GMT)
Full text and
rfc822 format available.
Message #14 received at 61780 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/gnome.scm (tracker): Update to 3.4.2.
---
gnu/packages/gnome.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 00d4190727..47d895a8c7 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9662,7 +9662,7 @@ (define-public gnome-autoar
(define-public tracker
(package
(name "tracker")
- (version "3.3.3")
+ (version "3.4.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/tracker/"
@@ -9670,7 +9670,7 @@ (define-public tracker
"tracker-" version ".tar.xz"))
(sha256
(base32
- "0r144kdqxdzs51qn495vablzf1zxkhkk6imrlrzj9wiqwc2gg520"))))
+ "0c8ppm03b9r6lyxalama8sjmw3km4jibbswqra7qf17pli1g2vaf"))))
(build-system meson-build-system)
(arguments
(list
--
2.39.1
Reply sent
to
Liliana Marie Prikler <liliana.prikler <at> gmail.com>
:
You have taken responsibility.
(Sun, 05 Mar 2023 08:58:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Liliana Marie Prikler <liliana.prikler <at> gmail.com>
:
bug acknowledged by developer.
(Sun, 05 Mar 2023 08:58:01 GMT)
Full text and
rfc822 format available.
Message #19 received at 61780-done <at> debbugs.gnu.org (full text, mbox):
Am Samstag, dem 25.02.2023 um 09:09 +0100 schrieb Liliana Marie
Prikler:
> Hi Guix,
>
> I noticed that the tracker3 command line utility which ships with our
> tracker package is a little broken. I decided to fix the issue
> behind it and also update the package alongside.
>
> I'm currently running the builds, but since more than 100 packages
> appear to be affected, I'll only do native builds. Let's cross our
> fingers that CI also thinks it's fine :)
CI does report some newly failing builds, but those new failures appear
to already have existed (???)
Anyway, I pushed this series now.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 02 Apr 2023 11:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 42 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.