From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MCMZDDB6x2CBZAAAgWs5BA (envelope-from ) for ; Mon, 14 Jun 2021 17:48:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gGFiBzB6x2CfQQAA1q6Kng (envelope-from ) for ; Mon, 14 Jun 2021 15:48:00 +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 A1C112FDFF for ; Mon, 14 Jun 2021 17:47:59 +0200 (CEST) Received: from localhost ([::1]:57390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsoog-0008WK-IZ for larch@yhetil.org; Mon, 14 Jun 2021 11:47:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsog6-0003AQ-8r for guix-patches@gnu.org; Mon, 14 Jun 2021 11:39:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36077) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lsog6-0007lX-0c for guix-patches@gnu.org; Mon, 14 Jun 2021 11:39:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lsog5-0004Jy-VF for guix-patches@gnu.org; Mon, 14 Jun 2021 11:39:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49025] [PATCH core-updates 07/37] tzdata: Don't bother with cross-compiling. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 14 Jun 2021 15:39:05 +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.162368514316559 (code B ref 49025); Mon, 14 Jun 2021 15:39:05 +0000 Received: (at 49025) by debbugs.gnu.org; 14 Jun 2021 15:39:03 +0000 Received: from localhost ([127.0.0.1]:47614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsog2-0004Iq-TA for submit@debbugs.gnu.org; Mon, 14 Jun 2021 11:39:03 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:37390) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsog0-0004Ah-O0 for 49025@debbugs.gnu.org; Mon, 14 Jun 2021 11:39:01 -0400 Received: from butterfly.local ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by albert.telenet-ops.be with bizsmtp id H3f02500A0mfAB4063f0PC; Mon, 14 Jun 2021 17:39:00 +0200 Message-ID: From: Maxime Devos Date: Mon, 14 Jun 2021 17:39:00 +0200 In-Reply-To: References: Content-Type: multipart/mixed; boundary="=-92s4pyKatONqe5HoHr2B" 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=1623685140; bh=MlMuHMqYDzhc6XFq5e0TxsPJU9BAD9W8k4lWlfe8A48=; h=Subject:From:To:Date:In-Reply-To:References; b=KjI9MyRuMv7cSsiIR8WKuFPzOlydhPy0pX6ARFXrEGBLpYIYzyURSgtZssrMNlBWF UTerOK+f8eT0HyTjnRWxKIOr0k3Wtb/3vuOL/nZFCgsnp5hBWbL1sVr6wHgXp4f5Rk I5td4NeUNxwgZAP0+ecN7TbTRIzj1A3qEwHd5QA0Rn6e4rQZFjM+fdD5EY3fFv36qV ICA2o+t9mZfWavQcBwzqUS61P+wuzBHnDSBYhswrxCQLtWGYSgE5rTC2Bzc7pEQhEu WpjiVHTqDB2xnmybb03sT/M9BY94aH0Zti53olawVKDLNzIbYHE4x2PRzHa9fLDOHU twWgBA+oNY6Tw== 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=1623685679; 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=MlMuHMqYDzhc6XFq5e0TxsPJU9BAD9W8k4lWlfe8A48=; b=CNpxoUPob+RmjGixc7KbMvC4refhPExFBBx4nPXM1tOOZLL1Fg7QPvnbcLhtk8SLhAztfL OCAnY0vjksha9oKXbg56tD+ilUhwUtMdkxgEbnEVFtrwtkn4lwckrw7gW9J9C9bS3LRtiM d/dS2AIWO9k+HIM2yvfgHtZJCr+52WrhQndxKWqYu2czX2KHgvz/ZOGYvYU//OVs2Qg+Mz w9VSTkiJSWx2jbrqC8HDYW1dQjPRgyt6po4DfA7S44zOk7eDz8srs8m9xAOLPxiL9goZxe 9JrCR6Q7GEbzRDoFuPe5abOR7Rxy43TGhEIRSHAkg8WSk+6gIBKIlaJqOQL/mg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623685679; a=rsa-sha256; cv=none; b=jd2JWy38V5tboMhAZ8P5Aw0CLJRU8HQ/ZuTynjU2cMmE6Q8saYQBPI04AbpnsRaUuAVtzE pHWLVAMwSp9g0kubkMc1S3sloaf5O6BOUIGI32vAMuMrM5tVSQgw57/p97dg4Nod0oH8KP ivgMm+sR4kTsvj/55jkckCaST5Y+8FKqiRrzXUr79qSdFO5IeJZdHsxRILvryH9lDJvsXN RzhXYZxcB9NU0RyL+HVTz+GQ8o6t/0u7tcbnN8k67RGzwQeM4evPxyrtYAYitQDSLA0LxS t7dszE4oLFqUF5DSTHFKVl73IjvrbpOh2Gv9fs66LUTeWll7jtQEEeOhoCIqbQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=KjI9MyRu; 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=KjI9MyRu; 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: A1C112FDFF X-Spam-Score: -1.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2p1YhzMKHIs4 --=-92s4pyKatONqe5HoHr2B Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit The time zone database is architecture-independent, so trying to cross-compile it is pointless! * gnu/packages/base.scm (tzdata)[arguments]<#:target>: Set to #f. (tzdata)[allowed-references]: Only include the "out" output itself, to make sure no (architecture-dependent) binaries are installed. --- gnu/packages/base.scm | 9 +++++++++ 1 file changed, 9 insertions(+) --=-92s4pyKatONqe5HoHr2B Content-Disposition: attachment; filename="0007-tzdata-Don-t-bother-with-cross-compiling.patch" Content-Transfer-Encoding: 8bit Content-Type: text/x-patch; name="0007-tzdata-Don-t-bother-with-cross-compiling.patch"; charset="UTF-8" diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index d30299a7b6..2674be8048 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2020 Vitaliy Shatrov ;;; Copyright © 2020 Chris Marusich ;;; Copyright © 2021 Leo Le Bouter +;;; Copyright © 2021 Maxime Devos ;;; ;;; This file is part of GNU Guix. ;;; @@ -1251,6 +1252,14 @@ command.") (build-system gnu-build-system) (arguments `(#:tests? #f + ;; This consists purely of (architecture-independent) data, + ;; so ‘cross-compilation’ is pointless here! + ;; (The binaries zic, dump, and tzselect are deleted in the post-install + ;; phase.) + #:target #f + ;; share/zoneinfo/posix is a symlink to share/zoneinfo, + ;; so include the package itself in #:allowed-references. + #:allowed-references ("out") #:make-flags (let ((out (assoc-ref %outputs "out")) (tmp (getenv "TMPDIR"))) (list (string-append "TOPDIR=" out) --=-92s4pyKatONqe5HoHr2B--