From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UIb5L/uj5WE2dAEAgWs5BA (envelope-from ) for ; Mon, 17 Jan 2022 18:14:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AI2WLPuj5WEACAEAauVa8A (envelope-from ) for ; Mon, 17 Jan 2022 18:14:35 +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 639A018471 for ; Mon, 17 Jan 2022 18:14:35 +0100 (CET) Received: from localhost ([::1]:45664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n9VaU-0008No-Fi for larch@yhetil.org; Mon, 17 Jan 2022 12:14:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9VZz-0007d1-8W for bug-guix@gnu.org; Mon, 17 Jan 2022 12:14:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54900) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n9VZy-00084l-VP for bug-guix@gnu.org; Mon, 17 Jan 2022 12:14:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n9VZy-00065Q-RT for bug-guix@gnu.org; Mon, 17 Jan 2022 12:14:02 -0500 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-To: bug-guix@gnu.org Resent-Date: Mon, 17 Jan 2022 17:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 52411 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Thiago Jung Bauermann Mail-Followup-To: 52411@debbugs.gnu.org, maxim.cournoyer@gmail.com, maxim.cournoyer@gmail.com Received: via spool by 52411-done@debbugs.gnu.org id=D52411.164243961823342 (code D ref 52411); Mon, 17 Jan 2022 17:14:02 +0000 Received: (at 52411-done) by debbugs.gnu.org; 17 Jan 2022 17:13:38 +0000 Received: from localhost ([127.0.0.1]:47799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9VZZ-00064O-Qq for submit@debbugs.gnu.org; Mon, 17 Jan 2022 12:13:38 -0500 Received: from mail-qk1-f170.google.com ([209.85.222.170]:41883) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9VZT-00063c-IV for 52411-done@debbugs.gnu.org; Mon, 17 Jan 2022 12:13:34 -0500 Received: by mail-qk1-f170.google.com with SMTP id o135so9309906qke.8 for <52411-done@debbugs.gnu.org>; Mon, 17 Jan 2022 09:13:31 -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=c3DjiU5bs2GHb6s2t3bW+Sn4Q2R/M3V/H66Z2G6R+mI=; b=Zu8MKbH5RoZ4D0Zfm6CrVTRG5iAQhbn4waykDfz2la1MWbzW9L5KM/1NOlDjYEKds6 NpR7yvD4qFzh2HVeTLqcHfz9WKmjBDuUpS2tnac05KrzWX98C0CrtsyAEzbecLkgb/76 T+bRg9+VyhdeTm40f4cfuf7MpqSRyyT9nyQufeLI8tQh1dQ7hZQuAhov2ONeD3cyoCw4 LnGGd8znFVuxrbutSAbQyEf3Rxfd7SKOeGcVPLEFQI0amd7vnPDLoMGsV/52llK5RCvT rA9Jhp2ccEzKDtQiIUVw0MFG9WqGhctjXY3YVnvGUFlRBRcze/F+TblNLUNq9i/GXvan LKzQ== 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=c3DjiU5bs2GHb6s2t3bW+Sn4Q2R/M3V/H66Z2G6R+mI=; b=IzFaJOXpdXZqxEoWHHHp8ZVYa3C2NpkdGa0n3bmYpzEfR9Jtm1Hm1PXT/S3nOKydbP vLMqaJH8wD0T/8oRpVHje+ZvclvmozP78GsI4OOH2PiQLz1Pvxnoal4exThUznrssnlX hHXTH8s42VuJ/PNyDvaeD4UgaMhSqlAqQbCwUr+vpCZDpTdnsvMJpzm58ZWoVUUEvkFI MPX2ZfyvT7SugXXxRbp57/6Cj+s4PO6igBh6uk6h039mQmyVQCSQxVALaPEAq+sDu7oN MZoSHJfJ6G4YEzCCmcHVBnsdL81xr5LQ+0182d2H49CYAQukimUgLitDOwDeTxud7lvk FbCQ== X-Gm-Message-State: AOAM532rszMdB8cMsv+/Yu5+wg03rGZ3q6L0hN/ETxbQRxxtht7EMesm Gt3ksjuVem9oz4pRkG0tMqk= X-Google-Smtp-Source: ABdhPJzE6A3zc+01629U+IukJBG1ORr1uUqyzg6sVUNm66KmTe+dvQsGwNvO7XDwVGXMxB+ycG0MzA== X-Received: by 2002:ae9:f11a:: with SMTP id k26mr15422001qkg.444.1642439606120; Mon, 17 Jan 2022 09:13:26 -0800 (PST) Received: from hurd (dsl-205-236-230-134.b2b2c.ca. [205.236.230.134]) by smtp.gmail.com with ESMTPSA id g13sm2836919qko.59.2022.01.17.09.13.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jan 2022 09:13:25 -0800 (PST) From: Maxim Cournoyer References: <87zgp8y5yx.fsf@gmail.com> <00552a0a31e0f72c0d0fb3251466fb245dd7fe42.camel@telenet.be> <874k765z7f.fsf@gmail.com> <2150305.bgRPiZMkaZ@popigai> Date: Mon, 17 Jan 2022 12:13:24 -0500 In-Reply-To: <2150305.bgRPiZMkaZ@popigai> (Thiago Jung Bauermann's message of "Sat, 18 Dec 2021 01:42:53 -0300") Message-ID: <87tue2i8uj.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-done@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=1642439675; 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-to: 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=c3DjiU5bs2GHb6s2t3bW+Sn4Q2R/M3V/H66Z2G6R+mI=; b=iyUbeS0Xizs5fsUrW+d+ma6g7BsN+YgY0zYKW3yrOBFBUlMIyE94izXX0le7MOTYzs/D+I XJ8wbJOWlwc9lpQqdxvNe23L/DWyxYTF7J7pdtdwiZ4FgkeZPDfxEsLyWFnLdD8Z3Lc5Av HbOQ6yJhgeBraeGOu3fiuweUASrGHe8aU3ANMhVawdY8ngz/pDVBtD5NSNGCuZhvwMC88E of45QWynXysGv5QbB0PdVumKakqCnEoYJecuXT5yX9hrwkgoMqmUVfxGhkL/Nx4cUrHkYZ jsXzlRTBmEK3PCQrYq7vWGMPf7bQ6f9zxloVoogLgU+LWszDzYJiFDnuluwl/g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642439675; a=rsa-sha256; cv=none; b=bDm07Hs8jZFoO5PIEqyr4TMEP/lgIi98dZ/Lx/jz0bqdd0r2Gg3kzX/aM2dfESGcZvzVBa 37SmSBPw+ixgCY1p4z8i3Th2lcw8FUeOtFr1vMfuuKz+gp5X0E2/df9pR2NdUz+4rD5SLw vIko8OtplHUjq8gOmf5HMfDbo851lMZ3Hmh9MtCPByUZ9BfRSOBExMcI+Mf1mFb/eB5614 JW20dcD7YLTpBm9hDbulSNvI29fJfBz1DhB6ySib4WZIqAQe1pzpmMWz/GiMC/FIoCY//R JATH4Z+B3hjvCEfJLI8X/BT3hVeGBRRDlBX1Y3ZuR4QYqDrGHsBEkTQPMB5YBg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Zu8MKbH5; 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: -2.02 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Zu8MKbH5; 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: 639A018471 X-Spam-Score: -2.02 X-Migadu-Scanner: scn1.migadu.com X-TUID: vx8mzvLfW23w Hello, Thiago Jung Bauermann writes: > Hello, > > Em s=C3=A1bado, 18 de dezembro de 2021, =C3=A0s 01:11:48 -03, Maxim Courn= oyer=20 > escreveu: >> > 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: >> >=20 >> > https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3D22ee7209797c02= 3b9 >> > 5e22ced156df62cbff90184 >> >=20 >> > 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= used >> > (or the hurd-target? procedure). >>=20 >> 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? >>=20 >> *** time passes ... reads sources *** >>=20 >> Ah! per (guix utils), it seems like %current-system is a nix system, >> while %current-target-system is a GNU triplet. Confusing! > > Guix=E2=80=99s usage of GNU triplets in some places and nix systems in ot= hers is a=20 > footgun. IMHO we should choose one format and use it everywhere we can,=20 > converting to the other if necessary... Eh, indeed! I see Maxime has written neat helpers that should mitigate it to some extent (in guix build utils). Thank you! The bug at hand should now be fixed in master. Closing. Thanks! Maxim