[Bug 229805] www/lynx incomplete definition of type 'struct term' and other compile errors
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jul 16 14:14:32 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229805
Bug ID: 229805
Summary: www/lynx incomplete definition of type 'struct term'
and other compile errors
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: robbelics at gmail.com
CC: jharris at widomaker.com
Flags: maintainer-feedback?(jharris at widomaker.com)
CC: jharris at widomaker.com
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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list