=> Building devel/leaktracer Started : Monday, 8 JUL 2019 at 15:05:12 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.83.g49866-DEVELOPMENT #40: Sun Jun 30 03:00:04 PDT 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.4-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.4-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for leaktracer-2.4: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/devel/leaktracer XDG_CONFIG_HOME=/construction/devel/leaktracer HOME=/construction/devel/leaktracer TMPDIR="/tmp" PATH=/construction/devel/leaktracer/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/devel/leaktracer XDG_CONFIG_HOME=/construction/devel/leaktracer HOME=/construction/devel/leaktracer TMPDIR="/tmp" PATH=/construction/devel/leaktracer/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" 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" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/devel/leaktracer/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" OSREL=5.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.28.2 PERL_VER=5.28 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.28 PROFILE="@comment " DOCSDIR="share/doc/leaktracer" EXAMPLESDIR="share/examples/leaktracer" DATADIR="share/leaktracer" WWWDIR="www/leaktracer" ETCDIR="etc/leaktracer" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/leaktracer DOCSDIR=/usr/local/share/doc/leaktracer EXAMPLESDIR=/usr/local/share/examples/leaktracer WWWDIR=/usr/local/www/leaktracer ETCDIR=/usr/local/etc/leaktracer -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.4 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.28.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500400 OSVERSION=9999999 OSREL=5.4 _OSRELEASE=5.4-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> NOTICE: The leaktracer port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License PD accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> leaktracer-2.4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.11.1.txz Installing pkg-1.11.1... Extracting pkg-1.11.1: .......... done ===> leaktracer-2.4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of leaktracer-2.4 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The leaktracer port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License PD accepted by the user ===> Fetching all distfiles required by leaktracer-2.4 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The leaktracer port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License PD accepted by the user ===> Fetching all distfiles required by leaktracer-2.4 for building => SHA256 Checksum OK for LeakTracer.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The leaktracer port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License PD accepted by the user ===> Fetching all distfiles required by leaktracer-2.4 for building ===> Extracting for leaktracer-2.4 => SHA256 Checksum OK for LeakTracer.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for leaktracer-2.4 ===> Applying ports patches for leaktracer-2.4 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> leaktracer-2.4 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... `-- Installing gettext-runtime-0.20.1... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.20.1: .......... done Extracting gmake-4.2.1_3: .......... done ===> leaktracer-2.4 depends on executable: gmake - found ===> Returning to build of leaktracer-2.4 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for leaktracer-2.4 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for leaktracer-2.4 gmake[1]: Entering directory '/construction/devel/leaktracer/LeakTracer' c++ -fPIC -c -pipe -O2 -fno-strict-aliasing -Wall -W -DTHREAD_SAVE LeakTracer.cc -o LeakTracer.o LeakTracer.cc: In member function 'void LeakTracer::initialize()': LeakTracer.cc:195:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf (report, "# memory overrun protection of %d Bytes\n", MAGIC_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LeakTracer.cc: In member function 'void* LeakTracer::registerAlloc(size_t, bool)': LeakTracer.cc:288:19: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] fprintf(stderr, "Oops, registerAlloc called after destruction of LeakTracer (size=%d)\n", size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ LeakTracer.cc: In member function 'void LeakTracer::registerFree(void*, bool)': LeakTracer.cc:410:5: warning: format '%d' expects argument of type 'int', but argument 7 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] "S %10p %10p # new%s but delete%s " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "; size %d\n", ~~~~~~~~~~~~~ LeakTracer.cc:416:5: leaks[i].size); ~~~~~~~~~~~~~ LeakTracer.cc:422:20: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] fprintf(report, "O %10p %10p " ^~~~~~~~~~~~~~~ "# memory overwritten beyond allocated" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " %d bytes\n", ~~~~~~~~~~~~~ LeakTracer.cc:427:5: leaks[i].size); ~~~~~~~~~~~~~ LeakTracer.cc:428:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] fprintf(report, "# %d byte beyond area:\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~ LeakTracer.cc: At global scope: LeakTracer.cc:500:6: warning: the program should also define 'void operator delete(void*, long unsigned int)' [-Wsized-deallocation] void operator delete (void *p) { ^~~~~~~~ LeakTracer.cc:505:6: warning: the program should also define 'void operator delete [](void*, long unsigned int)' [-Wsized-deallocation] void operator delete[] (void *p) { ^~~~~~~~ LeakTracer.cc: In member function 'void* LeakTracer::registerAlloc(size_t, bool)': LeakTracer.cc:329:48: warning: calling 'void* __builtin_return_address(unsigned int)' with a nonzero argument is unsafe [-Wframe-address] leaks[i].allocAddr=__builtin_return_address(1); ~~~~~~~~~~~~~~~~~~~~~~~~^~~ LeakTracer.cc: In member function 'void LeakTracer::registerFree(void*, bool)': LeakTracer.cc:409:11: warning: calling 'void* __builtin_return_address(unsigned int)' with a nonzero argument is unsafe [-Wframe-address] fprintf(report, ~~~~~~~^~~~~~~~ "S %10p %10p # new%s but delete%s " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "; size %d\n", ~~~~~~~~~~~~~~ leaks[i].allocAddr, ~~~~~~~~~~~~~~~~~~~ __builtin_return_address(1), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ((!type) ? "[]" : " normal"), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ((type) ? "[]" : " normal"), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leaks[i].size); ~~~~~~~~~~~~~~ LeakTracer.cc:422:11: warning: calling 'void* __builtin_return_address(unsigned int)' with a nonzero argument is unsafe [-Wframe-address] fprintf(report, "O %10p %10p " ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ "# memory overwritten beyond allocated" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " %d bytes\n", ~~~~~~~~~~~~~~ leaks[i].allocAddr, ~~~~~~~~~~~~~~~~~~~ __builtin_return_address(1), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ leaks[i].size); ~~~~~~~~~~~~~~ LeakTracer.cc:456:9: warning: calling 'void* __builtin_return_address(unsigned int)' with a nonzero argument is unsafe [-Wframe-address] fprintf(report, "D %10p # delete non alloc or twice pointer %10p\n", ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __builtin_return_address(1), p); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c++ -pipe -O2 -fno-strict-aliasing -Wall -W -DTHREAD_SAVE -pthread -shared -o LeakTracer.so LeakTracer.o gmake[1]: Leaving directory '/construction/devel/leaktracer/LeakTracer' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> leaktracer-2.4 depends on package: perl5>=5.28.r1<5.29 - not found ===> Installing existing package /packages/All/perl5-5.28.2.txz Installing perl5-5.28.2... Extracting perl5-5.28.2: .......... done Message from perl5-5.28.2: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> leaktracer-2.4 depends on package: perl5>=5.28.r1<5.29 - found ===> Returning to build of leaktracer-2.4 -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for leaktracer-2.4 ===> Generating temporary packing list install -m 555 /construction/devel/leaktracer/LeakTracer/LeakCheck /construction/devel/leaktracer/LeakTracer/leak-analyze /construction/devel/leaktracer/stage/usr/local/bin install -s -m 0644 /construction/devel/leaktracer/LeakTracer/LeakTracer.so /construction/devel/leaktracer/stage/usr/local/lib install -m 0644 /construction/devel/leaktracer/LeakTracer/README /construction/devel/leaktracer/LeakTracer/README.html /construction/devel/leaktracer/stage/usr/local/share/doc/leaktracer ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for leaktracer-2.4 file sizes/checksums [8]: . done packing files [8]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Monday, 8 JUL 2019 at 15:05:20 UTC Duration: 00:00:08