When reinstalling lynx: /usr/local/bin/clang60 -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" -I. -I.. -Ichrtrans -I./chrtrans -I.. -I../src -I.././WWW/Library/Implementation -DLIBICONV_PLUG -I/usr/local/include -D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -I/usr/local/include/ncurses/ncursesw -I/usr/local/include/ncurses -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -c LYStrings.c LYStrings.c:1011:14: error: incomplete definition of type 'struct term' if (cur_term->type.Strings[code] != 0) { ~~~~~~~~^ /usr/local/include/ncurses/term.h:710:16: note: forward declaration of 'struct term' typedef struct term TERMINAL; ^ LYStrings.c:1012:33: error: incomplete definition of type 'struct term' LYStrNCpy(*result, cur_term->type.Strings[code], (final - *result)); ~~~~~~~~^ ./LYStrings.h:44:44: note: expanded from macro 'LYStrNCpy' #define LYStrNCpy(dst,src,n) LYstrncpy(dst,src,(int)(n)) ^~~ /usr/local/include/ncurses/term.h:710:16: note: forward declaration of 'struct term' typedef struct term TERMINAL; ^ 2 errors generated. *** Error code 1 Stop. make[3]: stopped in /usr/ports/www/lynx/work/lynx2-8-8/src *** Error code 1 Stop. make[2]: stopped in /usr/ports/www/lynx/work/lynx2-8-8 *** Error code 1 Stop. make[1]: stopped in /usr/ports/www/lynx *** Error code 1 Stop. make: stopped in /usr/ports/www/lynx ===>>> make build failed for www/lynx ===>>> Aborting update
FreeBSD 11.2-RELEASE
(In reply to Rob Belics from comment #1) Hi Rob, It builds fine for me in 10.4, 11.1 (both amd64 and i386) and in -CURRENT i386. Can you still reproduce the issue? You say "reinstalling". Did you do a "make clean" first? Cheers.
Please try to duplicate this with the newest version of lynx once this PR is committed and closed, and you've updated your ports tree: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230568 Thanks.
(In reply to jharris from comment #3) Yes. This fixes the issue. Thank you.