[Bug 258092] devel/elfutils: eu-config.h:199:1: error: static declaration of 'mempcpy' follows non-static declaration
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 27 Aug 2021 16:02:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258092 Bug ID: 258092 Summary: devel/elfutils: eu-config.h:199:1: error: static declaration of 'mempcpy' follows non-static declaration Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: cem@freebsd.org Reporter: ohartmann@walstatt.org Flags: maintainer-feedback?(cem@freebsd.org) Assignee: cem@freebsd.org Compiling port devel/elfutils within poudriere jail (13-STABLE) on 14-CURRENT host fails with the error shown below. =>> Building devel/elfutils build started at Fri Aug 27 07:51:23 UTC 2021 port directory: /usr/ports/devel/elfutils package name: elfutils-0.179 building for: FreeBSD poudrieregdr.de 13.0-STABLE FreeBSD 13.0-STABLE 1300512 amd64 maintained by: cem@FreeBSD.org Makefile ident: Poudriere version: 3.3.7 Host OSVERSION: 1400032 Jail OSVERSION: 1300513 Job Id: 02 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1300512 UNAME_v=FreeBSD 13.0-STABLE 1300512 UNAME_r=13.0-STABLE 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 LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.3.7 MAKEOBJDIRPREFIX=/pool/sources/13-STABLE/obj/ MASTERMNT=/pool/poudriere/data/.m/13-amd64-head-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen PWD=/pool/poudriere/data/.m/13-amd64-head-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=13-amd64-head-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/pool/poudriere/data/.m/13-amd64-head-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for elfutils-0.179: MANPAGES=on: Build and/or install manual pages NLS=on: Native Language Support ===> Use 'make config' to modify these settings ---End OPTIONS List--- [...] gcc10 -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/usr/local/share/locale"' -I. -I.. -I. -I. -I../lib -I.. -I./../libelf -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra -Wstack-usage=262144 -fPIC -D_FORTIFY_SOURCE=2 -O2 -pipe -Wno-null-dereference -Wno-unused-value -Wno-cast-function-type -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -fno-strict-aliasing -MT xstrndup.o -MD -MP -MF .deps/xstrndup.Tpo -c -o xstrndup.o xstrndup.c gcc10 -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/usr/local/share/locale"' -I. -I.. -I. -I. -I../lib -I.. -I./../libelf -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra -Wstack-usage=262144 -ffunction-sections -fPIC -D_FORTIFY_SOURCE=2 -O2 -pipe -Wno-null-dereference -Wno-unused-value -Wno-cast-function-type -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -fno-strict-aliasing -MT xmalloc.o -MD -MP -MF .deps/xmalloc.Tpo -c -o xmalloc.o xmalloc.c In file included from ../config.h:140, from xstrndup.c:30: ./eu-config.h:199:1: error: static declaration of 'mempcpy' follows non-static declaration 199 | mempcpy(void * restrict dst, const void * restrict src, size_t len) | ^~~~~~~ -- You are receiving this mail because: You are the assignee for the bug.