Date: Sun, 21 Apr 2024 01:18:15 GMT From: Yasuhiro Kimura <yasu@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: b301b38dc59e - main - devel/papi: Mark as BROKEN Message-ID: <202404210118.43L1IFj0011686@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=b301b38dc59e6cb86a9f9379c9e11d860c02e2c9 commit b301b38dc59e6cb86a9f9379c9e11d860c02e2c9 Author: Yasuhiro Kimura <yasu@FreeBSD.org> AuthorDate: 2024-04-21 01:14:34 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2024-04-21 01:14:34 +0000 devel/papi: Mark as BROKEN Build fails as following. cc -shared -Xlinker "-soname" -Xlinker "libpapi.so" -Xlinker "-rpath" -Xlinker "/usr/local/lib" -DPIC -fPIC -I. -Ifreebsd -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -DSTATIC_PAPI_EVENTS_TABLE -D_REENTRANT -D_GNU_SOURCE -DNO_TLS -I. -Ifreebsd -DPIC -fPIC -DPAPI_NO_MEMORY_MANAGEMENT -DOSLOCK=\"freebsd-lock.h\" -DOSCONTEXT=\"freebsd-context.h\" -O2 -DPAPI_NO_MEMORY_MANAGEMENT x86_cpuid_info.c freebsd/map-unknown.c freebsd/map.c freebsd/map-p6.c freebsd/map-p6-m.c freebsd/map-p6-3.c freebsd/map-p6-2.c freebsd/map-p6-c.c freebsd/map-k7.c freebsd/map-k8.c freebsd/map-p4.c freebsd/map-atom.c freebsd/map-core.c freebsd/map-core2.c freebsd/map-core2-extreme.c freebsd/map-i7.c freebsd/map-westmere.c papi.c papi_internal.c papi_hl.c extras.c sw_multiplex.c papi_fwrappers.c papi_fwrappers_.c papi_fwrappers__.c upper_PAPI_FWRAPPERS.c threads.c cpus.c freebsd-memory.c freebsd.c papi_preset.c papi_vector.c papi_memory.c -o libpapi.so.5.4.3.0 -lpmc papi_fwrappers.c:751:12: warning: address of array 'info.note' will always evaluate to 'true' [-Wpointer-bool-conversion] if (info.note) ~~ ~~~~~^~~~ 1 warning generated. papi_fwrappers.c:751:12: warning: address of array 'info.note' will always evaluate to 'true' [-Wpointer-bool-conversion] if (info.note) ~~ ~~~~~^~~~ 1 warning generated. papi_fwrappers.c:751:12: warning: address of array 'info.note' will always evaluate to 'true' [-Wpointer-bool-conversion] if (info.note) ~~ ~~~~~^~~~ 1 warning generated. papi_fwrappers.c:751:12: warning: address of array 'info.note' will always evaluate to 'true' [-Wpointer-bool-conversion] if (info.note) ~~ ~~~~~^~~~ 1 warning generated. freebsd.c:361:92: error: too few arguments to function call, expected 6, have 5 if ((ret = pmc_allocate (ctrl->counters[i], PMC_MODE_TC, 0, PMC_CPU_ANY, &(ctrl->pmcs[i]))) < 0) ~~~~~~~~~~~~ ^ /usr/include/pmc.h:75:5: note: 'pmc_allocate' declared here int pmc_allocate(const char *_ctrspec, enum pmc_mode _mode, uint32_t _flags, ^ freebsd.c:827:73: error: too few arguments to function call, expected 6, have 5 if ( (ret = pmc_allocate (name, PMC_MODE_TC, 0, PMC_CPU_ANY, &pmcs[i])) < 0) ~~~~~~~~~~~~ ^ /usr/include/pmc.h:75:5: note: 'pmc_allocate' declared here int pmc_allocate(const char *_ctrspec, enum pmc_mode _mode, uint32_t _flags, ^ 2 errors generated. papi_preset.c:849:2: warning: 'memset' will always overflow; destination buffer has size 1024, but size argument is 2048 [-Wfortify-source] memset( &stack, 0, 2*PAPI_HUGE_STR_LEN ); ^ 1 warning generated. gmake: *** [Makefile.inc:61: libpapi.so.5.4.3.0] Error 1 *** Error code 1 Stop. make: stopped in /usr/ports/devel/papi PR: 277899 Approved by: maintainer timeout --- devel/papi/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devel/papi/Makefile b/devel/papi/Makefile index 3dd6cc319092..c5b885b3cbb1 100644 --- a/devel/papi/Makefile +++ b/devel/papi/Makefile @@ -11,6 +11,8 @@ WWW= https://code.google.com/p/papi-for-freebsd/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/LICENSE.txt +BROKEN= freebsd.c:361:92: error: too few arguments to function call, expected 6, have 5 + TEST_TARGET= fulltest ONLY_FOR_ARCHS= i386 amd64
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404210118.43L1IFj0011686>