Summary: | dev-texlive/texlive-xetex-2023_p69452: Undefined control sequence on upgrade from 2021 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Yuan Liao (Leo3418) <liaoyuan> |
Component: | Current packages | Assignee: | TeX project <tex> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andrewammerlaan, flow, liaoyuan, negril.nx+gentoo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
List of installed packages when the build failed List of installed packages when the build failed List of installed packages (Attempt 2, failed) List of installed packages (Successful upgrade) |
Description
Yuan Liao (Leo3418)
2024-03-15 20:32:02 UTC
Created attachment 887722 [details]
List of installed packages when the build failed
Created attachment 887723 [details]
List of installed packages when the build failed
I wonder if this is a missing RDEPEND on >=dev-texlive/texlive-latex-2023. @leo3418 could you see if emerging texlive-xetex-2023 succeeds if texlive-latex-2023 is installed? Created attachment 887779 [details] List of installed packages (Attempt 2, failed) (In reply to Florian Schmaus from comment #3) > I wonder if this is a missing RDEPEND on >=dev-texlive/texlive-latex-2023. > > @leo3418 could you see if emerging texlive-xetex-2023 succeeds if > texlive-latex-2023 is installed? I just tried to upgrade from 2021 to 2023 again, installing texlive-latex-2023 before texlive-xetex-2023. Ended up with exactly the same error. In my first attempt, texlive-latex-2023 was also installed already. Attachment 887723 [details] shows: # emerge --pretend --verbose @installed | sort [ebuild R #] dev-texlive/texlive-latex-2023_p69131-r1::gentoo USE="-doc -source" 0 KiB Created attachment 887780 [details]
List of installed packages (Successful upgrade)
FWIW, if only texlive-xetex is added to @world and texlive-latexextra is not, I can successfully upgrade from texlive-xetex-2021 to 2023.
In this case, texlive-xetex-2023 would be built with texlive-latex-2021. In other words, it seems that texlive-xetex-2023 can be built successfully with texlive-latex-2021 but cannot be built with texlive-latex-2023.
# emerge --pretend --verbose @installed
...
[ebuild U #] dev-texlive/texlive-latex-2023_p69131-r1::gentoo [2021::gentoo] USE="-doc -source" 0 KiB
[ebuild R #] dev-texlive/texlive-xetex-2023_p69452::gentoo USE="-X -doc -source" 0 KiB
I resolved the problem with emerge -C dev-texlive/texlive-xetex emerge -1 dev-texlive/texlive-latexextra emerge -1 dev-texlive/texlive-xetex I'm pretty sure the problem occurs because there is a mismatch between the versions of texlive-latex and texlive-latexextra during the upgrade. Emerge upgrades the packages in this (wrong) order because the texlive-latexextra ebuild has the blocker !<dev-texlive/texlive-xetex-2023. I think we may be able to resolve the problem by enforcing a version match between texlive-latex and texlive-latexextra with a RDEPEND on ~dev-texlive/texlive-latex in dev-texlive/texlive-latexextra. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83eecb3322e2da155b691cd02e681341e7b5472c commit 83eecb3322e2da155b691cd02e681341e7b5472c Author: Florian Schmaus <flow@gentoo.org> AuthorDate: 2024-03-24 19:20:37 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2024-03-24 19:33:20 +0000 dev-texlive/texlive-latexextra: ensure that texlive-latex version is on par with texlive-latexextra Closes: https://bugs.gentoo.org/927092 Signed-off-by: Florian Schmaus <flow@gentoo.org> ...ra-2023_p69752-r1.ebuild => texlive-latexextra-2023_p69752-r2.ebuild} | 1 + 1 file changed, 1 insertion(+) |