Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 837875 - app-text/texlive-core-2021-r1 fails to reinstall - missing mplib.h
Summary: app-text/texlive-core-2021-r1 fails to reinstall - missing mplib.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks: parallel-make
  Show dependency tree
 
Reported: 2022-04-11 19:10 UTC by Helmut Jarausch
Modified: 2024-11-12 23:02 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (texlive-core.info,21.28 KB, text/plain)
2022-04-11 19:10 UTC, Helmut Jarausch
Details
build log xz-compressed (texlive-core-2021-r1.build.xz,32.46 KB, application/octet-stream)
2022-04-12 14:28 UTC, Helmut Jarausch
Details
texlive-core-2023-mplib-h.patch (texlive-core-2023-mplib-h.patch,1.03 KB, patch)
2024-11-12 09:39 UTC, Florian Schmaus
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2022-04-11 19:10:13 UTC
Created attachment 770144 [details]
emerge --info

I try to reinstall app-text/texlive-core-2021-r1, but it fails with
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/app-text/texlive-core-2021-r1/work/texlive-20210325-source/texk/web2c \
   -I./w2c    -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include \
   -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/libpng16  -I/usr/include/pixman-1  \
   -I/usr/include/libpng16    -I/var/tmp/portage/app-text/texlive-core-2021-r1/work/texlive-20210325-source/texk/web2c/mplibdir  \
   -Wimplicit -Wreturn-type -march=native -O3 -pipe -c -o libmplibbackends_a-pngout.o `test -f 'pngout.c' \
   || echo '/var/tmp/portage/app-text/texlive-core-2021-r1/work/texlive-20210325-source/texk/web2c/'`pngout.c
/var/tmp/portage/app-text/texlive-core-2021-r1/work/texlive-20210325-source/texk/web2c/mplibdir/pngout.w:63:10: fatal error: mplib.h: No such file or directory
   63 | #include "mplib.h"
      |          ^~~~~~~~~

What has happened?
Many thanks for a hint,
Helmut
Comment 1 Mike Gilbert gentoo-dev 2022-04-11 19:25:53 UTC
Please attach a full build log and change the bug status back to UNCONFIRMED.
Comment 2 Helmut Jarausch 2022-04-12 14:28:22 UTC
Created attachment 770375 [details]
build log  xz-compressed
Comment 3 Helmut Jarausch 2022-04-19 11:16:00 UTC
This is a problem of incorrect parallel make.

Setting OPT='-j1' fixes this.

(I should have tried that)
Comment 4 Sven Eden 2022-09-22 16:09:22 UTC
If you hit the build stop and do not want to rebuild with -j1, you can also do:

sudo ebuild /usr/portage/app-text/texlive-core/texlive-core-2021-r3.ebuild merge

This finished the build and merge for me on first try.
Comment 5 Christian Bricart 2024-06-11 14:24:03 UTC
bumping this issue:
this is also still a (latent) issue with ~app-text/texlive-core-2023

(i.e. merge failed on missing »mplib.h« just happened here and a simple retried emerge successfully concluded)
Comment 6 Ulrich Müller gentoo-dev 2024-11-12 09:26:54 UTC
Reported upstream: https://tug.org/pipermail/tex-live/2024-November/050909.html
Comment 7 Florian Schmaus gentoo-dev 2024-11-12 09:39:15 UTC
Created attachment 908573 [details, diff]
texlive-core-2023-mplib-h.patch
Comment 8 Larry the Git Cow gentoo-dev 2024-11-12 11:52:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a96d1dada1660a8d8f84ff20769edba1441d625

commit 5a96d1dada1660a8d8f84ff20769edba1441d625
Author:     Florian Schmaus <flow@gentoo.org>
AuthorDate: 2024-11-12 11:24:22 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2024-11-12 11:50:43 +0000

    app-text/texlive-core: patch in missing mplib.h
    
    Thanks to ulm for the patch.
    
    Closes: https://bugs.gentoo.org/837875
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 app-text/texlive-core/Manifest                     |  1 +
 app-text/texlive-core/texlive-core-2023-r10.ebuild | 12 +++++++++---
 2 files changed, 10 insertions(+), 3 deletions(-)
Comment 9 Ulrich Müller gentoo-dev 2024-11-12 23:02:22 UTC
(In reply to Ulrich Müller from comment #6)
> Reported upstream:
> https://tug.org/pipermail/tex-live/2024-November/050909.html

Patch accepted upstream:
https://tug.org/svn/texlive?revision=72836&view=revision