Opened 7 years ago
Closed 7 years ago
#54362 closed defect (fixed)
texlive-basic @44435: mktexfmt fails to run
Reported by: | Schamschula (Marius Schamschula) | Owned by: | drkp (Dan Ports) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | mojca (Mojca Miklavec), dbevans (David B. Evans) | |
Port: | texlive-basic |
Description
mktexfmt fails to run with the following error:
Undefined subroutine &TeXLive::TLUtils::prepend_own_path called at /opt/local/bin/mktexfmt line 66.
This is a blocker in revision bumping asymptote, as I'm in the process of updating dependents of gsl.
Attachments (1)
Change History (10)
comment:1 Changed 7 years ago by Schamschula (Marius Schamschula)
Summary: | texlive-basic 2017: mktexfmt fails to run → texlive-basic @44435: mktexfmt fails to run |
---|
comment:2 follow-up: 5 Changed 7 years ago by mojca (Mojca Miklavec)
comment:3 Changed 7 years ago by mojca (Mojca Miklavec)
Cc: | mojca added |
---|
comment:4 Changed 7 years ago by mojca (Mojca Miklavec)
Cc: | dbevans added |
---|
comment:5 Changed 7 years ago by drkp (Dan Ports)
I'm confused here -- looking at the mktexfmt code, it looks like it is adding /opt/local/share/tlpkg
to @INC as expected, so it ought to fin TLUtils just fine. And indeed it does seem to work for me.
More generally, I don't understand why building asymptote is running mktexfmt since I would expect the formats to be built already. I can't reproduce that either. (I guess that's the same issue as #51862, but that doesn't clear anything up...)
comment:6 Changed 7 years ago by drkp (Dan Ports)
I also tried this on a fresh install of texlive (port uninstall texlive\* ; port build symptote
) in case the formats were being generated improperly when only installing the subset of texlive that's required to build asymptote. That worked too and didn't run mktexfmt at all, so I'm still confused.
Changed 7 years ago by Schamschula (Marius Schamschula)
Attachment: | asy-main.log.gz added |
---|
comment:7 Changed 7 years ago by Schamschula (Marius Schamschula)
I recently upgraded texlive to 2017 with port sync:
port installed|grep tex|grep active detex @2.8_1 (active) latexdiff @1.2.0_1 (active) latexmk @4.52c_0 (active) texlive @2017_0+doc+medium (active) texlive-basic @44435_0+doc (active) texlive-bin @2016_6+x11 (active) texlive-bin-extra @44432_0+doc (active) texlive-common @2017.1_0 (active) texlive-context @44436_0+doc (active) texlive-fonts-recommended @42428_0+doc (active) texlive-fontutils @44166_0+doc (active) texlive-lang-czechslovak @44347_0+doc (active) texlive-lang-english @44131_0+doc (active) texlive-lang-european @44414_0+doc (active) texlive-lang-french @44342_0+doc (active) texlive-lang-german @44401_0+doc (active) texlive-lang-italian @44357_0+doc (active) texlive-lang-polish @44371_0+doc (active) texlive-lang-portuguese @40340_1+doc (active) texlive-lang-spanish @44356_0+doc (active) texlive-latex @44427_0+doc (active) texlive-latex-extra @44430_0+doc (active) texlive-latex-recommended @44369_0+doc (active) texlive-luatex @44141_0+doc (active) texlive-math-science @44428_0+doc (active) texlive-metapost @44298_0+doc (active) texlive-pictures @44395_0+doc (active) texlive-plain-generic @44379_0+doc (active) texlive-xetex @44370_0+doc (active)
comment:8 follow-up: 9 Changed 7 years ago by drkp (Dan Ports)
Well, this stands out:
texlive-bin @2016_6+x11 (active)
Any idea how you wound up with texlive-bin 2016 installed with what looks like all the rest of the ports at their 2017 version?
comment:9 Changed 7 years ago by Schamschula (Marius Schamschula)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to drkp:
Well, this stands out:
texlive-bin @2016_6+x11 (active)Any idea how you wound up with texlive-bin 2016 installed with what looks like all the rest of the ports at their 2017 version?
After force removing texlive, I found that somehow I had missed a local Portfile for texlive-bin (leftover from some revision bump, I guess).
This fixed the "mktexfmt fails to run: issue, i.e. this ticket. I still haven't gotten asymptote to rebuild cleanly. Still working on that...
The
mktexfmt
uses system perl:and that one doesn't know about
TeXLive::TLUtils
which is located under/opt/local/share/tlpkg/TeXLive/TLUtils.pm
(unless told so).I'm not sure what the best solution is, in the worst case we might have to package those perl modules separately?