From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kBrIAA/QBmEKUAAAgWs5BA (envelope-from ) for ; Sun, 01 Aug 2021 18:47:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KKTTNw7QBmHfDwAAbx9fmQ (envelope-from ) for ; Sun, 01 Aug 2021 16:47:10 +0000 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 3561B160F8 for ; Sun, 1 Aug 2021 18:47:10 +0200 (CEST) Received: from localhost ([::1]:58010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAEcH-0004xP-8O for larch@yhetil.org; Sun, 01 Aug 2021 12:47:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAEcA-0004xG-P1 for bug-guix@gnu.org; Sun, 01 Aug 2021 12:47:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53607) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mAEcA-0004Kk-Hh for bug-guix@gnu.org; Sun, 01 Aug 2021 12:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mAEcA-0005HN-Gz for bug-guix@gnu.org; Sun, 01 Aug 2021 12:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#40272: linux-module-build-system don't support an inferior package as a kernel Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 01 Aug 2021 16:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40272 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Brice Waegeneire Received: via spool by 40272-submit@debbugs.gnu.org id=B40272.162783636920226 (code B ref 40272); Sun, 01 Aug 2021 16:47:02 +0000 Received: (at 40272) by debbugs.gnu.org; 1 Aug 2021 16:46:09 +0000 Received: from localhost ([127.0.0.1]:36920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAEbJ-0005GA-6L for submit@debbugs.gnu.org; Sun, 01 Aug 2021 12:46:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAEbH-0005Fr-PW for 40272@debbugs.gnu.org; Sun, 01 Aug 2021 12:46:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48636) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAEbC-0003ZM-2z; Sun, 01 Aug 2021 12:46:02 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=45354 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAEbB-0001K0-Rg; Sun, 01 Aug 2021 12:46:02 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <4ace97d14da81f85ee833cacda791edb@waegenei.re> <87k0l5i3mw.fsf@waegenei.re> Date: Sun, 01 Aug 2021 18:46:00 +0200 In-Reply-To: <87k0l5i3mw.fsf@waegenei.re> (Brice Waegeneire's message of "Sun, 01 Aug 2021 17:30:31 +0200") Message-ID: <875ywpxgdz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Cc: 40272@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1627836430; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=V6y/bTnk7ZvNZKCGJG2PaN6jeJFfpTr3hwrmS1dHVFs=; b=IRf+5x9E/EmC7Yq39LR8o+4MDKF4cL5ueN5XhOg8ynSULBjWA25nxI7u/xQv2+mmK+ZnIB ZjTylnkiDBLzwBmm3hLyjbGogEBlflqjPdQsaVXUD1/6iDi12DMI32veBFfKgB0HEwNDtu HiS5YxBAwfhREIcbIBEejRBE42l7BPrXNsgP1vOT0w1rbgAZUlpwlJmNEFQtzMhGF0bMNY blxy5fNPvBymjS0T4vQog5bbFadyDKS6CMCfi2RUwXm8OVC+lBj5iCXYmVxW+OsSHaW3Od HqZkBswNSPz5PHRKAE0nSyMku1D12nC/bW1Mi5Hcs8b5Z1hiabeIglKVeogA/Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1627836430; a=rsa-sha256; cv=none; b=Z3bdQsS4JroPbbbIFeee6l7YwPdeNMWn97bCVlWMOtwZeLUp4RjNmpNqvSBH8F2yARmGh4 hE5pT1IFDGOyPqXWtXlLhrvXKbAaVbx70AaczEYcQ1IkhU7EjwQPSvrYqv75hF3KT1p7bM nB9ypVtRXg6eDTByiYhFj4qxk1B2s5VG3iOYVz6DgixgjkOECkv9mjcwH7k5fIh5ptFCBb bjnL3moRgEWVwOm15hH8VDdy0pFCeHBJJ6X0+4c98HkqK4Li7bXPR6In2TKIVBzPr40K8y hvb4P6YXP44uXtvGsby5biR5PLkvC7lpXfYzHAWwHGtsfAuMcuyy2JNzVMNhkg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 3561B160F8 X-Spam-Score: -2.92 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5ofjI9CGWnOo Hi, Brice Waegeneire skribis: > In guix/build-system/linux-module.scm: > 132:22 3 (lower "ddcci-driver-linux-0.3.3" #:source _ #:inputs _ #:na= tive-inputs _ #:outputs _ #:system _ #:target _ #:linux _ . _) > In ice-9/boot-9.scm: > 1685:16 2 (raise-exception _ #:continuable? _) > 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 %package-native-inputs-real: Wrong type argument: # In this case, the problem is that (@ (guix build-system linux-module) lower) assumes that =E2=80=98linux=E2=80=99 is a : (build-inputs `(,@(if source `(("source" ,source)) '()) ,@native-inputs ;; TODO: Remove "gmp", "mpfr", "mpc" since they are ;; only needed to compile the gcc plugins. Maybe ;; remove "flex", "bison", "elfutils", "perl", ;; "openssl". That leaves very little ("bc", "gcc", ;; "kmod"). ,@(package-native-inputs linux) ;<----- HERE I suppose you could add a special-case for (inferior-package? linux). Not pretty, but it=E2=80=99d do the job. If we want to go further, we=E2=80=99ll have to end up with GOOPS=E2=80=A6 HTH! Ludo=E2=80=99.