unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 52667@debbugs.gnu.org
Subject: bug#52667: System reconfiguration fails to build linux-modules.drv
Date: Tue, 21 Dec 2021 23:38:44 +0100	[thread overview]
Message-ID: <87tuf1efn8.fsf@nckx> (raw)
In-Reply-To: <871r28uyc7.fsf@planete-kraus.eu>

[-- Attachment #1: Type: text/plain, Size: 1331 bytes --]

Vivien,

Thanks for the report!  Sorry it took me a while to get back to 
you.

As discussed in #guix, an immediate work-around is:

  (initrd-modules
    ;; This cannot be built as a module for linux-libre-lts.
    ((@ (srfi srfi-1) delete) "simplefb" %base-initrd-modules))

I'm not sure what to do going forward.  I see two reasonable 
solutions.  Perhaps there are more, and I welcome suggestions.

One is to provide a separate %base-initrd-modules-lts list that's 
equivalent to the snippet above.  It's… not great, but then 
linux-libre-lts itself isn't documented and people still seem to 
find it.  If someone were to document it, they could also add a 
note about modules.

A more straightforward route is to simply build in simplefb even 
for kernels 5.15 and beyond.  Apart from an (unmeasured) size 
increase of the base image, the main drawback here is that we lose 
our long-standing CONFIG_DRM_SIMPLEDRM=m due to a conflict:

- CONFIG_DRM_GEM_SHMEM_HELPER=y
- CONFIG_DRM_SIMPLEDRM=m
+ # CONFIG_DRM_SIMPLEDRM unset tristate: Simple framebuffer driver
- CONFIG_FB_SIMPLE=m
+ CONFIG_FB_SIMPLE=y tristate: Simple framebuffer support

When preparing <https://issues.guix.gnu.org/51619> I considered 
this a regression and hence bad, but maybe nobody cares…?

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

  reply	other threads:[~2021-12-21 22:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-19 20:35 bug#52667: System reconfiguration fails to build linux-modules.drv Vivien Kraus via Bug reports for GNU Guix
2021-12-21 22:38 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix [this message]
2021-12-21 23:00   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-12-22 18:28   ` Leo Famulari
2021-12-22 19:25     ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-12-22 19:27       ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-12-22 20:11       ` Leo Famulari
2021-12-28 22:26 ` Julien L.
2022-02-09 16:39 ` Leo Famulari

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=87tuf1efn8.fsf@nckx \
    --to=bug-guix@gnu.org \
    --cc=52667@debbugs.gnu.org \
    --cc=me@tobias.gr \
    /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).