------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/gettext-runtime-0.20.2.txz Installing /packages/All/gmake-4.3.txz SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> bfbtester-2.0.1_1 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> bfbtester-2.0.1_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by bfbtester-2.0.1_1 for building SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> bfbtester-2.0.1_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by bfbtester-2.0.1_1 for building => SHA256 Checksum OK for bfbtester-2.0.1.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> bfbtester-2.0.1_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by bfbtester-2.0.1_1 for building ===> Extracting for bfbtester-2.0.1_1 => SHA256 Checksum OK for bfbtester-2.0.1.tar.gz. Extracted Memory Use: 0.33M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for bfbtester-2.0.1_1 ===> Applying ports patches for bfbtester-2.0.1_1 ===> Cleanly applied ports patch(es) patch-src__bfbt__exec.c SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> bfbtester-2.0.1_1 depends on package: gmake>=4.3 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> bfbtester-2.0.1_1 depends on package: gmake>=4.3 - found ===> Configuring for bfbtester-2.0.1_1 configure: warning: x86_64-portbld-dragonfly5.9: invalid host type loading site script /xports/Templates/config.site creating cache ./config.cache checking host system type... x86_64-portbld-dragonfly5.9 checking target system type... x86_64-portbld-dragonfly5.9 checking build system type... x86_64-portbld-dragonfly5.9 checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether gmake sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking for gcc... cc checking whether the C compiler (cc -pipe -O2 -fno-strict-aliasing ) works... yes checking whether the C compiler (cc -pipe -O2 -fno-strict-aliasing ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking for pthread_create in -lc_r... no checking for pthread_create in -lpthread... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking how to run the C preprocessor... cpp checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for fcntl.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for pthread.h... (cached) yes checking for inline... inline checking for pid_t... (cached) yes checking for size_t... (cached) yes checking whether struct tm is in sys/time.h or time.h... time.h checking for vprintf... (cached) yes checking for gettimeofday... (cached) yes checking for strsignal... (cached) yes checking for strcspn... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for strstr... (cached) yes checking for readdir_r... yes updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating src/bfbt/Makefile creating src/config.h SUCCEEDED 00:00:03 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for bfbtester-2.0.1_1 gmake[1]: Entering directory '/construction/security/bfbtester/bfbtester-2.0.1' Making all in src gmake[2]: Entering directory '/construction/security/bfbtester/bfbtester-2.0.1/src' cd .. && /construction/security/bfbtester/bfbtester-2.0.1/missing autoheader WARNING: `autoheader' is missing on your system. You should only need it if you modified `acconfig.h' or `configure.in'. You might want to install the `Autoconf' and `GNU m4' packages. Grab them from any GNU archive site. cd .. \ && CONFIG_FILES= CONFIG_HEADERS=src/config.h \ /bin/sh ./config.status creating src/config.h src/config.h is unchanged gmake all-recursive gmake[3]: Entering directory '/construction/security/bfbtester/bfbtester-2.0.1/src' Making all in bfbt gmake[4]: Entering directory '/construction/security/bfbtester/bfbtester-2.0.1/src/bfbt' cc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src/include -pipe -O2 -fno-strict-aliasing -Wall -c bfbtester.c cc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src/include -pipe -O2 -fno-strict-aliasing -Wall -c breaker.c cc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src/include -pipe -O2 -fno-strict-aliasing -Wall -c data_stuff.c cc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src/include -pipe -O2 -fno-strict-aliasing -Wall -c exec.c cc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src/include -pipe -O2 -fno-strict-aliasing -Wall -c tempfiles.c cc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src/include -pipe -O2 -fno-strict-aliasing -Wall -c utils.c In file included from exec.c:43: ../../src/include/utils.h: In function '_xmalloc': In file included from bfbtester.c:41: ../../src/include/utils.h: In function '_xmalloc': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:66:3: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERRNO_ABORT, "Malloc failed at [%s:%d]", ^~~~~~~~~~~~ ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:66:3: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERRNO_ABORT, "Malloc failed at [%s:%d]", ^~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ In file included from data_stuff.c:42: ../../src/include/utils.h: In function '_xmalloc': ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:66:3: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERRNO_ABORT, "Malloc failed at [%s:%d]", ^~~~~~~~~~~~../../src/include/utils.h: In function '_xcalloc': ../../src/include/utils.h: In function '_xcalloc': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:78:3: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERRNO_ABORT, "Calloc failed at [%s:%d]", ^~~~~~~~~~~~ ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:78:3: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERRNO_ABORT, "Calloc failed at [%s:%d]", ^~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h: In function '_xcalloc': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:78:3: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERRNO_ABORT, "Calloc failed at [%s:%d]", ^~~~~~~~~~~~ bfbtester.c: In function 'main': exec.c: In function 'execute_program': ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h:71:38: warning: passing argument 3 of '_xcalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ bfbtester.c:128:6: note: in expansion of macro 'xcalloc' q = xcalloc(1, sizeof(THREAD_DATA)); ^~~~~~~ ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ exec.c:63:3: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_DEBUG_L1, "Hit maximum execs"); ^~~~~~~~~~~~ ../../src/include/utils.h:73:44: note: expected 'char *' but argument is of type 'const char *' _xcalloc(size_t number, size_t size, char *function, int line) ~~~~~~^~~~~~~~ data_stuff.c: In function 'ExecEntry_add': ../../src/include/utils.h:59:32: warning: passing argument 2 of '_xmalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define xmalloc(a) _xmalloc(a, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ bfbtester.c:130:11: note: in expansion of macro 'xmalloc' q->mut = xmalloc(sizeof(pthread_mutex_t)); ^~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h:59:32: warning: passing argument 2 of '_xmalloc' discards 'const' qualifieIn file included from breaker.c:34: ../../src/include/utils.h: In function '_xmalloc': r from pointer target type [-Wdiscarded-qualifiers] #define xmalloc(a) _xmalloc(a, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ data_stuff.c:96:8: note: in expansion of macro 'xmalloc' new = xmalloc(sizeof(ExecEntry)); ^~~~~~~ ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:66:3: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERRNO_ABORT, "Malloc failed at [%s:%d]", ^~~~~~~~~~~~ ../../src/include/utils.h:61:29: note: expected 'char *' but argument is of type 'const char *' _xmalloc(size_t size, char *function, int line) ~~~~~~^~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h:61:29: note: expected 'char *' but argument is of type 'const char *' _xmalloc(size_t size, char *function, int line) ~~~~~~^~~~~~~~ ../../src/include/utils.h: In function '_xcalloc': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:78:3: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERRNO_ABORT, "Calloc failed at [%s:%d]", ^~~~~~~~~~~~ ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ exec.c:71:3: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERROR_WARN, "Couldn't fork process"); ^~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ bfbtester.c:133:3: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERRNO_ABORT, "mutex init"); ^~~~~~~~~~~~ ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ exec.c:81:4: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERRNO_WARN, "Couldn't set process group"); ^~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ breaker.c: In function 'breaker_test_singlearg': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ breaker.c:66:2: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_MESSAGE, " * Single argument testing"); ^~~~~~~~~~~~ data_stuff.c: In function 'TestEntry_init': ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ exec.c:94:3: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERRNO_WARN, "execve '%s'", test_entry->progname); ^~~~~~~~~~~~ bfbtester.c: In function 'load_execs': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ data_stuff.c:162:3: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERRNO_ABORT, "Out of memory"); ^~~~~~~~~~~~ ../../src/include/utils.h:71:38: warning: passing argument 3 of '_xcalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ breaker.c:67:13: note: in expansion of macro 'xcalloc' long_arg = xcalloc(1, short_arg_len); ^~~~~~~ ../../src/include/utils.h:59:32: warning: passing argument 2 of '_xmalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define xmalloc(a) _xmalloc(a, __FUNCTION__, __../../src/include/utils.h:73:44: note: expected 'char *' but argument is of type 'const char *' _xc../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ LINE__) ^~~~~~~~~~~~ bfbtester.c:243:21: note: in expansion of macro 'xmalloc' && (filename = xmalloc(strlen(pwd) + strlen(*av) + 2)) ^~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h:61:29: note: expected 'char *' but argument is of type 'const char *' _xmalloc(size_t size, char *function, int line) ~~~~~~^~~~~~~~ alloc(size_t number, size_t size, char *function, int line) ~~~~~~^~~~~~~~ ../../src/include/utils.h:71:38: warning: passing argument 3 of '_xcalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ breaker.c:75:13: note: in expansion of macro 'xcalloc' long_arg = xcalloc(1, long_arg_len); ^~~~~~~ ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ bfbtester.c:261:6: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERROR_WARN, "Can't open dir %s", ^~~~~~~~~~~~ exec.c: In function 'exec_process_close': ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __b../../src/include/utils.h:73:44: note: expected 'char *' but argument is of type 'const char *' _xcalloc(size_t number, size_t size, char *function, int line) ~~~~~~^~~~~~~~ fbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ data_stuff.c: In function 'TestEntry_create': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ exec.c:157:3: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERROR_WARN, ^~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h:59:32: warning: passing argument 2 of '_xmalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define xmalloc(a) _xmalloc(a, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ data_stuff.c:192:8: note: in expansion of macro 'xmalloc' new = xmalloc(sizeof(TestEntry)); ^~~~~~~ ../../src/include/utils.h:61:29: note: expected 'char *' but argument is of type 'const char *' _xmalloc(size_t size, char *function, int line) ~~~~~~^~~~~~~~ breaker.c: In function 'breaker_test_multiplearg': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ bfbtester.c:278:5: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERROR_WARN, "Can't access file: %s (%s)", ^~~~~~~~~~~~ ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ breaker.c:99:2: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_MESSAGE, " * Multiple arguments testing"); ^~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h:71:38: warning: passing argument 3 of '_xcalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ breaker.c:100:13: note: in expansion of macro 'xcalloc' long_arg = xcalloc(1, arg_len); ^~~~~~~ ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__,../../src/include/utils.h:73:44: note: expected 'char *' but argument is of type 'const char *' _xcalloc(size_t number, size_t size, char *function, int line) ~~~~~~^~~~~~~~ __LINE__, args) ^~~~~~~~~~~~~~~~~~~ bfbtester.c:281:5: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERROR_WARN, "Can't find file: %s", *av); ^~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ data_stuff.c: In function 'CrashReport_add': ../../src/include/utils.h:59:32: warning: passing argument 2 of '_xmalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define xmalloc(a) _xmalloc(a, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ data_stuff.c:260:8: note: in expansion of macro 'xmalloc' new = xmalloc(sizeof(CrashReport)); ^~~~~~~ ../../src/include/utils.h:61:29: note: expected 'char *' but argument is of type 'const char *' _xmalloc(size_t size, char *function, int line) ~~~~~~^~~~~~~~ breaker.c: In function 'breaker_test_env': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ breaker.c:138:2: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_MESSAGE, " * Environment variable testing"); ^~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h:71:38: warning: passing argument 3 of '_xcalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ breaker.c:139:13: note: in expansion of macro 'xcalloc' long_arg = xcalloc(1, long_arg_len); ^~~~~~~ ../../src/include/utils.h:73:44: note: expected 'char *' but argument is of type 'const char *' _xcalloc(size_t number, size_t size, char *function, int line) ~~~~~~^~~~~~~~ In file included from utils.c:37: ../../src/include/utils.h: In function '_xmalloc': data_stuff.c: In function 'CrashReport_log': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:66:3: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERRNO_ABORT, "Malloc failed at [%s:%d]", ^~~~~~~~~~~~ ../../src/include/utils.h:71:38: warning: passing argument 3 of '_xcalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ breaker.c:140:14: note: in expansion of macro 'xcalloc' long_arg2 = xcalloc(1, long_arg_len); ^~~~~~~ ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ data_stuff.c:277:2: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_MESSAGE, ^~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h:73:44: note: expected 'char *' but argument is of type 'const char *' _xcalloc(size_t number, size_t size, char *function, int line) ~~~~~~^~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h: In function '_xcalloc': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:78:3: note: in breaker.c: In function 'breaker_tempfile_createcb': expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERRNO_ABORT, "Calloc failed at [%s:%d]", ^~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ breaker.c:165:2: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_MESSAGE, "[Tempfile: %s]+ \"%s\"", ^~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ breaker.c: In function 'breaker_tempfile_removecb': utils.c: In function 'find_exec_in_path': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ breaker.c:174:2: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_MESSAGE, "[Tempfile: %s]- \"%s\"", ^~~~~~~~~~~~ ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ utils.c:81:4: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERROR_ABORT, "out of memory"); ^~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ utils.c:43:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ breaker.c: In function 'breaker_runtests': In file included from utils.c:37: utils.c: In function 'args_to_str': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ breaker.c:186:2: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_MESSAGE, "=> %s", entry->fullname); ^~~~~~~~~~~~ ../../src/include/utils.h:71:38: warning: passing argument 3 of '_xcalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ utils.c:115:8: note: in expansion of macro 'xcalloc' str = xcalloc(1, i); ^~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h:73:44: note: expected 'char *' but argument is of type 'const char *' _xcalloc(size_t number, size_t size, char *function, int line) ~~~~~~^~~~~~~~ ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ breaker.c:188:3: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_MESSAGE, " (setuid: %d)", ^~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ utils.c: In function 'env_to_str': ../../src/include/utils.h:71:38: warning: passing argument 3 of '_xcalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ utils.c:143:8: note: in expansion o../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ breaker.c:191:3: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_MESSAGE, " (setgid: %d)", ^~~~~~~~~~~~ f macro 'xcalloc' str = xcalloc(1, i); ^~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h:73:44: note: expected 'char *' but argument is of type 'const char *' _xcalloc(size_t number, size_t size, char *function, int line) ~~~~~~^~~~~~~~ breaker.c: In function 'breaker_cleanup': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ breaker.c:215:2: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_MESSAGE, "Cleaning up...might take a few seconds"); ^~~~~~~~~~~~ utils.c: In function 'env_create': ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h:71:38: warning: passing argument 3 of '_xcalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ utils.c:188:10: note: in expansion of macro 'xcalloc' temp2 = xcalloc(1, (i+1) * sizeof(*temp2)); ^~~~~~~ ../../src/include/utils.h:73:44: note: expected 'char *' but argument is of type 'const char *' _xcalloc(size_t number, size_t size, char *function, int line) ~~~~~~^~~~~~~~ breaker.c: In function 'breaker_start': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ breaker.c:263:3: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERRNO_ABORT, "Can't create run thread"); ^~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ breaker.c:266:3: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERRNO_ABORT, "Can't create poll thread"); ^~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ In file included from tempfiles.c:37: ../../src/include/utils.h: In function '_xmalloc': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:66:3: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERRNO_ABORT, "Malloc failed at [%s:%d]", ^~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ ../../src/include/utils.h: In function '_xcalloc': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:78:3: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERRNO_ABORT, "Calloc failed at [%s:%d]", ^~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ tempfiles.c: In function 'addFile': ../../src/include/utils.h:59:32: warning: passing argument 2 of '_xmalloc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define xmalloc(a) _xmalloc(a, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ tempfiles.c:112:8: note: in expansion of macro 'xmalloc' new = xmalloc(sizeof(FileEntry)); ^~~~~~~ ../../src/include/utils.h:61:29: note: expected 'char *' but argument is of type 'const char *' _xmalloc(size_t size, char *function, int line) ~~~~~~^~~~~~~~ tempfiles.c: In function 'tempfile_watch': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ tempfiles.c:269:3: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERROR_ABORT, "opendir: %s failed", dirname); ^~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ tempfiles.c: In function 'tempfile_start': ../../src/include/utils.h:41:22: warning: passing argument 2 of '__bfbt_message' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ tempfiles.c:341:3: note: in expansion of macro 'bfbt_message' bfbt_message(MSG_TYPE_ERRNO_ABORT, "tempfile thread create"); ^~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: expected 'char *' but argument is of type 'const char *' __bfbt_message(MsgType type, char * function, int line, ~~~~~~~^~~~~~~~ cc -pipe -O2 -fno-strict-aliasing -Wall -o bfbtester bfbtester.o breaker.o data_stuff.o exec.o tempfiles.o utils.o -lpthread gmake[4]: Leaving directory '/construction/security/bfbtester/bfbtester-2.0.1/src/bfbt' gmake[4]: Entering directory '/construction/security/bfbtester/bfbtester-2.0.1/src' gmake[4]: Leaving directory '/construction/security/bfbtester/bfbtester-2.0.1/src' gmake[3]: Leaving directory '/construction/security/bfbtester/bfbtester-2.0.1/src' gmake[2]: Leaving directory '/construction/security/bfbtester/bfbtester-2.0.1/src' gmake[2]: Entering directory '/construction/security/bfbtester/bfbtester-2.0.1' gmake[2]: Nothing to be done for 'all-am'. gmake[2]: Leaving directory '/construction/security/bfbtester/bfbtester-2.0.1' gmake[1]: Leaving directory '/construction/security/bfbtester/bfbtester-2.0.1' SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for bfbtester-2.0.1_1 ===> Generating temporary packing list gmake[1]: Entering directory '/construction/security/bfbtester/bfbtester-2.0.1' Making install in src gmake[2]: Entering directory '/construction/security/bfbtester/bfbtester-2.0.1/src' Making install in bfbt gmake[3]: Entering directory '/construction/security/bfbtester/bfbtester-2.0.1/src/bfbt' gmake[4]: Entering directory '/construction/security/bfbtester/bfbtester-2.0.1/src/bfbt' /bin/sh ../../mkinstalldirs /construction/security/bfbtester/stage/usr/local/bin install -s -m 555 bfbtester /construction/security/bfbtester/stage/usr/local/bin/bfbtester gmake[4]: Nothing to be done for 'install-data-am'. gmake[4]: Leaving directory '/construction/security/bfbtester/bfbtester-2.0.1/src/bfbt' gmake[3]: Leaving directory '/construction/security/bfbtester/bfbtester-2.0.1/src/bfbt' gmake[3]: Entering directory '/construction/security/bfbtester/bfbtester-2.0.1/src' gmake[4]: Entering directory '/construction/security/bfbtester/bfbtester-2.0.1/src' gmake[4]: Nothing to be done for 'install-exec-am'. gmake[4]: Nothing to be done for 'install-data-am'. gmake[4]: Leaving directory '/construction/security/bfbtester/bfbtester-2.0.1/src' gmake[3]: Leaving directory '/construction/security/bfbtester/bfbtester-2.0.1/src' gmake[2]: Leaving directory '/construction/security/bfbtester/bfbtester-2.0.1/src' gmake[2]: Entering directory '/construction/security/bfbtester/bfbtester-2.0.1' gmake[3]: Entering directory '/construction/security/bfbtester/bfbtester-2.0.1' gmake[3]: Nothing to be done for 'install-exec-am'. gmake[3]: Nothing to be done for 'install-data-am'. gmake[3]: Leaving directory '/construction/security/bfbtester/bfbtester-2.0.1' gmake[2]: Leaving directory '/construction/security/bfbtester/bfbtester-2.0.1' gmake[1]: Leaving directory '/construction/security/bfbtester/bfbtester-2.0.1' ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for bfbtester-2.0.1_1 file sizes/checksums [1]: 0% file sizes/checksums [1]: 100% packing files [1]: 0% packing files [1]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:05