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 ms5.migadu.com with LMTPS id wPWHCF+m7mIdJQEAbAwnHQ (envelope-from ) for ; Sat, 06 Aug 2022 19:35:27 +0200 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 aKOrB1+m7mL6yQAAG6o9tA (envelope-from ) for ; Sat, 06 Aug 2022 19:35:27 +0200 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 C916D2480D for ; Sat, 6 Aug 2022 19:35:26 +0200 (CEST) Received: from localhost ([::1]:43070 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKNht-0004h7-Qd for larch@yhetil.org; Sat, 06 Aug 2022 13:35:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKNhW-0004gw-SY for guix-patches@gnu.org; Sat, 06 Aug 2022 13:35:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45661) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKNhW-0002Ao-JR for guix-patches@gnu.org; Sat, 06 Aug 2022 13:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKNhW-0000T1-G3 for guix-patches@gnu.org; Sat, 06 Aug 2022 13:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56536] [PATCH]: gnu: newt: Fix cross-compilationn Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 06 Aug 2022 17:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56536 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jean Pierre De Jesus DIAZ Cc: 56536@debbugs.gnu.org Received: via spool by 56536-submit@debbugs.gnu.org id=B56536.16598072741757 (code B ref 56536); Sat, 06 Aug 2022 17:35:02 +0000 Received: (at 56536) by debbugs.gnu.org; 6 Aug 2022 17:34:34 +0000 Received: from localhost ([127.0.0.1]:35410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKNh3-0000SH-V5 for submit@debbugs.gnu.org; Sat, 06 Aug 2022 13:34:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKNh2-0000S4-0E for 56536@debbugs.gnu.org; Sat, 06 Aug 2022 13:34:32 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40350) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKNgw-00029u-7u; Sat, 06 Aug 2022 13:34:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=XTtA45pEILViTh8oZ6hHTtkHSme5ZrXlLEue3n/f9bg=; b=fjNVXh2+yQGA9Lex+d0B 0608mv+6cqxag7XN4qHuyGBZzKW1z1V0HoEfbVoe6pcO4hr8nk632dhYiInXwsMuHmBy2sBny9/X9 TH5Owpg4ofJ1FljruHcUUWFK/ClqsLWDaTWdHZUEkJFx8MopoxcxPUdP+0PL0ZkyMGS11IsjI/6or x4fZ3dzhm9HsxJaSsPq7yYnVnWxvZsfd1thFzfMXzUscsIdvSPuZ1LWBWQREcNlcmukZk0LZALmw5 HJtr3xk5a3YpAe1aNsRHcB8sPTKxiCU12YWZ55aGbSuspkSGzR2zFdRgBH1RxklQsczvthI/lsKOE lNAAf+wXq5/WXg==; Received: from 2a02-8429-81d2-3d01-94c9-8097-ea5c-2774.rev.sfr.net ([2a02:8429:81d2:3d01:94c9:8097:ea5c:2774]:35452 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKNgv-0001CG-Ow; Sat, 06 Aug 2022 13:34:26 -0400 From: Mathieu Othacehe References: <87pmhdz5nt.fsf@gnu.org> Date: Sat, 06 Aug 2022 19:34:22 +0200 In-Reply-To: (Jean Pierre De Jesus DIAZ's message of "Sat, 06 Aug 2022 16:54:14 +0000") Message-ID: <87edxtcm3l.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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=1659807326; 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=XTtA45pEILViTh8oZ6hHTtkHSme5ZrXlLEue3n/f9bg=; b=pxunJmHFfn+8yUDsTQiGSftX1RwPbiJNOo9/t04Ge8Ml+bduSQZnvKnilPi1wygvQUCf1j aVRv/iKm5x1fpFg2lYZTLBn4S2U5RRx9MhtVGizAWlktlz0mWDdXZO+rYqBAc335GKlssH OO0u1rtIFDLNxoX1/SL0Ozs98AEv8yJQgBqNPkZ0Y9DTlky+XFhFan6TgRSzWotNLnY2WR Xgtj7F8VJ+4EM7DOxqlOVHh8RzKxief3zfoLo9Cee+bGWO/EfPEZz7dGlg+NgfY/p/QbM6 o0RBNTRjNWvEiONyApjEYUTWeCzfgnZls6X8QgQUpFHCuR0jKy1Klky5FbFOlA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659807326; a=rsa-sha256; cv=none; b=CE6U/wHAQuHjZNXT7ByOFz53faN1OimYvEUlYQ9AnGhTUeXiqjMHeQCtlhZoFXx1cQ03U0 GriyIPVoQmQ9nX2PdtvPmVxmWV7QknjTOd/OB8NE+kxNNNq/E2taegEbzfNwwVEkLme7f5 jS/IyGbDtlTrxk/7dpvdMBBQ93OxUprma4O+LRMLkwM7OKu4gG9X90ig/vPoOfnhNPn+Zi Iev96VeoDhy7XGsipYDz4b2NVCAVxLBpPgewYtkzxQ4riu3Wdh2WL0FfIisyX4ora6zYGI lZaonLVAYcFOU25P1ltNn02bHDwV5hcxFni4bNaGlXG75BEmNQO9NikJwdseCA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=fjNVXh2+; dmarc=pass (policy=none) header.from=gnu.org; 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: -4.70 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=fjNVXh2+; dmarc=pass (policy=none) header.from=gnu.org; 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: C916D2480D X-Spam-Score: -4.70 X-Migadu-Scanner: scn0.migadu.com X-TUID: oYKgWKWgnEeC Hey, > Because `python-config' output differs for the host and the target I > believe. Right, however moving python to native-inputs I have: --8<---------------cut here---------------start------------->8--- mathieu@meije ~/guix [env]$ file /gnu/store/ib2xkrh9i2ff2b5zj1llf2x58zrm4zn6-newt-0.52.21-python/lib/python3.9/site-packages/_snack.so /gnu/store/ib2xkrh9i2ff2b5zj1llf2x58zrm4zn6-newt-0.52.21-python/lib/python3.9/site-packages/_snack.so: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, stripped --8<---------------cut here---------------end--------------->8--- which seems fine. An issue could be that the headers it uses at compile time are from the native Python so maybe we'd better take the one from the target python. All in all, I'll go with your original patch I guess. Thanks, Mathieu