Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Sep 2022 09:11:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 266190] devel/raknet: FAILED: Lib/DLL/CMakeFiles/RakNetDynamic.dir/__/__/Source/UDPForwarder.cpp.o
Message-ID:  <bug-266190-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 266190
           Summary: devel/raknet: FAILED:
                    Lib/DLL/CMakeFiles/RakNetDynamic.dir/__/__/Source/UDPF
                    orwarder.cpp.o
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: http://package18.nyi.freebsd.org/data/123amd64-default
                    -foo/2022-08-30_18h10m18s/logs/errors/raknet-3.9.2_10,
                    1.log
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: martymac@FreeBSD.org
          Reporter: salvadore@freebsd.org
            Blocks: 265948
             Flags: maintainer-feedback?(martymac@FreeBSD.org)
          Assignee: martymac@FreeBSD.org

Updating GCC_DEFAULT from GCC 11 to GCC 12 is blocked by the fact that buil=
ding
this port with GCC 12 on i386 and amd64 fails.

The error message is the following:



[  8% 20/234] /usr/local/bin/g++12 -DRakNetDynamic_EXPORTS
-I/wrkdirs/usr/ports/devel/raknet/work/raknet-3.9.2_10,1/Source -O2 -pipe=20
-fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc12=20
 -Wl,-rpath=3D/usr/local/lib/gcc12 -O2 -pipe  -fstack-protector-strong
-Wl,-rpath=3D/usr/local/lib/gcc12  -Wl,-rpath=3D/usr/local/lib/gcc12 -fPIC =
-MD -MT
Lib/DLL/CMakeFiles/RakNetDynamic.dir/__/__/
Source/UDPForwarder.cpp.o -MF
Lib/DLL/CMakeFiles/RakNetDynamic.dir/__/__/Source/UDPForwarder.cpp.o.d -o
Lib/DLL/CMakeFiles/RakNetDynamic.dir/__/__/Source/UDPForwarder.cpp.o -c
'/wrkdirs/usr/p
orts/devel/raknet/work/raknet-3.9.2_10,1/Source/UDPForwarder.cpp'=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20
FAILED: Lib/DLL/CMakeFiles/RakNetDynamic.dir/__/__/Source/UDPForwarder.cpp.=
o=20=20=20=20
/usr/local/bin/g++12 -DRakNetDynamic_EXPORTS
-I/wrkdirs/usr/ports/devel/raknet/work/raknet-3.9.2_10,1/Source -O2 -pipe=20
-fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc12  -Wl,-rpath=3D/u
sr/local/lib/gcc12 -O2 -pipe  -fstack-protector-strong
-Wl,-rpath=3D/usr/local/lib/gcc12  -Wl,-rpath=3D/usr/local/lib/gcc12 -fPIC =
-MD -MT
Lib/DLL/CMakeFiles/RakNetDynamic.dir/__/__/Source/UDPForw
arder.cpp.o -MF
Lib/DLL/CMakeFiles/RakNetDynamic.dir/__/__/Source/UDPForwarder.cpp.o.d -o
Lib/DLL/CMakeFiles/RakNetDynamic.dir/__/__/Source/UDPForwarder.cpp.o -c
'/wrkdirs/usr/ports/devel/rak
net/work/raknet-3.9.2_10,1/Source/UDPForwarder.cpp'=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
In file included from
/wrkdirs/usr/ports/devel/raknet/work/raknet-3.9.2_10,1/Source/UDPForwarder.=
h:13,=20
                 from
/wrkdirs/usr/ports/devel/raknet/work/raknet-3.9.2_10,1/Source/UDPForwarder.=
cpp:1:=20
/wrkdirs/usr/ports/devel/raknet/work/raknet-3.9.2_10,1/Source/DS_Multilist.=
h:
In instantiation of '_IndexType DataStructures::Multilist<_MultilistType,
_DataType, _KeyType, _IndexType>::GetIn
dexOf(_KeyType) const [with MultilistType _MultilistType =3D ML_ORDERED_LIS=
T;
_DataType =3D RakNet::UDPForwarder::ForwardEntry*; _KeyType =3D
RakNet::UDPForwarder::SrcAndDest; _IndexType =3D unsigned
 int]':=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20
/wrkdirs/usr/ports/devel/raknet/work/raknet-3.9.2_10,1/Source/UDPForwarder.=
cpp:204:34:
  required from here=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
/wrkdirs/usr/ports/devel/raknet/work/raknet-3.9.2_10,1/Source/DS_Multilist.=
h:683:60:
error: no match for 'operator=3D=3D' (operand types are
'DataStructures::MLKeyRef<RakNet::UDPForwarder::SrcAnd
Dest>' and 'RakNet::UDPForwarder::ForwardEntry*')=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
  683 |                                 if (MLKeyRef<_KeyType>(key)=3D=3Dda=
ta[i])=20=20=20
      |                                     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~=
=20





Please see also the log in the URL field. This URL might be useful to solve=
 the
issue: http://gcc.gnu.org/gcc-12/porting_to.html .


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265948
[Bug 265948] [exp-run] Update GCC_DEFAULT from 11 to 12
--=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-266190-7788>