diff --git a/devel/google-perftools/Makefile b/devel/google-perftools/Makefile index 45c3f01e92d2..c52c903cad2f 100644 --- a/devel/google-perftools/Makefile +++ b/devel/google-perftools/Makefile @@ -1,95 +1,96 @@ PORTNAME= google-perftools DISTVERSIONPREFIX= gperftools- -DISTVERSION= 2.15 +DISTVERSION= 2.16 CATEGORIES= devel MASTER_SITES= https://github.com/gperftools/gperftools/releases/download/gperftools-${PORTVERSION}/ DISTNAME= gperftools-${PORTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Fast, multi-threaded malloc() and nifty performance analysis tools WWW= https://github.com/gperftools/gperftools LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_aarch64= link fails: ld: error: undefined symbol: brk, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278009 BROKEN_armv7= error: use of undeclared identifier '_URC_NO_REASON', see https://github.com/gperftools/gperftools/issues/1360 BROKEN_riscv64= error: Cannot calculate stack trace: will need to write for your environment, see https://github.com/gperftools/gperftools/issues/1359 USES= compiler:c11 gmake libtool localbase:ldflags perl5 -GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USE_LDCONFIG= yes USE_PERL5= test -TEST_TARGET= check -# two tests are failing + +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX=${PREFIX}/share + +TEST_TARGET= check # 7 tests are failing, see https://github.com/gperftools/gperftools/issues/1572 TESTING_UNSAFE= yes LIBS+= -lexecinfo DOCSDIR= ${PREFIX}/share/doc/gperftools OPTIONS_DEFINE= DOCS PROFILER OPTIONS_SINGLE= PAGESIZE ALIGN OPTIONS_SINGLE_ALIGN= ALIGN8 ALIGN16 OPTIONS_SINGLE_PAGESIZE= PAGE8K PAGE32K PAGE64K OPTIONS_DEFAULT= PAGE8K ALIGN16 OPTIONS_DEFAULT_aarch64= # PROFILER is disabled: WARNING: Could not find the PC. Will not try to compile libprofiler, see https://github.com/gperftools/gperftools/issues/1362 OPTIONS_DEFAULT_amd64= PROFILER OPTIONS_DEFAULT_armv6= # PROFILER is disabled: WARNING: Could not find the PC. Will not try to compile libprofiler. OPTIONS_DEFAULT_armv7= # PROFILER is disabled: WARNING: Could not find the PC. Will not try to compile libprofiler. OPTIONS_DEFAULT_i386= PROFILER OPTIONS_DEFAULT_powerpc= PROFILER OPTIONS_DEFAULT_powerpc64= PROFILER OPTIONS_DEFAULT_powerpc64le= PROFILER OPTIONS_DEFAULT_riscv64= PROFILER OPTIONS_SUB= yes PROFILER_DESC= Enable CPU profiler PROFILER_CONFIGURE_ENABLE= cpu-profiler ALIGN_DESC= The tcmalloc allocation alignment ALIGN8_DESC= 8 bytes allocation alignment ALIGN16_DESC= 16 bytes allocation alignment PAGESIZE_DESC= The tcmalloc internal page size PAGE8K_DESC= 8K page size PAGE32K_DESC= 32K page size PAGE64K_DESC= 64K page size ALIGN8_CONFIGURE_ON= --with-tcmalloc-alignment=8 ALIGN16_CONFIGURE_ON= --with-tcmalloc-alignment=16 PAGE8K_CONFIGURE_ON= --with-tcmalloc-pagesize=8 PAGE32K_CONFIGURE_ON= --with-tcmalloc-pagesize=32 PAGE64K_CONFIGURE_ON= --with-tcmalloc-pagesize=64 PORTDOCS= * .include .if ${CHOSEN_COMPILER_TYPE} == "clang" && !defined(USE_GCC) # clang cannot disable builtins individually CXXFLAGS+= -fno-builtin .endif .if ${ARCH} == "amd64" CONFIGURE_ARGS+=--enable-frame-pointers .endif # keep in sync with all platforms where libunwind is available .if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == powerpc || ${ARCH} == powerpc64 || ${ARCH} == powerpc64le LIB_DEPENDS+= libunwind.so:devel/libunwind LIBS+= -lunwind .endif post-build: @${ECHO} @${ECHO} "Please run 'make check' (requires bash)." @${ECHO} "Two testcases are known to fail. Testsuite is known to be" @${ECHO} "unreliable and give false positives and negatives (PR#661)." @${ECHO} post-install: ${MV} ${STAGEDIR}${PREFIX}/bin/pprof ${STAGEDIR}${PREFIX}/bin/perftools-pprof @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so.* .include diff --git a/devel/google-perftools/distinfo b/devel/google-perftools/distinfo index 4ee20330c5e4..998f96d8e9db 100644 --- a/devel/google-perftools/distinfo +++ b/devel/google-perftools/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1709196244 -SHA256 (gperftools-2.15.tar.gz) = c69fef855628c81ef56f12e3c58f2b7ce1f326c0a1fe783e5cae0b88cbbe9a80 -SIZE (gperftools-2.15.tar.gz) = 1511014 +TIMESTAMP = 1730785956 +SHA256 (gperftools-2.16.tar.gz) = f12624af5c5987f2cc830ee534f754c3c5961eec08004c26a8b80de015cf056f +SIZE (gperftools-2.16.tar.gz) = 2405927 diff --git a/devel/google-perftools/pkg-plist b/devel/google-perftools/pkg-plist index a4bca331ec05..85b6f5bbe16c 100644 --- a/devel/google-perftools/pkg-plist +++ b/devel/google-perftools/pkg-plist @@ -1,51 +1,42 @@ bin/perftools-pprof bin/pprof-symbolize -include/google/heap-checker.h -include/google/heap-profiler.h -include/google/malloc_extension.h -include/google/malloc_extension_c.h -include/google/malloc_hook.h -include/google/malloc_hook_c.h -%%PROFILER%%include/google/profiler.h -include/google/stacktrace.h -include/google/tcmalloc.h include/gperftools/heap-checker.h include/gperftools/heap-profiler.h include/gperftools/malloc_extension.h include/gperftools/malloc_extension_c.h include/gperftools/malloc_hook.h include/gperftools/malloc_hook_c.h include/gperftools/nallocx.h %%PROFILER%%include/gperftools/profiler.h include/gperftools/stacktrace.h include/gperftools/tcmalloc.h %%PROFILER%%lib/libprofiler.a %%PROFILER%%lib/libprofiler.so %%PROFILER%%lib/libprofiler.so.0 -%%PROFILER%%lib/libprofiler.so.0.5.11 +%%PROFILER%%lib/libprofiler.so.0.5.13 lib/libtcmalloc.a lib/libtcmalloc.so lib/libtcmalloc.so.4 -lib/libtcmalloc.so.4.5.16 +lib/libtcmalloc.so.4.5.18 %%PROFILER%%lib/libtcmalloc_and_profiler.a %%PROFILER%%lib/libtcmalloc_and_profiler.so %%PROFILER%%lib/libtcmalloc_and_profiler.so.4 -%%PROFILER%%lib/libtcmalloc_and_profiler.so.4.6.11 +%%PROFILER%%lib/libtcmalloc_and_profiler.so.4.6.13 lib/libtcmalloc_debug.a lib/libtcmalloc_debug.so lib/libtcmalloc_debug.so.4 -lib/libtcmalloc_debug.so.4.5.16 +lib/libtcmalloc_debug.so.4.5.18 lib/libtcmalloc_minimal.a lib/libtcmalloc_minimal.so lib/libtcmalloc_minimal.so.4 -lib/libtcmalloc_minimal.so.4.5.16 +lib/libtcmalloc_minimal.so.4.5.18 lib/libtcmalloc_minimal_debug.a lib/libtcmalloc_minimal_debug.so lib/libtcmalloc_minimal_debug.so.4 -lib/libtcmalloc_minimal_debug.so.4.5.16 +lib/libtcmalloc_minimal_debug.so.4.5.18 %%PROFILER%%libdata/pkgconfig/libprofiler.pc libdata/pkgconfig/libtcmalloc.pc libdata/pkgconfig/libtcmalloc_debug.pc libdata/pkgconfig/libtcmalloc_minimal.pc libdata/pkgconfig/libtcmalloc_minimal_debug.pc share/man/man1/pprof.1.gz