From owner-freebsd-pkg-fallout@freebsd.org Sat Dec 16 04:51:42 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 6A287E9D30F for ; Sat, 16 Dec 2017 04:51:42 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 55F1E773ED for ; Sat, 16 Dec 2017 04:51:42 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 550D7E9D30D; Sat, 16 Dec 2017 04:51:42 +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 54A22E9D30B for ; Sat, 16 Dec 2017 04:51:42 +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 0A914773EB; Sat, 16 Dec 2017 04:51:41 +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 vBG4pfMv003666; Sat, 16 Dec 2017 04:51:41 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy12.nyi.freebsd.org (8.15.2/8.15.2/Submit) id vBG4peZk003281; Sat, 16 Dec 2017 04:51:40 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Sat, 16 Dec 2017 04:51:40 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201712160451.vBG4peZk003281@beefy12.nyi.freebsd.org> To: yuri@rawbw.com Subject: [package - head-amd64-default][devel/rapidjson] Failed for rapidjson-1.1.0_2 in build Cc: pkg-fallout@FreeBSD.org X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Dec 2017 04:51:42 -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: amdmi3@FreeBSD.org Ident: $FreeBSD: head/devel/rapidjson/Makefile 456172 2017-12-12 15:55:08Z amdmi3 $ Log URL: http://beefy12.nyi.freebsd.org/data/head-amd64-default/p456453_s326888/logs/rapidjson-1.1.0_2.log Build URL: http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p456453_s326888 Log: =>> Building devel/rapidjson build started at Sat Dec 16 04:49:48 UTC 2017 port directory: /usr/ports/devel/rapidjson package name: rapidjson-1.1.0_2 building for: FreeBSD head-amd64-default-job-07 12.0-CURRENT FreeBSD 12.0-CURRENT 1200054 amd64 maintained by: yuri@rawbw.com Makefile ident: $FreeBSD: head/devel/rapidjson/Makefile 456172 2017-12-12 15:55:08Z amdmi3 $ Poudriere version: 3.2.3-16-g77e43413 Host OSVERSION: 1200052 Jail OSVERSION: 1200054 Job Id: 07 !!! Jail is newer than host. (Jail: 1200054, Host: 1200052) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh OSVERSION=1200054 UNAME_v=FreeBSD 12.0-CURRENT 1200054 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 OLDPWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS 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 P_PYTHON_MAJOR_VER=2 POUDRIERE_VERSION=3.2.3-16-g77e43413 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= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for rapidjson-1.1.0_2: DOXYGEN=on: Build documentation with Doxygen EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- yuri@rawbw.com --End MAINTAINER-- --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" PATH=/wrkdirs/usr/ports/devel/rapidjson/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin 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" PATH=/wrkdirs/usr/ports/devel/rapidjson/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin 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 PACKAGE_BUILDING_FLAVORS=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=1200054 PYTHONBASE=/usr/local UID=0 _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_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.3_1.txz [head-amd64-default-job-07] Installing pkg-1.10.3_1... [head-amd64-default-job-07] Extracting pkg-1.10.3_1: .......... done ===> rapidjson-1.1.0_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of rapidjson-1.1.0_2 =========================================================================== =================================================== =========================================================================== =================================================== ===> License unknown accepted by the user ===> Fetching all distfiles required by rapidjson-1.1.0_2 for building =========================================================================== =================================================== ===> License unknown accepted by the user ===> Fetching all distfiles required by rapidjson-1.1.0_2 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_2 for building ===> Extracting for rapidjson-1.1.0_2 => SHA256 Checksum OK for miloyip-rapidjson-v1.1.0_GH0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for rapidjson-1.1.0_2 =========================================================================== =================================================== ===> rapidjson-1.1.0_2 depends on executable: doxygen - not found ===> Installing existing package /packages/All/doxygen-1.8.13_1,2.txz [head-amd64-default-job-07] Installing doxygen-1.8.13_1,2... [head-amd64-default-job-07] `-- Installing graphviz-2.40.1_2... [head-amd64-default-job-07] | `-- Installing cairo-1.14.8_1,2... [head-amd64-default-job-07] | | `-- Installing dri2proto-2.8... [head-amd64-default-job-07] | | `-- Extracting dri2proto-2.8: .... done [head-amd64-default-job-07] | | `-- Installing fontconfig-2.12.1,1... [head-amd64-default-job-07] | | `-- Installing expat-2.2.1... [head-amd64-default-job-07] | | `-- Extracting expat-2.2.1: .......... done [head-amd64-default-job-07] | | `-- Installing freetype2-2.8_1... [head-amd64-default-job-07] | | `-- Extracting freetype2-2.8_1: .......... done [head-amd64-default-job-07] | | `-- Extracting fontconfig-2.12.1,1: .......... done Running fc-cache to build fontconfig cache... /usr/local/share/fonts: skipping, no such directory /usr/local/lib/X11/fonts: skipping, no such directory /var/db/fontconfig: cleaning cache directory fc-cache: succeeded [head-amd64-default-job-07] | | `-- Installing gettext-runtime-0.19.8.1_1... [head-amd64-default-job-07] | | `-- Installing indexinfo-0.3.1... [head-amd64-default-job-07] | | `-- Extracting indexinfo-0.3.1: .... done [head-amd64-default-job-07] | | `-- Extracting gettext-runtime-0.19.8.1_1: .......... done [head-amd64-default-job-07] | | `-- Installing glib-2.50.2_7,1... [head-amd64-default-job-07] | | `-- Installing libffi-3.2.1_1... [head-amd64-default-job-07] | | `-- Extracting libffi-3.2.1_1: .......... done [head-amd64-default-job-07] | | `-- Installing libiconv-1.14_11... [head-amd64-default-job-07] | | `-- Extracting libiconv-1.14_11: .......... done 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:56: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