Guix fails to build a system when specifying an inferior package for the kernel

  • Done
  • quality assurance status badge
Details
3 participants
  • Ludovic Courtès
  • Marius Bakke
  • pkill9
Owner
unassigned
Submitted by
pkill9
Severity
normal

Debbugs page

pkill9 wrote 5 years ago
(address . bug-guix@gnu.org)
20200419115345.6468b36a@runbox.com
I'm getting an error when trying to build a Guix system on the latest
Guix revision (commit ea6594e08e2724c64bc07724a07479fc1633dede):

```
Backtrace:
1 (primitive-load "/root/.config/guix/current/bin/guix")
In guix/ui.scm:
1936:12 0 (run-guix-command _ . _)

guix/ui.scm:1936:12: In procedure run-guix-command:
In procedure %package-replacement-real: Wrong type argument:
#<inferior-package linux@5.5.9 7f659c641150>
```

I can't find '%package-replacement-real' anywhere in the source.
Marius Bakke wrote 5 years ago
(name . pkill9)(address . pkill9@runbox.com)(address . 40713@debbugs.gnu.org)
87lfmrh8wx.fsf@devup.no
pkill9 <pkill9@runbox.com> writes:

Toggle quote (3 lines)
> I'm getting an error when trying to build a Guix system on the latest
> Guix revision (commit ea6594e08e2724c64bc07724a07479fc1633dede):

Can you provide a config.scm that reproduces this issue?
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl6cWZ8ACgkQoqBt8qM6
VPqlHwf+PbYLadtkmT7Moi6+N+FnbPzDXPLSgk2LoVAZyKKAH7l1J7vyqSNxmQUN
pL0C+KsVIw5INs9lPObgRVsVtN8GBLYFIDmacp6mRxUIxjC9XgTDrVJlAF3P1XLV
YgZfsTNTxKUFJfEG0oQZYTBGzTQHJobYmsclhhYpCFZA/jWY1NKjsdlSRZuIpWfd
tp0upYBCw0QDIVhPc484s1bEkhNOMw3xmByccXagHJ5EO9ffPlZGNE7ZtwLR4wDy
uNY5zFxNvU6gxEMkdwymxjAInVdgIFPAE5Jiw1iZcZGYRV2Zu3daf2rb8hYCY3cD
Mu317kYF9GrMoCcecNVpnPVDpMTg7Q==
=YeZb
-----END PGP SIGNATURE-----

pkill9 wrote 5 years ago
(name . Marius Bakke)(address . mbakke@fastmail.com)(address . 40713@debbugs.gnu.org)
20200419224620.38a724d0@runbox.com
Hi Marius,

Toggle quote (2 lines)
> Can you provide a config.scm that reproduces this issue?

Yes, I've attached a basic config.scm that reproduces the error.
(use-modules (gnu) (guix inferior) (guix channels) (srfi srfi-1)) ;for 'first' (define channels ;; This is the old revision from which we want to ;; extract guile-json. (list (channel (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") (commit "ea6594e08e2724c64bc07724a07479fc1633dede")))) (define inferior ;; An inferior representing the above revision. (inferior-for-channels channels)) (define inferior-linux (first (lookup-inferior-packages inferior "linux-libre"))) (define-public base-system-config (operating-system (kernel inferior-linux) (host-name "antelope") (timezone "Europe/London") (bootloader (bootloader-configuration (bootloader grub-efi-bootloader))) (file-systems %base-file-systems))) base-system-config
Ludovic Courtès wrote 5 years ago
(name . pkill9)(address . pkill9@runbox.com)(name . Marius Bakke)(address . mbakke@fastmail.com)(address . 40713-done@debbugs.gnu.org)
87pnc1zu4w.fsf@gnu.org
Hi,

pkill9 <pkill9@runbox.com> skribis:

Toggle quote (4 lines)
>> Can you provide a config.scm that reproduces this issue?
>
> Yes, I've attached a basic config.scm that reproduces the error.

Fixed in 71977a6c59460e029c91741c8b11f3a544a70486.

Thanks,
Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 40713@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 40713
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help