Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2021 16:02:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 258092] devel/elfutils: eu-config.h:199:1: error: static declaration of 'mempcpy' follows non-static declaration
Message-ID:  <bug-258092-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258092

            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-CURRE=
NT
host fails with the error shown below.

=3D>> 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 13005=
12
amd64
maintained by: cem@FreeBSD.org
Makefile ident:=20
Poudriere version: 3.3.7
Host OSVERSION: 1400032
Jail OSVERSION: 1300513
Job Id: 02

---Begin Environment---
SHELL=3D/bin/csh
OSVERSION=3D1300512
UNAME_v=3DFreeBSD 13.0-STABLE 1300512
UNAME_r=3D13.0-STABLE
BLOCKSIZE=3DK
MAIL=3D/var/mail/root
MM_CHARSET=3DUTF-8
LANG=3DC.UTF-8
STATUS=3D1
HOME=3D/root
PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/b=
in
LOCALBASE=3D/usr/local
USER=3Droot
LIBEXECPREFIX=3D/usr/local/libexec/poudriere
POUDRIERE_VERSION=3D3.3.7
MAKEOBJDIRPREFIX=3D/pool/sources/13-STABLE/obj/
MASTERMNT=3D/pool/poudriere/data/.m/13-amd64-head-default/ref
POUDRIERE_BUILD_TYPE=3Dbulk
PACKAGE_BUILDING=3Dyes
SAVED_TERM=3Dscreen
PWD=3D/pool/poudriere/data/.m/13-amd64-head-default/ref/.p/pool
P_PORTS_FEATURES=3DFLAVORS SELECTED_OPTIONS
MASTERNAME=3D13-amd64-head-default
SCRIPTPREFIX=3D/usr/local/share/poudriere
OLDPWD=3D/pool/poudriere/data/.m/13-amd64-head-default/ref/.p
SCRIPTPATH=3D/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=3D/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=3D
PKGENV=3D
FLAVOR=3D
DEPENDS_ARGS=3D
MAKE_ARGS=3D
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
=3D=3D=3D> The following configuration options are available for elfutils-0=
.179:
     MANPAGES=3Don: Build and/or install manual pages
     NLS=3Don: Native Language Support
=3D=3D=3D> Use 'make config' to modify these settings
---End OPTIONS List---


[...]
gcc10 -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR=3D'"/usr/local/share/locale=
"' -I.
-I..  -I. -I. -I../lib -I.. -I./../libelf  -std=3Dgnu99 -Wall -Wshadow -Wfo=
rmat=3D2
-Wold-style-definition -Wstrict-prototypes -Wtrampolines -Wlogical-op
-Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=3D5 -Werror -Wu=
nused
-Wextra -Wstack-usage=3D262144   -fPIC -D_FORTIFY_SOURCE=3D2 -O2 -pipe=20
-Wno-null-dereference -Wno-unused-value -Wno-cast-function-type
-fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc10 -fno-strict-alia=
sing=20
-MT xstrndup.o -MD -MP -MF .deps/xstrndup.Tpo -c -o xstrndup.o xstrndup.c
gcc10 -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR=3D'"/usr/local/share/locale=
"' -I.
-I..  -I. -I. -I../lib -I.. -I./../libelf  -std=3Dgnu99 -Wall -Wshadow -Wfo=
rmat=3D2
-Wold-style-definition -Wstrict-prototypes -Wtrampolines -Wlogical-op
-Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=3D5 -Werror -Wu=
nused
-Wextra -Wstack-usage=3D262144  -ffunction-sections -fPIC -D_FORTIFY_SOURCE=
=3D2 -O2
-pipe  -Wno-null-dereference -Wno-unused-value -Wno-cast-function-type
-fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc10 -fno-strict-alia=
sing=20
-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-sta=
tic
declaration
  199 | mempcpy(void * restrict dst, const void * restrict src, size_t len)
      | ^~~~~~~

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258092-7788>