Bug#1052298: metafun.mp refers to inexistent metafun.mpii
Dear Hilmar, Le 22/09/2023 à 00:02, Preuße, Hilmar a écrit : While investigating why mlpost now FTBFS (#1052232), I realized that file /usr/share/texmf/metapost/context/base/mpiv/metafun.mpiv refers to a "metafun.mpii" which doesn't exist. I did a "grep -r metafun.mpii /home/hille/devel/TeXLive/github/context/texmf-dist" and the only relevant occurence of metafun.mpii is in /home/hille/devel/TeXLive/github/context/texmf-dist/metapost/context/base/common/metafun.mp , which reads: if known metafunversion : endinput ; fi ; if known mplib : input metafun.mpiv else : input metafun.mpii fi ; mlpost generates files (e.g. foo.mp) that start with: input metafun.mp ; and runs them with e.g. `mpost -interaction=nonstopmode foo.mp`. A file with only the line above exhibits the problem: mpost fails with the error: This is MetaPost, version 2.02 (TeX Live 2023/Debian) (kpathsea version 6.3.5) (/usr/share/texlive/texmf-dist/metapost/base/mpost.mp (/usr/share/texlive/texmf-dist/metapost/base/plain.mp Preloading the plain mem file, version 1.005) ) (./foo.mp (/usr/share/texmf/metapost/context/base/common/metafun.mp ! I can't open file `metafun.mpii'. l.6 input metafun.mpii Please type another input file name ! Emergency stop. l.6 input metafun.mpii Transcript written on foo.log. Note that the problem is new: mlpost compiled successfully on 2023-08-17. Context has been updated since them and the previous version did ship metafun.mpii that somehow got dropped in the new version. That's why I've submitted a bug here. I do not know anything about metafun, but my impression is that you need to load a lib to combine metafun and mkiv. Please try to figure that yourself, I can't help here and I don't think we look at a general bug here. Metafun documentation [1] says to use "input mp-tool" or "input metafun", but neither works. [1] http://www.pragma-ade.nl/general/manuals/metafun-p.pdf Using "input mp-tool.mpiv" seems to work, though (mlpost builds). Is that expected? Cheers, -- Stéphane
Bug#1052298: metafun.mp refers to inexistent metafun.mpii
On 20.09.2023 05:30, Stéphane Glondu wrote: Hi Stéphane, While investigating why mlpost now FTBFS (#1052232), I realized that file /usr/share/texmf/metapost/context/base/mpiv/metafun.mpiv refers to a "metafun.mpii" which doesn't exist. I did a "grep -r metafun.mpii /home/hille/devel/TeXLive/github/context/texmf-dist" and the only relevant occurence of metafun.mpii is in /home/hille/devel/TeXLive/github/context/texmf-dist/metapost/context/base/common/metafun.mp , which reads: if known metafunversion : endinput ; fi ; if known mplib : input metafun.mpiv else : input metafun.mpii fi ; I do not know anything about metafun, but my impression is that you need to load a lib to combine metafun and mkiv. Please try to figure that yourself, I can't help here and I don't think we look at a general bug here. Hilmar -- sigfault OpenPGP_signature Description: OpenPGP digital signature
Bug#1052298: metafun.mp refers to inexistent metafun.mpii
On 20.09.2023 05:30, Stéphane Glondu wrote: Hi Stéphane, While investigating why mlpost now FTBFS (#1052232), I realized that file /usr/share/texmf/metapost/context/base/mpiv/metafun.mpiv refers to a "metafun.mpii" which doesn't exist. Could you send me the command line, which exposes the issue? Hilmar -- sigfault OpenPGP_signature Description: OpenPGP digital signature
Bug#1052298: metafun.mp refers to inexistent metafun.mpii
Package: context Version: 2023.05.05.20230730+dfsg-2 Severity: important Control: block 1052232 by -1 Dear Maintainer, While investigating why mlpost now FTBFS (#1052232), I realized that file /usr/share/texmf/metapost/context/base/mpiv/metafun.mpiv refers to a "metafun.mpii" which doesn't exist. Cheers, -- Stéphane -- System Information: Debian Release: trixie/sid APT prefers testing APT policy: (990, 'testing'), (500, 'buildd-unstable'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.4.0-4-amd64 (SMP w/8 CPU threads; PREEMPT) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages context depends on: ii lmodern 2.005-1 ii luametatex2.10.08+ds-1+b1 ii ruby 1:3.1 ii tex-common6.18 ii tex-gyre 20180621-6 ii texlive-base 2023.20230613-3 ii texlive-binaries 2023.20230311.66589-6 ii texlive-metapost 2023.20230613-3 Versions of packages context recommends: pn context-modules ii fonts-freefont-otf20211204+svn4273-2 ii fonts-gfs-artemisia 1.1-6 ii fonts-gfs-baskerville 1.1-6 pn fonts-gfs-bodoni-classic ii fonts-gfs-didot 1.1-7 pn fonts-gfs-didot-classic pn fonts-gfs-gazis ii fonts-gfs-neohellenic 1.1-7 ii fonts-gfs-olga1.1-6 ii fonts-gfs-porson 1.1-7 ii fonts-gfs-solomos 1.1-6 pn fonts-gfs-theokritos ii fonts-sil-gentium 20081126:1.03-4 Versions of packages context suggests: pn context-nonfree pn fontforge ii libxml-parser-perl 2.46-4 ii perl-tk 1:804.036-1+b2 -- no debconf information