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 Ty5xNula+2F+sQAAgWs5BA (envelope-from ) for ; Thu, 03 Feb 2022 05:32:41 +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 GAM1Mula+2GPwwAAauVa8A (envelope-from ) for ; Thu, 03 Feb 2022 05:32:41 +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 6E4D01EF3B for ; Thu, 3 Feb 2022 05:32:41 +0100 (CET) Received: from localhost ([::1]:50276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFTnU-0007MO-LT for larch@yhetil.org; Wed, 02 Feb 2022 23:32:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFTms-0007L4-Qn for bug-guix@gnu.org; Wed, 02 Feb 2022 23:32:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60224) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFTms-0003FF-GK for bug-guix@gnu.org; Wed, 02 Feb 2022 23:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nFTms-0001qm-Cl for bug-guix@gnu.org; Wed, 02 Feb 2022 23:32:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53742: rust-fiat-crypto missing source Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 03 Feb 2022 04:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53742 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 53742@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16438626987078 (code B ref -1); Thu, 03 Feb 2022 04:32:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Feb 2022 04:31:38 +0000 Received: from localhost ([127.0.0.1]:54121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFTmU-0001q5-Gm for submit@debbugs.gnu.org; Wed, 02 Feb 2022 23:31:38 -0500 Received: from lists.gnu.org ([209.51.188.17]:52184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFTmP-0001pv-QQ for submit@debbugs.gnu.org; Wed, 02 Feb 2022 23:31:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFTmP-0007C9-Gm for bug-guix@gnu.org; Wed, 02 Feb 2022 23:31:33 -0500 Received: from minsky.hcoop.net ([104.248.1.95]:43502) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFTmM-0003Cu-KF for bug-guix@gnu.org; Wed, 02 Feb 2022 23:31:32 -0500 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nFTmJ-0004Gd-9B; Wed, 02 Feb 2022 23:31:27 -0500 Date: Wed, 2 Feb 2022 23:31:27 -0500 (EST) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Received-SPF: pass client-ip=104.248.1.95; envelope-from=jackhill@jackhill.us; helo=minsky.hcoop.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Nicolas Goaziou , Aleksandr Vityazev 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=1643862761; 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:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=yQp+Pa74lh148FoX4rRXeTC7YG5jseSEmoMa2GlnheA=; b=j3Sff8mKGtalSxRVDYld8Hv/Cg56aMFbDbNUIMto5XXdtO9I6kOhGfCqkg4QOUrg58ITXV S0dfQ037Uxw1YdtXB3wl9VRVJHtZ2VxerCd4ceVQWkziAdrQ27yE9v0Myq1Lmk3Hza6LxT Y5NlTe9KWpRQ1QIZs5gkKoS/nVewUWDffGEdfkxDx9dav0BNplI6H4qvZddEV7HDRm+YbA 68VkekwAVNv8Y2OtL+CdpuiNr4ew+SoDZc1AQ7rgojSWuqST4ghqPFoH/rjvzJY+OicXcC qiMWvbnMTOB63CVEp5Dnk/kajjmBpjdpo8lGimeFWljyBVgx+NnFOmf0JkJ4Tw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643862761; a=rsa-sha256; cv=none; b=eXw7tQjLn6ZTJG1c+YThvbN65m7INrWPWWHPeUjnZUIIwXltHmScU7Ca9InFicJxRbf/bF I7ofC9VHPHKPjsGe7QvJ/MoB8FELcE2bt6q/O0bJL4GA4tEtdNZlGF6V2Q170fYk6n748n /zEOnDSxxTUjkGHiNxrr42VVwxAp8ggCDpKdmZODAO9608M3742vKuV2uaSZlv2bUJyTTR tSfs7N8x0SFaCq6d/iyX+HIKgiXYa4YV8vEkQvmu9n6+50svuSFzEtsuKOSyKGWqTZUFNd uIO5lonJJOVtgscw51mnUMeZYFsKLMuLPpPsJ01pT8GSMfHVfF7JIQYfE2pCjw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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.33 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 6E4D01EF3B X-Spam-Score: -3.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: R85CmMdm3t90 Hi Guix, It looks like our rust-fiat-crypto package is not built from source, but from autogenerated files. All the code retuned by `guix build -S rust-fiat-crypto` contains headers like """ // AUTOGENERATED FILE: DO NOT EDIT """ or """ //! Autogenerated: 'src/ExtractionOCaml/word_by_word_montgomery' --lang Rust --inline secp256k1 64 '2^256 - 2^32 - 977' mul square add sub opp from_montgomery to_montgomery nonzero selectznz to_bytes from_bytes one msat divstep divstep_precomp //! curve description: secp256k1 //! machine_wordsize = 64 (from "64") //! requested operations: mul, square, add, sub, opp, from_montgomery, to_montgomery, nonzero, selectznz, to_bytes, from_bytes, one, msat, divstep, divstep_precomp //! m = 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f (from "2^256 - 2^32 - 977") //! //! NOTE: In addition to the bounds specified above each function, all //! functions synthesized for this Montgomery arithmetic require the //! input to be strictly less than the prime modulus (m), and also //! require the input to be in the unique saturated representation. //! All functions also ensure that these two properties are true of //! return values. //! //! Computed values: //! eval z = z[0] + (z[1] << 64) + (z[2] << 128) + (z[3] << 192) //! bytes_eval z = z[0] + (z[1] << 8) + (z[2] << 16) + (z[3] << 24) + (z[4] << 32) + (z[5] << 40) + (z[6] << 48) + (z[7] << 56) + (z[8] << 64) + (z[9] << 72) + (z[10] << 80) + (z[11] << 88) + (z[12] << 96) + (z[13] << 104) + (z[14] << 112) + (z[15] << 120) + (z[16] << 128) + (z[17] << 136) + (z[18] << 144) + (z[19] << 152) + (z[20] << 160) + (z[21] << 168) + (z[22] << 176) + (z[23] << 184) + (z[24] << 192) + (z[25] << 200) + (z[26] << 208) + (z[27] << 216) + (z[28] << 224) + (z[29] << 232) + (z[30] << 240) + (z[31] << 248) //! twos_complement_eval z = let x1 := z[0] + (z[1] << 64) + (z[2] << 128) + (z[3] << 192) in //! if x1 & (2^256-1) < 2^255 then x1 & (2^256-1) else (x1 & (2^256-1)) - 2^256 """ These files are autogenerated from the Coq source. I think that we should build from that source as part of our package definition. What do you think? Jack