Subject: Re: tex-hugelatex oddity
To: Justin C. Sherrill <justin@shiningsilence.com>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-pkg
Date: 07/27/2006 01:44:14
[CC:ing tech-pkg@ in the hope that someone has a clue on fixing this;
         I'm no longer maintaining this package actively!]


On Wed, 26 Jul 2006, Justin C. Sherrill wrote:
> I noticed some wierdness when installing tex-hugelatex on a DragonFly
> 1.6.0 system, using pkgsrc-2006Q2.  The output is pasted below.  teTeX is
> installed, built from pkgsrc.
>
> I had tried this before using Joerg's binary packages for DragonFly, but
> the process would stop at '*(Please type a command or say `\end')' and
> wait for input.  I think that's probably an effect of the binary build,
> though.
>
> dev# bmake install
> ===> Skipping vulnerability checks.
> WARNING: No /usr/pkgsrc/distfiles/pkg-vulnerabilities file found.
> WARNING: To fix, install the pkgsrc/security/audit-packages
> WARNING: package and run: ``/usr/pkg/sbin/download-vulnerability-list''.
> ===> Installing dependencies for tex-hugelatex-2.0nb3
> => Required installed package teTeX-bin>=3.0nb7: teTeX-bin-3.0nb13 found
> ===> Overriding tools for tex-hugelatex-2.0nb3
> ===> Extracting for tex-hugelatex-2.0nb3
> ===> Patching for tex-hugelatex-2.0nb3
> ===> Configuring for tex-hugelatex-2.0nb3
> ===> Installing for tex-hugelatex-2.0nb3
> /bin/cp -p /usr/pkg/share/texmf/web2c/texmf.cnf
> /usr/pkg/share/texmf/web2c/texmf
> .cnf-before-hugelatex
> /bin/cat /usr/pkgsrc/print/tex-hugelatex/files/texmf.cnf-add
>>> /usr/pkg/share/te
> xmf/web2c/texmf.cnf
> cd `dirname /usr/pkg/share/texmf/web2c/texmf.cnf`;  /bin/mv latex.fmt
> latex.fmt.
> BAK || /usr/bin/true ;  echo "" | /usr/pkg/bin/latex -ini -fmt=hugelatex
> -progna
> me=hugelatex latex.ini || /usr/bin/true;  /bin/mv latex.fmt hugelatex.fmt
> ;  /bi
> n/mv latex.log hugelatex.log ;  /bin/mv latex.fmt.BAK latex.fmt ||
> /usr/bin/true
> ;  /bin/rm -f texsys.aux
> mv: rename latex.fmt to latex.fmt.BAK: No such file or directory

grepping through the teTeX3-bin PLIST, latex.fmt should be in 
/usr/pkg/share/texmf/web2c as listed above, I don't see why this 
mv-command should fail. I guess it's the source of the problem...


> This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (INITEX)
> (/usr/pkg/share/texmf-dist/tex/latex/config/latex.ini
> (/usr/pkg/share/texmf-dist/tex/generic/config/pdftexconfig.tex)
> (/usr/pkg/share/texmf-dist/tex/latex/base/latex.ltx))
> *(Please type a command or say `\end')
> *
> ! Emergency stop.
> <*>
>
> No pages of output.
> Transcript written on latex.log.
> mv: rename latex.fmt to hugelatex.fmt: No such file or directory
> mv: rename latex.fmt.BAK to latex.fmt: No such file or directory
> /bin/rm -f /usr/pkg/bin/hugelatex
> ln -s latex /usr/pkg/bin/hugelatex
> => Automatic manual page handling
> mktexlsr: Updating /usr/pkg/share/texmf-local/ls-R...
> mktexlsr: Done.
> pkg_create: can't stat `/usr/pkg/share/texmf/web2c/hugelatex.fmt'
> => Registering installation for tex-hugelatex-2.0nb3
> pkg_admin: tex-hugelatex-2.0nb3: File
> `/usr/pkg/share/texmf/web2c/hugelatex.fmt'
> is in +CONTENTS but not on filesystem!
> tex-hugelatex-2.0nb3 requires installed package teTeX-bin-3.0nb13
> dev#
>
>

  - Hubert