* [bug#72361] [PATCH] build-system: linux-module: Fix cross-compiling.
@ 2024-07-30 9:12 Zheng Junjie
2024-07-30 14:58 ` Leo Famulari
2024-09-19 10:50 ` bug#72361: " Ludovic Courtès
0 siblings, 2 replies; 4+ messages in thread
From: Zheng Junjie @ 2024-07-30 9:12 UTC (permalink / raw)
To: 72361; +Cc: Leo Famulari, Wilko Meyer
* guix/build-system/linux-module.scm (linux-module-build-cross):
Remove %build-host-inputs's quote.
Change-Id: I58fbd5ad51a60115acb5852df133b88549f1bdcb
---
guix/build-system/linux-module.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/guix/build-system/linux-module.scm b/guix/build-system/linux-module.scm
index e46195b53c..0729ee2c40 100644
--- a/guix/build-system/linux-module.scm
+++ b/guix/build-system/linux-module.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2020 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2021 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -222,7 +223,7 @@ (define* (linux-module-build-cross
(use-modules #$@(sexp->gexp modules))
(define %build-host-inputs
- '#+(input-tuples->gexp build-inputs))
+ #+(input-tuples->gexp build-inputs))
(define %build-target-inputs
(append #$(input-tuples->gexp host-inputs)
base-commit: 4e92ed625fdeda90f1abc07b7fdd2d5d6f7c83cb
--
2.45.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#72361] [PATCH] build-system: linux-module: Fix cross-compiling.
2024-07-30 9:12 [bug#72361] [PATCH] build-system: linux-module: Fix cross-compiling Zheng Junjie
@ 2024-07-30 14:58 ` Leo Famulari
2024-07-30 15:35 ` Z572
2024-09-19 10:50 ` bug#72361: " Ludovic Courtès
1 sibling, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2024-07-30 14:58 UTC (permalink / raw)
To: Zheng Junjie; +Cc: Wilko Meyer, 72361
On Tue, Jul 30, 2024 at 05:12:31PM +0800, Zheng Junjie wrote:
> * guix/build-system/linux-module.scm (linux-module-build-cross):
> Remove %build-host-inputs's quote.
Thanks! Can you provide a command that reproduces the failure this is
fixing?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#72361] [PATCH] build-system: linux-module: Fix cross-compiling.
2024-07-30 14:58 ` Leo Famulari
@ 2024-07-30 15:35 ` Z572
0 siblings, 0 replies; 4+ messages in thread
From: Z572 @ 2024-07-30 15:35 UTC (permalink / raw)
To: Leo Famulari; +Cc: Wilko Meyer, 72361
[-- Attachment #1: Type: text/plain, Size: 1485 bytes --]
Leo Famulari <leo@famulari.name> writes:
> On Tue, Jul 30, 2024 at 05:12:31PM +0800, Zheng Junjie wrote:
>> * guix/build-system/linux-module.scm (linux-module-build-cross):
>> Remove %build-host-inputs's quote.
>
> Thanks! Can you provide a command that reproduces the failure this is
> fixing?
for example
guix build ddcci-driver-linux --target=aarch64-linux-gnu
```
error: in phase 'set-paths': uncaught exception:
wrong-type-arg "car" "Wrong type argument in position 1 (expecting pair): ~S" (quote) (quote)
phase `set-paths' failed after 0.0 seconds
Backtrace:
9 (primitive-load "/gnu/store/cr60lmlxn3657jkkyj4b0gkj6ic?")
In guix/build/gnu-build-system.scm:
908:2 8 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #)
In ice-9/boot-9.scm:
1752:10 7 (with-exception-handler _ _ #:unwind? _ # _)
In srfi/srfi-1.scm:
634:9 6 (for-each #<procedure 7ffff5f17100 at guix/build/gnu-b?> ?)
In ice-9/boot-9.scm:
1752:10 5 (with-exception-handler _ _ #:unwind? _ # _)
In guix/build/gnu-build-system.scm:
929:23 4 (_)
88:4 3 (set-paths #:target _ #:inputs _ #:native-inputs _ # _ # ?)
In srfi/srfi-1.scm:
917:20 2 (alist-delete "source" _ _)
In ice-9/boot-9.scm:
1685:16 1 (raise-exception _ #:continuable? _)
1685:16 0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure car: Wrong type argument in position 1 (expecting pair): quote
```
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#72361: [PATCH] build-system: linux-module: Fix cross-compiling.
2024-07-30 9:12 [bug#72361] [PATCH] build-system: linux-module: Fix cross-compiling Zheng Junjie
2024-07-30 14:58 ` Leo Famulari
@ 2024-09-19 10:50 ` Ludovic Courtès
1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2024-09-19 10:50 UTC (permalink / raw)
To: Zheng Junjie; +Cc: Wilko Meyer, 72361-done, Leo Famulari
Zheng Junjie <zhengjunjie@iscas.ac.cn> skribis:
> * guix/build-system/linux-module.scm (linux-module-build-cross):
> Remove %build-host-inputs's quote.
>
> Change-Id: I58fbd5ad51a60115acb5852df133b88549f1bdcb
Applied, thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-09-19 10:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-30 9:12 [bug#72361] [PATCH] build-system: linux-module: Fix cross-compiling Zheng Junjie
2024-07-30 14:58 ` Leo Famulari
2024-07-30 15:35 ` Z572
2024-09-19 10:50 ` bug#72361: " Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).