Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Dec 2017 07:56:18 GMT
From:      pkg-fallout@FreeBSD.org
To:        yuri@rawbw.com
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-i386-default][devel/rapidjson] Failed for rapidjson-1.1.0_2 in build
Message-ID:  <201712260756.vBQ7uIv3042463@beefy11.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help
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://beefy11.nyi.freebsd.org/data/head-i386-default/p457267_s327185/logs/rapidjson-1.1.0_2.log
Build URL:      http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p457267_s327185
Log:

=>> Building devel/rapidjson
build started at Tue Dec 26 07:54:21 UTC 2017
port directory: /usr/ports/devel/rapidjson
package name: rapidjson-1.1.0_2
building for: FreeBSD head-i386-default-job-08 12.0-CURRENT FreeBSD 12.0-CURRENT 1200054 i386
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-18-gb2420da1
Host OSVERSION: 1200052
Jail OSVERSION: 1200054
Job Id: 08




!!! 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
UNAME_p=i386
UNAME_m=i386
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-i386-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-i386-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
P_PYTHON_MAJOR_VER=2
POUDRIERE_VERSION=3.2.3-18-gb2420da1
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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /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=i386
CONFIGURE_MAX_CMD_LEN=262144
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)  524288
stack size              (kbytes, -s)  65536
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--
=======================<phase: check-sanity   >============================
===>  License unknown accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   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-i386-default-job-08] Installing pkg-1.10.3_1...
[head-i386-default-job-08] 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
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License unknown accepted by the user
===> Fetching all distfiles required by rapidjson-1.1.0_2 for building
===========================================================================
=======================<phase: checksum       >============================
===>  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.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  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.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for rapidjson-1.1.0_2
===========================================================================
=======================<phase: build-depends  >============================
===>   rapidjson-1.1.0_2 depends on executable: doxygen - not found
===>   Installing existing package /packages/All/doxygen-1.8.13_1,2.txz
[head-i386-default-job-08] Installing doxygen-1.8.13_1,2...
[head-i386-default-job-08] `-- Installing graphviz-2.40.1_2...
[head-i386-default-job-08] |   `-- Installing cairo-1.14.8_1,2...
[head-i386-default-job-08] |   | `-- Installing dri2proto-2.8...
[head-i386-default-job-08] |   | `-- Extracting dri2proto-2.8: .... done
[head-i386-default-job-08] |   | `-- Installing fontconfig-2.12.1,1...
[head-i386-default-job-08] |   |   `-- Installing expat-2.2.5...
[head-i386-default-job-08] |   |   `-- Extracting expat-2.2.5: .......... done
[head-i386-default-job-08] |   |   `-- Installing freetype2-2.8_1...
[head-i386-default-job-08] |   |   `-- Extracting freetype2-2.8_1: .......... done
[head-i386-default-job-08] |   | `-- 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-i386-default-job-08] |   | `-- Installing gettext-runtime-0.19.8.1_1...
[head-i386-default-job-08] |   |   `-- Installing indexinfo-0.3.1...
[head-i386-default-job-08] |   |   `-- Extracting indexinfo-0.3.1: .... done
[head-i386-default-job-08] |   | `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[head-i386-default-job-08] |   | `-- Installing glib-2.50.2_7,1...
<snip>
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/encodings.h:146: warning: Member Decode(InputStream &is, unsigned *codepoint) (function) of class rapidjson::UTF8 is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/encodings.h:179: warning: Member Validate(InputStream &is, OutputStream &os) (function) of class rapidjson::UTF8 is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/encodings.h:204: warning: Member GetRange(unsigned char c) (function) of class rapidjson::UTF8 is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/encodings.h:223: warning: Member TakeBOM(InputByteStream &is) (function) of class rapidjson::UTF8 is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/encodings.h:236: warning: Member Take(InputByteStream &is) (function) of class rapidjson::UTF8 is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/encodings.h:242: warning: Member PutBOM(OutputByteStream &os) (function) of class rapidjson::UTF8 is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/encodings.h:250: warning: Member Put(OutputByteStream &os, Ch c) (function) of class rapidjson::UTF8 is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:89: warning: Member Ch (typedef) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:103: warning: Member Writer(StackAllocator *allocator=0, size_t levelDepth=kDefaultLevelDepth) (function) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:138: warning: Member GetMaxDecimalPlaces() const (function) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:91: warning: Member kDefaultMaxDecimalPlaces (variable) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:264: warning: Member WriteNull() (function) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:269: warning: Member WriteBool(bool b) (function) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:281: warning: Member WriteInt(int i) (function) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:290: warning: Member WriteUint(unsigned u) (function) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:299: warning: Member WriteInt64(int64_t i64) (function) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:308: warning: Member WriteUint64(uint64_t u64) (function) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:317: warning: Member WriteDouble(double d) (function) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:345: warning: Member WriteString(const Ch *str, SizeType length) (function) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:419: warning: Member ScanWriteUnescapedString(GenericStringStream< SourceEncoding > &is, size_t length) (function) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:423: warning: Member WriteStartObject() (function) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:424: warning: Member WriteEndObject() (function) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:425: warning: Member WriteStartArray() (function) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:426: warning: Member WriteEndArray() (function) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:428: warning: Member WriteRawValue(const Ch *json, size_t length) (function) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:437: warning: Member Prefix(Type type) (function) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:458: warning: Member EndValue(bool ret) (function) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:478: warning: Member WriteInt(int i) (function) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:486: warning: Member WriteUint(unsigned u) (function) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:494: warning: Member WriteInt64(int64_t i64) (function) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:502: warning: Member WriteUint64(uint64_t u) (function) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:510: warning: Member WriteDouble(double d) (function) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:464: warning: Member os_ (variable) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:465: warning: Member level_stack_ (variable) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:466: warning: Member maxDecimalPlaces_ (variable) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:467: warning: Member hasRoot_ (variable) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:262: warning: Member kDefaultLevelDepth (variable) of class rapidjson::Writer is not documented.
/wrkdirs/usr/ports/devel/rapidjson/work/rapidjson-1.1.0/include/rapidjson/writer.h:257: warning: Member Level(bool inArray_) (function) of class rapidjson::Writer::Level is not documented.
e...
Generating docs for nested compound rapidjson::GenericValue::Number::I...
Generating docs for nested compound rapidjson::GenericValue::Number::U...
Generating docs for compound rapidjson::Handler...
Generating docs for compound rapidjson::IGenericRemoteSchemaDocumentProvider...
Generating docs for compound rapidjson::MemoryPoolAllocator...
Generating docs for compound rapidjson::MemoryStream...
Generating docs for compound rapidjson::PrettyWriter...
Generating docs for compound rapidjson::SchemaValidatingReader...
Generating docs for compound rapidjson::Stream...
Generating docs for compound rapidjson::StreamTraits...
Generating docs for compound rapidjson::StreamTraits< GenericInsituStringStream< Encoding > >...
Generating docs for compound rapidjson::StreamTraits< GenericStringStream< Encoding > >...
Generating docs for compound rapidjson::Transcoder...
Generating docs for compound rapidjson::Transcoder< Encoding, Encoding >...
Generating docs for compound rapidjson::UTF16...
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/simplewriter.dir/simplewriter/simplewriter.cpp.o -MF example/CMakeFiles/simplewriter.dir/simplewriter/simplewriter.cpp.o.d -o example/CMakeFiles/simplewriter.dir/simplewriter/simplewriter.cpp.o -c example/simplewriter/simplewriter.cpp
FAILED: example/CMakeFiles/simplewriter.dir/simplewriter/simplewriter.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/simplewriter.dir/simplewriter/simplewriter.cpp.o -MF example/CMakeFiles/simplewriter.dir/simplewriter/simplewriter.cpp.o.d -o example/CMakeFiles/simplewriter.dir/simplewriter/simplewriter.cpp.o -c example/simplewriter/simplewriter.cpp
In file included from example/simplewriter/simplewriter.cpp:1:
In file included from include/rapidjson/writer.h:19:
In file included from include/rapidjson/internal/stack.h:18:
include/rapidjson/internal/../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/internal/../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/simplewriter/simplewriter.cpp:1:
In file included from include/rapidjson/writer.h:19:
In file included from include/rapidjson/internal/stack.h:18:
include/rapidjson/internal/../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/simplewriter/simplewriter.cpp:1:
In file included from include/rapidjson/writer.h:19:
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/simplewriter/simplewriter.cpp:1:
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/simplewriter/simplewriter.cpp:9:18: note: in instantiation of default function argument expression for 'GenericStringBuffer<rapidjson::UTF8<char>, rapidjson::CrtAllocator>' required here
    StringBuffer s;
                 ^
In file included from example/simplewriter/simplewriter.cpp:1:
include/rapidjson/writer.h:99:63: error: zero as null pointer constant [-Werror,-Wzero-as-null-pointer-constant]
    Writer(OutputStream& os, StackAllocator* stackAllocator = 0, size_t levelDepth = kDefaultLevelDepth) : 
                                                              ^
                                                              nullptr
example/simplewriter/simplewriter.cpp:10:26: note: in instantiation of default function argument expression for 'Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>, rapidjson::CrtAllocator>, rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator, 0>' required here
    Writer<StringBuffer> writer(s);
                         ^
In file included from example/simplewriter/simplewriter.cpp:1:
In file included from include/rapidjson/writer.h:19:
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<rapidjson::CrtAllocator>::Expand<char>' requested here
            Expand<T>(count);
            ^
include/rapidjson/internal/stack.h:123:9: note: in instantiation of function template specialization 'rapidjson::internal::Stack<rapidjson::CrtAllocator>::Reserve<char>' requested here
        Reserve<T>(count);
        ^
include/rapidjson/stringbuffer.h:108:31: note: in instantiation of function template specialization 'rapidjson::internal::Stack<rapidjson::CrtAllocator>::Push<char>' requested here
    std::memset(stream.stack_.Push<char>(n), c, n * sizeof(c));
                              ^
In file included from example/simplewriter/simplewriter.cpp:1:
In file included from include/rapidjson/writer.h:19:
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/stringbuffer.h:45:89: note: in instantiation of member function 'rapidjson::internal::Stack<rapidjson::CrtAllocator>::Stack' requested here
    GenericStringBuffer(Allocator* allocator = 0, size_t capacity = kDefaultCapacity) : stack_(allocator, capacity) {}
                                                                                        ^
example/simplewriter/simplewriter.cpp:9:18: note: in instantiation of member function 'rapidjson::GenericStringBuffer<rapidjson::UTF8<char>, rapidjson::CrtAllocator>::GenericStringBuffer' requested here
    StringBuffer s;
                 ^
In file included from example/simplewriter/simplewriter.cpp:1:
In file included from include/rapidjson/writer.h:19:
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
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<rapidjson::CrtAllocator>::Expand<rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>, rapidjson::CrtAllocator>, rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator, 0>::Level>' requested here
            Expand<T>(count);
            ^
include/rapidjson/internal/stack.h:123:9: note: in instantiation of function template specialization 'rapidjson::internal::Stack<rapidjson::CrtAllocator>::Reserve<rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>, rapidjson::CrtAllocator>, rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator, 0>::Level>' requested here
        Reserve<T>(count);
        ^
include/rapidjson/writer.h:206:36: note: in instantiation of function template specialization 'rapidjson::internal::Stack<rapidjson::CrtAllocator>::Push<rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>, rapidjson::CrtAllocator>, rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator, 0>::Level>' requested here
        new (level_stack_.template Push<Level>()) Level(false);
                                   ^
example/simplewriter/simplewriter.cpp:12:12: note: in instantiation of member function 'rapidjson::Writer<rapidjson::GenericStringBuffer<rapidjson::UTF8<char>, rapidjson::CrtAllocator>, rapidjson::UTF8<char>, rapidjson::UTF8<char>, rapidjson::CrtAllocator, 0>::StartObject' requested here
    writer.StartObject();               // Between StartObject()/EndObject(), 
           ^
14 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712260756.vBQ7uIv3042463>