Last 1000 lines of build log: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/sym.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/lex --- main.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/main.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/main.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/main.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/main.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/main.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/main.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/main.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/main.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/main.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/main.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/main.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/main.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/main.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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/main.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/main.c:35: /usr/include/dirent.h:76:0: note: this is the location of the previous definition #define dirfd(dirp) ((dirp)->dd_fd) ^ *** [main.lo] Error code 1 nbmake[7]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/lex --- scanopt.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanopt.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/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) ^ *** [scanopt.lo] Error code 1 nbmake[7]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/lex --- filter.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/filter.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/filter.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/filter.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/filter.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/filter.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/filter.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/filter.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/filter.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/filter.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/filter.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/filter.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/filter.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/filter.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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/filter.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/filter.c:25: /usr/include/dirent.h:76:0: note: this is the location of the previous definition #define dirfd(dirp) ((dirp)->dd_fd) ^ *** [filter.lo] Error code 1 nbmake[7]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/lex --- regex.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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" ^ --- scanflags.lo --- cc -O -I/tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat -I/tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -I/tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/lex/../../external/bsd/flex/bin/../include -I/tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src -DLOCALEDIR=\"/usr/share/locale\" -I. -I/tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/lex/../../external/bsd/flex/bin -DVERSION=\"2.6.3\" -DHAVE_CONFIG_H -I/tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/lex/../../external/bsd/flex/bin/../include -I/tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src -DLOCALEDIR=\"/usr/share/locale\" -DM4=\"/tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/bin/nbm4\" -c -o scanflags.lo.o /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanflags.c --- regex.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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" ^ --- tables.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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 --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/misc.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/misc.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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" ^ --- tables.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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" ^ --- misc.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/misc.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/misc.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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" ^ --- tables.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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" ^ --- misc.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/misc.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/misc.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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" ^ --- tables.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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" ^ --- misc.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/misc.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/misc.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/misc.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/misc.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/misc.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/misc.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/misc.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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/misc.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/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) ^ *** [misc.lo] Error code 1 nbmake[7]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/lex --- tables.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/tables.c:36: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/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) ^ *** [tables.lo] Error code 1 nbmake[7]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/lex --- regex.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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. ^ --- ecs.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/ecs.c:33: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/ecs.c:33: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/ecs.c:33: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/ecs.c:33: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/ecs.c:33: /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:809:0: warning: "PACKAGE_STRING" redefined [enabled by default] #define PACKAGE_STRING "libnbcompat noversion" ^ --- regex.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, --- ecs.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/ecs.c:33: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/ecs.c:33: /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:812:0: warning: "PACKAGE_TARNAME" redefined [enabled by default] #define PACKAGE_TARNAME "libnbcompat" ^ --- regex.lo --- from /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/regex.c:25: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/compat_defs.h:176:0, --- ecs.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/ecs.c:33: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/ecs.c:33: /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:818:0: warning: "PACKAGE_VERSION" redefined [enabled by default] #define PACKAGE_VERSION "noversion" ^ --- regex.lo --- from /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/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) ^ --- ecs.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/ecs.c:33: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/ecs.c:33: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/ecs.c:33: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/ecs.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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/ecs.c:33: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/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) ^ --- regex.lo --- *** [regex.lo] Error code 1 nbmake[7]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/lex --- ecs.lo --- *** [ecs.lo] Error code 1 nbmake[7]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/lex --- scanflags.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/scanflags.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/lex --- gen.lo --- In file included from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/gen.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/gen.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/gen.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/gen.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/gen.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/gen.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/gen.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/gen.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/regex.h:3:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/gen.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/external/bsd/flex/dist/src/flexdef.h:40:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/gen.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/gen.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/gen.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/tools/include/compat/nbtool_config.h:882:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/gen.c:35: /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/compat/compat_defs.h:176:0, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/tools/include/compat/nbtool_config.h:882, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/compat/regex.h:3, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/external/bsd/flex/dist/src/flexdef.h:76, from /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools/lex 16 errors nbmake[7]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/lex *** [dependall] Error code 2 nbmake[6]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/lex 1 error nbmake[6]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools" ;; *) this="tools/${dir}/"; real="/tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /tmp/bracket/build/2018.03.11.15.13.05-sparc/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-sparc/src/tools *** [build_install] Error code 1 nbmake[4]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools 1 error nbmake[4]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-sparc/src/tools *** [do-tools] Error code 2 nbmake[3]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-sparc/src 1 error nbmake[3]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-sparc/src *** [build] Error code 2 nbmake[2]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-sparc/src 1 error nbmake[2]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-sparc/src *** [distribution] Error code 2 nbmake[1]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-sparc/src 1 error nbmake[1]: stopped in /tmp/bracket/build/2018.03.11.15.13.05-sparc/src *** [release] Error code 2 nbmake: stopped in /tmp/bracket/build/2018.03.11.15.13.05-sparc/src 1 error nbmake: stopped in /tmp/bracket/build/2018.03.11.15.13.05-sparc/src ERROR: Failed to make release *** BUILD ABORTED *** 96.28 real 170.84 user 132.25 sys