Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 2018 01:02:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 225549] sysutils/synergy fails to build with base clang
Message-ID:  <bug-225549-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 225549
           Summary: sysutils/synergy fails to build with base clang
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: sbruno@FreeBSD.org

Created attachment 190182
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D190182&action=
=3Dedit
Full log from poudriere

Snippet of buildfailure from poudriere log:

[1/146] /usr/bin/c++  -DHAVE_CONFIG_H -DSYSAPI_UNIX=3D1 -DWINAPI_XWINDOWS=
=3D1
-Isrc/lib/arch/.. -Isrc/lib/arch/../../.. -O2 -pipe -I/usr/local/include
-L/usr/local/lib -fstack-protector -fno-strict-aliasing -fPIC -O2 -pipe
-I/usr/local/includ
e -L/usr/local/lib -fstack-protector -fno-strict-aliasing -MD -MT
src/lib/arch/CMakeFiles/arch.dir/Arch.cpp.o -MF
src/lib/arch/CMakeFiles/arch.dir/Arch.cpp.o.d -o
src/lib/arch/CMakeFiles/arch.dir/Arch.cpp.o -c src/lib/arch/Arch.cpp
FAILED: src/lib/arch/CMakeFiles/arch.dir/Arch.cpp.o=20
/usr/bin/c++  -DHAVE_CONFIG_H -DSYSAPI_UNIX=3D1 -DWINAPI_XWINDOWS=3D1
-Isrc/lib/arch/.. -Isrc/lib/arch/../../.. -O2 -pipe -I/usr/local/include
-L/usr/local/lib -fstack-protector -fno-strict-aliasing -fPIC -O2 -pipe
-I/usr/local/include -L/usr
/local/lib -fstack-protector -fno-strict-aliasing -MD -MT
src/lib/arch/CMakeFiles/arch.dir/Arch.cpp.o -MF
src/lib/arch/CMakeFiles/arch.dir/Arch.cpp.o.d -o
src/lib/arch/CMakeFiles/arch.dir/Arch.cpp.o -c src/lib/arch/Arch.cpp
c++: warning: argument unused during compilation: '-L/usr/local/lib'
[-Wunused-command-line-argument]
c++: warning: argument unused during compilation: '-L/usr/local/lib'
[-Wunused-command-line-argument]
In file included from src/lib/arch/Arch.cpp:19:
In file included from src/lib/arch/../arch/Arch.h:56:
In file included from src/lib/arch/../arch/unix/ArchDaemonUnix.h:21:
In file included from src/lib/arch/../arch/ArchDaemonNone.h:21:
In file included from src/lib/arch/../arch/IArchDaemon.h:22:
In file included from src/lib/arch/../base/String.h:22:
In file included from src/lib/arch/../common/stdstring.h:20:
In file included from /usr/include/c++/v1/string:477:
In file included from /usr/include/c++/v1/string_view:176:
/usr/include/c++/v1/__string:269:16: error: use of undeclared identifier 'N=
ULL'
        return NULL;
               ^
/usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL'
#define NULL    nullptr
                ^
src/lib/arch/../common/common.h:141:18: note: expanded from macro 'nullptr'
#       define nullptr NULL
                       ^
In file included from src/lib/arch/Arch.cpp:19:
In file included from src/lib/arch/../arch/Arch.h:56:
In file included from src/lib/arch/../arch/unix/ArchDaemonUnix.h:21:
In file included from src/lib/arch/../arch/ArchDaemonNone.h:21:
In file included from src/lib/arch/../arch/IArchDaemon.h:22:
In file included from src/lib/arch/../base/String.h:22:
In file included from src/lib/arch/../common/stdstring.h:20:
In file included from /usr/include/c++/v1/string:477:
In file included from /usr/include/c++/v1/string_view:176:
/usr/include/c++/v1/__string:375:16: error: use of undeclared identifier 'N=
ULL'
        return NULL;
               ^
/usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL'
#define NULL    nullptr
                ^
src/lib/arch/../common/common.h:141:18: note: expanded from macro 'nullptr'
#       define nullptr NULL
                       ^
src/lib/arch/Arch.cpp:25:30: error: use of undeclared identifier 'NULL'
Arch*                                   Arch::s_instance =3D NULL;
                                                           ^
/usr/include/sys/_null.h:37:14: note: expanded from macro 'NULL'
#define NULL    nullptr
                ^
src/lib/arch/../common/common.h:141:18: note: expanded from macro 'nullptr'
                       ^
5 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/synergy
=3D>> Cleaning up wrkdir
=3D=3D=3D>  Cleaning for synergy-1.8.8
build of sysutils/synergy | synergy-1.8.8 ended at Mon Jan 29 14:28:02 MST =
2018
build time: 00:00:10
!!! build failure encountered !!!

--=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-225549-13>