From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 iBNRMai9NGINIgEAgWs5BA (envelope-from ) for ; Fri, 18 Mar 2022 18:13:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eD2yKai9NGLreAAAG6o9tA (envelope-from ) for ; Fri, 18 Mar 2022 18:13:12 +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 5D57BC55D for ; Fri, 18 Mar 2022 18:13:11 +0100 (CET) Received: from localhost ([::1]:47834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nVGA1-00078R-Gt for larch@yhetil.org; Fri, 18 Mar 2022 13:13:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVG9u-00075J-2o for guix-patches@gnu.org; Fri, 18 Mar 2022 13:13:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36141) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nVG9t-0007Ct-RM for guix-patches@gnu.org; Fri, 18 Mar 2022 13:13:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nVG9t-0005Db-Nc for guix-patches@gnu.org; Fri, 18 Mar 2022 13:13:01 -0400 Subject: bug#51198: [PATCH] gnu: Add b2sum. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Fri, 18 Mar 2022 17:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 51198 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Cc: 51198-done@debbugs.gnu.org Mail-Followup-To: 51198@debbugs.gnu.org, leo@famulari.name, leo@famulari.name Received: via spool by 51198-done@debbugs.gnu.org id=D51198.164762357220035 (code D ref 51198); Fri, 18 Mar 2022 17:13:01 +0000 Received: (at 51198-done) by debbugs.gnu.org; 18 Mar 2022 17:12:52 +0000 Received: from localhost ([127.0.0.1]:58269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVG9j-0005D5-Se for submit@debbugs.gnu.org; Fri, 18 Mar 2022 13:12:52 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:56421) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVG9h-0005Co-HP for 51198-done@debbugs.gnu.org; Fri, 18 Mar 2022 13:12:50 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 1DB485C00FE; Fri, 18 Mar 2022 13:12:44 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 18 Mar 2022 13:12:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=mesmtp; bh=XIdkVV020Ax KsnbAiB4Ii+OlcdJcFAHKfh6rT4wQadc=; b=aHNX04ezlb9sqLygnJdeKTzxogu yoXRkAeV/S2bwY9bTrva30WWT+LmlvbSRO1B3IadTB9hFQeIL1hFfObFQ6z5m0m0 9VQMjQgOR78kp0LqnvH1I7JFojzMH8G5iE/LDUX9ksWKiXQZ8tiNJzoFG8bwWAzc GpF3nXNHKR0nn9ng= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=XIdkVV020AxKsnbAiB4Ii+OlcdJcFAHKfh6rT4wQa dc=; b=oJb4GH2SWxWyjHimalM5UL6l6+qKVNm7MhGLoVNOGn6EUVZy4Z0VfhDCS OgtuDRaQfS0z06NJ0mkxlF4It6321C+e39Fe31g7+O3OPTgI6PCICw8BQSQ4YB7Z BP143SpDMso8c+D4N+yLXs36+g8Y5PtToqVP1TmCENtYPOineJZLm7E7WiiC1tkf TlmuTM+zQBUS6Bn8/TUxgbIyveKjcxTG4n9kH+jUx23Bs25ehiX/X85adrr9kRRu +yoItSWmo7AMYApB5n5We+FxqyU2aWaZD0v8pLiayGZRH4EbZPPi8oxx03M0pISy pfOAgpVzNarWOmCQbx3Ad3CDIx7eA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudefiedgleekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggugfgjsehtke ertddttddunecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhl rghrihdrnhgrmhgvqeenucggtffrrghtthgvrhhnpeegieelteeuuedujeehfefhtddugf effeehuedtueevfefhhffffffgveeileduhfenucffohhmrghinhepghhnuhdrohhrghen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghose hfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 18 Mar 2022 13:12:43 -0400 (EDT) Date: Fri, 18 Mar 2022 13:12:42 -0400 From: Leo Famulari Message-ID: References: <878ryfjudi.fsf@guix.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <878ryfjudi.fsf@guix.i-did-not-set--mail-host-address--so-tickle-me> 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647623592; 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=XIdkVV020AxKsnbAiB4Ii+OlcdJcFAHKfh6rT4wQadc=; b=mtGCVY4tJ1qviUer1FzOnyD4kjyrRNpWywfYnWB7wfcXfGVgE7sK+jm5TJK/doyomvqxiR rUtWoeOC539Uvtq9FJOECV/O3SffKNbBe5DwcCqM7I4BsKNYuDbado3vAqfU3OMSbQj1Sr rS2AilQQNqOm2/bvbX9ypg7nxCYFSu0PsYbtIiWNv4qDSfwYH9akYOcOwtwyqmxEZJEZLG 2L5PdbGE4apOPE0RP/4x0/xL1HxxoGvl/wmjIdQqRSs3boLdvjxMgDyDbQuj8qLQrcS2ZD soaL1g8yQisWbU8nKx/EBSX8KXaeSc7+Os2vRmEQu4Rjv1NBVam6+t09VwNs2Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647623592; a=rsa-sha256; cv=none; b=KO7dN2ZpinEwjZJmtDM/PjJX+QIaYR7xmDOf5UlHQDlj3jBwc6Q63QeslACCfF8u0jjKO7 3SpPvz6A82uay8waIfQixl6/TJlUA6O2NxEUBRSgJKKFIbIbu8ykB+SqzGV+g/jiwvewsC FLxPTi4XE6aQ+YomgCiaqDacVQJWWRN1Hg4ArKJssCodg4aiRzMNn3DGs7ahhpHAFHBshT FMzuYd/efMzana6sJ2qCrzKd6KN8HC8R7bGHcNtJOeQXx9vkbVwJxCYDj37obISRV+wNKd Im1K2141oWTw2UfUP1q5ywoYqX3fRcki6aQW5SP8scbuDYHS+H4WvQ+mtSyxng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=aHNX04ez; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=oJb4GH2S; dmarc=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: -0.14 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=aHNX04ez; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=oJb4GH2S; dmarc=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: 5D57BC55D X-Spam-Score: -0.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: XiHw4ofec36g On Wed, Oct 27, 2021 at 12:26:01AM +0200, Nicoḷ Balzarotti wrote: > Leo Famulari writes: > > > * gnu/packages/crypto.scm (b2sum): New variable. > > Hi, I guix pulled and wanted to try this, but I get > > >> b2sum --help > > Illegal instruction > > (I'm on an old X200 thinkpad). Might it be that build is not > deterministic (and we should disable some optimization)? I just pushed commit 386adb6df0e00e7170df0cdfaf0e04c38d0f3e11, which removes the "march=native" compiler flag, so that the package should work generically. https://git.savannah.gnu.org/cgit/guix.git/commit/?id=386adb6df0e00e7170df0cdfaf0e04c38d0f3e11 This commit also enables the 'tunable?' property of the package, so that one can use this program with the highest performance in a way that is tailored to their hardware. Just add the --tune command-line option to any Guix command that provides this package and it should do the right thing. Thanks Nicoḷ for reporting the problem and thanks to Ludovic for developing the solution.