From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0MRsCI3cxGOROAAAbAwnHQ (envelope-from ) for ; Mon, 16 Jan 2023 06:11:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4CFkCI3cxGNFnwAA9RJhRA (envelope-from ) for ; Mon, 16 Jan 2023 06:11: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 AA08E2D0A for ; Mon, 16 Jan 2023 06:11:40 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHHmG-0001D5-Au; Mon, 16 Jan 2023 00:11:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHHlv-0001Cl-E2 for guix-patches@gnu.org; Mon, 16 Jan 2023 00:11:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHHlv-0004V5-5d for guix-patches@gnu.org; Mon, 16 Jan 2023 00:11:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pHHlu-0004Yg-TY for guix-patches@gnu.org; Mon, 16 Jan 2023 00:11:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60849] [PATCH core-updates 0/4] Enable cross-Compilation for python-pycryptodome Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Jan 2023 05:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60849 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60849@debbugs.gnu.org Cc: Maxim Cournoyer X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167384580617443 (code B ref -1); Mon, 16 Jan 2023 05:11:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jan 2023 05:10:06 +0000 Received: from localhost ([127.0.0.1]:60155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHHkz-0004XG-D4 for submit@debbugs.gnu.org; Mon, 16 Jan 2023 00:10:06 -0500 Received: from lists.gnu.org ([209.51.188.17]:45518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHHkx-0004Wv-0o for submit@debbugs.gnu.org; Mon, 16 Jan 2023 00:10:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHHkp-0000yu-GE for guix-patches@gnu.org; Mon, 16 Jan 2023 00:09:57 -0500 Received: from mail-qt1-x82c.google.com ([2607:f8b0:4864:20::82c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHHkn-00043k-Ja for guix-patches@gnu.org; Mon, 16 Jan 2023 00:09:55 -0500 Received: by mail-qt1-x82c.google.com with SMTP id bp44so23967295qtb.0 for ; Sun, 15 Jan 2023 21:09:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=rdhSZgzzyu8O2mXlk9gof1bseKgukK6LvRzbz5MKCfo=; b=MNb8/XvJ3iJaxgmn6866BBfjbIWCqYVXv/DbXOzkwbp58+sxjvQYY4VgQIjilb4G/9 DIZ870Q8C4aDg0J1vX8AkRWi8qmL+g2l3Mq82OBt5I43O0yzyz5UwCCjRl05tOqwVdhj cWd9KSN+p4RfElMz/Rnu9gQWEtN7p3OweXC92RBTPVDYqFxnuyDgQSo7jlfc04YKbZ36 t3j3SmXanTPKoQ1tlUSu4o8ymp9m69qyImWjtWQJXD7ScWxEDizOb9CxzKKBWpIrW+SZ 7PtVLp0Hp/rc1wJTc4r7mo0ri4BRw9FlmfW447rr93NUpNTGLQmofmW639PZRY3NBe7g g1Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=rdhSZgzzyu8O2mXlk9gof1bseKgukK6LvRzbz5MKCfo=; b=VWgsp2j9OaM2Q6eXMQGzghe7bPmb6l20XQM4Qxx/pH+/YBtdT0HBKHQNNUVaLetDNO C9ApYurc3KdsIRaUqYq4Zl+mX3WA3QTYTUCOXU6uU0r8u8wiefgFcn7aNub4gFD4bWWp X8agP2lIaHgE3QTzpZEA6QGr3Ltku7xRvGBkCfz0zfTilkKZod56vymbfB76fCqGNC4n +fk4XIOwvxLw+R5wPjHHAHkfVc3dAg7ZNRbzIo1ZspycHi6VAL0BAim42nYTGnPbXFQS s4BD2nllV8cd0LQY4xkP6QvuKUrRkZn1c+5JND4PMfUd6bybSeC9ae1fA0o9UgiYk7pG taJg== X-Gm-Message-State: AFqh2kpabEPCLaap2jyHec2NPDYi1I97vSb7ljqDpWcWyz+Ef+M0vjxo pWdHIyeAKKmNKUCBdXqZRJ2i9Bo9xu7obZ0S X-Google-Smtp-Source: AMrXdXvbk9U7A6nmQzkuHyUwpxb3bz5aS+6YXQ+AMEHWtylaiyP/vuqptrTgNI4oQxR3dABPeNxAIw== X-Received: by 2002:ac8:1247:0:b0:3a7:efe3:47c8 with SMTP id g7-20020ac81247000000b003a7efe347c8mr122994006qtj.6.1673845792568; Sun, 15 Jan 2023 21:09:52 -0800 (PST) Received: from localhost.localdomain (dsl-10-130-209.b2b2c.ca. [72.10.130.209]) by smtp.gmail.com with ESMTPSA id cr26-20020a05622a429a00b003a68fe872a5sm14060486qtb.96.2023.01.15.21.09.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Jan 2023 21:09:52 -0800 (PST) From: Maxim Cournoyer Date: Mon, 16 Jan 2023 00:09:42 -0500 Message-Id: <20230116050942.26300-1-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::82c; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x82c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673845900; a=rsa-sha256; cv=none; b=i+ywChtiQb+7TYxVRhUZYQoYBHUZ0f8lwOv/CE1R13oVPf6DfyuWe6AyqWX+hREHjmC6pN YfFuPu3rit6+neWlA0vY7BJHe2HEyGjx6YgiiUiRzt81glsEQtcUrjdKd5WcOPTvQZs031 Xsg3xs1pweWx63AQcdAOqh/g8rooXPw2/NbOpa/GwJhBbkAWU6ynLT8woLCoYnuYiIx2f1 gNT025ekB1cz2DV254+15RuBf2eJuId5tJcpzgPFqwvVpCWjPmmYa+LZQ8tuGepFxYEny5 uYo0XJKORVp0uIcFYzvZX5Fs47pec9ObpOC9nTL7QVaR0dDwGi/h8a+quqIpBw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="MNb8/XvJ"; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673845900; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=rdhSZgzzyu8O2mXlk9gof1bseKgukK6LvRzbz5MKCfo=; b=sZNUZJZ6f2/jh26rak2QdoZAauiu+5yOMg9kWjkVLBL1+m/nP/SEc+5i1euFmHpGnf2AYr ycII5QKqFdSbuwc8Zy69oQGQT9WZDII8O3E0MNjFnklvas5mJBd87kwb1WyvRfloUMJkH1 cnXvYzLpOF9c41rBE09OuSUCXusT331/WOPL94tsoccXDVbqY2rN4nX4s2bD5EVQiFQHG1 D4xSPlZChLmjR1ZUjuCK0iFAUuu7RrMCQRiq7uYPpbvkMK3Z6NCCNOYYKtTwNMJxyqMeqt XtjTJj33IjeO2CHUAhlO5mHDsn6fHVqhgsipsZBAO3X5B6/zjUySfRKdvuan8A== X-Migadu-Spam-Score: -1.72 X-Spam-Score: -1.72 X-Migadu-Queue-Id: AA08E2D0A X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="MNb8/XvJ"; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) X-TUID: KseKsId2cvnH This is an example making use of the recent changes proposed for pyproject, enabling cross compilation for the pyproject-build-system packages (see: https://issues.guix.gnu.org/60847). You can test it like: ./pre-inst-env guix build --target=aarch64-linux-gnu python-pycryptodome And inspect the produced C libraries part of the package match the expected architecture. Maxim Cournoyer (4): gnu: libtommath: Update to 1.2.0-0.03de03d. gnu: libtomcrypt: Update to 1.18.2-0.29986d0. gnu: python-pycryptodome: Fix build and enable cross-compilation. gnu: python-coverage: Switch to pyproject-build-system. gnu/packages/check.scm | 2 +- gnu/packages/multiprecision.scm | 179 +++++++++++--------------------- gnu/packages/python-crypto.scm | 20 +++- 3 files changed, 78 insertions(+), 123 deletions(-) base-commit: 5c921977179489caef4a9e54ada6696fc86d2f0b -- 2.38.1