From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IKmxG5R9x2A0bQAAgWs5BA (envelope-from ) for ; Mon, 14 Jun 2021 18:02:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aGJBF5R9x2CENQAAB5/wlQ (envelope-from ) for ; Mon, 14 Jun 2021 16:02:28 +0000 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 D6EDF2650A for ; Mon, 14 Jun 2021 18:02:27 +0200 (CEST) Received: from localhost ([::1]:41428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsp2g-0002yk-LP for larch@yhetil.org; Mon, 14 Jun 2021 12:02:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsoh2-0006pj-FY for guix-patches@gnu.org; Mon, 14 Jun 2021 11:40:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36110) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lsoh2-0008Lt-6r for guix-patches@gnu.org; Mon, 14 Jun 2021 11:40:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lsoh2-0004Ms-4x for guix-patches@gnu.org; Mon, 14 Jun 2021 11:40:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49025] [PATCH core-updates 31/37] glib: Look up "tzdata" in 'native-inputs', not 'inputs'. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 14 Jun 2021 15:40:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49025 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49025@debbugs.gnu.org Received: via spool by 49025-submit@debbugs.gnu.org id=B49025.162368517216710 (code B ref 49025); Mon, 14 Jun 2021 15:40:04 +0000 Received: (at 49025) by debbugs.gnu.org; 14 Jun 2021 15:39:32 +0000 Received: from localhost ([127.0.0.1]:47648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsogW-0004LS-6r for submit@debbugs.gnu.org; Mon, 14 Jun 2021 11:39:32 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:49724) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsogU-0004Kz-Oe for 49025@debbugs.gnu.org; Mon, 14 Jun 2021 11:39:31 -0400 Received: from butterfly.local ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by laurent.telenet-ops.be with bizsmtp id H3fW250050mfAB4013fWkZ; Mon, 14 Jun 2021 17:39:30 +0200 Message-ID: <79799f427dfcc7e916a033e1920d0eeffe5c1f0c.camel@telenet.be> From: Maxime Devos Date: Mon, 14 Jun 2021 17:39:30 +0200 In-Reply-To: References: Content-Type: multipart/mixed; boundary="=-990bnJxVfUiwK7NHP0TF" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1623685170; bh=21pHze+pHX1QUU3faZDVeyKHR5BWcrUM+up16DXtFFQ=; h=Subject:From:To:Date:In-Reply-To:References; b=oMebheRORtPQHAXtLGjqTa4FPg6o3Xddy5r+StsFo7OFQWzrE2rT7ZcRsuzIWV+bF ffoslRR9DrvVo3kRUoRHoWPIMgpYQLzXRqYMUT6LevQx2Sj1YQ7TLpz5Dv37a9mmQy XNVhHIQ2BsIFcZapfZSd0z7QHwn/h5G1vJJ3FjoHDjqfqhdZ5dz+UPSePJkfawNQsu Vseq4/tJIwjvGHIYYaihNf1Tfuxlyit1pnJ8qoAOagUWHMiPMbKsXD1haAfFIEvgnn 88rVuRT1Ic69G8Jxy2ieWp8h/5giCOScP1PAqvBrAyI20vHm07r58cGAFxFQitlMzE dXKlO2VQe2DIw== 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623686547; 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: dkim-signature; bh=21pHze+pHX1QUU3faZDVeyKHR5BWcrUM+up16DXtFFQ=; b=IhcV0UFCIngvkHVWfATPH3mok8/o7koqZ08h6gwyXC2OZWJioh18o4aGt6xUfVMLa0W4UG /cmzt5JxLcO3ngv9E1a+GM6IaVI5I5l7XdIRKM97+N/nE5q+Yk0G15A/QvFuxnxY6EyvR8 fbjtd48ogFSzxmelO9G1G9kWnpZ/05XIxlC0HmaIaZlI4y0flmYmktEjYRJv73h15n9ysO D5fVNDZC9QpkORWQJbbYqZfBLTxEmDb0EIltuR2PkWEClCnsxhCGgRUjVm2iHZx+QTgm+J JrkzPv+SV6aWdgW3zfYd7v8GSyRTbTcolOUIO0aP9yxduWtsqLeRh0VPNgKEqg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623686547; a=rsa-sha256; cv=none; b=guqSlE5mIItB9jYG4Daqlhe2mLXeeQrUcOo8Gfxz5Xwfz3i/zS+HmYoiGGjxYz6VxCE5nW vXp1dVv4ct3/7yWblu2gggkEO+LmbQETqLQ6TpXd4Kd7tKJhV0fKthWcOi8idg3VbjpreL aqJDvSI3+pwH5hNH1tXRbndxa2/241TUE6I0ElvgkX9qzuBowPCSEyrvwe64TvpQ5iUseO gy1tUHi8nxslS0Eoa9cD2PVO344pcCV/5HM7lKlPKSp5nn70VUf6+QTHmpNjl8XyQyS/9T jn7V0oLlFfChSK3leGeVMrTNADJX2yB5nQms9mIBsjWNihm1neiRieMvo7OqVA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=oMebheRO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=oMebheRO; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: D6EDF2650A X-Spam-Score: -1.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: AOBeRAXH8/SM --=-990bnJxVfUiwK7NHP0TF Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Otherwise, "tzdata" won't be found when cross-compiling and string-append will complain about types. Alternatively, "tzdata" could be moved from 'native-inputs' to 'inputs'. * gnu/packages/glib.scm (glib)[arguments]<#:phases>{pre-check}: Look up "tzdata" in 'native-inputs', not 'inputs'. --- gnu/packages/glib.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --=-990bnJxVfUiwK7NHP0TF Content-Disposition: attachment; filename="0031-glib-Look-up-tzdata-in-native-inputs-not-inputs.patch" Content-Transfer-Encoding: 7bit Content-Type: text/x-patch; name="0031-glib-Look-up-tzdata-in-native-inputs-not-inputs.patch"; charset="us-ascii" diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index 244544ea6f..57e8282a89 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -251,10 +251,11 @@ shared NFS home directories.") (package-version python))))) #t)) (add-before 'check 'pre-check - (lambda* (#:key inputs outputs #:allow-other-keys) + (lambda* (#:key native-inputs inputs outputs #:allow-other-keys) ;; For tests/gdatetime.c. (setenv "TZDIR" - (string-append (assoc-ref inputs "tzdata") + (string-append (assoc-ref (or native-inputs inputs) + "tzdata") "/share/zoneinfo")) ;; Some tests want write access there. (setenv "HOME" (getcwd)) --=-990bnJxVfUiwK7NHP0TF--