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 fI92KptfvWHUOgAAgWs5BA (envelope-from ) for ; Sat, 18 Dec 2021 05:12:11 +0100 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 iL8vJJtfvWHmEgAAbx9fmQ (envelope-from ) for ; Sat, 18 Dec 2021 04:12:11 +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 4F1C4363D1 for ; Sat, 18 Dec 2021 05:12:11 +0100 (CET) Received: from localhost ([::1]:43764 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myR4s-0003Jd-FY for larch@yhetil.org; Fri, 17 Dec 2021 23:12:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myR4k-0003JU-TA for bug-guix@gnu.org; Fri, 17 Dec 2021 23:12:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57715) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myR4k-0001cl-Kc for bug-guix@gnu.org; Fri, 17 Dec 2021 23:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1myR4k-0003PI-F1 for bug-guix@gnu.org; Fri, 17 Dec 2021 23:12:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52411: [core-updates-frozen] kmod-29 build fails, cross-compiled for i586-pc-gnu Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 18 Dec 2021 04:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52411 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos Received: via spool by 52411-submit@debbugs.gnu.org id=B52411.163980071713085 (code B ref 52411); Sat, 18 Dec 2021 04:12:02 +0000 Received: (at 52411) by debbugs.gnu.org; 18 Dec 2021 04:11:57 +0000 Received: from localhost ([127.0.0.1]:41028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myR4f-0003Oy-J6 for submit@debbugs.gnu.org; Fri, 17 Dec 2021 23:11:57 -0500 Received: from mail-qk1-f177.google.com ([209.85.222.177]:42713) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myR4c-0003Oj-On for 52411@debbugs.gnu.org; Fri, 17 Dec 2021 23:11:55 -0500 Received: by mail-qk1-f177.google.com with SMTP id g28so4178568qkk.9 for <52411@debbugs.gnu.org>; Fri, 17 Dec 2021 20:11:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=Jxj75Xs8j489HcHVbeJqgWrmyyklsgp0LQ6CB0ZHsCk=; b=SpVViCWRkyzi+LIUmhYP5gNVnH4eo3cE6U6CJ7Wr7pr1N13kEe25nr6j/JQJR94xiX xTbW+biVUptKoXoACw3qxL4Ctx1KQizbQFt5gnLWH1YxXHNArfzdy0VhL51atnpJYGr7 /JHGD7RF0Ka1UjNiigUcLTyneAFoPa8ysRV37n9dK3sqYix6Qf+KOwN11YuGZGQnmxwV nFkmeu+D5u6o+IHxlxK3iqAJYKZhnEY9XeQa+mWTxgqSHIKjhfIumTH9Qc+QzWbUyHii O/Gx5WdIyKfAjZu+fp35IKVDzlsZpAkY+oZe7vAfQ+6hjaOeh46/n04XSlnjfTMD5GG1 kQbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=Jxj75Xs8j489HcHVbeJqgWrmyyklsgp0LQ6CB0ZHsCk=; b=1e2VFdnmHHehYFz1pDXnEwfP8szwfqfp/36zGn3GmlRj15pvD+aP9zcLIBUUigddkq KKFvfEtf8NfIUig6gu+RqC6HqtgtTD8jT2a62M7QGOzgVY/UTwCoVWEBGvMXMtZwyY8D uP1Iei6F15z2LQ2RrAvTui8gZ985AojAEefzTkl/KaRiV0N78SrekbnVCTkZVqmKp4bV doxR8MLvVfsUEt7lzWTXoJ7ssNH2QIkj+YSOkMHJfd9duElW6bdIj5m0MKEahy2LXPMB h7zmDduhRqNRN9nO0r+M+90Hic5kgWq/kFMrpUYPYT+18DxZgiGidVIMrnc301ormUVw Om5g== X-Gm-Message-State: AOAM531M49EZl/Crl6LQZsPSYNPDJCg2s75YQo9U2MujTBW+LXCokX7U HTW3WKUiBHguHJsc8HY2Wh0= X-Google-Smtp-Source: ABdhPJykBectp0cu/HJ0G5Iac/B811n0osDdv73Liwd4jH7jKYL48o2KA7P0RSvaFG0tn9Xy2wRBAw== X-Received: by 2002:a05:620a:94d:: with SMTP id w13mr3925621qkw.419.1639800709353; Fri, 17 Dec 2021 20:11:49 -0800 (PST) Received: from hurd ([207.35.95.41]) by smtp.gmail.com with ESMTPSA id r4sm8194760qtu.21.2021.12.17.20.11.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Dec 2021 20:11:48 -0800 (PST) From: Maxim Cournoyer References: <87zgp8y5yx.fsf@gmail.com> <00552a0a31e0f72c0d0fb3251466fb245dd7fe42.camel@telenet.be> Date: Fri, 17 Dec 2021 23:11:48 -0500 In-Reply-To: <00552a0a31e0f72c0d0fb3251466fb245dd7fe42.camel@telenet.be> (Maxime Devos's message of "Fri, 10 Dec 2021 17:55:56 +0000") Message-ID: <874k765z7f.fsf@gmail.com> 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: 52411@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639800731; 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:dkim-signature; bh=Jxj75Xs8j489HcHVbeJqgWrmyyklsgp0LQ6CB0ZHsCk=; b=VqqAGaANHCaDv1mz7kHBRlmefqrLRmZZKq/nhaQU0k7s5TA32juTO/sC4lZdZv7UH2q/VG ++UhW/V6dSliRERrnAMbfcVEJMP9MSmIUQQm4wdBUc5eakrOw8z7ZgQiY9xd63i+RGfFCe qA7wmHWbeq3dsrtdign9w8wlzrr5KLykz+gOIj5oG00/Vtth1TEXXmYmQbhZWPGJfIQLA8 U/ameYaREFdENO4wCeHMNNQncuUUeojjOFx7cEMhaeFTdYZLfRORBr0HXBYGtVYY2+2/Bx y1R8bj/yi+9g4Z5HznzdpBLKyFG0T15VIshEslsOyspnz54cgvLfQ+3jDIxUeQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639800731; a=rsa-sha256; cv=none; b=mu5F3xQZ45CIhmI+YINjEfk2cwVvcv8A8PPi815yyK3lNfr+Geo/Sn6fQNycFHAqrfXrE1 cYL5ZWQCaTc+k4onf9dj6g46YYsQs9CZc1v8CORQnfiaYgW6esjhx6Q7qxUiKcQSEALdmI x8elgmqc3BRnW9aLMWtXsqDcVmzYo9AC8P37oz7XFl1k2NcN5Veg/oAOs7K3ClzxCn/4Gv 1PAeKyG0QlWPPSLIS7/5lXGEuZgzOD4RIBALjLxO/R576MxdubFd2lXIvvXGOctyNe0Nra pN0XE1a1i6ZnAOOQ+e+CZ5RrYY7o14t8fqbH9U0ZIV92u+GRYpc96xrp0sSZ6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=SpVViCWR; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" X-Migadu-Spam-Score: -3.20 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=SpVViCWR; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" X-Migadu-Queue-Id: 4F1C4363D1 X-Spam-Score: -3.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: FR0eyAxD9JRa Hi Maxime, Maxime Devos writes: > Maxime Devos schreef op vr 10-12-2021 om 17:48 [+0000]: >> Maxim Cournoyer schreef op vr 10-12-2021 om 07:55 [-0500]: >> > Hello Guix! >> > >> > I haven't been able to deploy core-updates-frozen on one of my >> > machine, >> > because it has the childhurd service which needs kmod-29 which >> > fails >> > building, like so: >> >> kmod is a linux-only thing, it's for doing things with linux kernel >> modules, so the childhurd service shouldn't be using kmod. Perhaps >> look >> at why kmod is being built in the first place? > > I think I might have found the issue. The following commit made the > existence/absence 'kmod' input of pciutils depend on %current- > system/%current-target-system: > > https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D22ee7209797c023b9= 5e22ced156df62cbff90184 > > but it forgot to keep in mind that nix systems !=3D triplets. > Instead of %current-target-system, the 'current-target-nix-system' > from =E2=80=98https://issues.guix.gnu.org/49672#3=E2=80=99 needs to be us= ed > (or the hurd-target? procedure). Looking more closely, I don't see an issue with the current conditional seleciting kmod? nix systems !=3D triplets, but in this case, the conditional is seldom dealing with nix systems, it seems. Am I missing something? *** time passes ... reads sources *** Ah! per (guix utils), it seems like %current-system is a nix system, while %current-target-system is a GNU triplet. Confusing! So, I've now made the following change: --8<---------------cut here---------------start------------->8--- (native-inputs (list which pkg-config)) (inputs - `(,@(if (member (or (%current-target-system) - (%current-system)) - (package-supported-systems kmod)) + `(,@(if (not (hurd-target?)) `(("kmod" ,kmod)) '()) --8<---------------cut here---------------end--------------->8--- I'll push it to version-1.4.0 as it causes a big rebuild. I'm still curious that this doesn't appear triggered on every guix deploy I've made though... Thanks! Maxim