[OS X TeX] TeXLive 2022 manpath issue on mac
Douglas Stetner
stetner at stetner.org
Mon Sep 26 08:48:22 EDT 2022
Hi all,
I have a feeling the symlink magic in the 2022 TexLive install is breaking the makewhatis on the Mac (Monterey 12.6).
After a clean install I get this:
$ man -k xml2pmx
makewhatis: /Library/TeX/texbin/man: Not a directory
xml2pmx: nothing appropriate
$ man -k MusicXML
makewhatis: /Library/TeX/texbin/man: Not a directory
MusicXML: nothing appropriate
$ man xml2pmx
XML2PMX(1) XML2PMX(1)
DESCRIPTION
xml2pmx translates MusicXML files to input suitable for PMX processing
...
...
...
So although the man page is found, makewhatis appears to be failing.
The paths seem to exist:
$ ll /Library/TeX/texbin/man
lrwxrwxrwx 1 root wheel 24 Feb 26 2021 /Library/TeX/texbin/man@ -> ../../texmf-dist/doc/man
$ ll /Library/TeX/texbin/man/
total 0
drwxr-xr-x 702 root staff 22464 Sep 25 13:18 man1/
drwxr-xr-x 12 root wheel 384 Sep 25 13:14 man5/
$ ll /Library/TeX/texbin/man/man1//xml2pmx.1
-rw-r--r-- 1 root wheel 1367 Feb 28 2021 /Library/TeX/texbin/man/man1//xml2pmx.1
Removing /etc/manpaths.d/TeX which contains:
/Library/TeX/Distributions/.DefaultTeX/Contents/Man
makes no difference, 'man -k' still shows the makewhatis error and 'man xml2pmx' still works.
Removing /etc/paths.d/TeX which contains '/Library/TeX/texbin' results in the makewhatis error going away but not seeing the manpages (even if /etc/manpaths.d/TeX is restored)
$ man -k xml2pmx
xml2pmx: nothing appropriate
$ man -k MusicXML
MusicXML: nothing appropriate
$ man xml2pmx
No manual entry for xml2pmx
The final paths appear to be:
$ cd /Library/TeX/texbin/man/
$ touch asdfghjkl
$ mdfind -name asdfghjkl
/usr/local/texlive/2022/texmf-dist/doc/man/asdfghjkl
$ cd /Library/TeX/texbin
$ sudo touch asdfghjkl2
$ mdfind -name asdfghjkl2
/usr/local/texlive/2022/bin/universal-darwin/asdfghjkl2
$ ll /usr/local/texlive/2022/bin/universal-darwin/man
lrwxrwxrwx 1 root wheel 24 Feb 26 2021 /usr/local/texlive/2022/bin/universal-darwin/man@ -> ../../texmf-dist/doc/man
$ ll /usr/local/texlive/2022/bin/universal-darwin/man/
total 0
-rw-r----- 1 root staff 0 Sep 25 15:55 asdfghjkl
drwxr-xr-x 702 root staff 22464 Sep 25 13:18 man1/
drwxr-xr-x 12 root wheel 384 Sep 25 13:14 man5/
Anyone else seeing this? Not a big deal for me, but it should work and not break 'man'.
Thanks,
Doug
More information about the MacOSX-TeX
mailing list