From unknown Sun Jun 22 04:18:33 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#58492] [PATCH] gnu: lziprecover: Fix cross-compilation. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Oct 2022 13:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58492@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166566603815160 (code B ref -1); Thu, 13 Oct 2022 13:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Oct 2022 13:00:38 +0000 Received: from localhost ([127.0.0.1]:59892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oixpG-0003wS-4x for submit@debbugs.gnu.org; Thu, 13 Oct 2022 09:00:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:33700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oixpD-0003wI-Cc for submit@debbugs.gnu.org; Thu, 13 Oct 2022 09:00:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oixp2-0007aL-Vv for guix-patches@gnu.org; Thu, 13 Oct 2022 09:00:30 -0400 Received: from mira.cbaines.net ([212.71.252.8]:36760) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oixa2-0005o6-5x for guix-patches@gnu.org; Thu, 13 Oct 2022 08:44:55 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:fc93:27fb:8412:c8b7]) by mira.cbaines.net (Postfix) with ESMTPSA id 6397627BBE9 for ; Thu, 13 Oct 2022 13:44:52 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 809e9980 for ; Thu, 13 Oct 2022 12:44:51 +0000 (UTC) From: Christopher Baines Date: Thu, 13 Oct 2022 13:44:51 +0100 Message-Id: <20221013124451.24923-1-mail@cbaines.net> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.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_PASS=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/comression.scm (lziprecover)[arguments]: Set CXX when cross compiling. --- gnu/packages/compression.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 684979018c..ba9f838130 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -653,6 +653,12 @@ (define-public lziprecover (base32 "0wmmyi03fv2lflsir5ldrsv04q57k3hmlqajzb1m3p86gwbh967j")))) (build-system gnu-build-system) + (arguments + ;; The configure script doesn't recognise the --build or --host + ;; arguments, so set CXX here + `(,@(if (%current-target-system) + `(#:make-flags (list ,(string-append "CXX=" (cxx-for-target)))) + '()))) (home-page "https://www.nongnu.org/lzip/lziprecover.html") (synopsis "Recover and decompress data from damaged lzip files") (description -- 2.37.3 From unknown Sun Jun 22 04:18:33 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Christopher Baines Subject: bug#58492: closed (Re: [bug#58492] [PATCH] gnu: lziprecover: Fix cross-compilation.) Message-ID: References: <87zgdvaa9g.fsf@cbaines.net> <20221013124451.24923-1-mail@cbaines.net> X-Gnu-PR-Message: they-closed 58492 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 58492@debbugs.gnu.org Date: Sun, 16 Oct 2022 18:34:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1665945242-9260-1" This is a multi-part message in MIME format... ------------=_1665945242-9260-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #58492: [PATCH] gnu: lziprecover: Fix cross-compilation. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 58492@debbugs.gnu.org. --=20 58492: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D58492 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1665945242-9260-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 58492-done) by debbugs.gnu.org; 16 Oct 2022 18:33:50 +0000 Received: from localhost ([127.0.0.1]:46232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok8SM-0002Ov-GF for submit@debbugs.gnu.org; Sun, 16 Oct 2022 14:33:50 -0400 Received: from mira.cbaines.net ([212.71.252.8]:41600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok8SK-0002Ol-Am for 58492-done@debbugs.gnu.org; Sun, 16 Oct 2022 14:33:48 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:fc93:27fb:8412:c8b7]) by mira.cbaines.net (Postfix) with ESMTPSA id E362427BBE9; Sun, 16 Oct 2022 19:33:47 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 88d364be; Sun, 16 Oct 2022 18:33:47 +0000 (UTC) References: <20221013124451.24923-1-mail@cbaines.net> User-agent: mu4e 1.8.9; emacs 28.1 From: Christopher Baines To: Christopher Baines Subject: Re: [bug#58492] [PATCH] gnu: lziprecover: Fix cross-compilation. Date: Sun, 16 Oct 2022 19:32:35 +0100 In-reply-to: <20221013124451.24923-1-mail@cbaines.net> Message-ID: <87zgdvaa9g.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 58492-done Cc: 58492-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Christopher Baines writes: > * gnu/packages/comression.scm (lziprecover)[arguments]: Set CXX when cross > compiling. > --- > gnu/packages/compression.scm | 6 ++++++ > 1 file changed, 6 insertions(+) Pushed to master as c3e103129d1fac8460e4e01e46749a0a72248ead. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmNMTotfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xfx2hAAk/7i1lueenlYTBVwAmmf6o0Wz0Qau0Uh 1ZVe0UsVx4VlVoZgl80XMB/TmzqvMwi1HZy5ZTjbjmBiR3qwUlrv36p2pjh5e5oe HptuK8eaSAe0evNF2PNZX4SWXOGFckGuI2WicIPIgISMdh4lOIy4DK+BD3WptxNZ o7NJ4Tqf+4DD7t4ElTIdrIU5AJaUIzYuDjoqoZtF2SGt2GD5IdqzIc+d5IAn44mp GlmlRPSZzv++QxEFpXTg4mNpyENnUXFGM8C+W0sniDRbsceFsk1zrERmnoQqmVGj D1ZKqc9rNSrGinImBJ63XqZxi2WMuqrg7rCZN5PHHO0rdQxyeHgx8vbNpJToJ1TI DBLV8Iqy6erRuMJe597i45GM2QfXJlDfzhaZeZbpx0jqcsqosxIema9/1uZ9l/BZ rP16lD2zSxTVFJSvy+dO2yrpsq6EbtrodyVXUsffbiXbJGBy/AF3oqxg5x/6ZSEY Af+TicuvhGeK1cEwZrDVeMw5iMK0O9ym+Prkj5/HQ5xlh1y4LULQn6cA8IRjMDu1 Oi8kSDoMNKnBopQFIj6LjCwdnA95DuT8v9quPdml7uEJQTsgEJl2CWXWBMLQJi+D ygO5mZBEVDrJO8tJ1gP2khcbvVTDWUlp33/SlWojCYvBbyy2QQkt0j0K5lhgvTnB 5SCU7aHXQCE= =veql -----END PGP SIGNATURE----- --=-=-=-- ------------=_1665945242-9260-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 Oct 2022 13:00:38 +0000 Received: from localhost ([127.0.0.1]:59892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oixpG-0003wS-4x for submit@debbugs.gnu.org; Thu, 13 Oct 2022 09:00:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:33700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oixpD-0003wI-Cc for submit@debbugs.gnu.org; Thu, 13 Oct 2022 09:00:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oixp2-0007aL-Vv for guix-patches@gnu.org; Thu, 13 Oct 2022 09:00:30 -0400 Received: from mira.cbaines.net ([212.71.252.8]:36760) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oixa2-0005o6-5x for guix-patches@gnu.org; Thu, 13 Oct 2022 08:44:55 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:fc93:27fb:8412:c8b7]) by mira.cbaines.net (Postfix) with ESMTPSA id 6397627BBE9 for ; Thu, 13 Oct 2022 13:44:52 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 809e9980 for ; Thu, 13 Oct 2022 12:44:51 +0000 (UTC) From: Christopher Baines To: guix-patches@gnu.org Subject: [PATCH] gnu: lziprecover: Fix cross-compilation. Date: Thu, 13 Oct 2022 13:44:51 +0100 Message-Id: <20221013124451.24923-1-mail@cbaines.net> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.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_PASS=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/comression.scm (lziprecover)[arguments]: Set CXX when cross compiling. --- gnu/packages/compression.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 684979018c..ba9f838130 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -653,6 +653,12 @@ (define-public lziprecover (base32 "0wmmyi03fv2lflsir5ldrsv04q57k3hmlqajzb1m3p86gwbh967j")))) (build-system gnu-build-system) + (arguments + ;; The configure script doesn't recognise the --build or --host + ;; arguments, so set CXX here + `(,@(if (%current-target-system) + `(#:make-flags (list ,(string-append "CXX=" (cxx-for-target)))) + '()))) (home-page "https://www.nongnu.org/lzip/lziprecover.html") (synopsis "Recover and decompress data from damaged lzip files") (description -- 2.37.3 ------------=_1665945242-9260-1--