Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2018 14:14:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 229805] www/lynx incomplete definition of type 'struct term' and other compile errors
Message-ID:  <bug-229805-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229805

            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@FreeBSD.org
          Reporter: robbelics@gmail.com
                CC: jharris@widomaker.com
             Flags: maintainer-feedback?(jharris@widomaker.com)
                CC: jharris@widomaker.com

When reinstalling lynx:

/usr/local/bin/clang60 -DHAVE_CONFIG_H=20=20
-DLOCALEDIR=3D\"/usr/local/share/locale\"  -I.  -I..  -Ichrtrans  -I./chrtr=
ans=20
-I..  -I../src  -I.././WWW/Library/Implementation     -DLIBICONV_PLUG
-I/usr/local/include  -D_BSD_TYPES -D__BSD_VISIBLE -D_POSIX_C_SOURCE=3D2001=
12L
-D_XOPEN_SOURCE=3D600 -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] !=3D 0) {
            ~~~~~~~~^
/usr/local/include/ncurses/term.h:710:16: note: forward declaration of 'str=
uct
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 'str=
uct
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

=3D=3D=3D>>> make build failed for www/lynx
=3D=3D=3D>>> Aborting update

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229805-7788>