From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AK11AAZ3HGFPVgAAgWs5BA (envelope-from ) for ; Wed, 18 Aug 2021 04:57:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id m9bKNwV3HGEWQwAA1q6Kng (envelope-from ) for ; Wed, 18 Aug 2021 02:57:09 +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 CEE6E1A177 for ; Wed, 18 Aug 2021 04:57:08 +0200 (CEST) Received: from localhost ([::1]:58244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGBlL-0006Dp-SZ for larch@yhetil.org; Tue, 17 Aug 2021 22:57:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40234) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGBlG-0006Df-0a for guix-patches@gnu.org; Tue, 17 Aug 2021 22:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42954) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mGBlF-0008Jk-PV for guix-patches@gnu.org; Tue, 17 Aug 2021 22:57:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mGBlF-0004jK-NT for guix-patches@gnu.org; Tue, 17 Aug 2021 22:57:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50081] [PATCH core-updates-frozen v2] gnu: texlive-texmf: Disable LuaJIT engines on powerpc64* References: <20210816194633.7984-1-bauermann@kolabnow.com> In-Reply-To: <20210816194633.7984-1-bauermann@kolabnow.com> Resent-From: Thiago Jung Bauermann Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Aug 2021 02:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50081 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50081@debbugs.gnu.org Cc: Mathieu Othacehe , Maxime Devos , Thiago Jung Bauermann Received: via spool by 50081-submit@debbugs.gnu.org id=B50081.162925537318118 (code B ref 50081); Wed, 18 Aug 2021 02:57:01 +0000 Received: (at 50081) by debbugs.gnu.org; 18 Aug 2021 02:56:13 +0000 Received: from localhost ([127.0.0.1]:54500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGBkT-0004i8-HM for submit@debbugs.gnu.org; Tue, 17 Aug 2021 22:56:13 -0400 Received: from mx.kolabnow.com ([95.128.36.42]:21260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGBkO-0004hr-AE for 50081@debbugs.gnu.org; Tue, 17 Aug 2021 22:56:12 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id BCFCBC09; Wed, 18 Aug 2021 04:56:02 +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=1629255358; x=1631069759; bh=4VOCfmqHpxPNfNOsWgPZJbjVx/ILs1uRALJ3KtMK8M0=; b=ZpfMUlRXWhiu SVb8PvbHdjZljYTFIE6A074uLx7YEm0UqtYqWw42Cp0QFEBn/WwCBnG8YlY5KjDp +894gH46YzPVtAg1boNqQtDranbUbpJo3yazs2fu8yxpPOb+nF0W/Ss/UnnoqjpN G2i72x9xijZ8iUrr1ay/DgFRjCJK1PPz8TbzaMFwGHesRcinNi8gSL00D5Onjkwu yfN43PKDoljHL4qjgInebD7guZHmxguNtAW5eVzgtuenKhf6x99Cw4msIiR97MoW Is8jarLwMQCb0WZ1rZ2/s8Duv8gi2uZ/NjonYaBJCCCQiZnlJmwwT4WLr7UALNej 4eSTcmfj81m/3lp1b5vkQPHLWGRPRaQDylg336nZR9+McFfFQzVr3rE2wJ9kRJS2 IvrA4O4wN3KlstljN8CxVjEqecRfQGjWHqsvX94Nz7jrBFN/V9wvVA/xi5ZioohO 3fRB8czUfOtBhJlGuofJsEeHy48jjOdlxOnfnxW2Yub6WxQAlO/cg1OWJvZEjlwh wBcIWrK0nSbpI8ZQ48U9Cbbb0YSvGBg6BTtMIEF7MIsqap6D9OLvfLbPvNeBabRG hZsDISOEQ+kZqHyF4lzWQ8yLJvv7n9UoMNj3tBcXKcjkcrfbD9wPG5bxddkdqb87 4bloQx0j8hdmWGx5NY6VJoOBPuImL0Q= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a5pMsP07tqkb; Wed, 18 Aug 2021 04:55:58 +0200 (CEST) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id 18641553; Wed, 18 Aug 2021 04:55:57 +0200 (CEST) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx001.mykolab.com (Postfix) with ESMTPS id C9AC62499; Wed, 18 Aug 2021 04:55:55 +0200 (CEST) Date: Tue, 17 Aug 2021 23:55:28 -0300 Message-Id: <20210818025528.8621-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=1629255429; 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=4VOCfmqHpxPNfNOsWgPZJbjVx/ILs1uRALJ3KtMK8M0=; b=bH6w9BodlBW9Qv0HGpQvhuDJnp/l+rs38RLVVbss0vqLzAMFXwiNTvN3seTRGw3jABYswX ryjQ0pXETrN0U4ls5QVXE4Ea0pZdTp5S+31XWfAXQlC6mNHMiWfWHeovNmzB71DIwkLqJa WI+lAgxw28AmFKFRGLu0TCwhAnk7ziOHTzUUKSoVW0RYCxyNuLi1yGGDvG8/Iku98yJkA3 WD0L1f80wGzMcQjZOE0pmbgzaF6BvnEE52BtIunlSL2CeK8mTToGOb5PoQhuyM9nCFyNml tDRr0ai959Zuv+A2jFIDVGaPwMEIe1410vWh58AdzsYRuYLehIiwMXKRHd1NvQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629255429; a=rsa-sha256; cv=none; b=gBO1Q0oNE7IstFDn6Hzj5iEcwlRT4qJJWTFLOS0fzfChK8RAOR+hQmGvfMqM/iDvTDagHy eh8IesQs6hb+TddzshZ4/Yi5/WZHTxHzQKpNOe0ls6vqN8nJc9gOtHj4zFtUH2J9hCyJr6 EOBrOWPS6T9Om0jk3XMbEJeMriBvsiFN8dX9wU5urx4jiOplD+NDuTBdE1OGlEGKcBfb3G IyV0HBbwSQwRbO/ov3HeqgiDDcoJg8HlWVKevhBc+kuDJnHwWk70IGAPbMMXGSMMFYVPwg u1ysDl1BgXkuNg8kiplaT3aBVQ3yDOi+SDA0o9C/mC7+ohf1eY545KsA/wxCZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=ZpfMUlRX; 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-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=ZpfMUlRX; 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: CEE6E1A177 X-Spam-Score: -2.92 X-Migadu-Scanner: scn1.migadu.com X-TUID: eA6vskvwsnPN LuaJIT isn’t ported to 64-bit PowerPC. ‘texlive-latex-base’ already disables the engines that rely on it, so just do the same in texlive-texmf. Fix suggested by Mathieu Othacehe . * gnu/packages/tex.scm (texlive-texmf)[arguments]<#:phases>{texmf-config}: Disable LuaJIT engines when building for powerpc64le. --- Hello, This fixes the build of ‘texlive-texmf’ on powerpc64le. It was failing with these errors: fmtutil [ERROR]: not building luajittex due to missing engine: luajittex fmtutil [ERROR]: not building luajithbtex due to missing engine: luajithbtex Thank you very much to Mathieu for his help in making this work. Changes since v1: - Match target with “powerpc64” prefix rather than “powerpc64le”. gnu/packages/tex.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 70166941d554..900438ecacd9 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -6821,9 +6821,17 @@ directly generate PDF documents instead of DVI.") (share (string-append out "/share")) (texmfroot (string-append share "/texmf-dist/web2c")) (texmfcnf (string-append texmfroot "/texmf.cnf")) + (fmtutilcnf (string-append texmfroot "/fmtutil.cnf")) (texlive-bin (assoc-ref inputs "texlive-bin")) (texbin (string-append texlive-bin "/bin")) (tlpkg (string-append texlive-bin "/share/tlpkg"))) + ;; LuaJIT is not ported to powerpc64* yet. + (if (string-prefix? "powerpc64" + ,(or (%current-target-system) + (%current-system))) + (substitute* fmtutilcnf + (("^(luajittex|luajithbtex|mfluajit)" m) + (string-append "#! " m)))) ;; Register SHARE as TEXMFROOT in texmf.cnf. (substitute* texmfcnf (("TEXMFROOT = \\$SELFAUTOPARENT")