#27471: texlive-bin compilation error ------------------------------+--------------------------------------------- Reporter: bgedik@… | Owner: dports@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: texlive-bin ------------------------------+--------------------------------------------- Comment(by bgedik@…): The following lines look suspicious to me: {{{ 1227 :debug:patch Executing proc-post-org.macports.patch-patch-0 1228 :debug:patch delete: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_tex_texlive- bin/work/texlive-20100720-source/texk/kpathsea/texmf.cnf }}} Once texmf.cnf is deleted, then the paths.h file will not be properly generated as part of configure, thus the errors. When I go to the build dir, I see texmf.cnf empty, where as it has the proper env vars defined in the original source. I hope this is not a red herring, but looking at the following lines in configure, I am pretty sure this is the issue: {{{ :info:build Making all in texk/kpathsea 1720 :info:build echo "/* paths.h: Generated from texmf.cnf. */"
paths.tmp 1721 :info:build awk -f ./bsnl.awk ./texmf.cnf \ 1722 :info:build | sed -e 's/%.*//' -e 's/^[ ]*//' -e 's/[ ]*$//' \ 1723 :info:build | grep '^[ ]*[A-Z0-9_]*[ =]' \ 1724 :info:build | sed '/^$/d' \ 1725 :info:build | sed 's/^\([^ =]*\)[ ]*=*[ ]*\(.*\)/#ifndef DEFAULT_\1%#define DEFAULT_\1 "\2"%#endif/' \ 1726 :info:build | tr '%' '\012' \ 1727 :info:build | sed -e 's%\$TEXMFCONFIG%/nonesuch/texmfconfig%g' \ 1728 :info:build -e 's%\$TEXMFDIST%/nonesuch/texmfdist%g' \ 1729 :info:build -e 's%\$TEXMFDOCDIR%/nonesuch/texmfdocdir%g' \ 1730 :info:build -e 's%\$TEXMFLOCAL%/nonesuch/texmflocal%g' \ 1731 :info:build -e 's%\$TEXMFMAIN%/nonesuch/texmfmain%g' \ 1732 :info:build -e 's%\$TEXMFSYSCONFIG%/nonesuch/texmfsysconfig%g' \ 1733 :info:build -e 's%\$TEXMFSYSVAR%/nonesuch/texmfsysvar%g' \ 1734 :info:build -e 's%\$TEXMFVAR%/nonesuch/texmfvar%g' \ 1735 :info:build -e 's%\$TEXMF%/nonesuch/texmf%g' \ 1736 :info:build -e 's%\$VARTEXFONTS%/nonesuch/vartexfonts%g' \ 1737 :info:build | sed -e 's%;%:%g' \ 1738 :info:build >>paths.tmp 1739 :info:build cp paths.tmp paths.h }}}
I am not familiar with the patching process, so no idea why texmf.cnf is messed with. -- Ticket URL: <https://trac.macports.org/ticket/27471#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS