Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Dec 2023 09:18:39 +0000
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   devel/nspr: Fails to build on 1500008 5f71f9636efa
Message-ID:  <CAFDf7U%2BxbTuhS7nUzeZgVknMPyyfYxuakFtrE4=h-1LtFK_Yig@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--0000000000002fedb4060da2853a
Content-Type: text/plain; charset="UTF-8"

Hello all,

>From 1500007 to 1500008 devel/nspr (dependency of firefox) fails:

###
cc -o prmapopt.o -c -fvisibility=hidden    -O2 -pipe
 -fstack-protector-strong -fno-strict-aliasing   -ansi -Wall -fPIC  -UDEBUG
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\"
-DNDEBUG=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_PRAGMA=1
-DXP_UNIX=1 -DFREEBSD=1 -DHAVE_BSD_FLOCK=1 -DHAVE_SOCKLEN_T=1
-DHAVE_POINTER_LOCALTIME_R=1 -DHAVE_DLADDR=1 -DHAVE_LCHOWN=1
-DHAVE_SETPRIORITY=1 -DHAVE_STRERROR=1 -DHAVE_SYSCALL=1
-DHAVE_SECURE_GETENV=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DFORCE_PR_LOG
-D_PR_PTHREADS -UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_
-I../../../dist/include/nspr -I../../../pr/include
-I../../../pr/include/private  prmapopt.c
In file included from prmapopt.c:46:
/usr/include/netinet/tcp.h:82:8: error: unknown type name 'inline'
   82 | static inline uint16_t
      |        ^
/usr/include/netinet/tcp.h:82:23: error: expected ';' after top level
declarator
   82 | static inline uint16_t
      |                       ^
/usr/include/netinet/tcp.h:88:8: error: unknown type name 'inline'
   88 | static inline void
      |        ^
3 errors generated.
###

Any clues?
-- 
Nuno Teixeira
FreeBSD Committer (ports)

--0000000000002fedb4060da2853a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello all,</div><div><br></div><div>From 1500007 to 1=
500008 devel/nspr (dependency of firefox) fails:<br></div><div><br></div><d=
iv>###<br></div><div>cc -o prmapopt.o -c -fvisibility=3Dhidden =C2=A0 =C2=
=A0-O2 -pipe =C2=A0-fstack-protector-strong -fno-strict-aliasing =C2=A0 -an=
si -Wall -fPIC =C2=A0-UDEBUG -DPACKAGE_NAME=3D\&quot;\&quot; -DPACKAGE_TARN=
AME=3D\&quot;\&quot; -DPACKAGE_VERSION=3D\&quot;\&quot; -DPACKAGE_STRING=3D=
\&quot;\&quot; -DPACKAGE_BUGREPORT=3D\&quot;\&quot; -DPACKAGE_URL=3D\&quot;=
\&quot; -DNDEBUG=3D1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=3D1 -DHAVE_VISIBILI=
TY_PRAGMA=3D1 -DXP_UNIX=3D1 -DFREEBSD=3D1 -DHAVE_BSD_FLOCK=3D1 -DHAVE_SOCKL=
EN_T=3D1 -DHAVE_POINTER_LOCALTIME_R=3D1 -DHAVE_DLADDR=3D1 -DHAVE_LCHOWN=3D1=
 -DHAVE_SETPRIORITY=3D1 -DHAVE_STRERROR=3D1 -DHAVE_SYSCALL=3D1 -DHAVE_SECUR=
E_GETENV=3D1 -D_REENTRANT=3D1 -D_THREAD_SAFE=3D1 -DFORCE_PR_LOG -D_PR_PTHRE=
ADS -UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_ -I../../../dist/include/nspr -I=
../../../pr/include -I../../../pr/include/private =C2=A0prmapopt.c<br>In fi=
le included from prmapopt.c:46:<br>/usr/include/netinet/tcp.h:82:8: error: =
unknown type name &#39;inline&#39;<br>=C2=A0 =C2=A082 | static inline uint1=
6_t<br>=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0^<br>/usr/include/=
netinet/tcp.h:82:23: error: expected &#39;;&#39; after top level declarator=
<br>=C2=A0 =C2=A082 | static inline uint16_t<br>=C2=A0 =C2=A0 =C2=A0 | =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^=
<br>/usr/include/netinet/tcp.h:88:8: error: unknown type name &#39;inline&#=
39;<br>=C2=A0 =C2=A088 | static inline void<br>=C2=A0 =C2=A0 =C2=A0 | =C2=
=A0 =C2=A0 =C2=A0 =C2=A0^<br>3 errors generated.</div><div>###</div><div><b=
r></div><div>Any clues?<br></div><span class=3D"gmail_signature_prefix">-- =
</span><br><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gma=
il_signature"><div dir=3D"ltr"><span style=3D"color:rgb(102,102,102)">Nuno =
Teixeira<br>FreeBSD Committer (ports)</span></div></div></div>

--0000000000002fedb4060da2853a--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7U%2BxbTuhS7nUzeZgVknMPyyfYxuakFtrE4=h-1LtFK_Yig>