[Bug 277899] devel/papi: Mark as BROKEN
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 23 Mar 2024 04:02:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277899 Bug ID: 277899 Summary: devel/papi: Mark as BROKEN Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: pizzamig@freebsd.org Reporter: yasu@freebsd.org Assignee: pizzamig@freebsd.org Flags: maintainer-feedback?(pizzamig@freebsd.org) Created attachment 249421 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=249421&action=edit Patch file 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 f reebsd-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 -- You are receiving this mail because: You are the assignee for the bug.