Bug 247581 - net/xorp: compiler error: reference to 'thread' is ambiguous
Summary: net/xorp: compiler error: reference to 'thread' is ambiguous
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Hiroki Sato
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-27 10:03 UTC by O. Hartmann
Modified: 2020-06-27 10:03 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (hrs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2020-06-27 10:03:48 UTC
Port fails to build on poudriere jails 12-STABLE and CURRENT (recent) hosted by recent CURRENT:

[...]
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_iphelper.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=120 -DXORP_VERSION=1.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_64-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-unknown-freebsd12.1/lib/libxif_rip.so")
c++ -o obj/x86_64-unknown-freebsd12.1/fea/data_plane/ifconfig/ifconfig_observer_netlink_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=120 -DXORP_VERSION=1.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_routing_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=120 -DXORP_VERSION=1.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);