Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 2015 16:06:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 201592] [change request] textproc/dblatex: Add important run dependency
Message-ID:  <bug-201592-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 201592
           Summary: [change request] textproc/dblatex: Add important run
                    dependency
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: jwbacon@tds.net

Created attachment 158804
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158804&action=edit
Unified diff

I believe tex-dvipsk should be added as a run dependency for dblatex, for
two reasons:

1)  Builds can fail without it even when using pdftex:

>From dblatex -d -D:

Build uwm-pc-user-guide.pdf
pdflatex failed
Unexpected error occured
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/dbtexmf/core/dbtex.py", line
332, in compile
    donefiles = self._compile()
  File "/usr/local/lib/python2.7/site-packages/dbtexmf/core/dbtex.py", line
400, in _compile
      self.make_bin()
  File "/usr/local/lib/python2.7/site-packages/dbtexmf/core/dbtex.py", line
317, in make_bin
    batch=self.texbatch)
  File "/usr/local/lib/python2.7/site-packages/dbtexmf/dblatex/runtex.py", line
113, in compile
    self.texer.compile(texfile)
  File
"/usr/local/lib/python2.7/site-packages/dbtexmf/dblatex/grubber/texbuilder.py",
line 73, in compile
    raise OSError("%s compilation failed" % self.tex.program)
OSError: pdflatex compilation failed
/tmp/tmpe0bJK0 not removed

>From tail -n 11 /tmp/tmpe0bJK0/uwm-pc-user-guide.log:

Here is how much of TeX's memory you used:
 22571 strings out of 493117
 331796 string characters out of 6138550
 659827 words of memory out of 5000000
 19593 multiletter control sequences out of 15000+600000
 89643 words of font info for 150 fonts, out of 8000000 for 9000
 1141 hyphenation exceptions out of 8191
 48i,21n,51p,484b,2429s stack positions out of
5000i,2500n,10000p,300000b,80000s

!pdfTeX error: pdflatex (file 8r.enc): cannot open encoding file for reading
 ==> Fatal error occurred, no output PDF file produced!

A Yahoo search for the pdfTeX error produced this:

http://tex.stackexchange.com/questions/51474/textcomps-textmusicalnote-doesnt-work-cannot-open-encoding-file-for-reading

Problem was solved by pkg install tex-dvipsk

2)  dvips is a valid backend to specify with dblatex -b

Patch is attached.

-- 
You are receiving this mail because:
You are the assignee for the bug.



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