Bug 192124 - print/tex-formats (tex-formats-20120701_2) fails to install
Summary: print/tex-formats (tex-formats-20120701_2) fails to install
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Many People
Assignee: Antoine Brodin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-26 05:24 UTC by marka
Modified: 2014-08-05 16:59 UTC (History)
2 users (show)

See Also:


Attachments
Keywords/pkg_install.awk - add missing next to avoid leaving @fmtutil in plist (349 bytes, patch)
2014-08-05 16:50 UTC, John Hein
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description marka 2014-07-26 05:24:52 UTC
tex-formats-20120701_2 fails to install.  Looks like a bad pkglist.

This is on top of stupid MOVED directives for all of TeX which stuff
up the package database and require manual fixing.  The old packages
HAVE NOT moved location in the ports tree.  Replacing is not moving.

pkg_create: read_plist: unknown command '@fmtutil /usr/local/share/texmf-var/web2c/pdftex/amstex.log /usr/local/share/texmf-var/web2c/pdftex/amstex.fmt' (package tools out of date?)
pkg_create: read_plist: unknown command '@fmtutil /usr/local/share/texmf-var/web2c/pdftex/cont-en.log /usr/local/share/texmf-var/web2c/pdftex/cont-en.fmt' (package tools out of date?)
pkg_create: read_plist: unknown command '@fmtutil /usr/local/share/texmf-var/web2c/pdftex/cslatex.log /usr/local/share/texmf-var/web2c/pdftex/cslatex.fmt /usr/local/share/texmf-var/web2c/pdftex/pdfcslatex.log /usr/local/share/texmf-var/web2c/pdftex/pdfcslatex.fmt' (package tools out of date?)
pkg_create: read_plist: unknown command '@fmtutil /usr/local/share/texmf-var/web2c/pdftex/eplain.log /usr/local/share/texmf-var/web2c/pdftex/eplain.fmt' (package tools out of date?)
pkg_create: read_plist: unknown command '@fmtutil /usr/local/share/texmf-var/web2c/pdftex/latex.log /usr/local/share/texmf-var/web2c/pdftex/latex.fmt /usr/local/share/texmf-var/web2c/pdftex/pdflatex.log /usr/local/share/texmf-var/web2c/pdftex/pdflatex.fmt' (package tools out of date?)
pkg_create: read_plist: unknown command '@fmtutil /usr/local/share/texmf-var/web2c/metafont/mf.log /usr/local/share/texmf-var/web2c/metafont/mf.base' (package tools out of date?)
pkg_create: read_plist: unknown command '@fmtutil /usr/local/share/texmf-var/web2c/pdftex/mex.log /usr/local/share/texmf-var/web2c/pdftex/mex.fmt /usr/local/share/texmf-var/web2c/pdftex/pdfmex.log /usr/local/share/texmf-var/web2c/pdftex/pdfmex.fmt /usr/local/share/texmf-var/web2c/pdftex/utf8mex.log /usr/local/share/texmf-var/web2c/pdftex/utf8mex.fmt' (package tools out of date?)
pkg_create: read_plist: unknown command '@fmtutil /usr/local/share/texmf-var/web2c/pdftex/mllatex.log /usr/local/share/texmf-var/web2c/pdftex/mllatex.fmt /usr/local/share/texmf-var/web2c/pdftex/mltex.log /usr/local/share/texmf-var/web2c/pdftex/mltex.fmt' (package tools out of date?)
pkg_create: read_plist: unknown command '@fmtutil /usr/local/share/texmf-var/web2c/pdftex/mptopdf.log /usr/local/share/texmf-var/web2c/pdftex/mptopdf.fmt' (package tools out of date?)
pkg_create: read_plist: unknown command '@fmtutil /usr/local/share/texmf-var/web2c/pdftex/pdftex.log /usr/local/share/texmf-var/web2c/pdftex/pdftex.fmt /usr/local/share/texmf-var/web2c/pdftex/etex.log /usr/local/share/texmf-var/web2c/pdftex/etex.fmt /usr/local/share/texmf-var/web2c/pdftex/pdfetex.log /usr/local/share/texmf-var/web2c/pdftex/pdfetex.fmt' (package tools out of date?)
pkg_create: read_plist: unknown command '@fmtutil /usr/local/share/texmf-var/web2c/tex/tex.log /usr/local/share/texmf-var/web2c/tex/tex.fmt' (package tools out of date?)
pkg_create: read_plist: unknown command '@fmtutil /usr/local/share/texmf-var/web2c/pdftex/texsis.log /usr/local/share/texmf-var/web2c/pdftex/texsis.fmt' (package tools out of date?)
pkg_create: write_plist: unknown command type -1 (/usr/local/share/texmf-var/web2c/pdftex/amstex.log /usr/local/share/texmf-var/web2c/pdftex/amstex.fmt)

How-To-Repeat:
Attempt to install.
Comment 1 John Marino freebsd_committer freebsd_triage 2014-07-26 06:40:00 UTC
over to maintainer
Comment 2 John Hein 2014-08-05 16:47:06 UTC
This is a bug in Keywords/pkg_install.awk (applies to those boxes that haven't updated from using pkg_* yet).  It's missing a 'next' in the @fmtutil section and so falls through to the catch all code leaving the @fmtutil in the plist.

Will attach a patch.
Comment 3 John Hein 2014-08-05 16:50:42 UTC
Created attachment 145398 [details]
Keywords/pkg_install.awk - add missing next to avoid leaving @fmtutil in plist

This bug was introduced in r362899 which was trying to fix @fmtutil in tex packages for pkg_* installs.
Comment 4 John Hein 2014-08-05 16:51:44 UTC
Assignment should probably move to portmgr.
Comment 5 commit-hook freebsd_committer freebsd_triage 2014-08-05 16:59:09 UTC
A commit references this bug:

Author: antoine
Date: Tue Aug  5 16:58:59 UTC 2014
New revision: 364121
URL: http://svnweb.freebsd.org/changeset/ports/364121

Log:
  Fix fmtutil keyword with pkg_install

  PR:		ports/192124
  Submitted by:	John Hein
  With hat:	portmgr

Changes:
  head/Keywords/pkg_install.awk