From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 ILNFCk+iQmI+hAAAgWs5BA (envelope-from ) for ; Tue, 29 Mar 2022 08:08:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id KGr3Ak+iQmLiQgAAG6o9tA (envelope-from ) for ; Tue, 29 Mar 2022 08:08:15 +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 AC227AB2D for ; Tue, 29 Mar 2022 08:08:14 +0200 (CEST) Received: from localhost ([::1]:39960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZ51Z-0003Sz-Ud for larch@yhetil.org; Tue, 29 Mar 2022 02:08:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZ51O-0003Sm-R2 for guix-patches@gnu.org; Tue, 29 Mar 2022 02:08:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37466) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZ51O-0001JF-IQ for guix-patches@gnu.org; Tue, 29 Mar 2022 02:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nZ51O-0001zR-5P for guix-patches@gnu.org; Tue, 29 Mar 2022 02:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54618] [PATCH] gnu: lbzip2: Fix cross-compilation. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Mar 2022 06:08: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: Brian Kubisiak , 54618@debbugs.gnu.org Received: via spool by 54618-submit@debbugs.gnu.org id=B54618.16485340767638 (code B ref 54618); Tue, 29 Mar 2022 06:08:02 +0000 Received: (at 54618) by debbugs.gnu.org; 29 Mar 2022 06:07:56 +0000 Received: from localhost ([127.0.0.1]:59596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZ51I-0001z7-0J for submit@debbugs.gnu.org; Tue, 29 Mar 2022 02:07:56 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:7298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZ51G-0001yx-1C for 54618@debbugs.gnu.org; Tue, 29 Mar 2022 02:07:54 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4KSJyG59Hrz1LWp5; Tue, 29 Mar 2022 08:07:50 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4KSJyG59Hrz1LWp5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1648534070; bh=gnlxsPMf279HaY4TrUktfiKc2BohvfD9lI8cZnomZng=; h=Subject:From:To:Date:In-Reply-To:References:From; b=Th7yW3kxn3xqQzt6fPeNSemARue642LBDoIfEL+A7DvPwaKD2YqpO1OO24WYIpqDQ vz/WM7Ky/pkyiHABXHZ0h7o2TXJ0nRw450wyrYT1qkJjn61PkT7s/THyaVxx+l6EF4 +iEzN0uxwV9jUsdhbuyCpM1niRJxXzv5lylGaRek= Message-ID: From: Liliana Marie Prikler Date: Tue, 29 Mar 2022 08:07:51 +0200 In-Reply-To: <20220329013641.gfixewbrmu2qkz34@peregrine> References: <20220329013641.gfixewbrmu2qkz34@peregrine> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 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=1648534094; 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: content-transfer-encoding:content-transfer-encoding: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=gnlxsPMf279HaY4TrUktfiKc2BohvfD9lI8cZnomZng=; b=hkQ8CtNwBvMqEZGd9XjEeB4HB9araMY12lvfEbYRHqKOUdknS6JyM8Xh7KbBqIYd2QOvAM DeXvPn2aFvyt1zhtkquCQIu931lJRug/HOwyJgcE1afmVRUhN9AKWNhtDBvHhop3UZ1M4j I+FOwHU/jwUWdfHZfTfgDZatmOZlz5Go5aeswyS3XRffXNMcuFTokIu0C037iWXS4WE02f PYeW7SZg3RwAvZaThZ7oJyfep2fW54OAUkLJSHxQXFjesF6HLjePhQ+F85pwqN+mW7PtoU PcvfmxWYXDsaGDYKApKmznm7tb9eZXOugn9CWVTc3ltPSCidtu6ARBeK50i2uw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648534094; a=rsa-sha256; cv=none; b=IjK2XmU7Kf0CcSPjT3d7II8t/CiGTWQv5CMttIUhWzJR/sKtfW844bPLvLkB200mpXbPz9 kbzrkYcUZJqaWOoLWbZpVBUjPT3Lw92BHSkUvU6IWPvqabAY4B7M7Ewl8713444WRBUWnE nEKtnm5dhj9AU0JF0N7eyNNBLXDRGLNPpojsZt3MpQ3LIwzO48Dl9Igse2LYg+Fsm6Wh6a GFpTeYUY4vKHJVoK3mevKhSWhmSh5Mi53BIrSWacI8jjdednRf9zPu0dipyzLqJdqoBhav fBq5gLB/4tRcNS8Gu967bqosd3b4r7QFYpwv6cZrJB3OteHWKx0H9gcXvcZN0A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=Th7yW3kx; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=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: 5.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=Th7yW3kx; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=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: AC227AB2D X-Spam-Score: 5.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: BiGlJLMFGOZs Am Montag, dem 28.03.2022 um 18:36 -0700 schrieb Brian Kubisiak: > * gnu/packages/compression.scm (lbzip2)[arguments]: Add (or > native-inputs inputs) to ASSOC-REF. > --- >  gnu/packages/compression.scm | 4 ++-- >  1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/gnu/packages/compression.scm > b/gnu/packages/compression.scm > index 3edaecd951..34e9fa49de 100644 > --- a/gnu/packages/compression.scm > +++ b/gnu/packages/compression.scm > @@ -411,8 +411,8 @@ (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 (assoc-ref (or native-inputs inputs) > "gnulib"))) >                   (copy-recursively gnulib "lib") >                   (setenv "PATH" (string-append "lib:" (getenv > "PATH"))) >                   #t))) Note that referring to inputs by name is discouraged. In this case, the gnulib origin should be inlined (see ppsspp or gnome-recipes for examples on how that is done). I don't think there is a native vs. non-native distinction for origins, but if there is, simply use #+ instead of #$. Cheers