Hi, 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) If I add --without-compatibility-wrappers: SNPRINTF(3P) POSIX Programmer’s Manual SNPRINTF(3P) PROLOG This manual page is part of the POSIX Programmer’s Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME ... 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. 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. Thanks, Fabian On 09-12-2023 02:08:29 -0600, G. Branden Robinson wrote: > Hi Fabian, > > I saw the following in a commit[1] of yours. > > "On Prefix systems, compatibility wrappers are generated because the > default action is "auto". These wrappers, however, do not function > well on certain systems (Illumnos for instance), but from tests it > appears they are not necessary either, so just disable them > unconditionally." > > Can you elaborate on this? What is the failure mode? When preparing > the groff 1.23.0, I don't recall that we had anyone testing its > portability to Illumos. > > Perhaps we can get that working better for the next release. > > Regards, > Branden > > [1] > https://gitweb.gentoo.org/repo/gentoo.git/commit/sys-apps/groff?id=552ad970da3fe2492239f88e84bedec2dc666478 -- Fabian Groffen Gentoo on a different level
signature.asc
Description: PGP signature