On FreeBSD 15.0, a VPATH build fails. Log files are attached.
There are two problems:
1) "make" fails:
...
GEN font/devpdf/DESC
GEN font/devpdf/SS
make: don't know how to make font/devpdf/symbolsl.afm. Stop
With GNU make, this would succeed. But with FreeBSD make, there is an
error because
- various variables contain font/devpdf/symbolsl.afm
- there is a Makefile rule for ./font/devpdf/symbolsl.afm
but not for font/devpdf/symbolsl.afm
The fix is to remove the leading './' from that rule's target.
It comes from '$(top_builddir)/'. But $(top_builddir) is always '.'
since you have only one Makefile.am and it sits in the same directory
as the configure.ac file.
When I apply the attached builddir.patch, the compilation indeed
gets further (see make.log2).
2) There is a compilation error
CXX src/roff/troff/env.o
In file included from ../src/roff/troff/env.cpp:28:
In file included from /usr/include/c++/v1/vector:325:
In file included from /usr/include/c++/v1/__format/formatter_bool.h:16:
In file included from /usr/include/c++/v1/__format/concepts.h:16:
In file included from /usr/include/c++/v1/__format/format_parse_context.h:16:
In file included from /usr/include/c++/v1/string_view:251:
In file included from /usr/include/c++/v1/compare:174:
In file included from /usr/include/c++/v1/cmath:327:
/usr/include/c++/v1/__math/special_functions.h:51:8: error: no member named
'rpl_isfinite' in namespace 'std::__math'; did you mean simply 'rpl_isfinite'?
51 | if (!__math::isfinite(__H_n)) {
| ^~~~~~~~
Following your report to bug-gnulib, it is fixed in gnulib, see
<https://lists.gnu.org/archive/html/bug-gnulib/2025-12/msg00158.html>.
You need to fetch this fix, either by updating to the newest gnulib
('master' branch) or to the 'stable-202601' branch. Cf.
<https://www.gnu.org/software/gnulib/manual/html_node/Stable-Branches.html>.
Bruno
configure: creating cache config.cache
checking that groff version string has valid format... 1.23.0 valid
checking for gcc... cc -ferror-limit=0
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc -ferror-limit=0 accepts -g... yes
checking for cc -ferror-limit=0 option to enable C11 features... none needed
checking whether the compiler is clang... yes
checking for compiler option needed when checking for declarations... -Werror=implicit-function-declaration
checking how to run the C preprocessor... cc -ferror-limit=0 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking for stdbool.h... yes
checking for uchar.h... yes
checking for unistd.h... (cached) yes
checking for features.h... no
checking for getopt.h... yes
checking for threads.h... yes
checking for limits.h... yes
checking for inttypes.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking for crtdefs.h... no
checking for wctype.h... yes
checking for xlocale.h... yes
checking for math.h... yes
checking for sys/mman.h... yes
checking for sys/param.h... yes
checking for pthread.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... yes
checking for stdckdint.h... yes
checking for stdcountof.h... no
checking for sys/socket.h... yes
checking for strings.h... (cached) yes
checking for sys/wait.h... yes
checking for stdlib.h... (cached) yes
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ../build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of cc -ferror-limit=0... gcc3
checking whether make supports nested variables... (cached) yes
checking for gcc... (cached) cc -ferror-limit=0
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc -ferror-limit=0 accepts -g... (cached) yes
checking for cc -ferror-limit=0 option to enable C11 features... (cached) none needed
checking whether the compiler is clang... (cached) yes
checking for compiler option needed when checking for declarations... (cached) -Werror=implicit-function-declaration
checking whether we are using the GNU C++ compiler... yes
checking whether c++ -ferror-limit=0 accepts -g... yes
checking for c++ -ferror-limit=0 option to enable C++11 features... none needed
checking dependency style of c++ -ferror-limit=0... gcc3
checking build system type... x86_64-unknown-freebsd15.0
checking host system type... x86_64-unknown-freebsd15.0
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking for ranlib... ranlib
checking for cc -ferror-limit=0 option to support large files... none needed
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking whether the preprocessor supports include_next... yes
checking whether source code line length is unlimited... yes
checking whether char8_t is correctly defined... no
checking whether char16_t is correctly defined... yes
checking whether char32_t is correctly defined... yes
checking whether the C++ compiler has <uchar.h>... yes
checking for bit size of wchar_t... 32
checking for mbstate_t... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for symlink... yes
checking for snprintf... yes
checking for vasnprintf... no
checking for iswcntrl... yes
checking for lstat... yes
checking for mprotect... yes
checking for wcwidth... yes
checking for nl_langinfo and CODESET... yes
checking for a traditional japanese locale... ja_JP.eucJP
checking for an english Unicode locale... en_US.UTF-8
checking for a transitional chinese locale... zh_CN.GB18030
checking whether mbrtowc handles incomplete characters... yes
checking whether mbrtowc works as well as mbtowc... yes
checking whether mbrtoc32 is declared... yes
checking for mbrtoc32... yes
checking for a traditional french locale... fr_FR.ISO8859-1
checking whether mbrtoc32 works as well as mbrtowc... no
checking whether c32rtomb is declared... yes
checking for c32rtomb... yes
checking whether c32rtomb works as well as wcrtomb... yes
checking if environ is properly declared... no
checking for complete errno.h... yes
checking whether ctype.h defines __header_inline... no
checking for working fcntl.h... yes
checking for pid_t... yes
checking for mode_t... yes
checking whether byte ordering is bigendian... no
checking whether pow can be used without linking with libm... no
checking whether pow can be used with libm... yes
checking whether frexp() can be used without linking with libm... yes
checking whether alarm is declared... yes
checking whether frexp works... yes
checking whether trunc is declared... yes
checking whether isnan(double) can be used without linking with libm... yes
checking whether ldexp() can be used without linking with libm... yes
checking whether ldexp works... yes
checking for stdint.h... yes
checking for inttypes.h... yes
checking whether printf supports size specifiers as in C99... yes
checking whether printf supports size specifiers as in C23... yes
checking whether printf supports 'long double' arguments... yes
checking whether printf supports infinite 'double' arguments... yes
checking whether long double and double are the same... no
checking whether printf supports infinite 'long double' arguments... yes
checking whether printf supports the 'a' and 'A' directives... no
checking whether printf supports the 'b' directive... yes
checking whether printf supports the 'F' directive... yes
checking whether printf supports the 'ls' directive... yes
checking whether printf supports the 'lc' directive correctly... yes
checking whether printf supports POSIX/XSI format strings with positions... yes
checking whether printf supports the grouping flag... yes
checking whether printf supports grouping on integers with a precision... no
checking whether printf supports grouping with a multibyte separator... yes
checking whether printf supports the left-adjust flag correctly... yes
checking whether printf supports the zero flag correctly... yes
checking whether printf supports the alternative flag with a zero precision... yes
checking whether printf supports large precisions... yes
checking whether the compiler produces multi-arch binaries... no
checking whether printf survives out-of-memory conditions... no
checking whether snprintf returns a byte count as in C99... yes
checking whether snprintf truncates the result as in C99... yes
checking for wint_t... yes
checking whether wint_t is large enough... yes
checking where to find the exponent in a 'double'... word 1 bit 20
checking for wcslen... yes
checking for snprintf... (cached) yes
checking for strnlen... yes
checking for wcrtomb... yes
checking whether _snprintf is declared... no
checking for intmax_t... yes
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... yes
checking for working GNU getopt function... no
checking for glibc-compatible sys/cdefs.h... no
checking for pthread.h... (cached) yes
checking for pthread_kill in -lpthread... yes
checking whether POSIX threads API is available... yes
checking whether setlocale (LC_ALL, NULL) is multithread-safe... no
checking whether setlocale (category, NULL) is multithread-safe... yes
checking whether imported symbols can be declared weak... yes
checking whether limits.h has WORD_BIT, BOOL_WIDTH etc.... no
checking whether stdint.h conforms to C99... yes
checking whether stdint.h works without ISO C predefines... yes
checking whether stdint.h has UINTMAX_WIDTH etc.... no
checking for C/C++ restrict keyword... __restrict__
checking where to find the exponent in a 'long double'... word 2 bit 0
checking where to find the exponent in a 'float'... word 0 bit 23
checking whether iswcntrl works... yes
checking for towlower... yes
checking for wctype_t... yes
checking for wctrans_t... yes
checking whether getc_unlocked is declared... yes
checking whether we are using the GNU C Library >= 2.1 or uClibc... no
checking for good max_align_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking for unreachable in C... no
checking whether nullptr_t needs <stddef.h>... yes
checking whether <stddef.h> is idempotent... guessing yes
checking whether locale.h defines locale_t... yes
checking whether locale.h defines _locale_t... no
checking whether locale.h conforms to POSIX:2001... yes
checking whether struct lconv is properly defined... yes
checking whether lstat correctly handles trailing slash... yes
checking whether malloc is ptrdiff_t safe... yes
checking whether malloc, calloc set errno on failure... yes
checking whether malloc (0) returns nonnull... yes
checking whether NAN macro works... yes
checking whether HUGE_VAL works... yes
checking for inline... inline
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether memmem is declared... yes
checking for memmem... yes
checking whether memmem works... yes
checking whether imported symbols can be declared weak... (cached) yes
checking for multithread API to use... posix
checking for pthread_t... yes
checking for pthread_spinlock_t... yes
checking for pthread_spin_init... yes
checking whether _putenv is declared... no
checking for sched.h... yes
checking for struct sched_param... yes
checking whether snprintf is declared... yes
checking whether stat file-mode macros are broken... no
checking for nlink_t... yes
checking for _Bool... yes
checking for stdbool.h that conforms to C99 or later... (cached) yes
checking whether stdckdint.h can be included in C... yes
checking checking for an ISO C23 compliant stdckdint.h in C... yes
checking whether stdckdint.h can be included in C++... yes
checking checking for an ISO C++26 compliant stdckdint.h in C++... yes
checking whether the C++ compiler has <stdcountof.h>... no
checking whether fcloseall is declared... yes
checking whether getw is declared... yes
checking whether putw is declared... yes
checking which flavor of printf attribute matches inttypes macros... system
checking whether ecvt is declared... no
checking whether fcvt is declared... no
checking whether gcvt is declared... no
checking whether MB_CUR_MAX is correct... yes
checking whether strerror(0) succeeds... yes
checking whether strsignal is declared... yes
checking for off64_t... yes
checking for blksize_t... yes
checking for blkcnt_t... yes
checking for struct timespec in <time.h>... yes
checking for TIME_UTC in <time.h>... yes
checking whether execvpe is declared... yes
checking whether unsetenv is declared... yes
checking whether vsnprintf is declared... yes
checking whether <wchar.h> uses 'inline' correctly... yes
checking whether wcsdup is declared... yes
checking for C compiler option to allow warnings... -Wno-error
checking for static_assert... no
checking for bool, true, false... no
checking for __builtin_expect... yes
checking whether fabs can be used without linking with libm... yes
checking whether float.h conforms to ISO C23... no
checking whether conversion from 'int' to 'long double' works... yes
checking for nl_langinfo... yes
checking for ptrdiff_t... yes
checking whether free is known to preserve errno... no
checking whether frexp works... (cached) yes
checking whether frexpl is declared... yes
checking whether frexpl() can be used without linking with libm... no
checking for __fseterr... no
checking whether isfinite is declared... yes
checking whether isfinite(long double) works... no
checking whether isinf is declared... yes
checking whether isinf(long double) works... yes
checking whether isnan(double) can be used without linking with libm... (cached) yes
checking whether isnan(float) can be used without linking with libm... yes
checking whether isnan(float) works... yes
checking whether isnan(long double) can be used without linking with libm... yes
checking whether isnanl works... yes
checking for iswblank... yes
checking whether iswblank is declared... yes
checking whether iswdigit is ISO C compliant... no
checking whether iswpunct is consistent with ispunct... yes
checking whether iswxdigit is ISO C compliant... no
checking whether ldexp works... (cached) yes
checking whether localeconv works... yes
checking whether mbrtoc32 works on empty input... yes
checking whether the C locale is free of encoding errors... no
checking whether mbrtoc32 works in an UTF-8 locale... yes
checking whether mbrtowc handles a NULL pwc argument... yes
checking whether mbrtowc handles a NULL string argument... yes
checking whether mbrtowc has a correct return value... yes
checking whether mbrtowc returns 0 when parsing a NUL character... yes
checking whether mbrtowc stores incomplete characters... no
checking whether mbrtowc works on empty input... yes
checking whether the C locale is free of encoding errors... yes
checking whether memmem works in linear time... yes
checking for memmem... (cached) yes
checking whether memmem works... (cached) yes
checking whether frexp works... (cached) yes
checking whether ldexp can be used without linking with libm... (cached) yes
checking whether frexpl() can be used without linking with libm... (cached) no
checking whether ldexpl() can be used without linking with libm... no
checking for PTHREAD_CREATE_DETACHED... yes
checking for PTHREAD_MUTEX_RECURSIVE... yes
checking for PTHREAD_MUTEX_ROBUST... yes
checking for PTHREAD_PROCESS_SHARED... yes
checking whether pthread_once works... yes
checking whether pthread_once can be used without linking with libpthread... no
checking for putenv compatible with GNU and SVID... no
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... yes
checking for signbit macro... no
checking for signbit compiler built-ins... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for snprintf... (cached) yes
checking whether snprintf respects a size of 1... yes
checking for ssize_t... yes
checking whether stat handles trailing slashes on files... yes
checking for struct stat.st_atim.tv_nsec... yes
checking whether struct stat.st_atim is of type struct timespec... yes
checking for struct stat.st_birthtimespec.tv_nsec... yes
checking for vasprintf... yes
checking for strcasecmp... yes
checking whether strcasecmp works... yes
checking for working strerror function... yes
checking for strncasecmp... yes
checking whether strcasecmp works... (cached) yes
checking whether strncasecmp is declared... yes
checking for strsignal... yes
checking whether strsignal always returns a string... yes
checking whether trunc is declared... (cached) yes
checking whether unlink honors trailing slashes... yes
checking whether unlink of a parent directory fails as it should... guessing yes
checking for unsetenv... yes
checking for unsetenv() return type... int
checking whether unsetenv obeys POSIX... yes
checking for variable-length arrays... yes
checking for ptrdiff_t... (cached) yes
checking for vsnprintf... yes
checking whether snprintf respects a size of 1... (cached) yes
checking whether wcwidth is declared... yes
checking whether wcwidth works reasonably in UTF-8 locales... yes
checking for stdint.h... (cached) yes
checking that C++ compiler can compile simple program... yes
checking that C++ static constructors and destructors are called... yes
checking that header files support C++... yes
checking whether to install .cmd wrapper scripts for Windows... no
checking for X... no
checking for a sed that does not truncate output... /usr/bin/sed
checking for perl... /usr/local/bin/perl
checking for perl version... 5.42.0
checking for lpr... lpr
checking for lp... lp
checking for lpq... lpq
checking option to use when spooling DVI files... -d
checking for egrep... (cached) /usr/bin/grep -E
checking for bison... no
checking for byacc... byacc
checking for m4... m4
checking for makeinfo... no
checking for texi2dvi... missing
checking for tex... missing
checking for ranlib... (cached) ranlib
checking for install-info... no
checking whether ln -s works... yes
checking for xpmtoppm... missing
checking for pkg-config... no
checking for uchardet >= 0.0.1... no
checking for csh hash hack... no
checking for stdbool.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking for limits.h... (cached) yes
checking sys/dir.h usability... no
checking sys/dir.h presence... no
checking for sys/dir.h... no
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for math.h... (cached) yes
checking for sys/time.h... (cached) yes
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking whether -D_POSIX_SOURCE is necessary... no
checking for return type of srand... void
checking whether gettimeofday must be declared... no
checking whether popen must be declared... no
checking whether pclose must be declared... no
checking whether rand must be declared... no
checking whether srand must be declared... no
checking whether vfprintf must be declared... no
checking for sys_nerr in <errno.h>, <stdio.h>, or <stdlib.h>... yes
checking for sys_errlist in <errno.h>, <stdio.h>, or <stdlib.h>... yes
checking C++ <osfcn.h>... no
checking C++ <limits.h>... yes
checking C++ <inttypes.h>... yes
checking for unsigned long long... yes
checking for declaration of time_t... yes
checking for return type of signal handlers... void
checking struct exception... no
checking whether byte ordering is bigendian... (cached) no
checking for main in -lc... yes
checking for sin in -lm... yes
checking for ld used by cc -ferror-limit=0... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking how to run the C++ preprocessor... c++ -ferror-limit=0 -E
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for getpagesize... yes
checking for working mmap... yes
checking for getcwd... yes
checking for strtol... yes
checking for gettimeofday... yes
checking for isatty... yes
checking for kill... yes
checking for rename... yes
checking for setlocale... yes
checking for strdup... yes
checking for strsep... yes
checking for mkstemp... yes
checking whether getc_unlocked is declared... (cached) yes
checking for nl_langinfo and CODESET... (cached) yes
checking whether ISO C++98 array deletion syntax is supported... yes
checking whether C preprocessor uses pre-ISO C90 syntax... no
checking w_coredump... no
checking default value for grops -b option... 0
checking default paper format... letter
checking for existing troff installation... no
checking file name prefix of system macro packages... (none)
checking for system macro packages to make available... (none)
checking separator character to use in groff search paths... :
checking for gs... no
checking for gswin32c... no
checking for gsos2... no
checking for pnmcrop... missing
checking for pamcut... missing
checking for pnmtopng... missing
checking for pnmtops... missing
checking for ps2ps... missing
checking for URW fonts in Type 1/PFB format... none found
checking whether 'make' defines 'RM'... no
checking for a diff program that supports option -D... diff
checking whether 'test' supports '-ef' option... yes
checking whether we are using the GNU C Library >= 2.1 or uClibc... (cached) no
configure: updating cache config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating test-groff
config.status: creating src/include/config.h
config.status: executing depfiles commands
GNU roff version 1.23.0.5077-7dcc8
----------------------------------------------------------------------
installation directory prefix : /home/bruno
C++ compiler and options : c++ -ferror-limit=0 -g -O2 -I/home/bruno/include -I/usr/local/include -Wall -D_THREAD_SAFE
use libgroff's memory allocator : no
C compiler and options : cc -ferror-limit=0 -g -O2 -I/home/bruno/include -I/usr/local/include -Wall -D_THREAD_SAFE
Perl interpreter version : 5.42.0
X11 support : disabled
default paper format : letter
'groff -l' uses print spooler : lpr
use URW fonts for PDF output : no
preconv can use uchardet library : no
can build groff.{info,html,txt} : no
can build groff.{dvi,pdf} : no
----------------------------------------------------------------------
configure: No Ghostscript program was found in $PATH.
It was sought under the name(s) "gs gswin32c gsos2".
groff documentation will not be available in HTML.
'grohtml' will have reduced function, being unable to produce
documents using the 'tbl' preprocessor.
configure: URW fonts in Type 1/PFB format were not found.
groff font description files for the URW fonts, used by the 'gropdf'
output driver, will not be available. Use and embedding of fonts from
the 'U' foundry in PDF documents generated by groff will not be
possible.
You can obtain the URW base 35 fonts from their GitHub project. As of
this writing (2023-02-15), you can find them in the 'fonts' directory
of the following archives (choose one).
https://github.com/ArtifexSoftware/urw-base35-fonts/archive/refs/
tags/20200910.zip
https://github.com/ArtifexSoftware/urw-base35-fonts/archive/refs/
tags/20200910.tar.gz
You may wish to check for a newer release.
https://github.com/ArtifexSoftware/urw-base35-fonts/releases
'gropdf' looks for these fonts in several directories specified in
font/devpdf/Foundry.in.
You will need to "make distclean" and re-run the 'configure' script
after installing the URW fonts.
Alternatively, you can pass the option '--with-urw-fonts-dir=DIR'
to 'configure' to look for them in the directory DIR you specify.
If found, the 'U' foundry will be available via the '-y' option to
'gropdf' (accessed via the 'groff' command with the option '-P -y').
configure: The uchardet library was not found.
The 'preconv' preprocessor program will be unable to attempt automatic
inference of an input file's character encoding. See the preconv(1)
man page.
configure: The programs 'gs', 'pnmcrop', 'pamcut', 'pnmtopng', 'pnmtops', and 'ps2ps' were not found in $PATH.
Consequently, groff's HTML output driver, 'grohtml', will not work
properly. It will not be possible to prepare or install
groff-generated documentation in HTML format.
configure: groff's Texinfo manual will not be generated.
Because 'makeinfo' is either outdated or missing, the Texinfo manual
will not be generated in any of its output formats (GNU Info, HTML,
plain text, TeX DVI, or PDF).
Get the 'texinfo' package version 5.0 or newer to build the manual.
configure: 'gropdf' will have reduced function.
Neither Ghostscript nor URW fonts are available; groff documentation
thus will not be available in PDF.
'gropdf' will be able to handle only documents using the standard PDF
base 14 fonts, plus the 'EURO' font groff supplies, and font embedding
with its '-e' option (accessed via the 'groff' command with the option
'-P -e') will not be possible.
GEN lib/alloca.h
GEN lib/assert.h
GEN lib/fcntl.h
GEN lib/float.h
GEN lib/getopt.h
GEN lib/getopt-cdefs.h
GEN lib/inttypes.h
GEN lib/limits.h
GEN lib/locale.h
GEN lib/math.h
GEN lib/pthread.h
GEN lib/sched.h
GEN lib/stdcountof.h
GEN lib/stddef.h
GEN lib/stdint.h
GEN lib/stdio.h
GEN lib/stdlib.h
GEN lib/string.h
GEN lib/strings.h
GEN lib/sys/stat.h
GEN lib/sys/types.h
GEN lib/sys/wait.h
GEN lib/time.h
GEN lib/uchar.h
GEN lib/unicase.h
GEN lib/unictype.h
GEN lib/uninorm.h
GEN lib/unistd.h
GEN lib/unitypes.h
GEN lib/uniwidth.h
GEN lib/wchar.h
GEN lib/wctype.h
GEN font/devpdf/DESC
GEN font/devpdf/SS
make: don't know how to make font/devpdf/symbolsl.afm. Stop
make: stopped making "all" in /home/bruno/groff-1.23.0.5077-7dcc8/build
GEN lib/alloca.h
GEN lib/assert.h
GEN lib/fcntl.h
GEN lib/float.h
GEN lib/getopt.h
GEN lib/getopt-cdefs.h
GEN lib/inttypes.h
GEN lib/limits.h
GEN lib/locale.h
GEN lib/math.h
GEN lib/pthread.h
GEN lib/sched.h
GEN lib/stdcountof.h
GEN lib/stddef.h
GEN lib/stdint.h
GEN lib/stdio.h
GEN lib/stdlib.h
GEN lib/string.h
GEN lib/strings.h
GEN lib/sys/stat.h
GEN lib/sys/types.h
GEN lib/sys/wait.h
GEN lib/time.h
GEN lib/uchar.h
GEN lib/unicase.h
GEN lib/unictype.h
GEN lib/uninorm.h
GEN lib/unistd.h
GEN lib/unitypes.h
GEN lib/uniwidth.h
GEN lib/wchar.h
GEN lib/wctype.h
GEN font/devpdf/DESC
GEN font/devpdf/SS
GEN font/devpdf/symbolsl.afm
GEN font/devpdf/symbolsl.pfb
GEN font/devpdf/Foundry
GEN ./shdeps.sed
GEN afmtodit
GEN font/devpdf/util/BuildFoundries
GEN font/devpdf/download
BuildFoundries: warning: line 33: groff font 'AB' will not be available for PDF
output; unable to locate font file(s): URWGothic-Demi.t1, URWGothic-Demi,
URWGothicL-Demi, a010015l.pfb
BuildFoundries: warning: line 34: groff font 'ABI' will not be available for
PDF output; unable to locate font file(s): URWGothic-DemiOblique.t1,
URWGothic-DemiOblique, URWGothicL-DemiObli, a010035l.pfb
BuildFoundries: warning: line 35: groff font 'AI' will not be available for PDF
output; unable to locate font file(s): URWGothic-BookOblique.t1,
URWGothic-BookOblique, URWGothicL-BookObli, a010033l.pfb
BuildFoundries: warning: line 36: groff font 'AR' will not be available for PDF
output; unable to locate font file(s): URWGothic-Book.t1, URWGothic-Book,
URWGothicL-Book, a010013l.pfb
BuildFoundries: warning: line 37: groff font 'BMB' will not be available for
PDF output; unable to locate font file(s): URWBookman-Demi.t1, URWBookman-Demi,
URWBookmanL-DemiBold, b018015l.pfb
BuildFoundries: warning: line 38: groff font 'BMBI' will not be available for
PDF output; unable to locate font file(s): URWBookman-DemiItalic.t1,
URWBookman-DemiItalic, URWBookmanL-DemiBoldItal, b018035l.pfb
BuildFoundries: warning: line 39: groff font 'BMI' will not be available for
PDF output; unable to locate font file(s): URWBookman-LightItalic.t1,
URWBookman-LightItalic, URWBookmanL-LighItal, b018032l.pfb
BuildFoundries: warning: line 40: groff font 'BMR' will not be available for
PDF output; unable to locate font file(s): URWBookman-Light.t1,
URWBookman-Light, URWBookmanL-Ligh, b018012l.pfb
BuildFoundries: notice: copied grops font CB
BuildFoundries: notice: copied grops font CBI
BuildFoundries: notice: copied grops font CI
BuildFoundries: notice: copied grops font CR
BuildFoundries: notice: copied grops font HB
BuildFoundries: notice: copied grops font HBI
BuildFoundries: notice: copied grops font HI
BuildFoundries: warning: line 48: groff font 'HNB' will not be available for
PDF output; unable to locate font file(s): NimbusSansNarrow-Bold.t1,
NimbusSansNarrow-Bold, NimbusSanL-BoldCond, n019044l.pfb
BuildFoundries: warning: line 49: groff font 'HNBI' will not be available for
PDF output; unable to locate font file(s): NimbusSansNarrow-BoldOblique.t1,
NimbusSansNarrow-BoldOblique, NimbusSansNarrow-BdOblique,
NimbusSanL-BoldCondItal.t1, NimbusSanL-BoldCondItal, n019064l.pfb
BuildFoundries: warning: line 50: groff font 'HNI' will not be available for
PDF output; unable to locate font file(s): NimbusSansNarrow-Oblique.t1,
NimbusSansNarrow-Oblique, NimbusSanL-ReguCondItal, n019063l.pfb
BuildFoundries: warning: line 51: groff font 'HNR' will not be available for
PDF output; unable to locate font file(s): NimbusSansNarrow-Regular.t1,
NimbusSansNarrow-Regular, NimbusSanL-ReguCond, n019043l.pfb
BuildFoundries: notice: copied grops font HR
BuildFoundries: warning: line 53: groff font 'NB' will not be available for PDF
output; unable to locate font file(s): C059-Bold.t1, C059-Bold,
CenturySchL-Bold, c059016l.pfb
BuildFoundries: warning: line 54: groff font 'NBI' will not be available for
PDF output; unable to locate font file(s): C059-BdIta.t1, C059-BdIta,
CenturySchL-BoldItal, c059036l.pfb
BuildFoundries: warning: line 55: groff font 'NI' will not be available for PDF
output; unable to locate font file(s): C059-Italic.t1, C059-Italic,
CenturySchL-Ital, c059033l.pfb
BuildFoundries: warning: line 56: groff font 'NR' will not be available for PDF
output; unable to locate font file(s): C059-Roman.t1, C059-Roman,
CenturySchL-Roma, c059013l.pfb
BuildFoundries: warning: line 57: groff font 'PB' will not be available for PDF
output; unable to locate font file(s): P052-Bold.t1, P052-Bold,
URWPalladioL-Bold, p052004l.pfb
BuildFoundries: warning: line 58: groff font 'PBI' will not be available for
PDF output; unable to locate font file(s): P052-BoldItalic.t1, P052-BoldItalic,
URWPalladioL-BoldItal, p052024l.pfb
BuildFoundries: warning: line 59: groff font 'PI' will not be available for PDF
output; unable to locate font file(s): P052-Italic.t1, P052-Italic,
URWPalladioL-Ital, p052023l.pfb
BuildFoundries: warning: line 60: groff font 'PR' will not be available for PDF
output; unable to locate font file(s): P052-Roman.t1, P052-Roman,
URWPalladioL-Roma, p052003l.pfb
BuildFoundries: notice: copied grops font S
BuildFoundries: notice: copied grops font TB
BuildFoundries: notice: copied grops font TBI
BuildFoundries: notice: copied grops font TI
BuildFoundries: notice: copied grops font TR
BuildFoundries: warning: line 66: groff font 'ZCMI' will not be available for
PDF output; unable to locate font file(s): Z003-MediumItalic.t1,
Z003-MediumItalic, URWChanceryL-MediItal, z003034l.pfb
BuildFoundries: notice: copied grops font ZD
BuildFoundries: notice: copied grops font EURO
BuildFoundries: notice:
The path(s) used for searching:
@urwfontsdir@:/usr/share/fonts/type1/gsfonts:/usr/share/fonts/default/Type1:/usr/share/fonts/default/Type1/adobestd35:/usr/share/fonts/type1/urw-base35:/usr/share/fonts/urw-base35:/usr/share/ghostscript/Resource/Font:/opt/local/share/fonts/urw-fonts:/usr/local/share/fonts/ghostscript:/home/bruno/groff-1.23.0.5077-7dcc8/build/../font/devpdf:/home/bruno/groff-1.23.0.5077-7dcc8/build/font/devpdf
*** Error code 2
Stop.
make: stopped making "all" in /home/bruno/groff-1.23.0.5077-7dcc8/build
make check-recursive
CXX src/devices/grodvi/dvi.o
CXX src/libs/libdriver/input.o
CXX src/libs/libdriver/printer.o
AR libdriver.a
CXX src/libs/libgroff/libgroff_a-change_lf.o
CXX src/libs/libgroff/libgroff_a-cmap.o
CXX src/libs/libgroff/libgroff_a-color.o
In file included from ../src/libs/libgroff/color.cpp:28:
../src/include/color.h:27:10: warning: private field 'next' is not used [-Wunused-private-field]
27 | color *next;
| ^
1 warning generated.
CXX src/libs/libgroff/libgroff_a-cset.o
CXX src/libs/libgroff/libgroff_a-curtime.o
CXX src/libs/libgroff/libgroff_a-device.o
CXX src/libs/libgroff/libgroff_a-errarg.o
CXX src/libs/libgroff/libgroff_a-error.o
CXX src/libs/libgroff/libgroff_a-fatal.o
CXX src/libs/libgroff/libgroff_a-filename.o
CXX src/libs/libgroff/libgroff_a-font.o
CXX src/libs/libgroff/libgroff_a-fontfile.o
CXX src/libs/libgroff/libgroff_a-geometry.o
CXX src/libs/libgroff/libgroff_a-glyphuni.o
CXX src/libs/libgroff/libgroff_a-htmlhint.o
CC src/libs/libgroff/libgroff_a-iftoa.o
CXX src/libs/libgroff/libgroff_a-invalid.o
CC src/libs/libgroff/libgroff_a-itoa.o
CXX src/libs/libgroff/libgroff_a-json_encode.o
CXX src/libs/libgroff/libgroff_a-lf.o
CXX src/libs/libgroff/libgroff_a-lineno.o
CC src/libs/libgroff/libgroff_a-localcharset.o
CXX src/libs/libgroff/libgroff_a-macropath.o
CC src/libs/libgroff/libgroff_a-matherr.o
CXX src/libs/libgroff/libgroff_a-maxfilename.o
CXX src/libs/libgroff/libgroff_a-maxpathname.o
CXX src/libs/libgroff/libgroff_a-mksdir.o
CXX src/libs/libgroff/libgroff_a-nametoindex.o
CXX src/libs/libgroff/libgroff_a-paper.o
CXX src/libs/libgroff/libgroff_a-prime.o
CC src/libs/libgroff/libgroff_a-progname.o
CXX src/libs/libgroff/libgroff_a-ptable.o
CC src/libs/libgroff/libgroff_a-quotearg.o
CXX src/libs/libgroff/libgroff_a-relocate.o
CXX src/libs/libgroff/libgroff_a-searchpath.o
CC src/libs/libgroff/libgroff_a-spawnvp.o
CXX src/libs/libgroff/libgroff_a-string.o
CXX src/libs/libgroff/libgroff_a-strsave.o
CXX src/libs/libgroff/libgroff_a-symbol.o
CXX src/libs/libgroff/libgroff_a-tmpfile.o
CXX src/libs/libgroff/libgroff_a-tmpname.o
CXX src/libs/libgroff/libgroff_a-unicode.o
CXX src/libs/libgroff/libgroff_a-uniglyph.o
CXX src/libs/libgroff/libgroff_a-uniuni.o
GEN src/libs/libgroff/version.cpp
CXX src/libs/libgroff/libgroff_a-version.o
CC lib/libgnu_a-c32isalnum.o
CC lib/libgnu_a-c32isalpha.o
CC lib/libgnu_a-c32isblank.o
CC lib/libgnu_a-c32iscntrl.o
CC lib/libgnu_a-c32isdigit.o
CC lib/libgnu_a-c32isgraph.o
CC lib/libgnu_a-c32islower.o
CC lib/libgnu_a-c32isprint.o
CC lib/libgnu_a-c32ispunct.o
CC lib/libgnu_a-c32isspace.o
CC lib/libgnu_a-c32isupper.o
CC lib/libgnu_a-c32isxdigit.o
CC lib/libgnu_a-c32tolower.o
CC lib/libgnu_a-c32width.o
CC lib/libgnu_a-float.o
CC lib/libgnu_a-free.o
CC lib/libgnu_a-fseterr.o
CC lib/libgnu_a-getopt.o
CC lib/libgnu_a-getopt1.o
CC lib/libgnu_a-hard-locale.o
CC lib/libgnu_a-isfinite.o
CC lib/libgnu_a-iswdigit.o
CC lib/libgnu_a-iswxdigit.o
CC lib/libgnu_a-localcharset.o
CC lib/libgnu_a-malloca.o
CC lib/libgnu_a-math.o
CC lib/libgnu_a-mbchar.o
CC lib/libgnu_a-mbiterf.o
CC lib/libgnu_a-mbrtoc32.o
CC lib/libgnu_a-mbsnlen.o
CC lib/libgnu_a-mbszero.o
CC lib/glthread/libgnu_a-once.o
CC lib/libgnu_a-printf-frexp.o
CC lib/libgnu_a-printf-frexpl.o
CC lib/libgnu_a-putenv.o
CC lib/libgnu_a-setlocale_null.o
CC lib/libgnu_a-setlocale-lock.o
CC lib/libgnu_a-setlocale_null-unlocked.o
CC lib/libgnu_a-stat-time.o
CC lib/libgnu_a-stdlib.o
CC lib/glthread/libgnu_a-threadlib.o
CC lib/glthread/libgnu_a-tls.o
CC lib/unicase/libgnu_a-tolower.o
CC lib/unictype/libgnu_a-ctype_alnum.o
CC lib/unictype/libgnu_a-ctype_alpha.o
CC lib/unictype/libgnu_a-ctype_blank.o
CC lib/unictype/libgnu_a-ctype_cntrl.o
CC lib/unictype/libgnu_a-ctype_digit.o
CC lib/unictype/libgnu_a-ctype_graph.o
CC lib/unictype/libgnu_a-ctype_lower.o
CC lib/unictype/libgnu_a-ctype_print.o
CC lib/unictype/libgnu_a-ctype_punct.o
CC lib/unictype/libgnu_a-ctype_space.o
CC lib/unictype/libgnu_a-ctype_upper.o
CC lib/unictype/libgnu_a-ctype_xdigit.o
CC lib/libgnu_a-unistd.o
CC lib/uniwidth/libgnu_a-width.o
CC lib/libgnu_a-vfzprintf.o
CC lib/libgnu_a-vsnzprintf.o
CC lib/libgnu_a-wctype-h.o
CC lib/libgnu_a-xsize.o
CC lib/libgnu_a-asnprintf.o
CC lib/libgnu_a-fprintf.o
CC lib/libgnu_a-frexpl.o
CC lib/libgnu_a-printf-args.o
CC lib/libgnu_a-printf-parse.o
CC lib/libgnu_a-vasnprintf.o
AR lib/libgnu.a
AR libgroff.a
CXXLD grodvi
ld: warning: libgroff.a: archive member 'libgnu.a' is neither ET_REL nor LLVM bitcode
CXX src/devices/grohtml/post-html.o
CXX src/devices/grohtml/html-table.o
In file included from ../src/devices/grohtml/html-table.cpp:37:
../src/devices/grohtml/html-table.h:126:15: warning: private field 'is_used' is not used [-Wunused-private-field]
126 | int is_used;
| ^
1 warning generated.
CXX src/devices/grohtml/html-text.o
CXX src/devices/grohtml/output.o
CXXLD post-grohtml
ld: warning: libgroff.a: archive member 'libgnu.a' is neither ET_REL nor LLVM bitcode
CXX src/devices/grolbp/lbp.o
CXXLD grolbp
ld: warning: libgroff.a: archive member 'libgnu.a' is neither ET_REL nor LLVM bitcode
CXX src/devices/grolj4/lj4.o
CXXLD grolj4
ld: warning: libgroff.a: archive member 'libgnu.a' is neither ET_REL nor LLVM bitcode
CXX src/devices/grops/ps.o
CXX src/devices/grops/psrm.o
CXXLD grops
ld: warning: libgroff.a: archive member 'libgnu.a' is neither ET_REL nor LLVM bitcode
CXX src/devices/grotty/tty.o
CXXLD grotty
ld: warning: libgroff.a: archive member 'libgnu.a' is neither ET_REL nor LLVM bitcode
CXX src/preproc/html/pre-html.o
../src/preproc/html/pre-html.cpp:1347:12: warning: variable 'wstatus' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
1347 | else if (child_pid == 0) {
| ^~~~~~~~~~~~~~
../src/preproc/html/pre-html.cpp:1473:10: note: uninitialized use occurs here
1473 | return wstatus;
| ^~~~~~~
../src/preproc/html/pre-html.cpp:1347:8: note: remove the 'if' if its condition is always false
1347 | else if (child_pid == 0) {
| ^~~~~~~~~~~~~~~~~~~~~
1348 | // This is the child process. We redirect its input file descriptor
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1349 | // to read data emerging from our pipe. There is no point in
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1350 | // saving, since we won't be able to restore later!
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1351 |
1352 | set_redirection(STDIN_FILENO, pipedes[0]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1353 |
1354 | // The parent process will be writing this data; release the child's
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1355 | // writeable handle on the pipe since we have no use for it.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1356 |
1357 | if (close(pipedes[1]) < 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
1358 | sys_fatal("close");
| ~~~~~~~~~~~~~~~~~~~
1359 |
1360 | // The IMAGE_OUTPUT_FILTER needs special output redirection...
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1361 |
1362 | if (filter == IMAGE_OUTPUT_FILTER) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/preproc/html/pre-html.cpp:1344:7: warning: variable 'wstatus' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
1344 | if ((child_pid = fork()) < 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~
../src/preproc/html/pre-html.cpp:1473:10: note: uninitialized use occurs here
1473 | return wstatus;
| ^~~~~~~
../src/preproc/html/pre-html.cpp:1344:3: note: remove the 'if' if its condition is always false
1344 | if ((child_pid = fork()) < 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1345 | sys_fatal("fork");
| ~~~~~~~~~~~~~~~~~~
1346 |
1347 | else if (child_pid == 0) {
| ~~~~
../src/preproc/html/pre-html.cpp:1334:14: note: initialize the variable 'wstatus' to silence this warning
1334 | int wstatus;
| ^
| = 0
../src/preproc/html/pre-html.cpp:903:7: warning: private field 'count' is not used [-Wunused-private-field]
903 | int count;
| ^
3 warnings generated.
CXX src/preproc/html/pushback.o
../src/preproc/html/pushback.cpp:242:8: warning: variable 'c' set but not used [-Wunused-but-set-variable]
242 | int c =0;
| ^
1 warning generated.
CXXLD pre-grohtml
ld: warning: libgroff.a: archive member 'libgnu.a' is neither ET_REL nor LLVM bitcode
CXX src/preproc/preconv/preconv-preconv.o
CXXLD preconv
ld: warning: libgroff.a: archive member 'libgnu.a' is neither ET_REL nor LLVM bitcode
CXX src/roff/groff/groff.o
CC src/roff/groff/pipeline.o
CXXLD groff
ld: warning: libgroff.a: archive member 'libgnu.a' is neither ET_REL nor LLVM bitcode
CXX src/utils/addftinfo/addftinfo.o
../src/utils/addftinfo/addftinfo.cpp:126:5: warning: variable 'i' is incremented both in the loop header and in the loop body [-Wfor-loop-analysis]
126 | i++;
| ^
../src/utils/addftinfo/addftinfo.cpp:110:46: note: incremented here
110 | for (i = 1; i < argc && argv[i][0] == '-'; i++) {
| ^
1 warning generated.
CXX src/utils/addftinfo/guess.o
CXXLD addftinfo
ld: warning: libgroff.a: archive member 'libgnu.a' is neither ET_REL nor LLVM bitcode
CXX src/utils/hpftodit/hpftodit.o
CXX src/utils/hpftodit/hpuni.o
CXXLD hpftodit
ld: warning: libgroff.a: archive member 'libgnu.a' is neither ET_REL nor LLVM bitcode
CXX src/utils/lkbib/lkbib.o
CXX src/libs/libbib/common.o
CXX src/libs/libbib/index.o
CXX src/libs/libbib/linear.o
CXX src/libs/libbib/search.o
In file included from ../src/libs/libbib/search.cpp:35:
../src/include/search.h:82:8: warning: private field 'shut_g_plus_plus_up' is not used [-Wunused-private-field]
82 | char shut_g_plus_plus_up;
| ^
1 warning generated.
CC src/libs/libbib/map.o
AR libbib.a
CXXLD lkbib
ld: warning: libgroff.a: archive member 'libgnu.a' is neither ET_REL nor LLVM bitcode
CC src/utils/pfbtops/pfbtops.o
CXXLD pfbtops
ld: warning: libgroff.a: archive member 'libgnu.a' is neither ET_REL nor LLVM bitcode
CXX src/utils/tfmtodit/tfmtodit.o
CXXLD tfmtodit
ld: warning: libgroff.a: archive member 'libgnu.a' is neither ET_REL nor LLVM bitcode
CXX src/preproc/eqn/eqn-main.o
CXX src/preproc/eqn/eqn-lex.o
CXX src/preproc/eqn/eqn-box.o
CXX src/preproc/eqn/eqn-limit.o
CXX src/preproc/eqn/eqn-list.o
CXX src/preproc/eqn/eqn-over.o
CXX src/preproc/eqn/eqn-text.o
CXX src/preproc/eqn/eqn-script.o
CXX src/preproc/eqn/eqn-mark.o
CXX src/preproc/eqn/eqn-other.o
CXX src/preproc/eqn/eqn-delim.o
CXX src/preproc/eqn/eqn-sqrt.o
CXX src/preproc/eqn/eqn-pile.o
CXX src/preproc/eqn/eqn-special.o
CXX src/preproc/eqn/eqn-eqn.o
CXXLD eqn
ld: warning: libgroff.a: archive member 'libgnu.a' is neither ET_REL nor LLVM bitcode
CXX src/preproc/grn/hdb.o
CXX src/preproc/grn/hpoint.o
CXX src/preproc/grn/hgraph.o
CXX src/preproc/grn/main.o
CXXLD grn
ld: warning: libgroff.a: archive member 'libgnu.a' is neither ET_REL nor LLVM bitcode
CXX src/preproc/pic/pic-pic.o
CXX src/preproc/pic/pic-lex.o
CXX src/preproc/pic/pic-main.o
CXX src/preproc/pic/pic-object.o
CXX src/preproc/pic/pic-common.o
CXX src/preproc/pic/pic-troff.o
CXX src/preproc/pic/pic-tex.o
CXXLD pic
ld: warning: libgroff.a: archive member 'libgnu.a' is neither ET_REL nor LLVM bitcode
CXX src/preproc/refer/refer-command.o
CXX src/preproc/refer/refer-ref.o
CXX src/preproc/refer/refer-refer.o
CXX src/preproc/refer/refer-token.o
CXX src/preproc/refer/refer-label.o
CXXLD refer
ld: warning: libgroff.a: archive member 'libgnu.a' is neither ET_REL nor LLVM bitcode
CXX src/preproc/soelim/soelim.o
CXXLD soelim
ld: warning: libgroff.a: archive member 'libgnu.a' is neither ET_REL nor LLVM bitcode
CXX src/preproc/tbl/main.o
CXX src/preproc/tbl/table.o
CXXLD tbl
ld: warning: libgroff.a: archive member 'libgnu.a' is neither ET_REL nor LLVM bitcode
CXX src/roff/troff/dictionary.o
CXX src/roff/troff/div.o
In file included from ../src/roff/troff/div.cpp:34:
../src/roff/troff/env.h:19:1: warning: class 'statem' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
19 | class statem;
| ^
../src/roff/troff/mtsm.h:99:8: note: previous use is here
99 | struct statem {
| ^
../src/roff/troff/env.h:19:1: note: did you mean struct here?
19 | class statem;
| ^~~~~
| struct
1 warning generated.
CXX src/roff/troff/env.o
In file included from ../src/roff/troff/env.cpp:28:
In file included from /usr/include/c++/v1/vector:325:
In file included from /usr/include/c++/v1/__format/formatter_bool.h:16:
In file included from /usr/include/c++/v1/__format/concepts.h:16:
In file included from /usr/include/c++/v1/__format/format_parse_context.h:16:
In file included from /usr/include/c++/v1/string_view:251:
In file included from /usr/include/c++/v1/compare:174:
In file included from /usr/include/c++/v1/cmath:327:
/usr/include/c++/v1/__math/special_functions.h:51:8: error: no member named 'rpl_isfinite' in namespace 'std::__math'; did you mean simply 'rpl_isfinite'?
51 | if (!__math::isfinite(__H_n)) {
| ^~~~~~~~
./lib/math.h:3107:46: note: 'rpl_isfinite' declared here
3107 | _GL_MATH_CXX_REAL_FLOATING_DECL_2 (isfinite, rpl_isfinite, bool)
| ^
In file included from ../src/roff/troff/env.cpp:36:
../src/roff/troff/env.h:19:1: warning: class 'statem' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
19 | class statem;
| ^
../src/roff/troff/mtsm.h:99:8: note: previous use is here
99 | struct statem {
| ^
../src/roff/troff/env.h:19:1: note: did you mean struct here?
19 | class statem;
| ^~~~~
| struct
../src/roff/troff/env.cpp:3291:8: warning: 'unsigned_env_reg::get_value' hides overloaded virtual function [-Woverloaded-virtual]
3291 | bool get_value(unsigned int *val);
| ^
../src/roff/troff/reg.h:23:16: note: hidden overloaded virtual function 'reg::get_value' declared here: type mismatch at 1st parameter ('units *' (aka 'int *') vs 'unsigned int *')
23 | virtual bool get_value(units *);
| ^
2 warnings and 1 error generated.
*** Error code 1
Stop.
make[2]: stopped making "check-am" in /home/bruno/groff-1.23.0.5077-7dcc8/build
*** Error code 1
Stop.
make[1]: stopped making "check-recursive" in /home/bruno/groff-1.23.0.5077-7dcc8/build
*** Error code 1
Stop.
make: stopped making "check" in /home/bruno/groff-1.23.0.5077-7dcc8/build
diff --git a/contrib/mm/mm.am b/contrib/mm/mm.am
index c1f68e713..4f65934d2 100644
--- a/contrib/mm/mm.am
+++ b/contrib/mm/mm.am
@@ -19,7 +19,7 @@
#
mm_srcdir = $(top_srcdir)/contrib/mm
-mm_builddir = $(top_builddir)/contrib/mm
+mm_builddir = contrib/mm
bin_SCRIPTS += mmroff
diff --git a/contrib/rfc1345/rfc1345.am b/contrib/rfc1345/rfc1345.am
index 7a234248a..9905546d9 100644
--- a/contrib/rfc1345/rfc1345.am
+++ b/contrib/rfc1345/rfc1345.am
@@ -16,7 +16,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
rfc1345_srcdir = $(top_srcdir)/contrib/rfc1345
-rfc1345_builddir = $(top_builddir)/contrib/rfc1345
+rfc1345_builddir = contrib/rfc1345
man7_MANS += contrib/rfc1345/groff_rfc1345.7
diff --git a/contrib/sboxes/sboxes.am b/contrib/sboxes/sboxes.am
index 4d29724be..2165d6d9d 100644
--- a/contrib/sboxes/sboxes.am
+++ b/contrib/sboxes/sboxes.am
@@ -17,7 +17,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
sboxes_srcdir = $(top_srcdir)/contrib/sboxes
-sboxes_builddir = $(top_builddir)/contrib/sboxes
+sboxes_builddir = contrib/sboxes
sboxesnotquine = $(sboxes_srcdir)/notquine.sed
sboxestmacdir = $(tmacdir)
diff --git a/font/devpdf/devpdf.am b/font/devpdf/devpdf.am
index 9bcf1040c..40c35d444 100644
--- a/font/devpdf/devpdf.am
+++ b/font/devpdf/devpdf.am
@@ -19,7 +19,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
devpdf_srcdir = $(top_srcdir)/font/devpdf
-devpdf_builddir = $(top_builddir)/font/devpdf
+devpdf_builddir = font/devpdf
devpdffont_descriptions_from_devps = \
font/devpdf/S \
font/devpdf/ZD \
diff --git a/font/devps/devps.am b/font/devps/devps.am
index c0870ae8c..503e8d906 100644
--- a/font/devps/devps.am
+++ b/font/devps/devps.am
@@ -16,7 +16,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
devps_srcdir = $(top_srcdir)/font/devps
-devps_builddir = $(top_builddir)/font/devps
+devps_builddir = font/devps
DEVPSFONTFILES = \
font/devps/S \
font/devps/SS \
diff --git a/tmac/tmac.am b/tmac/tmac.am
index 5efcaf0db..ba66f44a5 100644
--- a/tmac/tmac.am
+++ b/tmac/tmac.am
@@ -20,7 +20,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
tmac_srcdir = $(top_srcdir)/tmac
-tmac_builddir = $(top_builddir)/tmac
+tmac_builddir = tmac
man7_MANS += \
tmac/groff_ms.7 \