From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kD4BNR7WzGDrYgAAgWs5BA (envelope-from ) for ; Fri, 18 Jun 2021 19:21:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 6NWxMB7WzGByAwAAbx9fmQ (envelope-from ) for ; Fri, 18 Jun 2021 17:21:34 +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 3FF4C1DD41 for ; Fri, 18 Jun 2021 19:21:34 +0200 (CEST) Received: from localhost ([::1]:50942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luIBR-0000aA-9X for larch@yhetil.org; Fri, 18 Jun 2021 13:21:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luIA2-0007cp-AB for guix-patches@gnu.org; Fri, 18 Jun 2021 13:20:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46547) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luIA1-00048t-V7 for guix-patches@gnu.org; Fri, 18 Jun 2021 13:20:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1luIA1-0004sB-S6 for guix-patches@gnu.org; Fri, 18 Jun 2021 13:20:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49025] [PATCH v3 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: Fri, 18 Jun 2021 17:20: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 Cc: othacehe@gnu.org, Maxime Devos Received: via spool by 49025-submit@debbugs.gnu.org id=B49025.162403675718358 (code B ref 49025); Fri, 18 Jun 2021 17:20:05 +0000 Received: (at 49025) by debbugs.gnu.org; 18 Jun 2021 17:19:17 +0000 Received: from localhost ([127.0.0.1]:58006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luI9E-0004lj-QF for submit@debbugs.gnu.org; Fri, 18 Jun 2021 13:19:17 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:34916) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luI97-0004jB-6d for 49025@debbugs.gnu.org; Fri, 18 Jun 2021 13:19:10 -0400 Received: from localhost.localdomain ([213.119.219.214]) by andre.telenet-ops.be with bizsmtp id JhK5250094e8Tal01hK8bQ; Fri, 18 Jun 2021 19:19:08 +0200 From: Maxime Devos Date: Fri, 18 Jun 2021 19:16:01 +0200 Message-Id: <20210618171631.20534-7-maximedevos@telenet.be> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210618171631.20534-1-maximedevos@telenet.be> References: <20210618171631.20534-1-maximedevos@telenet.be> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1624036748; bh=kOQUqdfe/b2Ix6iebNw4GykUprcUIzEM0B9Sc62yn8Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:Reply-To; b=F3+7MCGbTTMLpVxRNNFtznoAscyO5czrpFw6TxARco8Jmtlolmjh4Ioz/rKYx6Nvt Yuej70Iw4N7L/MtVB2rtj0qexB/1UflDziCutQC/4dngYa5kSyqyrBbNWSovyTjub5 /3zf9nJPLa/qUhPuTnd2GmRdlVS67ZcwH/I9XJpbbWPMEFuxMPGPYPzDKfCIxyvyXN DgwCjMTLTIFsJrvrSq85XHZt6qKPjQTQygOy+B6zxmwvABvRZYEemMgL9UJ5CRCLfL VoYOqoaN0zV8hunTgTlZeMdAH3NMoKMtMKD149bPWgI05MBO69jNebn5e1RAzH3I26 MOChjkLUdmJRw== 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: , Reply-To: 49025@debbugs.gnu.org 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=1624036894; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=kOQUqdfe/b2Ix6iebNw4GykUprcUIzEM0B9Sc62yn8Y=; b=OKtxLcCAA0xDpyEn6A4qzMv/KDO3v5pV8CKNLRDUCWShnScDPa8rmzceRC9Kht8kmPrv/D lLQmK/x6pf7PrnOWVcx1McqiglK69yWGUK1CX5cCE/T2jx7Tp6KTZs0ObB5sHgz5hIyiAp BYC+4qfhK8EcKt5ot1uozZvFTlFhJm59Hm2qm/t2B1Go7gaoLJ4yGZ8/7XJWuq2W8+9DEz KiGO2pkkspcWdP0ZXMI/8anUZKQT9pfcEXLDAry2cXMLD4E8BKSXHm6wnYXipSgrLjp4Uq eIT1GbXFczMldkHDpVCKyYb8EcSXe69E9ukZbFjudpWBkdBCUq8+gMRngPQGZA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624036894; a=rsa-sha256; cv=none; b=apDyEcPLSapOxsHhNE/Nxf6//Qdo0BxK+YzXv+OKqRU1B2YDb34MndAOgv56gosNyz4OOZ SEB1sRWu5762DO7ElUwl4nlwXeldC8f1a0d2P+1sgb5Q54dwX5FSCCYnIOReyrbmzAVJKP vEvf/8dWw7tD956LwyOibEg3/EBU545jFGWNCn6aeHwyQtkffKG4NjhOYJZQ5E7ITJlI+Y AOCplnCfgb+UGzR3JMax2EeTZe1eFigY7qRJqDIxmkbfKR0lOqXMfpnDL30ZCctYmIulvk 0LJPV/dZnXYppr/2PtXUFVZJPaoOb407FIfqmcT0p/6kWy1VrPJ3EQHBtPq5Zg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=F3+7MCGb; 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.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=F3+7MCGb; 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: 3FF4C1DD41 X-Spam-Score: 1.17 X-Migadu-Scanner: scn1.migadu.com X-TUID: NjzyKaaG1wBg 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(+) 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) -- 2.32.0