[Bug 217152] net/xorp: fib2mrib_varrw.cc:43:30: error: instantiation of variable 'ElemNet<IPNet<IPv4> >::id' required

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 16 19:44:48 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217152

            Bug ID: 217152
           Summary: net/xorp: fib2mrib_varrw.cc:43:30: error:
                    instantiation of variable 'ElemNet<IPNet<IPv4> >::id'
                    required
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: hrs at FreeBSD.org
          Reporter: ohartmann at walstatt.org
             Flags: maintainer-feedback?(hrs at FreeBSD.org)
          Assignee: hrs at FreeBSD.org

On recent CURRENT and poudriere/jail (up to date as of the time of writing this
PR), port net/xorp fails to build, see below.

[... extract of LOG ...]
====>> Building net/xorp
build started at Thu Feb 16 16:21:07 UTC 2017
port directory: /usr/ports/net/xorp
building for: FreeBSD pkg.walstatt.dynvpn.de 12.0-CURRENT FreeBSD 12.0-CURRENT
amd64
maintained by: hrs at FreeBSD.org
Makefile ident:      $FreeBSD: head/net/xorp/Makefile 430692 2017-01-06
08:45:03Z jbeich $
Poudriere version: 3.1.14
Host OSVERSION: 1200020
Jail OSVERSION: 1200020
[...]


Error:

[...]
Symlink("/wrkdirs/usr/ports/net/xorp/work/xorp.ct-xorp-1.8.5/xorp/obj/x86_64-unknown-freebsd12.0/fea/libxorp_fea.so",
as
"/wrkdirs/usr/ports/net/xorp/work/xorp.ct-xorp-1.8.5/xorp/obj/x86_64-unknown-freebsd12.0/lib/libxorp_fea.so")
c++ -o obj/x86_64-unknown-freebsd12.0/policy/backend/policy_filter.os -c -pipe
-fstack-protector -fno-strict-aliasing -O3 -g3 -Werror -W -Wall -Wwrite-strings
-Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual
-ftemplate-depth-25 -DXORP_BUILDINFO -fPIC -DXRL_PF=120 -DXORP_VERSION=1.8.5
-DBOOST_DISABLE_THREADS -I/usr/local/include -Iobj/x86_64-unknown-freebsd12.0
-I. -I. policy/backend/policy_filter.cc
fib2mrib/fib2mrib_varrw.cc:43:30: error: instantiation of variable
'ElemNet<IPNet<IPv4> >::id' required here, but no definition is available
[-Werror,-Wundefined-var-template]
                   _ef.create(ElemIPv4Net::id,
                                           ^
./policy/common/element.hh:448:24: note: forward declaration of template entity
is here
    static const char*  id;
[...]

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


More information about the freebsd-ports-bugs mailing list