[Bug 239986] devel/nspr 4.22 build fails attach.c:170: error: unterminated conditional directive

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 20 09:20:55 UTC 2019


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

            Bug ID: 239986
           Summary: devel/nspr 4.22 build fails attach.c:170: error:
                    unterminated conditional directive
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gecko at FreeBSD.org
          Reporter: ross at exitzero.uk
             Flags: maintainer-feedback?(gecko at FreeBSD.org)
          Assignee: gecko at FreeBSD.org
 Attachment #206722 text/plain
         mime type:

Created attachment 206722
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206722&action=edit
nspr-4.22.log generated by poudriere

I'm experiencing build errors in devel/nspr since the update to version 4.22
and have attached the poudriere build log.

cc -o attach.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 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DFORCE_PR_LOG -D_PR_PTHREADS
-UHAVE_CVAR_BUILT_ON_SEM -I../../dist/include/nspr -I../../pr/include
-I../../pr/include/private  attach.c
attach.c:170:2: error: unterminated conditional directive
#ifdef _PR_PTHREADS
 ^
attach.c:275:2: error: expected '}'
}
 ^
attach.c:109:1: note: to match this '{'
{
^
attach.c:176:8: error: use of undeclared label 'exit_now'
                goto exit_now;
                     ^
3 errors generated.
gmake[1]: *** [../../config/rules.mk:450: attach.o] Error 1
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/devel/nspr/work/nspr-4.22/nspr/pr/tests'
*** Error code 2

Stop.
make: stopped in /usr/ports/devel/nspr

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


More information about the freebsd-ports-bugs mailing list