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 gKE5E6dBG2G2GAEAgWs5BA (envelope-from ) for ; Tue, 17 Aug 2021 06:57:11 +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 YAXhDqdBG2E1fgAAB5/wlQ (envelope-from ) for ; Tue, 17 Aug 2021 04:57:11 +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 77C0317CD0 for ; Tue, 17 Aug 2021 06:57:10 +0200 (CEST) Received: from localhost ([::1]:39874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mFr9x-00006z-LL for larch@yhetil.org; Tue, 17 Aug 2021 00:57:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFr9q-00006j-SQ for guix-patches@gnu.org; Tue, 17 Aug 2021 00:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39747) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mFr9q-0007ni-Lb for guix-patches@gnu.org; Tue, 17 Aug 2021 00:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mFr9q-0001iI-8H for guix-patches@gnu.org; Tue, 17 Aug 2021 00:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50086] [PATCH 1/2] gnu: pth: Update =?UTF-8?Q?=E2=80=98config.guess=E2=80=99?= and =?UTF-8?Q?=E2=80=98config.sub=E2=80=99?= References: <20210817045003.11592-1-bauermann@kolabnow.com> In-Reply-To: <20210817045003.11592-1-bauermann@kolabnow.com> Resent-From: Thiago Jung Bauermann Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 17 Aug 2021 04:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50086 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50086@debbugs.gnu.org Cc: Thiago Jung Bauermann Received: via spool by 50086-submit@debbugs.gnu.org id=B50086.16291761906532 (code B ref 50086); Tue, 17 Aug 2021 04:57:02 +0000 Received: (at 50086) by debbugs.gnu.org; 17 Aug 2021 04:56:30 +0000 Received: from localhost ([127.0.0.1]:51289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFr9K-0001hH-8j for submit@debbugs.gnu.org; Tue, 17 Aug 2021 00:56:30 -0400 Received: from mx.kolabnow.com ([95.128.36.40]:1642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFr9H-0001h3-Rm for 50086@debbugs.gnu.org; Tue, 17 Aug 2021 00:56:28 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id 9B51541B1D for <50086@debbugs.gnu.org>; Tue, 17 Aug 2021 06:56:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:subject:subject:from:from:received :received:received; s=dkim20160331; t=1629176176; x=1630990577; bh=pep3dgZhbds+kUcZd3d0RoqQUJg9RPeNaZgP8UnDJkU=; b=cASUbZUbsHSN amDiyf7FU4BekRlSav5/yC9jaCIhv1944TwBnIEN1e9ETwuF4Io6Eqv6VYFDZ//f MUeDWVNb6M026oTf+df3Cz4jtoW3DrKNTulXJlY6KiItuEX+YoYSxLnYeE18ZlO4 rYRybfw6T/fGj/KoAupc12FkfWP9jErkYkDZCusIcTAcb4615LCJXXY7WDU314d8 C6FQhxUqx4aCPbHn89V2OcMAIdtMC4zD9ux4j8oHk8d+BmVZqGF4CvbvEVgOVcer JJ0XZfCrTCmKzFnwQMcUtQn7YV5AaKZ2mgr5KX4HVimEaN5J6qr53MFUaNYQKGh2 OhnTJVcrVwroi4274HjPd9Lv+ksZoZSjOjfYrq42sECgxsReHw5rwkYbAGT1Wofv 87XcTiMr7beSs1Ci6G9u8S8BhL7ZCGqk2hIhaKNAy7kCmyKSXZsKlIQTpQ8M2WIs 9FNRrm/j4EG8rBJ5MlNPB8XPM92xUcikya6KWSpeuS1qiqvRIhWuyQzXBDN1wtLb Dx/3ik/HuVqzvPHIwU67sPOaGUbWTif4nl6ezjArBcUfBfgodxHcSW9YYBlBnrDv DNBER4c1gjX0ZSXwzCM5L/SZK66rCZn6G0RAuAQIXrDHvfAfgtVnkA75KdWQ7nmJ UYmdP60ddSVkrQTEG5o6XmbODI+OJ6w= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LD8_bNd31TOs for <50086@debbugs.gnu.org>; Tue, 17 Aug 2021 06:56:16 +0200 (CEST) Received: from int-mx002.mykolab.com (unknown [10.9.13.2]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id AC0B5418E8 for <50086@debbugs.gnu.org>; Tue, 17 Aug 2021 06:56:16 +0200 (CEST) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx002.mykolab.com (Postfix) with ESMTPS id 18141455E; Tue, 17 Aug 2021 06:56:15 +0200 (CEST) Date: Tue, 17 Aug 2021 01:55:52 -0300 Message-Id: <20210817045553.11746-1-bauermann@kolabnow.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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" Reply-to: Thiago Jung Bauermann X-ACL-Warn: , Thiago Jung Bauermann via Guix-patches From: Thiago Jung Bauermann via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629176230; 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=pep3dgZhbds+kUcZd3d0RoqQUJg9RPeNaZgP8UnDJkU=; b=KiTkP3qqET3xG8VDRmacN2Nn3nk4kxllKfWJOtYWIOHA91oF+rFTwshiczj2+sWn5jBxBf UOrByA4QeXzoqZyYcUieIsxyJT9Qu1+8vJq0KWnNIkTWCeEPbRGWXmQtLsxJae8QBLTeCS v2joYnPQXD68tuncbaYB42BcGg7nlclpNZRKRyTdAL1bnm6FP5612ZZJBnnOuMt6/C/LD7 tGTG4DIc/Szu2SywBKLt2FTYngFuZOGsj+hfsV/9p/IkFQBB2b7QwvxkTDALilReOVeMIR lYS60QW2K2FEodEsCS8KF1f02Uej/a38Ro9QhycSMNWaWf2lq9lKdtqoHB+jsw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629176230; a=rsa-sha256; cv=none; b=bGObnzxQQom8BnoY8nc/z3NZvS4pyPTQsAF7o1wxPPujPZTxY1mm/rClwDNfYnZUpfYU0z ySaitn8mUTI92rm5FEGpdpCiVgDWPH5tTE9NgRAwuDpP5lWilWqzzcDdTZqy8900WlJ7CP Ch11hTXMjs2V3pJ3Vei8/6cQ4kZPaCiDW9EjfD+zwd8rB5Bpc5JUq9AHBPj9Vowz3kG0TL OX7xarkY3pWhRthwvLdGcixiotQEPjtp0XhrctOdUCNjOTSs4mo4JptAXzyF1e2Z9S4qg7 MuPpj9Vw00nA5OerhlxjsjwXTWxRl60CPVrBdksw3blnggTDJuZBsiP3qZVqQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=cASUbZUb; 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: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=cASUbZUb; dmarc=pass (policy=none) header.from=gnu.org; 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: 77C0317CD0 X-Spam-Score: -2.92 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7+pDaUmtmon5 The original versions are too old to recognize architectures such as aarch64 and powerpc64le. * gnu/packages/pth.scm (pth)[arguments]: Change from quasiquote to quote. [#:phases]{update-config-scripts}: New. [native-inputs]: Add ‘config’. --- Hi, As mentioned in the cover letter, this fixes the build for powerpc64le-linux. I believe it will also work for aarch64-linux but I wasn’t able to test on that platform. Thanks, Thiago gnu/packages/pth.scm | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/gnu/packages/pth.scm b/gnu/packages/pth.scm index 1908ce776333..9f3dda5ae175 100644 --- a/gnu/packages/pth.scm +++ b/gnu/packages/pth.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2012, 2015 Ludovic Courtès ;;; Copyright © 2014 Mark H Weaver ;;; Copyright © 2017 Efraim Flashner +;;; Copyright © 2021 Thiago Jung Bauermann ;;; ;;; This file is part of GNU Guix. ;;; @@ -19,6 +20,7 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages pth) + #:use-module (gnu packages autotools) #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix download) @@ -38,12 +40,19 @@ "0ckjqw5kz5m30srqi87idj7xhpw6bpki43mj07bazjm2qmh3cdbj")))) (build-system gnu-build-system) (arguments - `(#:parallel-build? #f - #:configure-flags (list - ,@(if (string=? "aarch64-linux" - (%current-system)) - '("--host=aarch64-unknown-linux-gnu") - '())))) + '(#:parallel-build? #f + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'update-config-scripts + (lambda* (#:key inputs native-inputs #:allow-other-keys) + ;; Replace outdated config.guess and config.sub. + (for-each (lambda (file) + (install-file + (search-input-file (or native-inputs inputs) + (string-append "/bin/" file)) ".")) + '("config.guess" "config.sub"))))))) + (native-inputs + (list config)) (home-page "https://www.gnu.org/software/pth/") (synopsis "Portable thread library") (description