The build fails during "Stage" with the following error /usr/local/bin/mktexlsr /wrkdirs/usr/ports/print/tex-formats/work/stage/usr/local/share/texmf-var make: exec(/usr/local/bin/mktexlsr) failed (No such file or directory) I believe that this error is introduced with commit a9b0182964621feefe8292021ec645cdd6c19869 (print/texlive-texmf: Temporarily reduce DEPENDS) If set "USE_TEX= base basic:extract texhash tlmgr:run" in print/texlive-texmf, the build finishes without an error.
Give me a moment. I am rebuilding another set. Will be back with a quick fix shortly.
Not actually tested (partially failed builds with poudriere still remains hundreds to finish builds), as the missing file is installed by print/texlive-base, adding back "base" is sufficient, isn't it? As extract doesn't fail, doesn't adding back "basic:extract" overkill? % pkg which -o /usr/local/bin/mktexlsr /usr/local/bin/mktexlsr was installed by package print/texlive-base
(In reply to Tomoaki AOKI from comment #2) I am planning to add this to tex-formats instead of texlive-texmf and see the outcome. I am already rebuilding another set of ports which has USES=tex. Give me another 2/3 hours. The lower number of DEPS we have for texmf the lower the chance that a rebuild will be triggered.
(In reply to Muhammad Moinur Rahman from comment #3) I have no objection about it, as texlive-texmf is already succeeded to be built without any fix. I hope the fix to tex-formats goes fine. Sorry, I myself cannot yet try it as previous builds are not yet finished. :-( Thanks in advance!
Nothing to be sorry. I knew what was coming and what is the remedy. 3:)
Created attachment 245923 [details] Patch to fix build Patch to fix build. Built fine with this on poudriere jail. Now building fallouts. I'll report back if anything failed. Note that it's not a whole-rebuilds.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2c48d82d962d55720350c03caa67c87ce59a6d42 commit 2c48d82d962d55720350c03caa67c87ce59a6d42 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-10-27 16:19:23 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-10-27 16:35:04 +0000 print/tex-formats: Fix build After the changes committed in a9b0182 this port failed to build. This commit fixes the build and overall also reduces the frequent builds of texlive-texmf. PR: 274749 Reported by: michael.glaus@hostpoint.ch Fixes: a9b0182 print/texlive-texmf: Temporarily reduce DEPENDS Sponsored by: Nepustil print/tex-formats/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Sorry I missed your patch.
(In reply to Muhammad Moinur Rahman from comment #8) Never mind. ;-) It's actually the same fix. Thanks for the fix!