I just installed texlive-full on a 10.1-RC3 system. It was a package built with default options with poudriere-devel. The installation finished fine, but when trying to compile a latex document we saw: warning: kpathsea: configuration file texmf.cnf not found in these directories:.... Looking on another FreeBSD system with a working texlive, the file /usr/local/share/texmf-dist/web2c/texmf.cnf existed and `pkg which` told us it belonged to devel/tex-kpathsea. Copying the file to the 10.1-RC3 system fixed the problem and `pkg which` on that system said the file was from devel/tex-kpathsea, so it seems the file isn't getting installed.
Auto-assigned to maintainer hrs@FreeBSD.org
texmf.cnf should be installed by devel/tex-kpathsea. I cannot investigate why your environment did not have it because your report does not include information about tex-kpathsea package. Please re-submit the same PR with more details (specifically, log files of package building) and/or try the officially-provided package of tex-kpathsea if you need help.
Created attachment 149003 [details] build log of devel/tex-kpathsea-6.2.0 using poudriere-devel and a 10.1-RC4 jail
Sorry. I assumed since it was built in a clean 10.1-RC4 jail (I said 10.1-RC3 below, but it was actually RC4) with poudriere-devel it would be easy to reproduce. I've attached the build log.
The problematic part seems to be =========================================================================== =======================<phase: build >============================ ===> Building for tex-kpathsea-6.2.0 gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/tex-kpathsea/work/texlive-20140525-source/texk/kpathsea' echo a | grep -v b >/dev/null || { echo "*** grep broken, goodbye."; exit 1; } echo "/* paths.h: Generated from texmf.cnf. */" >paths.tmp /usr/bin/awk -f ./bsnl.awk ./texmf.cnf \ | sed -e 's/%.*//' -e 's/^[ ]*//' -e 's/[ ]*$//' \ | /usr/bin/awk -f ./cnf-to-paths.awk \ >>paths.tmp
Why this part is problematic? I can see that texmf.cnf is installed from the following line: > install -o root -g wheel -m 0644 './texmf.cnf' '/wrkdirs/usr/ports/devel/tex-kpathsea/work/stage/usr/local/share/texmf-dist/web2c/texmf.cnf' Please check the contents of your package tarball and see if it has texmf.cnf or not. The build log shows that texmf.cnf is installed into the stage directory and the package tarball contains it.
Indeed the file is there. To test further, I uninstalled all tex-related ports, then installed only devel/tex-kpathsea and the file was installed. Next, I incrementally installed all the other texlive packages to see if anything was messing with the file, but it was still there, so I'm not sure what's going on. The only thing I can say with certainty is that the file wasn't there immediately after a `pkg install texlive-full`, but now it is? I even uninstalled all tex-related packages a second time and did a `pkg install texlive-full` and it was there. What changed, I have no idea?
Please reopen this PR if you could reproduce the symptom.