Date: Sat, 27 Jun 2020 09:43:53 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 247579] net/xorp: compilation error: reference to 'thread' is ambiguous Message-ID: <bug-247579-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247579 Bug ID: 247579 Summary: net/xorp: compilation error: reference to 'thread' is ambiguous Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: hrs@FreeBSD.org Reporter: ohartmann@walstatt.org Assignee: hrs@FreeBSD.org Flags: maintainer-feedback?(hrs@FreeBSD.org) On 12-STABLE and CURRENT jails in poudriere (poudriere hosted by recent CURRENT), port fails with compilation error as shown below. [...] =3D>> Building net/xorp build started at Sat Jun 27 06:22:53 UTC 2020 port directory: /usr/ports/net/xorp package name: xorp-1.8.5_14 building for: FreeBSD freebsd.gdr 12.1-STABLE FreeBSD 12.1-STABLE 1201518 a= md64 maintained by: hrs@FreeBSD.org Makefile ident: $FreeBSD: head/net/xorp/Makefile 536497 2020-05-25 18:33:17Z sunpoet $ Poudriere version: 3.3.4 Host OSVERSION: 1300100 Jail OSVERSION: 1201518 Job Id: 04 ---Begin Environment--- SHELL=3D/bin/csh OSVERSION=3D1201518 UNAME_v=3DFreeBSD 12.1-STABLE 1201518 UNAME_r=3D12.1-STABLE BLOCKSIZE=3DK MAIL=3D/var/mail/root 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.4 MAKEOBJDIRPREFIX=3D/pool/sources/12-STABLE/obj/ MASTERMNT=3D/pool/poudriere/data/.m/12-amd64-head-default/ref POUDRIERE_BUILD_TYPE=3Dbulk PACKAGE_BUILDING=3Dyes SAVED_TERM=3Dscreen PWD=3D/pool/poudriere/data/.m/12-amd64-head-default/ref/.p/pool P_PORTS_FEATURES=3DFLAVORS SELECTED_OPTIONS MASTERNAME=3D12-amd64-head-default SCRIPTPREFIX=3D/usr/local/share/poudriere OLDPWD=3D/pool/poudriere/data/.m/12-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 xorp-1.8.5= _14: OPTIMIZE=3Don: Build with optimization ORIGIN=3Don: Use ORIGIN with shared libraries SHARED=3Don: Build with shared libraries STRIP=3Don: Strip binaries before installation TCP_RPC=3Doff: Use TCP as RPC transport (defaults to AF_LOCAL) =3D=3D=3D> Use 'make config' to modify these settings ---End OPTIONS List--- [...] c++ -o obj/x86_64-unknown-freebsd12.1/xrl/interfaces/libxif_rip.so -Wl,-z,origin -fstack-protector-strong -rdynamic -shared obj/x86_64-unknown-freebsd12.1/xrl/interfaces/rip_xif.os -Lobj/x86_64-unknown-freebsd12.1/xrl/interfaces/usr/lib -Lxrl/interfaces/usr/lib -L/usr/local/lib -Lobj/x86_64-unknown-freebsd12.1/libxipc -Llibxipc -Lobj/x86_64-unknown-freebsd12.1/libcomm -Llibcomm -Lobj/x86_64-unknown-freebsd12.1/libxorp -Llibxorp -lxorp_ipc -lxorp_comm -lxorp_core c++ -o obj/x86_64-unknown-freebsd12.1/fea/data_plane/ifconfig/ifconfig_observer_ip= helper.os -c -pipe -fstack-protector-strong -fno-strict-aliasing -O3 -g3 -W -Wall -Wwrite-strings -Wno-cast-qual -Wno-sign-compare -Wpointer-arith -Woverloaded-virtual -DXORP_BUILDINFO -fPIC -DXRL_PF=3D120 -DXORP_VERSION= =3D1.8.5 -DBOOST_DISABLE_THREADS -I/usr/local/include -Iobj/x86_64-unknown-freebsd12= .1 -I. -I. fea/data_plane/ifconfig/ifconfig_observer_iphelper.cc Symlink("/wrkdirs/usr/ports/net/xorp/work/xorp.ct-xorp-1.8.5/xorp/obj/x86_6= 4-unknown-freebsd12.1/xrl/interfaces/libxif_rip.so", as "/wrkdirs/usr/ports/net/xorp/work/xorp.ct-xorp-1.8.5/xorp/obj/x86_64-unknow= n-freebsd12.1/lib/libxif_rip.so") c++ -o obj/x86_64-unknown-freebsd12.1/fea/data_plane/ifconfig/ifconfig_observer_ne= tlink_socket.os -c -pipe -fstack-protector-strong -fno-strict-aliasing -O3 -g3 -W -Wall -Wwrite-strings -Wno-cast-qual -Wno-sign-compare -Wpointer-arith -Woverloaded-virtual -DXORP_BUILDINFO -fPIC -DXRL_PF=3D120 -DXORP_VERSION= =3D1.8.5 -DBOOST_DISABLE_THREADS -I/usr/local/include -Iobj/x86_64-unknown-freebsd12= .1 -I. -I. fea/data_plane/ifconfig/ifconfig_observer_netlink_socket.cc c++ -o obj/x86_64-unknown-freebsd12.1/fea/data_plane/ifconfig/ifconfig_observer_ro= uting_socket.os -c -pipe -fstack-protector-strong -fno-strict-aliasing -O3 -g3 -W -Wall -Wwrite-strings -Wno-cast-qual -Wno-sign-compare -Wpointer-arith -Woverloaded-virtual -DXORP_BUILDINFO -fPIC -DXRL_PF=3D120 -DXORP_VERSION= =3D1.8.5 -DBOOST_DISABLE_THREADS -I/usr/local/include -Iobj/x86_64-unknown-freebsd12= .1 -I. -I. fea/data_plane/ifconfig/ifconfig_observer_routing_socket.cc In file included from fea/data_plane/ifconfig/ifconfig_get_sysctl.cc:35: In file included from /usr/include/net/if_var.h:83: /usr/include/sys/lock.h:68:15: error: reference to 'thread' is ambiguous struct thread **owner); ^ /usr/include/sys/lock.h:42:8: note: candidate found by name lookup is 'thre= ad' struct thread; ^ /usr/include/c++/v1/__threading_support:605:24: note: candidate found by na= me lookup is 'std::__1::thread' class _LIBCPP_TYPE_VIS thread; --=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-247579-7788>