From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 84DD915808B for ; Mon, 12 Feb 2024 15:02:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 86BF6E29DB; Mon, 12 Feb 2024 15:02:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6E3EBE29DB for ; Mon, 12 Feb 2024 15:02:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 97D00343083 for ; Mon, 12 Feb 2024 15:02:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D878514AA for ; Mon, 12 Feb 2024 15:02:15 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1707732949.c20bbb8aac0d34b3f53012668b73d87704d7fcd7.flow@gentoo> Subject: [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/ X-VCS-Repository: proj/tex-overlay X-VCS-Files: app-text/texlive-core/texlive-core-2023.ebuild X-VCS-Directories: app-text/texlive-core/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: c20bbb8aac0d34b3f53012668b73d87704d7fcd7 X-VCS-Branch: main Date: Mon, 12 Feb 2024 15:02:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0293002b-ad39-49d9-a2a5-747f7c595484 X-Archives-Hash: 31a4b8a442c1f62ca95a43eb44463437 commit: c20bbb8aac0d34b3f53012668b73d87704d7fcd7 Author: Florian Schmaus gentoo org> AuthorDate: Mon Feb 12 10:15:45 2024 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Mon Feb 12 10:15:49 2024 +0000 URL: https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=c20bbb8a app-text/texlive-core: invoke efmtutil-sys from the eclass and use --ignore-errors texlive-core always invoked texmf-update and fmtutil-sys ignore its exit status, but with the recent eclass change etexmf-update became sensitive to its exit status. And since we now invoke efmtutil-sys, instead of invoking fmtutil-sys directly, we have to use --ignore-errors to restore the original behavior of the ebuild. Signed-off-by: Florian Schmaus gentoo.org> app-text/texlive-core/texlive-core-2023.ebuild | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/app-text/texlive-core/texlive-core-2023.ebuild b/app-text/texlive-core/texlive-core-2023.ebuild index f09dc64..07d1909 100644 --- a/app-text/texlive-core/texlive-core-2023.ebuild +++ b/app-text/texlive-core/texlive-core-2023.ebuild @@ -740,14 +740,16 @@ src_install() { } pkg_postinst() { - etexmf-update - - # Note that the fmtutil-sys call has no "|| die" attached to it. We - # are here in pkg_postinst where invoking die is not sensible. - # TODO: Research the rationale of calling fmtutil-sys here and the - # reasons why it fails. - einfo "Regenerating TeX formats" - fmtutil-sys --all &> /dev/null + # Note that the etexmf-update and efmtutil-sys use nonfatal. We are + # pkg_postinst, so invoking die will merely print an error message + # but not abort the installation as it already happened. However, + # unlike the texlive modules, we observed fmtutil-sys failures in + # texlive-core. + + # TODO: Research the rationale of calling etexmf-update and + # eftmutil-sys here and the reasons why it fails. + etexmf-update --ignore-errors + efmtutil-sys --ignore-errors elog elog "If you have configuration files in ${EPREFIX}/etc/texmf to merge,"