[Bug 231438] lang/ghc: build failure if print/tex-xetex installed
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Sep 18 00:35:38 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231438
Bug ID: 231438
Summary: lang/ghc: build failure if print/tex-xetex installed
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: z7dr6ut7gs at snkmail.com
CC: haskell at FreeBSD.org, hrs at FreeBSD.org
CC: haskell at FreeBSD.org, hrs at FreeBSD.org
If print/tex-xetex is installed, the lang/ghc build detects xelatex and tries
to build some documentation differently (than if xelatex is not detected).
In the output of 'make configure' without xelatex installed, you see this:
Tools to build Sphinx HTML documentation available: YES
Tools to build Sphinx PDF documentation available: NO
If xelatex is installed, you see this:
Tools to build Sphinx HTML documentation available: YES
Tools to build Sphinx PDF documentation available: YES
Later during the build if xelatex was detected, it tries to do this:
cd docs/users_guide/build-pdf/users_guide ; xelatex -halt-on-error
users_guide.tex
That fails after a bit with:
================================
This is XeTeX, Version 3.14159265-2.6-0.99992 (Web2C 2015) (preloaded
format=xelatex)
restricted \write18 enabled.
entering extended mode
(./users_guide.tex
LaTeX2e <2015/01/01> patch level 2
Babel <3.9l> and hyphenation patterns for 79 languages loaded.
(./sphinxmanual.cls
Document Class: sphinxmanual 2017/03/26 v1.6 Document class (Sphinx manual)
(/usr/local/share/texmf-dist/tex/latex/base/report.cls
Document Class: report 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/share/texmf-dist/tex/latex/base/size10.clo)))
(/usr/local/share/texmf-dist/tex/latex/cmap/cmap.sty
Package cmap Warning: pdftex not detected - exiting.
) (/usr/local/share/texmf-dist/tex/latex/base/fontenc.sty
(/usr/local/share/texmf-dist/tex/latex/base/t1enc.def))
(/usr/local/share/texmf-dist/tex/latex/amsmath/amsmath.sty
.
.
.
(/usr/local/share/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
(/usr/local/share/texmf-dist/tex/latex/base/fontenc.sty
(/usr/loc/share/texmf-dist/tex/latex/euenc/eu1enc.def)
(/usr/loc/share/texmf-dist/tex/latex/euenc/eu1lmr.fd))
(/usr/loc/share/texmf-dist/tex/xelatex/xunicode/xunicode.sty
(/usr/loc/share/texmf-dist/tex/latex/tipa/t3enc.def
(/usr/loc/share/texmf-dist/tex/latex/euenc/eu1lmss.fd)))
(/usr/loc/share/texmf-dist/tex/latex/fontspec/fontspec.cfg)))kpathsea:make_tex:
Invalid fontname `DejaVu Sans', contains ' '
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "DejaVu Sans" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.41 \setsansfont{DejaVu Sans}
No pages of output.
Transcript written on users_guide.log.
gmake[2]: *** [docs/users_guide/ghc.mk:17: docs/users_guide/users_guide.pdf]
Error 1
================================
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list