From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/
Date: Mon, 12 Feb 2024 15:02:15 +0000 (UTC) [thread overview]
Message-ID: <1707732949.c20bbb8aac0d34b3f53012668b73d87704d7fcd7.flow@gentoo> (raw)
commit: c20bbb8aac0d34b3f53012668b73d87704d7fcd7
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 12 10:15:45 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> 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 <flow <AT> 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,"
next reply other threads:[~2024-02-12 15:02 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-12 15:02 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-01 11:48 [gentoo-commits] proj/tex-overlay:main commit in: app-text/texlive-core/ Florian Schmaus
2024-12-29 17:39 Florian Schmaus
2024-12-13 13:08 Florian Schmaus
2024-12-11 13:29 Florian Schmaus
2024-12-07 11:53 Florian Schmaus
2024-12-06 10:36 Florian Schmaus
2024-12-06 10:36 Florian Schmaus
2024-11-26 17:22 Florian Schmaus
2024-11-26 16:37 Florian Schmaus
2024-11-26 10:45 Florian Schmaus
2024-11-23 18:09 Florian Schmaus
2024-11-22 17:25 Florian Schmaus
2024-11-20 14:21 Florian Schmaus
2024-07-26 7:47 Florian Schmaus
2024-07-26 7:47 Florian Schmaus
2024-04-04 13:02 Florian Schmaus
2024-04-04 13:02 Florian Schmaus
2024-04-02 9:43 Florian Schmaus
2024-03-01 8:06 Florian Schmaus
2024-02-26 13:55 Florian Schmaus
2024-02-26 13:54 Florian Schmaus
2024-02-26 13:54 Florian Schmaus
2024-02-25 15:26 Florian Schmaus
2024-02-12 9:30 Florian Schmaus
2024-02-12 9:30 Florian Schmaus
2024-02-11 11:28 Florian Schmaus
2024-01-10 21:15 Florian Schmaus
2023-12-30 12:05 Paul Zander
2023-12-29 11:50 Florian Schmaus
2023-12-29 11:50 Florian Schmaus
2023-11-20 17:44 Florian Schmaus
2023-11-19 18:50 Florian Schmaus
2023-11-19 18:13 Florian Schmaus
2023-11-17 16:46 Florian Schmaus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1707732949.c20bbb8aac0d34b3f53012668b73d87704d7fcd7.flow@gentoo \
--to=flow@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox