Summary: | dev-texlive/texlive-langcyrillic-2023_p69727-r1 - error installing man pages | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leonid Kopylov <leonchik1976> |
Component: | Current packages | Assignee: | Alexis Ballier <aballier> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | flow, o.freyermuth, tex, yamadharma |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Leonid Kopylov
2024-05-16 16:18:42 UTC
Created attachment 893049 [details]
build.log
Ok, this is the 'grep' in the pipe returning an exit status of 1 because no line was selected by the grep. We should probably change [[ "${PIPESTATUS[*]}" =~ ^0(" 0")*$ ]] to [[ "${PIPESTATUS[*]}" =~ "^0 [01] 0$" ]] in the eclass, unless someone has a better suggestion. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90b41ec50f152da26b8c8d4004d38d7cd4b3dd53 commit 90b41ec50f152da26b8c8d4004d38d7cd4b3dd53 Author: Florian Schmaus <flow@gentoo.org> AuthorDate: 2024-05-20 11:00:27 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2024-05-21 08:58:07 +0000 texlive-module.eclass: do not treat grep returning 1 as error In case every man page of the dev-texlive/* package is filtered, because the man pages are already installed by texlive-core, grep returns an exit status of 1, which we must not treat as an error condition. Adjust the PIPESTATUS comparison accordingly. Closes: https://bugs.gentoo.org/931994 Signed-off-by: Florian Schmaus <flow@gentoo.org> eclass/texlive-module.eclass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) |