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

[-- Attachment #1 --]
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)

[-- Attachment #2 --]
<div dir="ltr"><div>Hello all,</div><div><br></div><div>From 1500007 to 1500008 devel/nspr (dependency of firefox) fails:<br></div><div><br></div><div>###<br></div><div>cc -o prmapopt.o -c -fvisibility=hidden    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -ansi -Wall -fPIC  -UDEBUG -DPACKAGE_NAME=\&quot;\&quot; -DPACKAGE_TARNAME=\&quot;\&quot; -DPACKAGE_VERSION=\&quot;\&quot; -DPACKAGE_STRING=\&quot;\&quot; -DPACKAGE_BUGREPORT=\&quot;\&quot; -DPACKAGE_URL=\&quot;\&quot; -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<br>In file included from prmapopt.c:46:<br>/usr/include/netinet/tcp.h:82:8: error: unknown type name &#39;inline&#39;<br>   82 | static inline uint16_t<br>      |        ^<br>/usr/include/netinet/tcp.h:82:23: error: expected &#39;;&#39; after top level declarator<br>   82 | static inline uint16_t<br>      |                       ^<br>/usr/include/netinet/tcp.h:88:8: error: unknown type name &#39;inline&#39;<br>   88 | static inline void<br>      |        ^<br>3 errors generated.</div><div>###</div><div><br></div><div>Any clues?<br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="color:rgb(102,102,102)">Nuno Teixeira<br>FreeBSD Committer (ports)</span></div></div></div>

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