From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gCckDJQcSGMSnwAAbAwnHQ (envelope-from ) for ; Thu, 13 Oct 2022 16:11:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QOhSDJQcSGOYGgEA9RJhRA (envelope-from ) for ; Thu, 13 Oct 2022 16:11:32 +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 EA4163D04E for ; Thu, 13 Oct 2022 16:11:20 +0200 (CEST) Received: from localhost ([::1]:37836 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiyvf-00069F-T5 for larch@yhetil.org; Thu, 13 Oct 2022 10:11:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oixpf-0007rx-3Q for guix-patches@gnu.org; Thu, 13 Oct 2022 09:01:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60814) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oixpe-0000RR-P5 for guix-patches@gnu.org; Thu, 13 Oct 2022 09:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oixpe-0003xE-8A for guix-patches@gnu.org; Thu, 13 Oct 2022 09:01:02 -0400 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-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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665670281; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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; bh=Z221lIhWTRbamYxb/6t3uiQ7NLnIHRG2EZHRrhgK0o0=; b=UTSOrgzxxYQcy8VTz532qF7ccbldRK/8MIzSztM3kbAxlcZRnNaZk5eP+p31m3w1IrBMGW QXRhmu2Nz4zHePq+RLQRPRKfzJSQhyt1Rw9KPBOoBu6n1V8EDER8wHbVV25Jk76KfdTfcp VZa2KLYS/xURBOcilfTJlnqbx12VJOU64D3pLcPhdJgwLA4j8BI7iGAK11rZB2fJUkqbjM 48k+wUkzf60qze39BWPKtsVmmyAseQYF0FCL/usw7tF5+vG5rTYGEHTf4XSzsAy8jPzic9 kkRTCl60g0EucFzQg4VDFTJY+aFFK5adsGf8mA5C3tkUBpvEVYHpECeuv0dykQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665670281; a=rsa-sha256; cv=none; b=qk+rX11ap54flbvMhmrSY4lYK6mSiI+Fmco6WxDbLYvQK9QPdSF7SXNvmwlq5RLhJEbGZ7 Nh8bvcGTzK999bRlVi0mrpRn5IWUsrhvXQlVtc94M6HA91mzKUbb6ja4StJoSj6nNhwdKi YGfkeincbFCVVFjJkitXj4gdtpTrqUqWHS0Twubhq/1Z5YRlSFmH7BPWR5aUh0Aslnoemo EPPQcQqEnmJBaurKXia0lBaSjHsCztOaCJMJdsvGRRBeW/IQzuBW6mg+x4BSu2icdgkp8P NYAibePc1VlVcsuVQvbLze4gKIMQUzOts3NLsgBnX014k3UfnnSnm4cuz8nD6g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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: -0.90 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: EA4163D04E X-Spam-Score: -0.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: EzqytnBl3Wa1 * 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