Hello, this is a mail I sended to the groff list. The result of an analysis had been that there is a bug in gnulibs wcwidth(3) implementation. In groff's build process the return value of wcwidth(3) is tested which failes on current NetBSD and FreeBSD. Then gnulibs wcwidth is used which also does not work.
I'm not on this list so please include me in CC in case of any questions. Carsten ----- Original Nachricht ---- Von: carsten.ku...@arcor.de An: gr...@gnu.org Datum: 04.04.2015 00:22 Betreff: Build of groff fails on NetBSD Hello, the build of the git repository fails on NetBSD 6.1.5: $ make make all-am g++ -g -O2 -o grn src/preproc/grn/hdb.o src/preproc/grn/hpoint.o src/preproc/grn/hgraph.o src/preproc/grn/main.o lib/libgnu.a libgroff.a -lm libgroff.a(libgroff_a-font.o): In function `font::get_width(glyph*, int)': /home/carsten/work/download/computer/software/unix/roff/groff/groff/src/libs/libgroff/font.cpp:386: undefined reference to `rpl_wcwidth' libgroff.a(libgroff_a-font.o): In function `font::load(int*, int)': /home/carsten/work/download/computer/software/unix/roff/groff/groff/src/libs/libgroff/font.cpp:964: undefined reference to `rpl_wcwidth' *** Error code 1 I did install autoconf, automake, libtool, then ./bootstrap, ./configure, make. ./configure did not complain. $ g++ --version g++ (NetBSD nb2 20110806) 4.5.3