From owner-freebsd-pkg-fallout@freebsd.org Mon Jul 24 07:02:49 2017 Return-Path: Delivered-To: freebsd-pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7AC6DBC671 for ; Mon, 24 Jul 2017 07:02:49 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 946B783137 for ; Mon, 24 Jul 2017 07:02:49 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 93C7EDBC670; Mon, 24 Jul 2017 07:02:49 +0000 (UTC) Delivered-To: pkg-fallout@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93529DBC66F for ; Mon, 24 Jul 2017 07:02:49 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy12.nyi.freebsd.org (beefy12.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:ef]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5FCD583135; Mon, 24 Jul 2017 07:02:49 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy12.nyi.freebsd.org (localhost [127.0.0.1]) by beefy12.nyi.freebsd.org (8.15.2/8.15.2) with ESMTP id v6O72mGH088327; Mon, 24 Jul 2017 07:02:48 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy12.nyi.freebsd.org (8.15.2/8.15.2/Submit) id v6O72lJ7086792; Mon, 24 Jul 2017 07:02:47 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Mon, 24 Jul 2017 07:02:47 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201707240702.v6O72lJ7086792@beefy12.nyi.freebsd.org> To: yuri@rawbw.com Subject: [package - head-amd64-default][devel/rapidjson] Failed for rapidjson-1.1.0_1 in build Cc: pkg-fallout@FreeBSD.org X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jul 2017 07:02:49 -0000 You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: yuri@rawbw.com Last committer: tcberner@FreeBSD.org Ident: $FreeBSD: head/devel/rapidjson/Makefile 444324 2017-06-25 21:07:58Z tcberner $ Log URL: http://beefy12.nyi.freebsd.org/data/head-amd64-default/p446433_s321376/logs/rapidjson-1.1.0_1.log Build URL: http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p446433_s321376 Log: ====>> Building devel/rapidjson build started at Mon Jul 24 07:00:42 UTC 2017 port directory: /usr/ports/devel/rapidjson building for: FreeBSD head-amd64-default-job-19 12.0-CURRENT FreeBSD 12.0-CURRENT 1200039 amd64 maintained by: yuri@rawbw.com Makefile ident: $FreeBSD: head/devel/rapidjson/Makefile 444324 2017-06-25 21:07:58Z tcberner $ Poudriere version: 3.1.19-50-g116395ee Host OSVERSION: 1200033 Jail OSVERSION: 1200039 Job Id: 19 !!! Jail is newer than host. (Jail: 1200039, Host: 1200033) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh OSVERSION=1200039 UNAME_v=FreeBSD 12.0-CURRENT 1200039 UNAME_r=12.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 SAVED_TERM= MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNAME=rapidjson-1.1.0_1 OLDPWD=/ PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool MASTERNAME=head-amd64-default SCRIPTPREFIX=/usr/local/share/poudriere USER=root HOME=/root POUDRIERE_VERSION=3.1.19-50-g116395ee SCRIPTPATH=/usr/local/share/poudriere/bulk.sh LIBEXECPREFIX=/usr/local/libexec/poudriere LOCALBASE=/usr/local POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for rapidjson-1.1.0_1: DOXYGEN=on: Build documentation with Doxygen EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/devel/rapidjson/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/rapidjson/work HOME=/wrkdirs/usr/ports/devel/rapidjson/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/devel/rapidjson/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/rapidjson/work HOME=/wrkdirs/usr/ports/devel/rapidjson/work TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/devel/rapidjson/work/stage PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing -Wno-c++98-compat" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- DOXYGEN="" NO_DOXYGEN="@comment " EXAMPLES="" NO_EXAMPLES="@comment " CMAKE_BUILD_TYPE="release" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib DOCSDIR="share/doc/rapidjson" EXAMPLESDIR="share/examples/rapidjson" DATADIR="share/doc/RapidJSON" WWWDIR="www/rapidjson" ETCDIR="etc/rapidjson" --End PLIST_SUB-- --SUB_LIST-- DOXYGEN="" NO_DOXYGEN="@comment " EXAMPLES="" NO_EXAMPLES="@comment " PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/doc/RapidJSON DOCSDIR=/usr/local/share/doc/rapidjson EXAMPLESDIR=/usr/local/share/examples/rapidjson WWWDIR=/usr/local/www/rapidjson ETCDIR=/usr/local/etc/rapidjson --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes #### /usr/local/etc/poudriere.d/make.conf #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs MAKE_JOBS_NUMBER=2 #### /usr/ports/Mk/Scripts/ports_env.sh #### ARCH=amd64 CONFIGURE_MAX_CMD_LEN=262144 HAVE_COMPAT_IA32_KERN=YES OPSYS=FreeBSD OSREL=12.0 OSVERSION=1200039 PYTHONBASE=/usr/local UID=0 _JAVA_OS_LIST_REGEXP=native|linux _JAVA_VENDOR_LIST_REGEXP=openjdk|oracle|sun _JAVA_VERSION_LIST_REGEXP=1.6|1.7|1.8|1.6\+|1.7\+|1.8\+ _OSRELEASE=12.0-CURRENT #### Misc Poudriere #### GID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 1024 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===> License unknown accepted by the user =========================================================================== =================================================== ===> rapidjson-1.1.0_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.1.txz [head-amd64-default-job-19] Installing pkg-1.10.1... [head-amd64-default-job-19] Extracting pkg-1.10.1: .......... done ===> rapidjson-1.1.0_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of rapidjson-1.1.0_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> License unknown accepted by the user ===> Fetching all distfiles required by rapidjson-1.1.0_1 for building =========================================================================== =================================================== ===> License unknown accepted by the user ===> Fetching all distfiles required by rapidjson-1.1.0_1 for building => SHA256 Checksum OK for miloyip-rapidjson-v1.1.0_GH0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License unknown accepted by the user ===> Fetching all distfiles required by rapidjson-1.1.0_1 for building ===> Extracting for rapidjson-1.1.0_1 => SHA256 Checksum OK for miloyip-rapidjson-v1.1.0_GH0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for rapidjson-1.1.0_1 =========================================================================== =================================================== ===> rapidjson-1.1.0_1 depends on executable: doxygen - not found ===> Installing existing package /packages/All/doxygen-1.8.13,2.txz [head-amd64-default-job-19] Installing doxygen-1.8.13,2... [head-amd64-default-job-19] `-- Installing graphviz-2.40.1_2... Generating docs for compound rapidjson::UTF16BE... Generating docs for compound rapidjson::UTF16LE... Generating docs for compound rapidjson::UTF32... Generating docs for compound rapidjson::UTF32BE... Generating docs for compound rapidjson::UTF32LE... Generating docs for compound rapidjson::UTF8... Generating docs for compound rapidjson::Writer... Generating docs for nested compound rapidjson::Writer::Level... Generating graph info page... Generating directory documentation... Generating index page... Generating page index... Generating module index... Generating namespace member index... Generating annotated compound index... Generating alphabetical compound index... Generating hierarchical class index... Generating member index... Generating file index... Generating file member index... Generating example index... finalizing index lists... writing tag file... lookup cache used 3793/65536 hits=124227 misses=3955 finished... [2/31] /usr/bin/c++ -D__STDC_FORMAT_MACROS -Iinclude -Iexample/../include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wno-c++98-compat -Wall -Wextra -Werror -Wno-missing-field-initializers -std=c++11 -Wall -Wextra -Weffc++ -Wswitch-default -Wfloat-equal -Wimplicit-fallthrough -Weverything -O2 -pipe -fstack-protector -fno-strict-aliasing -Wno-c++98-compat -MD -MT example/CMakeFiles/tutorial.dir/tutorial/tutorial.cpp.o -MF example/CMakeFiles/tutorial.dir/tutorial/tutorial.cpp.o.d -o example/CMakeFiles/tutorial.dir/tutorial/tutorial.cpp.o -c example/tutorial/tutorial.cpp FAILED: example/CMakeFiles/tutorial.dir/tutorial/tutorial.cpp.o /usr/bin/c++ -D__STDC_FORMAT_MACROS -Iinclude -Iexample/../include -O2 -pipe -fstack-protector -fno-strict-aliasing -Wno-c++98-compat -Wall -Wextra -Werror -Wno-missing-field-initializers -std=c++11 -Wall -Wextra -Weffc++ -Wswitch-default -Wfloat-equal -Wimplicit-fallthrough -Weverything -O2 -pipe -fstack-protector -fno-strict-aliasing -Wno-c++98-compat -MD -MT example/CMakeFiles/tutorial.dir/tutorial/tutorial.cpp.o -MF example/CMakeFiles/tutorial.dir/tutorial/tutorial.cpp.o.d -o example/CMakeFiles/tutorial.dir/tutorial/tutorial.cpp.o -c example/tutorial/tutorial.cpp In file included from example/tutorial/tutorial.cpp:4: In file included from include/rapidjson/document.h:20: In file included from include/rapidjson/reader.h:20: include/rapidjson/allocators.h:111:64: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant] chunkHead_(0), chunk_capacity_(chunkSize), userBuffer_(0), baseAllocator_(baseAllocator), ownBaseAllocator_(0) ^ nullptr include/rapidjson/allocators.h:128:36: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant] RAPIDJSON_ASSERT(buffer != 0); ^ nullptr include/rapidjson/rapidjson.h:402:36: note: expanded from macro 'RAPIDJSON_ASSERT' #define RAPIDJSON_ASSERT(x) assert(x) ^ /usr/include/assert.h:54:21: note: expanded from macro 'assert' #define assert(e) ((e) ? (void)0 : __assert(__func__, __FILE__, \ ^ In file included from example/tutorial/tutorial.cpp:4: In file included from include/rapidjson/document.h:20: In file included from include/rapidjson/reader.h:20: include/rapidjson/allocators.h:192:28: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant] if (originalPtr == 0) ^ nullptr In file included from example/tutorial/tutorial.cpp:4: In file included from include/rapidjson/document.h:20: In file included from include/rapidjson/reader.h:22: In file included from include/rapidjson/encodedstream.h:19: include/rapidjson/memorystream.h:49:54: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant] Ch* PutBegin() { RAPIDJSON_ASSERT(false); return 0; } ^ nullptr include/rapidjson/memorystream.h:56:45: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant] return Tell() + 4 <= size_ ? src_ : 0; ^ nullptr In file included from example/tutorial/tutorial.cpp:4: In file included from include/rapidjson/document.h:20: In file included from include/rapidjson/reader.h:22: include/rapidjson/encodedstream.h:84:29: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant] Ch* PutBegin() { return 0; } ^ nullptr In file included from example/tutorial/tutorial.cpp:4: In file included from include/rapidjson/document.h:20: In file included from include/rapidjson/reader.h:24: include/rapidjson/internal/stack.h:40:105: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant] Stack(Allocator* allocator, size_t stackCapacity) : allocator_(allocator), ownAllocator_(0), stack_(0), stackTop_(0), stackEnd_(0), initialCapacity_(stackCapacity) { ^ nullptr include/rapidjson/internal/stack.h:40:119: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant] Stack(Allocator* allocator, size_t stackCapacity) : allocator_(allocator), ownAllocator_(0), stack_(0), stackTop_(0), stackEnd_(0), initialCapacity_(stackCapacity) { ^ nullptr include/rapidjson/internal/stack.h:40:133: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant] Stack(Allocator* allocator, size_t stackCapacity) : allocator_(allocator), ownAllocator_(0), stack_(0), stackTop_(0), stackEnd_(0), initialCapacity_(stackCapacity) { ^ nullptr In file included from example/tutorial/tutorial.cpp:4: In file included from include/rapidjson/document.h:20: include/rapidjson/reader.h:1087:36: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant] const char* Pop() { return 0; } ^ nullptr In file included from example/tutorial/tutorial.cpp:4: include/rapidjson/document.h:1871:53: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant] enum { MaxChars = sizeof(static_cast(0)->payload) / sizeof(Ch), MaxSize = MaxChars - 1, LenPos = MaxSize }; ^ nullptr include/rapidjson/document.h:1919:21: note: in instantiation of member class 'rapidjson::GenericValue, rapidjson::MemoryPoolAllocator >::ShortString' requested here ShortString ss; ^ include/rapidjson/document.h:2006:10: note: in instantiation of member class 'rapidjson::GenericValue, rapidjson::MemoryPoolAllocator >::Data' requested here Data data_; ^ include/rapidjson/document.h:2024:32: note: in instantiation of template class 'rapidjson::GenericValue, rapidjson::MemoryPoolAllocator >' requested here class GenericDocument : public GenericValue { ^ example/tutorial/tutorial.cpp:18:14: note: in instantiation of template class 'rapidjson::GenericDocument, rapidjson::MemoryPoolAllocator, rapidjson::CrtAllocator>' requested here Document document; // Default template parameter uses UTF8 and MemoryPoolAllocator. ^ In file included from example/tutorial/tutorial.cpp:4: include/rapidjson/document.h:2050:44: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant] GenericDocument(Allocator* allocator = 0, size_t stackCapacity = kDefaultStackCapacity, StackAllocator* stackAllocator = 0) : ^ nullptr example/tutorial/tutorial.cpp:18:14: note: in instantiation of default function argument expression for 'GenericDocument, rapidjson::MemoryPoolAllocator, rapidjson::CrtAllocator>' required here Document document; // Default template parameter uses UTF8 and MemoryPoolAllocator. ^ In file included from example/tutorial/tutorial.cpp:4: include/rapidjson/document.h:2050:126: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant] GenericDocument(Allocator* allocator = 0, size_t stackCapacity = kDefaultStackCapacity, StackAllocator* stackAllocator = 0) : ^ nullptr example/tutorial/tutorial.cpp:18:14: note: in instantiation of default function argument expression for 'GenericDocument, rapidjson::MemoryPoolAllocator, rapidjson::CrtAllocator>' required here Document document; // Default template parameter uses UTF8 and MemoryPoolAllocator. ^ In file included from example/tutorial/tutorial.cpp:5: In file included from include/rapidjson/prettywriter.h:18: In file included from include/rapidjson/writer.h:23: include/rapidjson/stringbuffer.h:45:48: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant] GenericStringBuffer(Allocator* allocator = 0, size_t capacity = kDefaultCapacity) : stack_(allocator, capacity) {} ^ nullptr example/tutorial/tutorial.cpp:145:18: note: in instantiation of default function argument expression for 'GenericStringBuffer, rapidjson::CrtAllocator>' required here StringBuffer sb; ^ In file included from example/tutorial/tutorial.cpp:5: include/rapidjson/prettywriter.h:53:73: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant] explicit PrettyWriter(OutputStream& os, StackAllocator* allocator = 0, size_t levelDepth = Base::kDefaultLevelDepth) : ^ nullptr example/tutorial/tutorial.cpp:146:32: note: in instantiation of default function argument expression for 'PrettyWriter, rapidjson::CrtAllocator>, rapidjson::UTF8, rapidjson::UTF8, rapidjson::CrtAllocator, 0>' required here PrettyWriter writer(sb); ^ In file included from example/tutorial/tutorial.cpp:4: In file included from include/rapidjson/document.h:20: In file included from include/rapidjson/reader.h:24: include/rapidjson/internal/stack.h:184:23: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant] if (stack_ == 0) { ^ nullptr include/rapidjson/internal/stack.h:118:13: note: in instantiation of function template specialization 'rapidjson::internal::Stack::Expand' requested here Expand(count); ^ include/rapidjson/internal/stack.h:123:9: note: in instantiation of function template specialization 'rapidjson::internal::Stack::Reserve' requested here Reserve(count); ^ include/rapidjson/stringbuffer.h:108:31: note: in instantiation of function template specialization 'rapidjson::internal::Stack::Push' requested here std::memset(stream.stack_.Push(n), c, n * sizeof(c)); ^ In file included from example/tutorial/tutorial.cpp:4: include/rapidjson/document.h:2051:46: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant] allocator_(allocator), ownAllocator_(0), stack_(stackAllocator, stackCapacity), parseResult_() ^ nullptr example/tutorial/tutorial.cpp:18:14: note: in instantiation of member function 'rapidjson::GenericDocument, rapidjson::MemoryPoolAllocator, rapidjson::CrtAllocator>::GenericDocument' requested here Document document; // Default template parameter uses UTF8 and MemoryPoolAllocator. ^ In file included from example/tutorial/tutorial.cpp:4: In file included from include/rapidjson/document.h:20: In file included from include/rapidjson/reader.h:20: include/rapidjson/internal/../allocators.h:110:98: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant] MemoryPoolAllocator(size_t chunkSize = kDefaultChunkCapacity, BaseAllocator* baseAllocator = 0) : ^ nullptr include/rapidjson/document.h:2054:56: note: in instantiation of default function argument expression for 'MemoryPoolAllocator' required here ownAllocator_ = allocator_ = RAPIDJSON_NEW(Allocator()); ^ example/tutorial/tutorial.cpp:18:14: note: in instantiation of member function 'rapidjson::GenericDocument, rapidjson::MemoryPoolAllocator, rapidjson::CrtAllocator>::GenericDocument' requested here Document document; // Default template parameter uses UTF8 and MemoryPoolAllocator. ^ In file included from example/tutorial/tutorial.cpp:4: In file included from include/rapidjson/document.h:20: In file included from include/rapidjson/reader.h:24: include/rapidjson/internal/stack.h:40:94: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant] Stack(Allocator* allocator, size_t stackCapacity) : allocator_(allocator), ownAllocator_(0), stack_(0), stackTop_(0), stackEnd_(0), initialCapacity_(stackCapacity) { ^ nullptr include/rapidjson/document.h:2051:50: note: in instantiation of member function 'rapidjson::internal::Stack::Stack' requested here allocator_(allocator), ownAllocator_(0), stack_(stackAllocator, stackCapacity), parseResult_() ^ example/tutorial/tutorial.cpp:18:14: note: in instantiation of member function 'rapidjson::GenericDocument, rapidjson::MemoryPoolAllocator, rapidjson::CrtAllocator>::GenericDocument' requested here Document document; // Default template parameter uses UTF8 and MemoryPoolAllocator. ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. ninja: build stopped: subcommand failed. *** Error code 1 Stop. make: stopped in /usr/ports/devel/rapidjson