From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8NMfIQLBGmGgOAAAgWs5BA (envelope-from ) for ; Mon, 16 Aug 2021 21:48:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id kJTcHALBGmHcGgAA1q6Kng (envelope-from ) for ; Mon, 16 Aug 2021 19:48:18 +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 61A8CC85B for ; Mon, 16 Aug 2021 21:48:17 +0200 (CEST) Received: from localhost ([::1]:56936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mFiam-00008d-Av for larch@yhetil.org; Mon, 16 Aug 2021 15:48:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55744) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFiaY-000085-GV for guix-patches@gnu.org; Mon, 16 Aug 2021 15:48:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39520) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mFiaY-0001N8-9T for guix-patches@gnu.org; Mon, 16 Aug 2021 15:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mFiaY-0005Hm-7j for guix-patches@gnu.org; Mon, 16 Aug 2021 15:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50081] [PATCH] gnu: texlive-texmf: Disable LuaJIT engines on powerpc64le Resent-From: Thiago Jung Bauermann Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Aug 2021 19:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50081 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50081@debbugs.gnu.org Cc: Mathieu Othacehe , Thiago Jung Bauermann X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162914323220255 (code B ref -1); Mon, 16 Aug 2021 19:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Aug 2021 19:47:12 +0000 Received: from localhost ([127.0.0.1]:51066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFiZk-0005Gc-Bu for submit@debbugs.gnu.org; Mon, 16 Aug 2021 15:47:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:44354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFiZh-0005GU-Kj for submit@debbugs.gnu.org; Mon, 16 Aug 2021 15:47:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFiZh-0008U0-BA for guix-patches@gnu.org; Mon, 16 Aug 2021 15:47:09 -0400 Received: from mx.kolabnow.com ([95.128.36.41]:12920) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFiZe-0000jZ-Tx; Mon, 16 Aug 2021 15:47:08 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id 17A57CB5; Mon, 16 Aug 2021 21:47:04 +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=1629143219; x=1630957620; bh=M4tXS4J+vFjt5VsW/+nLG04pNy1Ck0jotL0cgZ1HpSI=; b=lcydzSl+8bs+ ocObDaXwSRr81VYO25XXedfDRprrzNNWymwEcJa/d4rL6TK0F6QqMQaVDQMpEBwQ FiVevpRpkTp4atp9rQllrVBDPYEMIOD97QCVXx2RWYe/TmLxacbxfbtNDRCKjcjO 3YmuvmRvNXHW+5V/bg2BAJPDiA8JkTu5mF3FR43+fq74xHk3mAKgpcDUv0rrTB7O PGuWAq9sIrMkFcyHzffjN3GKDyzEz6ogdBg6/lXVAWEfIyE+skLKlipzjZj5HADR Ly8i/LkBe168wJCw0GNZrSswAiIm2B0biyW3H3cdTyAb5oAbtf+cWVkOxL6L8gDp pJDsibs692sSstpCWm0+Z4xxc08LWqCt1KtrGQ/j3+ofkXmsYRir0jy6Us1WlS1m tX8Ah2Kq9BtEST2bJ3OUuhiQydKDzBrbi42xwsIeUEon6x62yCUiM/rKRAaRxPyQ Tb22OmTRg92EedrsTil9Mqp9ut61LhYMk/Uqugtult6VBydyXQRdTuh3TXTMEN2v M09Ao4uxhSvogG5laJktwzWIaUlTR3wp98/2MIfq/DVSW4mbGtBDZdHTHWPGw926 J+UWNuQO5c0+mcibzmDmlZK590qDdp6Y4dbXXFw6quw11KEdOgba8R14ywR3Mm1C 7RUI5+EUCgf3ShYAxqk1sfFhB415DPE= 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 1YIQQPgjkZgg; Mon, 16 Aug 2021 21:46:59 +0200 (CEST) Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id 7D35F5C1; Mon, 16 Aug 2021 21:46:59 +0200 (CEST) Received: from ext-subm001.mykolab.com (unknown [10.9.6.1]) by int-mx003.mykolab.com (Postfix) with ESMTPS id B128D4B3E; Mon, 16 Aug 2021 21:46:57 +0200 (CEST) Date: Mon, 16 Aug 2021 16:46:33 -0300 Message-Id: <20210816194633.7984-1-bauermann@kolabnow.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=95.128.36.41; envelope-from=bauermann@kolabnow.com; helo=mx.kolabnow.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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=1629143298; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=M4tXS4J+vFjt5VsW/+nLG04pNy1Ck0jotL0cgZ1HpSI=; b=QkgrjNCSztHqoDBUrqKdQLo6uRKY6vydPfbZToKS5L/iFHWXgLZ0Mf9bSon6ez4cXDHU/p VJ4njeLW9PFh+H084axi2kboL3zOoxBZKqFaw5tbSEIufHR0nbY0UjQ38VGtv0y1Rby87c auyctprkHSZnwzcUXyxjEAwuBROt3OKJJGNjlRTSOtl4XT+djB/QBFTw87AVEUQkKTQ0IB V0bVOmV10VMZ8wZXiG1s51fStlo0e1ixpDPXwirver/7LWn1ciCH1dYo0YGmiclS5zEW/U 2YZlKgb8jTEkmKvKdMOkJya5m8pD04VuSiP0n7a25D+yb0od/0YwH7ZP7McmNg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629143298; a=rsa-sha256; cv=none; b=I8cjkjNo+qCcYSu3oOBtGsXFrZuhIVSngkcXF7wTFrZBNMqWEtiJ4Z5NTzuYGH802tMmQv 72ZjU2k+3Pr5iGotkkcfS3sv4yoq6Riymtn9gkGsTsxbeYDg2OL25gMpn3TthIXPLlOzWR 3hx9t9pnPGnrxVbEeeWx2dONF+n0mtebIg8IRSq/CYVr6H5d5CtHkAYYnUeortqopCjawF jW6qVGnWvyFYFvHaLdrCcVA+RMJ934t5FBtxHSbHSfk423iJ+BtUuAqDUzjrDyEWUVPblB Ee3DwrU2JxwpDRuKNgyWAOQIXJbyNLfNHpC9CHjYUmh5wbcKL3P7tK+HaJTfog== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=lcydzSl+; 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.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=lcydzSl+; 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: 61A8CC85B X-Spam-Score: -2.91 X-Migadu-Scanner: scn1.migadu.com X-TUID: ZX38LszRmchE LuaJIT isn’t ported to powerpc64le. ‘texlive-latex-base’ already disables them, 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. gnu/packages/tex.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 70166941d554..3c0b87352a10 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 powerpc64le* yet. + (if (string-prefix? "powerpc64le" + ,(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")