[tex-live] OpenBSD: The next stage of the port. Problems...

Edd Barrett vext01 at gmail.com
Mon Apr 23 21:11:47 CEST 2007


Hello texlive at tug.org (also simon and peter in the CC),

Just to recap I am porting texlive as a native package to OpenBSD.

I have problems with the "texconfig init" stage of texlive.

So far I have:

a) Patched the binaries in order to build into DESTDIR correctly and
have a package for OpenBSD that is installable wit the standard
pkg_add command. I have uploaded the packing list of the package (what
will be installed) here:
http://students.dec.bmth.ac.uk/ebarrett/texl_tmp/PLIST-base . I
obtained the source from tug.org as source.tar.bz2 (if i
remember correctly).

b) Packaged the texmf-dist tree as a separate package. I obtained this
directory from the root of the texlive 2007 cd. Packing list here:
http://students.dec.bmth.ac.uk/ebarrett/texl_tmp/PLIST-texmf .

Now I have problems. I will try to explain as best I can.

"texconfig conf" output is as follows:

=========================== version information ==========================
teTeX-src release:   (info not available)
teTeX-texmf release: (info not available)

==================== binaries found by searching $PATH ===================
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin
kpsewhich: /usr/local/bin/kpsewhich
updmap: /usr/local/bin/updmap
fmtutil: /usr/local/bin/fmtutil
texconfig: /usr/local/bin/texconfig
tex: /usr/local/bin/tex
pdftex: /usr/local/bin/pdftex
mktexpk: /usr/local/bin/mktexpk
dvips: /usr/local/bin/dvips
dvipdfm: /usr/local/bin/dvipdfm

=========================== active config files ==========================
tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found.
tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found.
tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found.
tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found.
tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found.
tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found.
tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found.
/usr/local/share/texmf/web2c/texmf.cnf
XDvi: not found
config.ps: not found
config: not found
fmtutil.cnf: not found
mktex.cnf: not found
pdftexconfig.tex: not found
updmap.cfg: not found

============================= font map files =============================
psfonts.map:
pdftex.map:
ps2pk.map:
dvipdfm.map:

=========================== kpathsea variables ===========================
TEXMFMAIN=/usr/local/share/texmf
TEXMFDIST=/usr/local/share/texmf-dist
TEXMFLOCAL=/usr/local/share/texmf-local
TEXMFSYSVAR=/usr/local/share/texmf-var
TEXMFSYSCONFIG=/usr/local/share/texmf-config
TEXMFVAR=/root/.texmf-var
TEXMFCONFIG=/root/.texmf-config
TEXMFHOME=/root/texmf
VARTEXFONTS=/var/tmp/texfonts
TEXMF={/root/.texmf-config,/root/.texmf-var,/root/texmf,!!/usr/local/share/texmf-config,!!/usr/local/share/texmf-var,!!/usr/local/share/texmf,!!/usr/local/share/texmf-local,!!/usr/local/share/texmf-dist}
SYSTEXMF=/usr/local/share/texmf-local:/usr/local/share/texmf:/usr/local/share/texmf-dist
TEXMFDBS={/root/.texmf-config,/root/.texmf-var,/root/texmf,!!/usr/local/share/texmf-config,!!/usr/local/share/texmf-var,!!/usr/local/share/texmf,!!/usr/local/share/texmf-local,!!/usr/local/share/texmf-dist}:/var/tmp/texfonts
WEB2C={/root/.texmf-config,/root/.texmf-var,/root/texmf,!!/usr/local/share/texmf-config,!!/usr/local/share/texmf-var,!!/usr/local/share/texmf,!!/usr/local/share/texmf-local,!!/usr/local/share/texmf-dist}/web2c
TEXPSHEADERS=.:{/root/.texmf-config,/root/.texmf-var,/root/texmf,!!/usr/local/share/texmf-config,!!/usr/local/share/texmf-var,!!/usr/local/share/texmf,!!/usr/local/share/texmf-local,!!/usr/local/share/texmf-dist}/{dvips,fonts/{enc,type1,type42,type3}}//
TEXCONFIG={/root/.texmf-config,/root/.texmf-var,/root/texmf,!!/usr/local/share/texmf-config,!!/usr/local/share/texmf-var,!!/usr/local/share/texmf,!!/usr/local/share/texmf-local,!!/usr/local/share/texmf-dist}/dvips//
ENCFONTS=.:{/root/.texmf-config,/root/.texmf-var,/root/texmf,!!/usr/local/share/texmf-config,!!/usr/local/share/texmf-var,!!/usr/local/share/texmf,!!/usr/local/share/texmf-local,!!/usr/local/share/texmf-dist}/fonts/enc//
TEXFONTMAPS=.:{/root/.texmf-config,/root/.texmf-var,/root/texmf,!!/usr/local/share/texmf-config,!!/usr/local/share/texmf-var,!!/usr/local/share/texmf,!!/usr/local/share/texmf-local,!!/usr/local/share/texmf-dist}/fonts/map/{kpsewhich,pdftex,dvips,}//

==== kpathsea variables (from environment only; ok if no output here) ====

As far as I can see this section of the main Makefile.in will do the
equivilant of a "texconfig init" (setting up formats and symlinks).

@FMU at install-extra:
# temporary fix for missing links
       - if test -f texk/web2c/omegafonts/omfonts; then \
           cd texk/web2c/omegafonts && $(MAKE) install-links; \
       else :; fi
       $(srcdir)/selfautofix "$(bindir)" "$(texmf)/web2c"
       - if test -f $(scriptdir)/mktexlsr; then \
         TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
           $(scriptdir)/mktexlsr; \
       else :; fi
       - if test -f $(scriptdir)/fmtutil-sys; then \
         TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
           $(scriptdir)/fmtutil-sys --all; \
       else :; fi
       - if test -f $(scriptdir)/texlinks; then \
         TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
           $(scriptdir)/texlinks; \
       else :; fi
       - if test -f $(scriptdir)/updmap-sys \
         && TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
              $(scriptdir)/kpsewhich --format='web2c files'
updmap.cfg >/dev/null; \
       then \
         TEXMFMAIN=$(texmf) PATH=$(scriptdir):$(bindir):$(PATH) \
           $(scriptdir)/updmap-sys; \
       else :; fi

install-exec:
       for dir in $(INSTDIRS); do \
          echo making $@ in $$dir; \
          (cd $$dir && PATH=$(scriptdir):$(bindir):$(PATH) \
             $(MAKE) $@) || exit 1; \
       done
@FMU@


I have not patched the correct paths into it yet. This is intentional
because it is failing when I do and I am trying to work out why.
Instead I reconstructing the process after the packages have been
installed (Later I will fix this, so it works at build time).

mktexlsr works fine.

fmtutil-sys has issues. And this is certainly the same error that I
get at build time when the paths are patched. Here are the errors:
http://students.dec.bmth.ac.uk/ebarrett/texl_tmp/FMTUTIL-SYS .
It seems to either be a really long output or an infinite loop, so i
^C's it.

Without fmtutil working you cant really use latex.

My questions are:

i) Is that the correct texmf tree that I have packaged up? Or is there
another with more files in it which I need?

ii) If I have the correct texmf tree then why is fmtutil-sys failing?

Any help is greatly appreciated.

Best Regards

Edd


--
Best Regards

Edd


More information about the tex-live mailing list