From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +KdBCuOR3mGalAAAgWs5BA (envelope-from ) for ; Wed, 12 Jan 2022 09:31:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mGalBuOR3mFHdAAAauVa8A (envelope-from ) for ; Wed, 12 Jan 2022 09:31:31 +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 E83C939510 for ; Wed, 12 Jan 2022 09:31:30 +0100 (CET) Received: from localhost ([::1]:47124 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7Z2X-0001HM-LQ for larch@yhetil.org; Wed, 12 Jan 2022 03:31:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7YyE-0003D4-1N for guix-patches@gnu.org; Wed, 12 Jan 2022 03:27:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35074) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n7YyD-0001lz-Mm for guix-patches@gnu.org; Wed, 12 Jan 2022 03:27:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n7YyD-000356-Hx for guix-patches@gnu.org; Wed, 12 Jan 2022 03:27:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51747] [PATCH]: gnu: nix: Update to 2.4. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 12 Jan 2022 08:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51747 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Zhu Zihao Cc: Oleg Pykhalov , 51747@debbugs.gnu.org Received: via spool by 51747-submit@debbugs.gnu.org id=B51747.164197597211760 (code B ref 51747); Wed, 12 Jan 2022 08:27:01 +0000 Received: (at 51747) by debbugs.gnu.org; 12 Jan 2022 08:26:12 +0000 Received: from localhost ([127.0.0.1]:56210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7YxP-00033c-Ov for submit@debbugs.gnu.org; Wed, 12 Jan 2022 03:26:11 -0500 Received: from michel.telenet-ops.be ([195.130.137.88]:55810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7YxL-00033G-0c for 51747@debbugs.gnu.org; Wed, 12 Jan 2022 03:26:10 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by michel.telenet-ops.be with bizsmtp id hkS5260064UW6Th06kS5Po; Wed, 12 Jan 2022 09:26:05 +0100 Message-ID: From: Maxime Devos Date: Wed, 12 Jan 2022 08:26:00 +0000 In-Reply-To: <8635lto9z3.fsf@163.com> References: <86sfw4chme.fsf@163.com> <864k8kcdzu.fsf@163.com> <861r3oau4u.fsf@163.com> <86lf1njad0.fsf@163.com> <86ilw4e6av.fsf@163.com> <87y23mheag.fsf_-_@gmail.com> <86pmoyrxyy.fsf@163.com> <190ec030edbca1c16fb030c51acd60ffc6bae269.camel@telenet.be> <8635lto9z3.fsf@163.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-SOGxJkp+4XQ+g4qfy2KE" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1641975965; bh=y2q276ojhN3byUA5lkzvC5NuM39JMyHRcYMmYz099sI=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=OF6Dbkvih/liO54vXNmC9d+4iPYPMTU3BEeHYmtTo1LEN87NYuVRuDRUTGlpqqeVj igLd0WOYTyqvUmxBSxouBGbcnEC+qk2ttd4+Fq2SrDaYAZfBF05bTgV61bBW2vfIC+ k1ndz4//kYGY0aQ6hHrboKuKDwz1Ske4dHB5oF0g0KhxFoWDRTnTtyOEMNlMZwct1n UrHCrNJ/4O3YZEuPf4KXu8hz5TSOhABc0M2a8ASu4CMHE2qon/OM33YjlSWcfMFpkv amVlyL/2DHqcGZTQAGP8AMZKsKk0VQ8ok5WFowHKnE4I4Xr0JFhhetXjUbkZO2UXgp mg0GKJgznH1mw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" 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=1641976291; 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: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=y2q276ojhN3byUA5lkzvC5NuM39JMyHRcYMmYz099sI=; b=Piaers0E0SetUFlA78DQs/qi2wSUWEqFmrY8UPo4R609TxQeJnNTD32cEhePbKYxY2FDqn Y5P2rGSKycqwZs1CWcbArh3I/H1bu6eRq2xzNaXM4NIclxw2UywPNaq8Bt4FvZi0TMbTsE +r5SHjTQy9hzdWJMbi85DrUsqwoyaL7qxMRC1//I4HC6dMs7EI9rKom/EcyibIc8v0BNn7 JYCg79XK/kplGtv5peUunsRSxCc46HMIMKRw7hhAcVUoc2pZimX71f35E92GHyYweGesCm Zr9FfK8SjtAqZ1uyyh5ZzRGEBazV/MXrnIGDSDFluJ970rRKLKzY7gD0sE4mOQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641976291; a=rsa-sha256; cv=none; b=ERvKHSx0xbNS9db3UwviBTU3LdIYqNsYtZl/n6veZrZVZTRUlmcDXM6Lj1DIBcMtvkWjYc /YUmh2DQCrBaUxp10FWw/7nmeEXKx2IGo8V/KM3NOQcojID2D+cov9BK94zlCC5E1W2EY2 a5JERFr7O9sbnUCJYUG2Q3XaaxjHujMf/WWZOKrdmC4Vjo8t7GBobGY3eUIM5KVJdgDf6F lKwfXvmJjYbjwlTIgFjkrkLZSE6RTOM3pKMT+VJ7VtoO3UUHD9tMoqzkYUd/y2NNL3POGU 9NTNbPvNw2zJwbGY2YR4aCRd5FuOpFDnMn5CY49aZr/cEqqADCdCQyVbWIze5w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=OF6Dbkvi; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.12 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=OF6Dbkvi; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E83C939510 X-Spam-Score: -5.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: h/YLLor2fd51 --=-SOGxJkp+4XQ+g4qfy2KE Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Zhu Zihao schreef op wo 12-01-2022 om 12:21 [+0800]: > [ > ...] > Interesting, It looks that these blobs are for Windows system. I don't > care about MS Windows, but blobs are tightly integrated in the source. >=20 > The source reports that they're compiled from the source in contrib/MSR > Driver/Kernel. They're PE COFF format, If we want to compile it ourself, > we have to use mingw cross compiler. This increase the complexity of > build script. >=20 > AFAIK, nix use libcpuid only in linux context. My idea is replace these > blobs with empty bytes. Maybe leave a note for who want mingw cross build= .=20 Often (but not always, cf. rust), when software has files for specific architectures or operating systems, they will only be compiled if they match the architecture and operating system the software is compiled for. As such, there's a good chance the build will succeed (at least for Linux, for Hurd, ...) if they are simply deleted. Greetings, Maxime. --=-SOGxJkp+4XQ+g4qfy2KE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYd6QmBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7rkiAQDmhdqJZaT2Bs0NTYpfFqC4Qhv/ 6moqKTwdErhf41mHIAD/TB80KqSkj2gQP1sFxz9fXVKlB48iEG2zEZfwcAzthQM= =zf22 -----END PGP SIGNATURE----- --=-SOGxJkp+4XQ+g4qfy2KE--