From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uAX6FTPxD2QZIAAASxT56A (envelope-from ) for ; Tue, 14 Mar 2023 04:59:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UJTsFTPxD2RFNAEA9RJhRA (envelope-from ) for ; Tue, 14 Mar 2023 04:59:47 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 30E0C24C0F for ; Tue, 14 Mar 2023 04:59:47 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pbvoW-0002iq-Hb; Mon, 13 Mar 2023 23:59:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pbvoV-0002ia-4c for bug-guix@gnu.org; Mon, 13 Mar 2023 23:59:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pbvoU-0007xu-8o for bug-guix@gnu.org; Mon, 13 Mar 2023 23:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pbvoU-000307-42 for bug-guix@gnu.org; Mon, 13 Mar 2023 23:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62174: Cannot use modules with an inferior kernel. Resent-From: Robby Zambito Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 14 Mar 2023 03:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62174 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 62174@debbugs.gnu.org X-Debbugs-Original-To: Guix Bugs Received: via spool by submit@debbugs.gnu.org id=B.167876632111481 (code B ref -1); Tue, 14 Mar 2023 03:59:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Mar 2023 03:58:41 +0000 Received: from localhost ([127.0.0.1]:35969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbvo9-0002z7-0f for submit@debbugs.gnu.org; Mon, 13 Mar 2023 23:58:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:36882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbvo6-0002yx-S1 for submit@debbugs.gnu.org; Mon, 13 Mar 2023 23:58:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pbvo6-0002hK-Kz for bug-guix@gnu.org; Mon, 13 Mar 2023 23:58:38 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pbvo4-0007sL-O4 for bug-guix@gnu.org; Mon, 13 Mar 2023 23:58:38 -0400 Received: (Authenticated sender: contact@robbyzambito.me) by mail.gandi.net (Postfix) with ESMTPSA id 055751BF205 for ; Tue, 14 Mar 2023 03:58:31 +0000 (UTC) User-agent: mu4e 1.8.13; emacs 28.2 From: Robby Zambito Date: Mon, 13 Mar 2023 23:27:06 -0400 Message-ID: <87mt4gass9.fsf@robbyzambito.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.70.183.201; envelope-from=contact@robbyzambito.me; helo=relay8-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678766387; a=rsa-sha256; cv=none; b=DrjvwgSYyYSL40NsMGFrpBOdwzVMQG4AJgTrwsAZLeMbShv6q7mx1g1KqYWa9o+/LkMzBm og3LA4QQpfjuJr0yo8rC6Lmhu40m5U/VgUPQkE6ufyb37+A5XckskMwY8BBdLcFiO6O98p i3OfO59cMG58H3D9Rif7RCUWJxuVbK1UkTagqU3xmwTpq4iQg10KL+bBEt9h5YHE0CXeyV dFD5Pac3lfqyWz7Ih1oYjAB9B3DN26jbEAeGZ2/aDJ7xYtIWeJI2q865qJm4mo5GaI5qVT 0wtCq2PNSDpfkuGpJZlDQFdkP/QJwh+HAU42czHAAFIyKBhUJxKXLnlGNrKFzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678766387; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=UAMmF9frKyIkWbHm/oehl6LrVktCsY3eh1ayLIiLG5g=; b=pdhSO/WT4ynA4yWO4z8H+yzh/OLbBRRP7ViHeB7sAd3vkkXre/TL3sWb26FKk2uvLXWX9g dfZ952D0em5cjXjRyq3KYJUht0SF0y6VR3k3mP1yI9ESBS1EuKfG7Nit3weBSf99Et6eWV Ar9BJa2tUm7AE9jezv75sgyOIphyla+dmdRpzY5Lqx/KEli0A4V+yHLAphDao5ELSHcJOU JGXY1qMX0rHfHMoNSX6aHtayf1HQnMN1uAWNmN+B0l/Z/zrQ9OR841WJnyiycX/BVnWRre 4aaXXV90qJMaYRw6jutSF9DnSuZAa8y4e8giF/7EXMEWrdO0ZScg8Vm3kgHAzQ== X-Migadu-Spam-Score: -3.52 X-Spam-Score: -3.52 X-Migadu-Queue-Id: 30E0C24C0F X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-TUID: Jtn6NGvBwgRp Hi, I use an inferior to pin my kernel version, but it seems like I cannot use modules with it. The following works fine: ``` (use-package-modules linux) (operating-system ... (kernel linux-libre) (kernel-loadable-modules (list v4l2loopback-linux-module)) ...) ``` As does the following: ``` (define rz/linux (let* ((channels (list (channel (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") (commit "c81d2d448cbd051800867fe3f4b82ef3f4380ebf")))) (inferior (inferior-for-channels channels)) (kernel-version "6.1.15")) (first (lookup-inferior-packages inferior "linux-libre" kernel-version)= ))) (operating-system ... (kernel rz/linux) ...) ``` However when I combine the two (using the inferior for the kernel + specify modules)... ``` (operating-system ... (kernel rz/linux) (kernel-loadable-modules (list v4l2loopback-linux-module)) ...) ``` I get the following error: ``` Backtrace: In guix/store.scm: 659:37 19 (thunk) 1298:8 18 (call-with-build-handler # =E2=80=A6) 2168:25 17 (run-with-store # =E2=80= =A6) In guix/scripts/system.scm: 843:2 16 (_ _) 717:8 15 (_ #) In gnu/system.scm: 1307:19 14 (operating-system-derivation _) In gnu/services.scm: 1140:36 13 (_ _) In srfi/srfi-1.scm: 586:29 12 (map1 (#< type: #= =E2=80=A6)) 586:29 11 (map1 (#< type: #= =E2=80=A6)) 586:29 10 (map1 (#< type: #= =E2=80=A6)) 586:29 9 (map1 (#< type: #= =E2=80=A6)) 586:17 8 (map1 (#< type: #)) In gnu/services.scm: 951:29 7 (linux-builder-configuration->system-entry _) In guix/profiles.scm: 438:4 6 (packages->manifest _) In srfi/srfi-1.scm: 586:17 5 (map1 ((#)= =E2=80=A6)) In guix/inferior.scm: 549:2 4 (loop (#) =E2=80=A6) 529:4 3 (inferior-package-input-field (#) =E2=80=A6) 473:18 2 (inferior-package-field (#) =E2=80=A6) 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 struct-vtable: Wrong type argument in position 1 (expecting st= ruct): (#) ``` It seems to me like this is a bug. If I am mistaken, some guidance would be appreciated. Thanks, Robby