Last 1000 lines of build log: #error _NETBSD_SOURCE is *not* to be defined. ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/buf.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:268:8: error: redefinition of 'struct _dirdesc' struct _dirdesc { ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/buf.c:35: /usr/include/dirent.h:50:16: note: originally defined here typedef struct _dirdesc DIR; ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/buf.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:279:0: warning: "dirfd" redefined [enabled by default] #define dirfd(dirp) (((struct _dirdesc *)dirp)->dd_fd) ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/buf.c:35: /usr/include/dirent.h:76:0: note: this is the location of the previous definition #define dirfd(dirp) ((dirp)->dd_fd) ^ *** [buf.lo] Error code 1 nbmake[7]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex --- gen.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/gen.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:268:8: error: redefinition of 'struct _dirdesc' struct _dirdesc { ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/gen.c:35: /usr/include/dirent.h:50:16: note: originally defined here typedef struct _dirdesc DIR; ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/gen.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:279:0: warning: "dirfd" redefined [enabled by default] #define dirfd(dirp) (((struct _dirdesc *)dirp)->dd_fd) ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/gen.c:35: /usr/include/dirent.h:76:0: note: this is the location of the previous definition #define dirfd(dirp) ((dirp)->dd_fd) ^ *** [gen.lo] Error code 1 nbmake[7]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex --- ecs.lo --- from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/ecs.c:33: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:279:0: warning: "dirfd" redefined [enabled by default] #define dirfd(dirp) (((struct _dirdesc *)dirp)->dd_fd) ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/ecs.c:33: /usr/include/dirent.h:76:0: note: this is the location of the previous definition #define dirfd(dirp) ((dirp)->dd_fd) ^ *** [ecs.lo] Error code 1 nbmake[7]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex --- misc.lo --- from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/misc.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:279:0: warning: "dirfd" redefined [enabled by default] #define dirfd(dirp) (((struct _dirdesc *)dirp)->dd_fd) ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, --- dfa.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/dfa.c:31: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:803:0: warning: "PACKAGE_BUGREPORT" redefined [enabled by default] #define PACKAGE_BUGREPORT "lib-bug-people@NetBSD.org" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/dfa.c:31: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:166:0: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "flex-help@lists.sourceforge.net" ^ --- sym.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:803:0: warning: "PACKAGE_BUGREPORT" redefined [enabled by default] #define PACKAGE_BUGREPORT "lib-bug-people@NetBSD.org" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:166:0: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "flex-help@lists.sourceforge.net" ^ --- regex.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:803:0: warning: "PACKAGE_BUGREPORT" redefined [enabled by default] #define PACKAGE_BUGREPORT "lib-bug-people@NetBSD.org" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:166:0: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "flex-help@lists.sourceforge.net" ^ --- misc.lo --- from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/misc.c:35: /usr/include/dirent.h:76:0: note: this is the location of the previous definition #define dirfd(dirp) ((dirp)->dd_fd) ^ --- sym.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:806:0: warning: "PACKAGE_NAME" redefined [enabled by default] #define PACKAGE_NAME "libnbcompat" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:169:0: note: this is the location of the previous definition #define PACKAGE_NAME "the fast lexical analyser generator" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:809:0: warning: "PACKAGE_STRING" redefined [enabled by default] #define PACKAGE_STRING "libnbcompat noversion" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:172:0: note: this is the location of the previous definition #define PACKAGE_STRING "the fast lexical analyser generator 2.6.3" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:812:0: warning: "PACKAGE_TARNAME" redefined [enabled by default] #define PACKAGE_TARNAME "libnbcompat" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:175:0: note: this is the location of the previous definition #define PACKAGE_TARNAME "flex" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:818:0: warning: "PACKAGE_VERSION" redefined [enabled by default] #define PACKAGE_VERSION "noversion" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:181:0: note: this is the location of the previous definition #define PACKAGE_VERSION "2.6.3" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:79:2: error: #error _NETBSD_SOURCE is *not* to be defined. #error _NETBSD_SOURCE is *not* to be defined. ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:268:8: error: redefinition of 'struct _dirdesc' struct _dirdesc { ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/sym.c:35: /usr/include/dirent.h:50:16: note: originally defined here typedef struct _dirdesc DIR; ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:279:0: warning: "dirfd" redefined [enabled by default] #define dirfd(dirp) (((struct _dirdesc *)dirp)->dd_fd) ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/sym.c:35: /usr/include/dirent.h:76:0: note: this is the location of the previous definition #define dirfd(dirp) ((dirp)->dd_fd) ^ *** [sym.lo] Error code 1 nbmake[7]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex --- dfa.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/dfa.c:31: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:806:0: warning: "PACKAGE_NAME" redefined [enabled by default] #define PACKAGE_NAME "libnbcompat" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/dfa.c:31: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:169:0: note: this is the location of the previous definition #define PACKAGE_NAME "the fast lexical analyser generator" ^ --- regex.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:806:0: warning: "PACKAGE_NAME" redefined [enabled by default] #define PACKAGE_NAME "libnbcompat" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:169:0: note: this is the location of the previous definition #define PACKAGE_NAME "the fast lexical analyser generator" ^ --- scanflags.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:803:0: warning: "PACKAGE_BUGREPORT" redefined [enabled by default] #define PACKAGE_BUGREPORT "lib-bug-people@NetBSD.org" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:166:0: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "flex-help@lists.sourceforge.net" ^ --- dfa.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/dfa.c:31: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:809:0: warning: "PACKAGE_STRING" redefined [enabled by default] #define PACKAGE_STRING "libnbcompat noversion" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/dfa.c:31: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:172:0: note: this is the location of the previous definition #define PACKAGE_STRING "the fast lexical analyser generator 2.6.3" ^ --- regex.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:809:0: warning: "PACKAGE_STRING" redefined [enabled by default] #define PACKAGE_STRING "libnbcompat noversion" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:172:0: note: this is the location of the previous definition #define PACKAGE_STRING "the fast lexical analyser generator 2.6.3" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:812:0: warning: "PACKAGE_TARNAME" redefined [enabled by default] #define PACKAGE_TARNAME "libnbcompat" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:175:0: note: this is the location of the previous definition #define PACKAGE_TARNAME "flex" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:818:0: warning: "PACKAGE_VERSION" redefined [enabled by default] #define PACKAGE_VERSION "noversion" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:181:0: note: this is the location of the previous definition #define PACKAGE_VERSION "2.6.3" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:79:2: error: #error _NETBSD_SOURCE is *not* to be defined. #error _NETBSD_SOURCE is *not* to be defined. ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:268:8: error: redefinition of 'struct _dirdesc' struct _dirdesc { ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/regex.c:25: /usr/include/dirent.h:50:16: note: originally defined here typedef struct _dirdesc DIR; ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:279:0: warning: "dirfd" redefined [enabled by default] #define dirfd(dirp) (((struct _dirdesc *)dirp)->dd_fd) ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/regex.c:25: /usr/include/dirent.h:76:0: note: this is the location of the previous definition #define dirfd(dirp) ((dirp)->dd_fd) ^ *** [regex.lo] Error code 1 nbmake[7]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex --- misc.lo --- *** [misc.lo] Error code 1 nbmake[7]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex --- scanflags.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:806:0: warning: "PACKAGE_NAME" redefined [enabled by default] #define PACKAGE_NAME "libnbcompat" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:169:0: note: this is the location of the previous definition #define PACKAGE_NAME "the fast lexical analyser generator" ^ --- dfa.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/dfa.c:31: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:812:0: warning: "PACKAGE_TARNAME" redefined [enabled by default] #define PACKAGE_TARNAME "libnbcompat" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/dfa.c:31: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:175:0: note: this is the location of the previous definition #define PACKAGE_TARNAME "flex" ^ --- scanflags.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:809:0: warning: "PACKAGE_STRING" redefined [enabled by default] #define PACKAGE_STRING "libnbcompat noversion" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:172:0: note: this is the location of the previous definition #define PACKAGE_STRING "the fast lexical analyser generator 2.6.3" ^ --- dfa.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/dfa.c:31: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:818:0: warning: "PACKAGE_VERSION" redefined [enabled by default] #define PACKAGE_VERSION "noversion" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/dfa.c:31: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:181:0: note: this is the location of the previous definition #define PACKAGE_VERSION "2.6.3" ^ --- scanflags.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:812:0: warning: "PACKAGE_TARNAME" redefined [enabled by default] #define PACKAGE_TARNAME "libnbcompat" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:175:0: note: this is the location of the previous definition #define PACKAGE_TARNAME "flex" ^ --- ccl.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/ccl.c:33: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:803:0: warning: "PACKAGE_BUGREPORT" redefined [enabled by default] #define PACKAGE_BUGREPORT "lib-bug-people@NetBSD.org" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/ccl.c:33: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:166:0: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "flex-help@lists.sourceforge.net" ^ --- dfa.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/dfa.c:31: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:79:2: error: #error _NETBSD_SOURCE is *not* to be defined. #error _NETBSD_SOURCE is *not* to be defined. ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, --- parse.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/initparse.c:52, from parse.c:1: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:803:0: warning: "PACKAGE_BUGREPORT" redefined [enabled by default] #define PACKAGE_BUGREPORT "lib-bug-people@NetBSD.org" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/initparse.c:52, from parse.c:1: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:166:0: note: this is the location of the previous definition --- scanflags.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:818:0: warning: "PACKAGE_VERSION" redefined [enabled by default] #define PACKAGE_VERSION "noversion" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:181:0: note: this is the location of the previous definition #define PACKAGE_VERSION "2.6.3" ^ --- ccl.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/ccl.c:33: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:806:0: warning: "PACKAGE_NAME" redefined [enabled by default] #define PACKAGE_NAME "libnbcompat" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/ccl.c:33: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:169:0: note: this is the location of the previous definition #define PACKAGE_NAME "the fast lexical analyser generator" ^ --- dfa.lo --- from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/dfa.c:31: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:268:8: error: redefinition of 'struct _dirdesc' struct _dirdesc { ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/dfa.c:31: /usr/include/dirent.h:50:16: note: originally defined here typedef struct _dirdesc DIR; ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, --- parse.lo --- #define PACKAGE_BUGREPORT "flex-help@lists.sourceforge.net" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/initparse.c:52, from parse.c:1: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:806:0: warning: "PACKAGE_NAME" redefined [enabled by default] #define PACKAGE_NAME "libnbcompat" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/initparse.c:52, from parse.c:1: --- scanflags.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:79:2: error: #error _NETBSD_SOURCE is *not* to be defined. #error _NETBSD_SOURCE is *not* to be defined. ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, --- ccl.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/ccl.c:33: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:809:0: warning: "PACKAGE_STRING" redefined [enabled by default] #define PACKAGE_STRING "libnbcompat noversion" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/ccl.c:33: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:172:0: note: this is the location of the previous definition #define PACKAGE_STRING "the fast lexical analyser generator 2.6.3" ^ --- dfa.lo --- from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/dfa.c:31: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:279:0: warning: "dirfd" redefined [enabled by default] #define dirfd(dirp) (((struct _dirdesc *)dirp)->dd_fd) ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, --- parse.lo --- /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:169:0: note: this is the location of the previous definition #define PACKAGE_NAME "the fast lexical analyser generator" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/initparse.c:52, from parse.c:1: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:809:0: warning: "PACKAGE_STRING" redefined [enabled by default] #define PACKAGE_STRING "libnbcompat noversion" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/initparse.c:52, --- dfa.lo --- from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/dfa.c:31: /usr/include/dirent.h:76:0: note: this is the location of the previous definition #define dirfd(dirp) ((dirp)->dd_fd) ^ *** [dfa.lo] Error code 1 nbmake[7]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex --- scanflags.lo --- from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:268:8: error: redefinition of 'struct _dirdesc' struct _dirdesc { ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanflags.c:35: /usr/include/dirent.h:50:16: note: originally defined here typedef struct _dirdesc DIR; ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, --- ccl.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/ccl.c:33: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:812:0: warning: "PACKAGE_TARNAME" redefined [enabled by default] #define PACKAGE_TARNAME "libnbcompat" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/ccl.c:33: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:175:0: note: this is the location of the previous definition #define PACKAGE_TARNAME "flex" ^ --- parse.lo --- from parse.c:1: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:172:0: note: this is the location of the previous definition #define PACKAGE_STRING "the fast lexical analyser generator 2.6.3" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/initparse.c:52, from parse.c:1: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:812:0: warning: "PACKAGE_TARNAME" redefined [enabled by default] #define PACKAGE_TARNAME "libnbcompat" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, --- scanflags.lo --- from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:279:0: warning: "dirfd" redefined [enabled by default] #define dirfd(dirp) (((struct _dirdesc *)dirp)->dd_fd) ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanflags.c:35: /usr/include/dirent.h:76:0: note: this is the location of the previous definition #define dirfd(dirp) ((dirp)->dd_fd) ^ *** [scanflags.lo] Error code 1 nbmake[7]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex --- ccl.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/ccl.c:33: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:818:0: warning: "PACKAGE_VERSION" redefined [enabled by default] #define PACKAGE_VERSION "noversion" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/ccl.c:33: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:181:0: note: this is the location of the previous definition #define PACKAGE_VERSION "2.6.3" ^ --- parse.lo --- from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/initparse.c:52, from parse.c:1: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:175:0: note: this is the location of the previous definition #define PACKAGE_TARNAME "flex" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/initparse.c:52, from parse.c:1: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:818:0: warning: "PACKAGE_VERSION" redefined [enabled by default] #define PACKAGE_VERSION "noversion" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/initparse.c:52, from parse.c:1: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:181:0: note: this is the location of the previous definition #define PACKAGE_VERSION "2.6.3" ^ --- ccl.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/ccl.c:33: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:79:2: error: #error _NETBSD_SOURCE is *not* to be defined. #error _NETBSD_SOURCE is *not* to be defined. ^ --- scanopt.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:803:0: warning: "PACKAGE_BUGREPORT" redefined [enabled by default] #define PACKAGE_BUGREPORT "lib-bug-people@NetBSD.org" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:166:0: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "flex-help@lists.sourceforge.net" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:806:0: warning: "PACKAGE_NAME" redefined [enabled by default] #define PACKAGE_NAME "libnbcompat" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:169:0: note: this is the location of the previous definition #define PACKAGE_NAME "the fast lexical analyser generator" ^ --- options.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/options.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:79:2: error: #error _NETBSD_SOURCE is *not* to be defined. #error _NETBSD_SOURCE is *not* to be defined. ^ --- scanopt.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:809:0: warning: "PACKAGE_STRING" redefined [enabled by default] #define PACKAGE_STRING "libnbcompat noversion" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:172:0: note: this is the location of the previous definition #define PACKAGE_STRING "the fast lexical analyser generator 2.6.3" ^ --- ccl.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/ccl.c:33: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:268:8: error: redefinition of 'struct _dirdesc' struct _dirdesc { ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/ccl.c:33: /usr/include/dirent.h:50:16: note: originally defined here typedef struct _dirdesc DIR; ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/ccl.c:33: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:279:0: warning: "dirfd" redefined [enabled by default] #define dirfd(dirp) (((struct _dirdesc *)dirp)->dd_fd) ^ --- scanopt.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:812:0: warning: "PACKAGE_TARNAME" redefined [enabled by default] #define PACKAGE_TARNAME "libnbcompat" ^ --- ccl.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/ccl.c:33: /usr/include/dirent.h:76:0: note: this is the location of the previous definition #define dirfd(dirp) ((dirp)->dd_fd) ^ --- scanopt.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:175:0: note: this is the location of the previous definition #define PACKAGE_TARNAME "flex" ^ --- parse.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/initparse.c:52, from parse.c:1: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:79:2: error: #error _NETBSD_SOURCE is *not* to be defined. #error _NETBSD_SOURCE is *not* to be defined. ^ --- scanopt.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:818:0: warning: "PACKAGE_VERSION" redefined [enabled by default] #define PACKAGE_VERSION "noversion" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:181:0: note: this is the location of the previous definition #define PACKAGE_VERSION "2.6.3" ^ --- options.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/options.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:268:8: error: redefinition of 'struct _dirdesc' struct _dirdesc { ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/options.c:35: /usr/include/dirent.h:50:16: note: originally defined here typedef struct _dirdesc DIR; ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/options.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:279:0: warning: "dirfd" redefined [enabled by default] #define dirfd(dirp) (((struct _dirdesc *)dirp)->dd_fd) ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/options.c:35: /usr/include/dirent.h:76:0: note: this is the location of the previous definition #define dirfd(dirp) ((dirp)->dd_fd) ^ --- parse.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/initparse.c:52, from parse.c:1: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:268:8: error: redefinition of 'struct _dirdesc' struct _dirdesc { ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/initparse.c:52, from parse.c:1: /usr/include/dirent.h:50:16: note: originally defined here typedef struct _dirdesc DIR; ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/initparse.c:52, from parse.c:1: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:279:0: warning: "dirfd" redefined [enabled by default] #define dirfd(dirp) (((struct _dirdesc *)dirp)->dd_fd) ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/initparse.c:52, from parse.c:1: /usr/include/dirent.h:76:0: note: this is the location of the previous definition #define dirfd(dirp) ((dirp)->dd_fd) ^ --- ccl.lo --- *** [ccl.lo] Error code 1 nbmake[7]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex --- scanopt.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:79:2: error: #error _NETBSD_SOURCE is *not* to be defined. #error _NETBSD_SOURCE is *not* to be defined. ^ --- options.lo --- *** [options.lo] Error code 1 nbmake[7]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex --- scanopt.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:268:8: error: redefinition of 'struct _dirdesc' struct _dirdesc { ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanopt.c:35: /usr/include/dirent.h:50:16: note: originally defined here typedef struct _dirdesc DIR; ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:279:0: warning: "dirfd" redefined [enabled by default] #define dirfd(dirp) (((struct _dirdesc *)dirp)->dd_fd) ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/scanopt.c:35: /usr/include/dirent.h:76:0: note: this is the location of the previous definition #define dirfd(dirp) ((dirp)->dd_fd) ^ --- tables.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:803:0: warning: "PACKAGE_BUGREPORT" redefined [enabled by default] #define PACKAGE_BUGREPORT "lib-bug-people@NetBSD.org" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:166:0: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "flex-help@lists.sourceforge.net" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:806:0: warning: "PACKAGE_NAME" redefined [enabled by default] #define PACKAGE_NAME "libnbcompat" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:169:0: note: this is the location of the previous definition #define PACKAGE_NAME "the fast lexical analyser generator" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:809:0: warning: "PACKAGE_STRING" redefined [enabled by default] #define PACKAGE_STRING "libnbcompat noversion" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:172:0: note: this is the location of the previous definition #define PACKAGE_STRING "the fast lexical analyser generator 2.6.3" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:812:0: warning: "PACKAGE_TARNAME" redefined [enabled by default] #define PACKAGE_TARNAME "libnbcompat" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:175:0: note: this is the location of the previous definition #define PACKAGE_TARNAME "flex" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:818:0: warning: "PACKAGE_VERSION" redefined [enabled by default] #define PACKAGE_VERSION "noversion" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex/../../external/bsd/flex/bin/../include/config.h:181:0: note: this is the location of the previous definition #define PACKAGE_VERSION "2.6.3" ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:79:2: error: #error _NETBSD_SOURCE is *not* to be defined. #error _NETBSD_SOURCE is *not* to be defined. ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:268:8: error: redefinition of 'struct _dirdesc' struct _dirdesc { ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/tables.c:36: /usr/include/dirent.h:50:16: note: originally defined here typedef struct _dirdesc DIR; ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:279:0: warning: "dirfd" redefined [enabled by default] #define dirfd(dirp) (((struct _dirdesc *)dirp)->dd_fd) ^ In file included from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/external/bsd/flex/dist/src/tables.c:36: /usr/include/dirent.h:76:0: note: this is the location of the previous definition #define dirfd(dirp) ((dirp)->dd_fd) ^ --- scanopt.lo --- *** [scanopt.lo] Error code 1 nbmake[7]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex --- parse.lo --- *** [parse.lo] Error code 1 nbmake[7]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex --- tables.lo --- *** [tables.lo] Error code 1 nbmake[7]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex 16 errors nbmake[7]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex *** [dependall] Error code 2 nbmake[6]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex 1 error nbmake[6]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/lex *** Failed target: dependall-lex *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="tools/"; real="/tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools" ;; *) this="tools/${dir}/"; real="/tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /tmp/bracket/build/2018.03.11.15.13.05-amd64/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget lex dependall *** Error code 2 Stop. nbmake[5]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools *** [build_install] Error code 1 nbmake[4]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools 1 error nbmake[4]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src/tools *** [do-tools] Error code 2 nbmake[3]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src 1 error nbmake[3]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src *** [build] Error code 2 nbmake[2]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src 1 error nbmake[2]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src *** [distribution] Error code 2 nbmake[1]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src 1 error nbmake[1]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src *** [release] Error code 2 nbmake: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src 1 error nbmake: stopped in /tmp/bracket/build/2018.03.11.15.13.05-amd64/src ERROR: Failed to make release *** BUILD ABORTED *** 97.54 real 209.11 user 175.25 sys