GNU bug report logs - #72361
[PATCH] build-system: linux-module: Fix cross-compiling.

Previous Next

Package: guix-patches;

Reported by: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>

Date: Tue, 30 Jul 2024 09:13:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72361 in the body.
You can then email your comments to 72361 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to leo <at> famulari.name, w <at> wmeyer.eu, guix-patches <at> gnu.org:
bug#72361; Package guix-patches. (Tue, 30 Jul 2024 09:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Zheng Junjie <zhengjunjie <at> iscas.ac.cn>:
New bug report received and forwarded. Copy sent to leo <at> famulari.name, w <at> wmeyer.eu, guix-patches <at> gnu.org. (Tue, 30 Jul 2024 09:13:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: guix-patches <at> gnu.org
Subject: [PATCH] build-system: linux-module: Fix cross-compiling.
Date: Tue, 30 Jul 2024 17:12:31 +0800
* 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 <at> gmail.com>
 ;;; Copyright © 2021 Ludovic Courtès <ludo <at> gnu.org>
 ;;; Copyright © 2021 Tobias Geerinckx-Rice <me <at> tobias.gr>
+;;; Copyright © 2024 Zheng Junjie <873216071 <at> 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





Information forwarded to guix-patches <at> gnu.org:
bug#72361; Package guix-patches. (Tue, 30 Jul 2024 15:00:02 GMT) Full text and rfc822 format available.

Message #8 received at 72361 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
Cc: Wilko Meyer <w <at> wmeyer.eu>, 72361 <at> debbugs.gnu.org
Subject: Re: [bug#72361] [PATCH] build-system: linux-module: Fix
 cross-compiling.
Date: Tue, 30 Jul 2024 10:58:59 -0400
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?




Information forwarded to guix-patches <at> gnu.org:
bug#72361; Package guix-patches. (Tue, 30 Jul 2024 15:36:02 GMT) Full text and rfc822 format available.

Message #11 received at 72361 <at> debbugs.gnu.org (full text, mbox):

From: Z572 <zhengjunjie <at> iscas.ac.cn>
To: Leo Famulari <leo <at> famulari.name>
Cc: Wilko Meyer <w <at> wmeyer.eu>, 72361 <at> debbugs.gnu.org
Subject: Re: [bug#72361] [PATCH] build-system: linux-module: Fix
 cross-compiling.
Date: Tue, 30 Jul 2024 23:35:18 +0800
[Message part 1 (text/plain, inline)]
Leo Famulari <leo <at> 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
```
[signature.asc (application/pgp-signature, inline)]

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Thu, 19 Sep 2024 10:51:01 GMT) Full text and rfc822 format available.

Notification sent to Zheng Junjie <zhengjunjie <at> iscas.ac.cn>:
bug acknowledged by developer. (Thu, 19 Sep 2024 10:51:02 GMT) Full text and rfc822 format available.

Message #16 received at 72361-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
Cc: Wilko Meyer <w <at> wmeyer.eu>, 72361-done <at> debbugs.gnu.org,
 Leo Famulari <leo <at> famulari.name>
Subject: Re: [bug#72361] [PATCH] build-system: linux-module: Fix
 cross-compiling.
Date: Thu, 19 Sep 2024 12:50:28 +0200
Zheng Junjie <zhengjunjie <at> 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!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 17 Oct 2024 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 301 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.