GNU bug report logs - #29168
[PATCH] gnu: linux: Fix kconfig selection.

Previous Next

Package: guix-patches;

Reported by: Mathieu Othacehe <m.othacehe <at> gmail.com>

Date: Mon, 6 Nov 2017 11:20:02 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <m.othacehe <at> gmail.com>

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 29168 in the body.
You can then email your comments to 29168 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 guix-patches <at> gnu.org:
bug#29168; Package guix-patches. (Mon, 06 Nov 2017 11:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mathieu Othacehe <m.othacehe <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 06 Nov 2017 11:20:03 GMT) Full text and rfc822 format available.

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

From: Mathieu Othacehe <m.othacehe <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Mathieu Othacehe <m.othacehe <at> gmail.com>
Subject: [PATCH] gnu: linux: Fix kconfig selection.
Date: Mon,  6 Nov 2017 12:19:10 +0100
* gnu/packages/linux.scm (make-linux-libre): When cross-compiling,
  "kconfig" field is in native-inputs variable. So config is always #f
  when cross-compiling linux.
---
 gnu/packages/linux.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 0ee2d60..40b3207 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -319,7 +319,7 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration."
              (setenv "EXTRA_VERSION" ,extra-version)
 
              (let ((build  (assoc-ref %standard-phases 'build))
-                   (config (assoc-ref inputs "kconfig")))
+                   (config (assoc-ref (or native-inputs inputs) "kconfig")))
 
                ;; Use a custom kernel configuration file or a default
                ;; configuration file.
@@ -368,7 +368,7 @@ It has been modified to remove all non-free binary blobs.")
 
 (define %intel-compatible-systems '("x86_64-linux" "i686-linux"))
 
-(define %linux-libre-version "4.13.11")
+(define %linux-libre-version "4.14.16")
 (define %linux-libre-hash "1x2q80s27qcp3skjhqb36xhhcnrjgsq49g7l1ggc3rb3f9cshm59")
 
 (define-public linux-libre
-- 
2.7.4





Information forwarded to guix-patches <at> gnu.org:
bug#29168; Package guix-patches. (Mon, 06 Nov 2017 11:36:01 GMT) Full text and rfc822 format available.

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

From: Mathieu Othacehe <m.othacehe <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: Re: [PATCH] gnu: linux: Fix kconfig selection.
Date: Mon, 06 Nov 2017 12:35:00 +0100
> -(define %linux-libre-version "4.13.11")
> +(define %linux-libre-version "4.14.16")

^
Oops this isn't part of the patch, sorry !

Mathieu




Information forwarded to guix-patches <at> gnu.org:
bug#29168; Package guix-patches. (Tue, 07 Nov 2017 16:48:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Mathieu Othacehe <m.othacehe <at> gmail.com>
Cc: 29168 <at> debbugs.gnu.org
Subject: Re: [bug#29168] [PATCH] gnu: linux: Fix kconfig selection.
Date: Tue, 07 Nov 2017 17:47:37 +0100
Mathieu Othacehe <m.othacehe <at> gmail.com> skribis:

> * gnu/packages/linux.scm (make-linux-libre): When cross-compiling,
>   "kconfig" field is in native-inputs variable. So config is always #f
>   when cross-compiling linux.
> ---
>  gnu/packages/linux.scm | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
> index 0ee2d60..40b3207 100644
> --- a/gnu/packages/linux.scm
> +++ b/gnu/packages/linux.scm
> @@ -319,7 +319,7 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration."
>               (setenv "EXTRA_VERSION" ,extra-version)
>  
>               (let ((build  (assoc-ref %standard-phases 'build))
> -                   (config (assoc-ref inputs "kconfig")))
> +                   (config (assoc-ref (or native-inputs inputs) "kconfig")))
>  
>                 ;; Use a custom kernel configuration file or a default
>                 ;; configuration file.

This part LGTM!

Thanks,
Ludo’.




Reply sent to Mathieu Othacehe <m.othacehe <at> gmail.com>:
You have taken responsibility. (Tue, 07 Nov 2017 17:17:02 GMT) Full text and rfc822 format available.

Notification sent to Mathieu Othacehe <m.othacehe <at> gmail.com>:
bug acknowledged by developer. (Tue, 07 Nov 2017 17:17:02 GMT) Full text and rfc822 format available.

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

From: Mathieu Othacehe <m.othacehe <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 29168-done <at> debbugs.gnu.org
Subject: Re: [bug#29168] [PATCH] gnu: linux: Fix kconfig selection.
Date: Tue, 07 Nov 2017 18:16:40 +0100
> This part LGTM!

Thanks, pushed !

Mathieu




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 06 Dec 2017 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 254 days ago.

Previous Next


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