GNU bug report logs -
#62094
[PATCH] gnu: gamin: fix riscv64 cross-compile.
Previous Next
Reported by: Z572 <873216071 <at> qq.com>
Date: Fri, 10 Mar 2023 13:09:01 UTC
Severity: normal
Tags: patch
Done: 宋文武 <iyzsong <at> envs.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Fri, 17 Mar 2023 19:04:38 +0800
with message-id <87pm971vw9.fsf <at> envs.net>
and subject line Re: bug#62094: [PATCH] gnu: gamin: fix riscv64 cross-compile.
has caused the debbugs.gnu.org bug report #62094,
regarding [PATCH] gnu: gamin: fix riscv64 cross-compile.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
62094: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62094
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
* gnu/packages/gnome.scm: (gamin): fix riscv64 cross-compile.
[arguments]: <#phases>: when target-riscv64? add replace-config.sub.
[native-inputs]: when target-riscv64? add config.
---
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 3705909742..0883f5442f 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -12252,7 +12252,7 @@ (define-public gamin
`(#:phases
(modify-phases %standard-phases
;; The 'config.sub' is too old to recognise aarch64.
- ,@(if (and=> (%current-target-system) target-aarch64?)
+ ,@(if (or (target-aarch64?) (target-riscv64?))
`((add-after 'unpack 'replace-config.sub
(lambda _
(delete-file "config.sub")
@@ -12294,7 +12294,7 @@ (define in-abstract-sockets-test? #f)
(list glib))
(native-inputs
`(("pkg-config" ,pkg-config)
- ,@(if (and=> (%current-target-system) target-aarch64?)
+ ,@(if (or (target-aarch64?) (target-riscv64?))
`(("config" ,config))
'())))
(home-page "https://people.gnome.org/~veillard/gamin/")
--
2.39.2
[Message part 3 (message/rfc822, inline)]
Z572 <873216071 <at> qq.com> writes:
> * gnu/packages/gnome.scm: (gamin): fix riscv64 cross-compile.
> [arguments]: <#phases>: when target-riscv64? add replace-config.sub.
> [native-inputs]: when target-riscv64? add config.
Pushed with commit message changed:
gnu: gamin: Fix cross-compilation to riscv64.
* gnu/packages/gnome.scm (gamin)
[arguments]<#:phases>: Apply 'replace-config.sub for riscv64 too.
[native-inputs]: Add config for riscv64 too.
Thank you!
This bug report was last modified 2 years and 66 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.