>>> Building on exopi-3 under security/bfbtester DIST = [security/bfbtester:bfbtester-2.0.1.tar.gz] FULLPKGNAME = bfbtester-2.0.1p0 distfiles size=70897 >>> Running build in security/bfbtester at 1731960138.15 ===> security/bfbtester ===> Building from scratch bfbtester-2.0.1p0 ===> Verifying specs: c pthread ===> found c.100.3 pthread.27.1 ===> Checking files for bfbtester-2.0.1p0 `/exopi-cvs/ports/distfiles/bfbtester-2.0.1.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for bfbtester-2.0.1p0 ===> Patching for bfbtester-2.0.1p0 ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for bfbtester-2.0.1p0 ===> Configuring for bfbtester-2.0.1p0 Using /exopi-obj/pobj/bfbtester-2.0.1/config.site (generated) loading site script /exopi-obj/pobj/bfbtester-2.0.1/config.site creating cache ./config.cache checking host system type... x86_64-unknown-openbsd7.6 checking target system type... x86_64-unknown-openbsd7.6 checking build system type... x86_64-unknown-openbsd7.6 checking for a BSD compatible install... /exopi-obj/pobj/bfbtester-2.0.1/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) 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... found checking for gcc... cc checking whether the C compiler (cc -O2 -pipe ) works... yes checking whether the C compiler (cc -O2 -pipe ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for a BSD compatible install... /exopi-obj/pobj/bfbtester-2.0.1/bin/install -c checking for pthread_create in -lc_r... no checking for pthread_create in -lpthread... (cached) yes checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking how to run the C preprocessor... cc -E 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... (cached) 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... (cached) yes updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating src/bfbt/Makefile creating src/config.h ===> Building for bfbtester-2.0.1p0 Making all in src cd .. && /exopi-obj/pobj/bfbtester-2.0.1/bfbtester-2.0.1/missing autoheader cd .. && CONFIG_FILES= CONFIG_HEADERS=src/config.h /bin/sh ./config.status creating src/config.h 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. src/config.h is unchanged /usr/bin/make all-recursive Making all in bfbt cc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src/include -O2 -pipe -Wall -c bfbtester.c In file included from bfbtester.c:41: ../../src/include/utils.h:66:3: warning: passing 'const char[36]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERRNO_ABORT, "Malloc failed at [%s:%d]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ ../../src/include/utils.h:78:3: warning: passing 'const char[44]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERRNO_ABORT, "Calloc failed at [%s:%d]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ bfbtester.c:128:6: warning: passing 'const char[5]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] q = xcalloc(1, sizeof(THREAD_DATA)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:71:38: note: expanded from macro 'xcalloc' #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ ../../src/include/utils.h:73:44: note: passing argument to parameter 'function' here _xcalloc(size_t number, size_t size, char *function, int line) ^ bfbtester.c:130:11: warning: passing 'const char[5]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] q->mut = xmalloc(sizeof(pthread_mutex_t)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:59:32: note: expanded from macro 'xmalloc' #define xmalloc(a) _xmalloc(a, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ ../../src/include/utils.h:61:29: note: passing argument to parameter 'function' here _xmalloc(size_t size, char *function, int line) ^ bfbtester.c:133:3: warning: passing 'const char[23]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERRNO_ABORT, "mutex init"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ bfbtester.c:243:21: warning: passing 'const char[11]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] && (filename = xmalloc(strlen(pwd) + strlen(*av) + 2)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:59:32: note: expanded from macro 'xmalloc' #define xmalloc(a) _xmalloc(a, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ ../../src/include/utils.h:61:29: note: passing argument to parameter 'function' here _xmalloc(size_t size, char *function, int line) ^ bfbtester.c:261:6: warning: passing 'const char[55]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERROR_WARN, "Can't open dir %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ bfbtester.c:278:5: warning: passing 'const char[55]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERROR_WARN, "Can't access file: %s (%s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ bfbtester.c:281:5: warning: passing 'const char[55]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERROR_WARN, "Can't find file: %s", *av); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ 9 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src/include -O2 -pipe -Wall -c breaker.c In file included from breaker.c:34: ../../src/include/utils.h:66:3: warning: passing 'const char[36]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERRNO_ABORT, "Malloc failed at [%s:%d]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ ../../src/include/utils.h:78:3: warning: passing 'const char[44]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERRNO_ABORT, "Calloc failed at [%s:%d]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ breaker.c:66:2: warning: passing 'const char[41]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_MESSAGE, " * Single argument testing"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ breaker.c:67:13: warning: passing 'const char[23]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] long_arg = xcalloc(1, short_arg_len); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:71:38: note: expanded from macro 'xcalloc' #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ ../../src/include/utils.h:73:44: note: passing argument to parameter 'function' here _xcalloc(size_t number, size_t size, char *function, int line) ^ breaker.c:75:13: warning: passing 'const char[23]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] long_arg = xcalloc(1, long_arg_len); ^~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:71:38: note: expanded from macro 'xcalloc' #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ ../../src/include/utils.h:73:44: note: passing argument to parameter 'function' here _xcalloc(size_t number, size_t size, char *function, int line) ^ breaker.c:99:2: warning: passing 'const char[43]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_MESSAGE, " * Multiple arguments testing"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ breaker.c:100:13: warning: passing 'const char[25]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] long_arg = xcalloc(1, arg_len); ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:71:38: note: expanded from macro 'xcalloc' #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ ../../src/include/utils.h:73:44: note: passing argument to parameter 'function' here _xcalloc(size_t number, size_t size, char *function, int line) ^ breaker.c:138:2: warning: passing 'const char[35]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_MESSAGE, " * Environment variable testing"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ breaker.c:139:13: warning: passing 'const char[17]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] long_arg = xcalloc(1, long_arg_len); ^~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:71:38: note: expanded from macro 'xcalloc' #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ ../../src/include/utils.h:73:44: note: passing argument to parameter 'function' here _xcalloc(size_t number, size_t size, char *function, int line) ^ breaker.c:140:14: warning: passing 'const char[17]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] long_arg2 = xcalloc(1, long_arg_len); ^~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:71:38: note: expanded from macro 'xcalloc' #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ ../../src/include/utils.h:73:44: note: passing argument to parameter 'function' here _xcalloc(size_t number, size_t size, char *function, int line) ^ breaker.c:165:2: warning: passing 'const char[62]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_MESSAGE, "[Tempfile: %s]+ \"%s\"", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ breaker.c:174:2: warning: passing 'const char[62]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_MESSAGE, "[Tempfile: %s]- \"%s\"", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ breaker.c:186:2: warning: passing 'const char[35]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_MESSAGE, "=> %s", entry->fullname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ breaker.c:188:3: warning: passing 'const char[35]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_MESSAGE, " (setuid: %d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ breaker.c:191:3: warning: passing 'const char[35]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_MESSAGE, " (setgid: %d)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ breaker.c:215:2: warning: passing 'const char[29]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_MESSAGE, "Cleaning up...might take a few seconds"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ breaker.c:263:3: warning: passing 'const char[25]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERRNO_ABORT, "Can't create run thread"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ breaker.c:266:3: warning: passing 'const char[25]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERRNO_ABORT, "Can't create poll thread"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ 18 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src/include -O2 -pipe -Wall -c data_stuff.c In file included from data_stuff.c:42: ../../src/include/utils.h:66:3: warning: passing 'const char[36]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERRNO_ABORT, "Malloc failed at [%s:%d]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ ../../src/include/utils.h:78:3: warning: passing 'const char[44]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERRNO_ABORT, "Calloc failed at [%s:%d]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ data_stuff.c:96:8: warning: passing 'const char[14]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] new = xmalloc(sizeof(ExecEntry)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:59:32: note: expanded from macro 'xmalloc' #define xmalloc(a) _xmalloc(a, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ ../../src/include/utils.h:61:29: note: passing argument to parameter 'function' here _xmalloc(size_t size, char *function, int line) ^ data_stuff.c:162:3: warning: passing 'const char[64]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERRNO_ABORT, "Out of memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ data_stuff.c:192:8: warning: passing 'const char[17]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] new = xmalloc(sizeof(TestEntry)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:59:32: note: expanded from macro 'xmalloc' #define xmalloc(a) _xmalloc(a, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ ../../src/include/utils.h:61:29: note: passing argument to parameter 'function' here _xmalloc(size_t size, char *function, int line) ^ data_stuff.c:260:8: warning: passing 'const char[16]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] new = xmalloc(sizeof(CrashReport)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:59:32: note: expanded from macro 'xmalloc' #define xmalloc(a) _xmalloc(a, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ ../../src/include/utils.h:61:29: note: passing argument to parameter 'function' here _xmalloc(size_t size, char *function, int line) ^ data_stuff.c:277:2: warning: passing 'const char[36]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_MESSAGE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ data_stuff.c:80:1: warning: unused function 'ExecEntry_compare' [-Wunused-function] ExecEntry_compare(ExecEntry *e1, ExecEntry *e2) ^ 8 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src/include -O2 -pipe -Wall -c exec.c In file included from exec.c:43: ../../src/include/utils.h:66:3: warning: passing 'const char[36]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERRNO_ABORT, "Malloc failed at [%s:%d]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ ../../src/include/utils.h:78:3: warning: passing 'const char[44]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERRNO_ABORT, "Calloc failed at [%s:%d]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ exec.c:63:3: warning: passing 'const char[51]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_DEBUG_L1, "Hit maximum execs"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ exec.c:71:3: warning: passing 'const char[51]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERROR_WARN, "Couldn't fork process"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ exec.c:81:4: warning: passing 'const char[51]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERRNO_WARN, "Couldn't set process group"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ exec.c:94:3: warning: passing 'const char[51]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERRNO_WARN, "execve '%s'", test_entry->progname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ exec.c:156:3: warning: passing 'const char[37]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERROR_WARN, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ 7 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src/include -O2 -pipe -Wall -c tempfiles.c In file included from tempfiles.c:37: ../../src/include/utils.h:66:3: warning: passing 'const char[36]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERRNO_ABORT, "Malloc failed at [%s:%d]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ ../../src/include/utils.h:78:3: warning: passing 'const char[44]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERRNO_ABORT, "Calloc failed at [%s:%d]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ tempfiles.c:112:8: warning: passing 'const char[8]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] new = xmalloc(sizeof(FileEntry)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:59:32: note: expanded from macro 'xmalloc' #define xmalloc(a) _xmalloc(a, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ ../../src/include/utils.h:61:29: note: passing argument to parameter 'function' here _xmalloc(size_t size, char *function, int line) ^ tempfiles.c:269:3: warning: passing 'const char[29]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERROR_ABORT, "opendir: %s failed", dirname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ tempfiles.c:341:3: warning: passing 'const char[35]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERRNO_ABORT, "tempfile thread create"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ 5 warnings generated. cc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src/include -O2 -pipe -Wall -c utils.c In file included from utils.c:37: ../../src/include/utils.h:66:3: warning: passing 'const char[36]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERRNO_ABORT, "Malloc failed at [%s:%d]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ ../../src/include/utils.h:78:3: warning: passing 'const char[44]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERRNO_ABORT, "Calloc failed at [%s:%d]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:44:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ utils.c:81:4: warning: passing 'const char[32]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] bfbt_message(MSG_TYPE_ERROR_ABORT, "out of memory"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:41:22: note: expanded from macro 'bfbt_message' __bfbt_message(type, __PRETTY_FUNCTION__, __LINE__, args) ^~~~~~~~~~~~~~~~~~~ utils.c:43:37: note: passing argument to parameter 'function' here __bfbt_message(MsgType type, char * function, int line, ^ utils.c:115:8: warning: passing 'const char[12]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] str = xcalloc(1, i); ^~~~~~~~~~~~~ ../../src/include/utils.h:71:38: note: expanded from macro 'xcalloc' #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ ../../src/include/utils.h:73:44: note: passing argument to parameter 'function' here _xcalloc(size_t number, size_t size, char *function, int line) ^ utils.c:143:8: warning: passing 'const char[11]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] str = xcalloc(1, i); ^~~~~~~~~~~~~ ../../src/include/utils.h:71:38: note: expanded from macro 'xcalloc' #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ ../../src/include/utils.h:73:44: note: passing argument to parameter 'function' here _xcalloc(size_t number, size_t size, char *function, int line) ^ utils.c:188:10: warning: passing 'const char[11]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] temp2 = xcalloc(1, (i+1) * sizeof(*temp2)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/include/utils.h:71:38: note: expanded from macro 'xcalloc' #define xcalloc(a, b) _xcalloc(a, b, __FUNCTION__, __LINE__) ^~~~~~~~~~~~ ../../src/include/utils.h:73:44: note: passing argument to parameter 'function' here _xcalloc(size_t number, size_t size, char *function, int line) ^ 6 warnings generated. cc -O2 -pipe -Wall -o bfbtester bfbtester.o breaker.o data_stuff.o exec.o tempfiles.o utils.o -lpthread ld: warning: utils.c(utils.o:(args_to_str)): warning: strcat() is almost always misused, please use strlcat() ld: warning: bfbtester.c(bfbtester.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: breaker.c(breaker.o:(breaker_run)): warning: strcpy() is almost always misused, please use strlcpy() >>> Running package in security/bfbtester at 1731960145.36 ===> security/bfbtester ===> Faking installation for bfbtester-2.0.1p0 Making install in src Making install in bfbt /bin/sh ../../mkinstalldirs /exopi-obj/pobj/bfbtester-2.0.1/fake-amd64/usr/local/bin /exopi-obj/pobj/bfbtester-2.0.1/bin/install -c -s -m 755 bfbtester /exopi-obj/pobj/bfbtester-2.0.1/fake-amd64/usr/local/bin/bfbtester ===> Building package for bfbtester-2.0.1p0 Create /exopi-cvs/ports/packages/amd64/all/bfbtester-2.0.1p0.tgz Creating package bfbtester-2.0.1p0 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|****** | 10% checksumming|************ | 20% checksumming|****************** | 30% checksumming|************************ | 40% checksumming|******************************* | 50% checksumming|************************************* | 60% checksumming|******************************************* | 70% checksumming|************************************************* | 80% checksumming|******************************************************* | 90% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|* | 1% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/bfbtester-2.0.1p0.tgz >>> Running clean in security/bfbtester at 1731960151.16 ===> security/bfbtester ===> Cleaning for bfbtester-2.0.1p0 >>> Ended at 1731960152.96 max_stuck=0.00/build=7.15/package=5.65/clean=2.06