Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Sep 2018 00:35:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        haskell@FreeBSD.org
Subject:   [Bug 231438] lang/ghc: build failure if print/tex-xetex installed
Message-ID:  <bug-231438-16154@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231438

            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@FreeBSD.org
          Reporter: z7dr6ut7gs@snkmail.com
                CC: haskell@FreeBSD.org, hrs@FreeBSD.org
                CC: haskell@FreeBSD.org, hrs@FreeBSD.org

If print/tex-xetex is installed, the lang/ghc build detects xelatex and tri=
es
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:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D

This is XeTeX, Version 3.14159265-2.6-0.99992 (Web2C 2015) (preloaded
format=3Dxelatex)
 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.=20=20
!
! 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

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231438-16154>