Bug 202216 - print/tex-xetex fails to build
Summary: print/tex-xetex fails to build
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Hiroki Sato
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-10 10:29 UTC by Gerard Seibert
Modified: 2018-02-03 09:45 UTC (History)
5 users (show)

See Also:


Attachments
Port build log (281.24 KB, text/plain)
2015-08-10 10:29 UTC, Gerard Seibert
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerard Seibert 2015-08-10 10:29:46 UTC
Created attachment 159726 [details]
Port build log

FreeBSD 10.1-RELEASE-p16

The port fails to build. It exits with the following error message:

===>   Registering installation for tex-xetex-0.99992_2 as automatic
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/cont-en.fmt: No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/cont-en.log: No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/pdfcsplain.fmt: No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/pdfcsplain.log: No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/xelatex.fmt: No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/xelatex.log: No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/xelollipop.fmt: No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/xelollipop.log: No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/xetex.fmt: No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/xetex.log: No such file or directory
pkg-static: lstat(/usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/): No such file or directory
*** Error code 74
Comment 1 O. Hartmann 2016-01-22 07:19:14 UTC
same here today, see error below. Failing on CURRENT  ( FreeBSD 11.0-CURRENT #14 r294484: Thu Jan 21 05:56:21 CET 2016  amd64). Seems the problem is a regression.


===>  Installing for tex-xetex-0.99992_3
===>   Registering installation for tex-xetex-0.99992_3
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/cont-en.fmt: No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/cont-en.log: No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/pdfcsplain.fmt: No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/pdfcsplain.log: No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/xelatex.fmt: No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/xelatex.log: No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/xelollipop.fmt: No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/xelollipop.log: No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/xetex.fmt: No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/xetex.log: No such file or directory
pkg-static: lstat(/usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/): No such file or directory
*** Error code 74
Comment 2 Warren Block freebsd_committer freebsd_triage 2016-09-12 19:45:55 UTC
Set LANG to en_US.UTF-8 and try again.
Comment 3 MikeH 2017-11-27 19:42:03 UTC
I still get this same build failure.
My LANG is set as per suggestion.

===>   Registering installation for tex-xetex-0.99992_13
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/cont-en.fmt:No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/cont-en.log:No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/pdfcsplain.fmt:No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/pdfcsplain.log:No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/xelatex.fmt:No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/xelatex.log:No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/xelollipop.fmt:No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/xelollipop.log:No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/xetex.fmt:No such file or directory
pkg-static: Unable to access file /usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/xetex.log:No such file or directory
pkg-static: lstat(/usr/ports/print/tex-xetex/work/stage/usr/local/share/texmf-var/web2c/xetex/): No such file or directory
pkg-static: Warning: @exec is deprecated, please use @[pre|post][un]exec
*** Error code 74
Comment 4 MikeH 2017-11-27 20:07:16 UTC
(In reply to MikeH from comment #3)
I should have noted that the texmf-var directory does not exist in 
/usr/ports/print/tex-xetex/work/stage/usr/local/share/
Comment 5 MikeH 2017-11-28 16:33:24 UTC
(In reply to MikeH from comment #3)
I was able to fix this with some effort.  I thought I would post my results for anyone else that hits this again. Note: I got here originally with the texlive-full port and not just the tex-xetex port.

I deinstalled all tex* ports. Find them with "pkg info tex\*".
I deleted all the /usr/local/share/texmf* directories.
I re-fetched the ports tree with "portsnap fetch extract".
Made sure to clean any previous failed builds.  I used "portsclean -CD".
Then I reinstalled the whole mess with "make install" on the texlive-full port again.  

This got everything to build and install.  Apparently some update had messed up these ports and it took re-doing them all from scratch to get them to install/update correctly.