Hi Fabian,

At 2023-12-09T19:25:19+0100, Fabian Groffen wrote:
> On Illumnos, with 1.23.0 default configure, if I do this:
> 
> % bzcat /gentoo/prefix64/usr/share/man/man3p/snprintf.3p.bz2 | ( cd 
> /gentoo/prefix64/usr/share/man && /gentoo/prefix64/usr/libexec/man-db/zsoelim 
> ) | ( cd /gentoo/prefix64/usr/share/man && preconv -e UTF-8 ) | ( cd 
> /gentoo/prefix64/usr/share/man && tbl ) | ( cd /gentoo/prefix64/usr/share/man 
> && neqn -Tutf8 ) | ( cd /gentoo/prefix64/usr/share/man && nroff -mandoc -c 
> -rLL=78n -rLT=78n -Tutf8 )
> troff:/gentoo/prefix64/usr/lib/groff/site-tmac/an.tmac:1: fatal error: input 
> stack limit exceeded (probable infinite loop)
> grotty:<standard input>:(<standard input>):10: fatal error: 'V' command 
> invalid before first 'p' command
> 
> (/gentoo/prefix64 is my "prefix", an offset everything is installed into)
[reorganized]
> The file, when it is created, contains:
> 
> .do mso an.tmac
> .cp 1
> .so /usr/share/lib/tmac/an
> 
> The file it points to comes from Illumnos.  I can send its contents
> off-list if necessary.

This looks like Savannah #63924.
<https://savannah.gnu.org/bugs/index.php?63924>

You might consider cherry-picking the commit mentioned there.

> In this case /gentoo/prefix64/usr/lib/groff/site-tmac/an.tmac is not
> present.  This makes everything work fine, including manpages from the
> host.

Does Illumos continue to use the AT&T troff descendant that Solaris
shipped with version 10 but (as I understand it) dropped in favor of
groff in Solaris 11?

If the latter, there is likely little or no reason to have groff install
compatibility wrappers around an older version of groff.

Regards,
Branden

Attachment: signature.asc
Description: PGP signature

Reply via email to