pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/48762: devel/doxygen 1.8.7 mktexpk: Mismatched mode ljfour and resolution 600 input tcrm1000
The following reply was made to PR pkg/48762; it has been noted by GNATS.
From: Richard PALO <richard.palo%free.fr@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/48762: devel/doxygen 1.8.7 mktexpk: Mismatched mode ljfour
and resolution 600 input tcrm1000
Date: Thu, 01 May 2014 11:33:27 +0200
Le 26/04/14 02:35, davshao%gmail.com@localhost a écrit :
>> Number: 48762
>> Category: pkg
>> Synopsis: devel/doxygen 1.8.7 mktexpk: Mismatched mode ljfour and
>> resolution 600 input tcrm1000
>> Confidential: no
>> Severity: non-critical
>> Priority: low
>> Responsible: pkg-manager
>> State: open
>> Class: sw-bug
>> Submitter-Id: net
>> Arrival-Date: Sat Apr 26 00:35:00 +0000 2014
>> Originator: David Shao
>> Release: DragonFly 3.7-DEVELOPMENT i386
>> Organization:
>> Environment:
> DragonFly 3.7-DEVELOPMENT DragonFly v3.7.1.1121.g53373-DEVELOPMENT #3: Fri
> Apr 25 07:30:28 PDT 2014 xxxxx@:/usr/obj/usr/src/sys/GENERIC i386
>
>> Description:
> Using latest pkgsrc cvs on DragonFly 3.7-DEVELOPMENT i386, devel/doxygen
> 1.8.7 failed to build with:
>
> kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600
> tcrm1000
>
> kpathsea: Running mktexfmt mf.base
> mktexpk: Mismatched mode ljfour and resolution 600; ignoring mode.
> mktexpk: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1+0/600;
> nonstopmode; input tcrm1000
> This is METAFONT, Version 2.718281 (Web2C 2013)
>
> kpathsea: Running mktexfmt mf.base
> I can't find the base file `mf.base'!
> grep: tcrm1000.log: No such file or directory
> mktexpk: `mf-nowin -progname=mf \mode:=ljfour; mag:=1+0/600; nonstopmode;
> input tcrm1000' failed to make tcrm1000.600pk.
> kpathsea: Appending font creation commands to missfont.log.
> (see the transcript file for additional information)
> !pdfTeX error: pdflatex (file tcrm1000): Font tcrm1000 at 600 not found
> ==> Fatal error occurred, no output PDF file produced!
> Makefile:18: recipe for target 'doxygen_manual.pdf' failed
> gmake[1]: *** [doxygen_manual.pdf] Error 1
> gmake[1]: Leaving directory
> '/usr/pkgsrc/devel/doxygen/work/doxygen-1.8.7/latex'
> Makefile:112: recipe for target 'install_docs' failed
>
>> How-To-Repeat:
>
>> Fix:
> doxygen 1.8.7 successfully built and was installed after installing
> fonts/tex-collection-fontsrecommended (which seems to append 2010 to its
> name). On another DragonFly 3.7-DEVELOPMENT x86_64 machine and on a NetBSD
> 6.99.40 amd64 machine both with tex-collection-fontsrecommended-2010 already
> installed, devel/doxygen was successfully either replaced or installed
> without problem.
>
> Adding tex-collection-fontsrecommended as a build dependency seems a rather
> drastic solution since it pulls in so many other packages; therefore, since
> DragonFly i386 pkgsrc is at this point an almost vanishing platform, it
> might be advisable to wait to see if this problem occurs on other platforms
> before acting. And in any case even if there is a problem, there is a
> simple if somewhat lengthy fix that requires no change to pkgsrc.
>
>
I'm experiencing this on SunOS...
this fragment seems the reason:
> [208] (./doxygen_manual.aux)
> kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600
> tcrm1000
>
> kpathsea: Running mktexfmt mf.base
> mktexpk: Mismatched mode ljfour and resolution 600; ignoring mode.
> mkdir: "var/lib/texmf/fonts/pk": Permission denied
> mktexpk: /opt/local/share/texmf-dist/web2c/mktexdir
> /var/lib/texmf/fonts/pk/ljfour/jknappen/ec failed.
> kpathsea: Appending font creation commands to missfont.log.
The suggestion adding tex-collection-fontsrecommended worked for me..
> diff --git a/devel/doxygen/options.mk b/devel/doxygen/options.mk
> index 7cbd044..55cdbeb 100644
> --- a/devel/doxygen/options.mk
> +++ b/devel/doxygen/options.mk
> @@ -20,6 +20,7 @@ BUILD_DEPENDS+= tex-epsf-[0-9]*:../../print/tex-epsf
> DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk
> DEPENDS+= makeindexk-[0-9]*:../../textproc/makeindexk
> DEPENDS+= tex-a4wide>=2010nb1:../../print/tex-a4wide
> +DEPENDS+=
> tex-collection-fontsrecommended-[0-9]*:../../fonts/tex-collection-fontsrecommended
> DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec
> DEPENDS+= tex-epstopdf-[0-9]*:../../graphics/tex-epstopdf
> DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
Perhaps the "Styles" section of options.mk could be refactored using
instead, for example, the print/collection-latex and/or
print/collection-genericrecommended prior to pushing the fix...
Home |
Main Index |
Thread Index |
Old Index