From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cOCHGKi2Q2JfKAEAgWs5BA (envelope-from ) for ; Wed, 30 Mar 2022 03:47:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wDkFFai2Q2KruwAAauVa8A (envelope-from ) for ; Wed, 30 Mar 2022 03:47:20 +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 C8B8543860 for ; Wed, 30 Mar 2022 03:47:19 +0200 (CEST) Received: from localhost ([::1]:51358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZNQc-0000x2-Nu for larch@yhetil.org; Tue, 29 Mar 2022 21:47:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZNQN-0000wr-NR for guix-patches@gnu.org; Tue, 29 Mar 2022 21:47:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40104) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZNQM-0004Of-ES for guix-patches@gnu.org; Tue, 29 Mar 2022 21:47:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nZNQM-0005wy-DP for guix-patches@gnu.org; Tue, 29 Mar 2022 21:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54618] [PATCH v2] gnu: lbzip2: Fix cross-compilation. References: <20220329013641.gfixewbrmu2qkz34@peregrine> In-Reply-To: <20220329013641.gfixewbrmu2qkz34@peregrine> Resent-From: Brian Kubisiak Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 30 Mar 2022 01:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54618 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54618@debbugs.gnu.org Received: via spool by 54618-submit@debbugs.gnu.org id=B54618.164860477022801 (code B ref 54618); Wed, 30 Mar 2022 01:47:02 +0000 Received: (at 54618) by debbugs.gnu.org; 30 Mar 2022 01:46:10 +0000 Received: from localhost ([127.0.0.1]:34001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZNPW-0005vh-BI for submit@debbugs.gnu.org; Tue, 29 Mar 2022 21:46:10 -0400 Received: from mn-69-69-108-139.sta.embarqhsd.net ([69.69.108.139]:2965 helo=mail.kubisiak.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZNPR-0005uy-QY for 54618@debbugs.gnu.org; Tue, 29 Mar 2022 21:46:09 -0400 Received: from peregrine (108-237-41-25.lightspeed.sntcca.sbcglobal.net [108.237.41.25]) by mail.kubisiak.com with ESMTPSA (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256) ; Tue, 29 Mar 2022 20:45:53 -0500 Date: Tue, 29 Mar 2022 18:45:55 -0700 From: Brian Kubisiak Message-ID: <20220330014555.tucyos5b36qxzmd5@peregrine> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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=1648604839; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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; bh=tzjzrCDTfNHY7SZyc6zdq90EuZLKkkGMGuyrilgSVJg=; b=oSOQcrJXtO42nCme/AgM3lfZCSUYIdDefKpKNLsZeXWsrV5UxVjezE57o3fDG+iCjU7JlP /+3PaJwGBmVKUdikPZLuKIg6e9evDP1xBglF34hTLrmtfxiY+9iQr/q528SGgF78UE+E3l 0G0QUdOZmQmlzsjdWDH1GRKem72wcZ5O9bvM0Ll0CmQbY436fxPOeS5z4m/MfkDAdvwW/I 4wZwvITekeKNHiT31DtD5ZEEnY2SS35rY1XO+ROtP6My7Lx/orrKq3S9ll599BM7R8Ccdg wqGENhUd0wVJyN9PMB+CxcttZue86B9VVYZkeELes+/fZWoa1m7rCURnrDOYOQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648604839; a=rsa-sha256; cv=none; b=T7S82PnfVDc0kzq/AKQDjYl4UITzlTKa5l0OdsiE+sgSLPV7hiMA/pwrjNjskSCqG44lXx zcGhnAgMQxyAefcnfLr0SIWS6DEAqApFbYfsD7jS4nA5sDk9IaUYvfPIkIPH9gXaKHdv66 Uqo9vFpNKrsvG0e7eiXHBURAKcLkOfAxpXSR+eLzWaUhchStZP1saoO2vejl4tvJAv5od+ qQjlHOiMxvmQd8exyKMwgq0PkZZuy1/dt9jpTpL/zlYj6FbztAOzJsrbl2dAJ9Pd6Axhm1 OCP9vgkotD+DjIDnSVRNTp+sNr7RGU8uhgqoyqB+7VYCQ85qqvKy/EmJoarSUw== 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: -2.57 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: C8B8543860 X-Spam-Score: -2.57 X-Migadu-Scanner: scn1.migadu.com X-TUID: nWWANdKfyCVL * gnu/packages/compression.scm (lbzip2)[arguments]: Search (or native-inputs inputs) for gnulib-tool.py. --- gnu/packages/compression.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 3edaecd951..e1d8f721a3 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -411,8 +411,10 @@ (define-public lbzip2 `(#:phases (modify-phases %standard-phases (add-after 'unpack 'unpack-gnulib - (lambda* (#:key inputs #:allow-other-keys) - (let ((gnulib (assoc-ref inputs "gnulib"))) + (lambda* (#:key inputs native-inputs #:allow-other-keys) + (let ((gnulib + (dirname (search-input-file (or native-inputs inputs) + "gnulib-tool.py")))) (copy-recursively gnulib "lib") (setenv "PATH" (string-append "lib:" (getenv "PATH"))) #t))) -- 2.34.0