From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 13 08:38:53 2022 Received: (at submit) by debbugs.gnu.org; 13 Oct 2022 12:38:53 +0000 Received: from localhost ([127.0.0.1]:59872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oixUC-0003N8-TM for submit@debbugs.gnu.org; Thu, 13 Oct 2022 08:38:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:49590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oixUB-0003N1-2I for submit@debbugs.gnu.org; Thu, 13 Oct 2022 08:38:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oixTH-0001df-02 for guix-patches@gnu.org; Thu, 13 Oct 2022 08:38:22 -0400 Received: from mira.cbaines.net ([212.71.252.8]:36758) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oixTC-000484-2O for guix-patches@gnu.org; Thu, 13 Oct 2022 08:37:54 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:fc93:27fb:8412:c8b7]) by mira.cbaines.net (Postfix) with ESMTPSA id 9411327BBE9 for ; Thu, 13 Oct 2022 13:37:47 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id ae808a2e for ; Thu, 13 Oct 2022 12:37:46 +0000 (UTC) From: Christopher Baines To: guix-patches@gnu.org Subject: [PATCH] gnu: lzip: Fix cross-compilation. Date: Thu, 13 Oct 2022 13:37:46 +0100 Message-Id: <20221013123746.23004-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 (--) Previously the package would build, but the binaries would be build for the host system, rather than the target. * gnu/packages/compression.scm (lzip)[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..dd0caa10ab 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -632,6 +632,12 @@ (define-public lzip (base32 "0j59hx72258334rmkwn57ahr6s69nlrx0a5ip1jw2fbiwr12sd63")))) (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/lzip.html") (synopsis "Lossless data compressor based on the LZMA algorithm") (description -- 2.37.3 From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 16 14:32:14 2022 Received: (at 58491-done) by debbugs.gnu.org; 16 Oct 2022 18:32:14 +0000 Received: from localhost ([127.0.0.1]:46225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok8Qo-0002MG-3j for submit@debbugs.gnu.org; Sun, 16 Oct 2022 14:32:14 -0400 Received: from mira.cbaines.net ([212.71.252.8]:41598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ok8Qm-0002M8-I7 for 58491-done@debbugs.gnu.org; Sun, 16 Oct 2022 14:32:13 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:fc93:27fb:8412:c8b7]) by mira.cbaines.net (Postfix) with ESMTPSA id 192B827BBE9; Sun, 16 Oct 2022 19:32:12 +0100 (BST) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 70cbc92e; Sun, 16 Oct 2022 18:32:11 +0000 (UTC) References: <20221013123746.23004-1-mail@cbaines.net> User-agent: mu4e 1.8.9; emacs 28.1 From: Christopher Baines To: Christopher Baines Subject: Re: [bug#58491] [PATCH] gnu: lzip: Fix cross-compilation. Date: Sun, 16 Oct 2022 19:31:45 +0100 In-reply-to: <20221013123746.23004-1-mail@cbaines.net> Message-ID: <874jw3bowk.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: 58491-done Cc: 58491-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: > Previously the package would build, but the binaries would be build for the > host system, rather than the target. > > * gnu/packages/compression.scm (lzip)[arguments]: Set CXX when cross > compiling. > --- > gnu/packages/compression.scm | 6 ++++++ > 1 file changed, 6 insertions(+) Pushed to master as 69bbb720db7a77b4a8cd2973fb8e9a794b3213d3. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmNMTitfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xdobw//ewYAsvrUM1QlKG38OWKNHO5FV331snr7 cIidb4QPRBf1Gq0stu1jhTkVqHWp/5v49Wuo5BbO5wtVvFdmAAUk7N12qYmvi+0E 3W5GGy1f17PF4xLnhW+w16BgwSlYIBiVAus0BYS2xXwRS1cwAw85PpZUfsC4TdlH ygcBybHxAiCi9hL0nN/k8NAetRMOrTO3LZi4QORbLx6nYhpdnNI30EMnc1IyAwxk /UDkCRs7SreXYKjlMO6OionpsaYzX87Ko72HMYeUfxIf0JAynIA512VMyFXueTmg cv1VaArjVSXpmwqzHqx9xdT7tHBMPwmgaRhjbTcd7wQI7HVRYxqYmigVIg9CW/k5 5+lVXcsA/ImnREyapIJdTtID1ykbN+3MHr1ONBbfmejnmXyA+gQd3ztIM3ZSnk7O 1pD2nBD97oz6rtHbzDB3GgHlt5NL6wIKLIzqhFJG4VB/itQOamY022lZdgK9pThE RvMm9t24hHkaTvqUrDshfxY4My/22cGCCB3Lqm0Z9SaccFtb6jmWx5rX4h+ldIi4 bj14lcZfVj9yzh4RSnvOrbfl8ubaIElkhtKxH2ijFKONYkV9r3qi9+D2YxhUTHBp 7gd7K9bBGCGwo5sfV0X2m2ToJ2ABrShSKdm4g0WjFbwGvHCSyOhiLQUnUI6Sx7pi 1rWdDwj2IlQ= =0v+0 -----END PGP SIGNATURE----- --=-=-=-- From unknown Thu Jun 19 16:23:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 14 Nov 2022 12:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator