=>> Building security/bfbtester build started at Wed Apr 3 03:19:36 BST 2024 port directory: /usr/ports/security/bfbtester package name: bfbtester-2.0.1_1 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: mauroeldritch@gmail.com Makefile datestamp: -rw-r--r-- 1 root wheel 313 Nov 6 13:35 /usr/ports/security/bfbtester/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 06df180a9e Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 15 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/15/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- mauroeldritch@gmail.com --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/security/bfbtester/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/bfbtester/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/bfbtester/work/.cache HOME=/wrkdirs/usr/ports/security/bfbtester/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/security/bfbtester/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/bfbtester/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/security/bfbtester/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/bfbtester/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/bfbtester/work/.cache HOME=/wrkdirs/usr/ports/security/bfbtester/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/security/bfbtester/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/bfbtester/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/bfbtester" EXAMPLESDIR="share/examples/bfbtester" DATADIR="share/bfbtester" WWWDIR="www/bfbtester" ETCDIR="etc/bfbtester" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/bfbtester DOCSDIR=/usr/local/share/doc/bfbtester EXAMPLESDIR=/usr/local/share/examples/bfbtester WWWDIR=/usr/local/www/bfbtester ETCDIR=/usr/local/etc/bfbtester --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> bfbtester-2.0.1_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> bfbtester-2.0.1_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of bfbtester-2.0.1_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by bfbtester-2.0.1_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by bfbtester-2.0.1_1 for building => SHA256 Checksum OK for bfbtester-2.0.1.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> 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. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for bfbtester-2.0.1_1 ===> Applying FreeBSD patches for bfbtester-2.0.1_1 from /usr/ports/security/bfbtester/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> bfbtester-2.0.1_1 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] Extracting gmake-4.4.1: .......... done ===> bfbtester-2.0.1_1 depends on package: gmake>=4.4.1 - found ===> Returning to build of bfbtester-2.0.1_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for bfbtester-2.0.1_1 loading site script /usr/ports/Templates/config.site creating cache ./config.cache checking host system type... amd64-portbld-freebsd13.2 checking target system type... amd64-portbld-freebsd13.2 checking build system type... amd64-portbld-freebsd13.2 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 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong ) works... yes checking whether the C compiler (cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong ) 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 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for bfbtester-2.0.1_1 Making all in src gmake[1]: Entering directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1/src' cd .. && /wrkdirs/usr/ports/security/bfbtester/work/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[2]: Entering directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1/src' Making all in bfbt gmake[3]: Entering directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1/src/bfbt' cc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -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 -fstack-protector-strong -fno-strict-aliasing -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 -fstack-protector-strong -fno-strict-aliasing -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 -fstack-protector-strong -fno-strict-aliasing -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:157: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 -fstack-protector-strong -fno-strict-aliasing -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 -fstack-protector-strong -fno-strict-aliasing -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 -fstack-protector-strong -fno-strict-aliasing -Wall -fstack-protector-strong -o bfbtester bfbtester.o breaker.o data_stuff.o exec.o tempfiles.o utils.o -lpthread gmake[3]: Leaving directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1/src/bfbt' gmake[3]: Entering directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1/src' gmake[3]: Leaving directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1/src' gmake[2]: Leaving directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1/src' gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1/src' gmake[1]: Entering directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1' gmake[1]: Nothing to be done for 'all-am'. gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1' =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for bfbtester-2.0.1_1 ===> Generating temporary packing list Making install in src gmake[1]: Entering directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1/src' Making install in bfbt gmake[2]: Entering directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1/src/bfbt' gmake[3]: Entering directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1/src/bfbt' /bin/sh ../../mkinstalldirs /wrkdirs/usr/ports/security/bfbtester/work/stage/usr/local/bin install -s -m 555 bfbtester /wrkdirs/usr/ports/security/bfbtester/work/stage/usr/local/bin/bfbtester gmake[3]: Nothing to be done for 'install-data-am'. gmake[3]: Leaving directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1/src/bfbt' gmake[2]: Leaving directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1/src/bfbt' gmake[2]: Entering directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1/src' gmake[3]: Entering directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1/src' gmake[3]: Nothing to be done for 'install-exec-am'. gmake[3]: Nothing to be done for 'install-data-am'. gmake[3]: Leaving directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1/src' gmake[2]: Leaving directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1/src' gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1/src' gmake[1]: Entering directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1' gmake[2]: Entering directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1' gmake[2]: Nothing to be done for 'install-exec-am'. gmake[2]: Nothing to be done for 'install-data-am'. gmake[2]: Leaving directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1' gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/bfbtester/work/bfbtester-2.0.1' ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-03T02:19:36+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=06df180a9e' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for bfbtester-2.0.1_1 ===> Building bfbtester-2.0.1_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for bfbtester-2.0.1_1 build of security/bfbtester | bfbtester-2.0.1_1 ended at Wed Apr 3 03:19:53 BST 2024 build time: 00:00:22