unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Oleg Pykhalov <go.wigust@gmail.com>, 52282@debbugs.gnu.org
Subject: bug#52282: linux modules does not support inferior kernel
Date: Sat, 04 Dec 2021 20:19:53 +0000	[thread overview]
Message-ID: <5745fccbe4a7d902b3b4517f37042dbcb5e46a48.camel@telenet.be> (raw)
In-Reply-To: <87o85wxjd3.fsf@gmail.com>

Oleg Pykhalov schreef op za 04-12-2021 om 22:25 [+0300]:
> Hi Guix,
> 
> I cannot build a system after adding '(kernel-loadable-modules (list
> vendor-reset-linux-module))' to the Guix system config. [...]

Are you using a linux module package with #:linux some-linux-via-an-
inferior? If so, the likely cause is this code from (guix build-system
linux-module):

(define* (lower [...])
  [...]
  ,@(package-native-inputs linux)
  [...])

Currently, inferior packages aren't packages, so this fails with

In procedure %package-native-inputs-real: Wrong type argument:
> #<inferior-package linux@5.14.15 7fc8055619f0>

The solution would be to use inferior-package-native-inputs when linux
is an inferior package. (Search for inferior-package? in the source
code.)

Greetings,
Maxime





  reply	other threads:[~2021-12-04 20:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-04 19:25 bug#52282: linux modules does not support inferior kernel Oleg Pykhalov
2021-12-04 20:19 ` Maxime Devos [this message]
2021-12-04 20:20   ` Maxime Devos
2021-12-05 13:22   ` Oleg Pykhalov
2021-12-05 14:18     ` Maxime Devos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5745fccbe4a7d902b3b4517f37042dbcb5e46a48.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=52282@debbugs.gnu.org \
    --cc=go.wigust@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).