[package - main-amd64-default][devel/cppcheck] Failed for cppcheck-2.10.3 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Sep 2023 03:14:32 UTC
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: amdmi3@FreeBSD.org
Log URL: https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p30045eaacebe_s3fb80f1476/logs/cppcheck-2.10.3.log
Build URL: https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p30045eaacebe_s3fb80f1476
Log:
=>> Building devel/cppcheck
build started at Wed Sep 27 03:13:52 UTC 2023
port directory: /usr/ports/devel/cppcheck
package name: cppcheck-2.10.3
building for: FreeBSD main-amd64-default-job-12 15.0-CURRENT FreeBSD 15.0-CURRENT 1500001 amd64
maintained by: amdmi3@FreeBSD.org
Makefile ident:
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1500000
Jail OSVERSION: 1500001
Job Id: 12
!!! Jail is newer than host. (Jail: 1500001, Host: 1500000) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500001
UNAME_v=FreeBSD 15.0-CURRENT 1500001
UNAME_r=15.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
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 cppcheck-2.10.3:
CHARTS=off: Enable QtCharts usage in the GUI
GUI=on: Build the Qt GUI application
HTMLREPORT=on: Install cppcheck-htmlreport
MANPAGES=on: Build and/or install manual pages
MATCHCOMPILER=on: Build-time optimizations via Python
RULES=on: User-defined rule support (requires PCRE)
TEST=off: Build and/or run tests
===> Use 'make config' to modify these settings
---End OPTIONS List---
--MAINTAINER--
amdmi3@FreeBSD.org
--End MAINTAINER--
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
QT_SELECT=qt5 QMAKEMODULES="/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/mkspecs/modules:/usr/local/lib/qt5/mkspecs/modules" PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/cppcheck/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/cppcheck/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/cppcheck/work/.cache HOME=/wrkdirs/usr/ports/devel/cppcheck/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/cppcheck/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/cppcheck/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--
--MAKE_ENV--
NINJA_STATUS="[%p %s/%t] " QT_SELECT=qt5 QMAKEMODULES="/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/mkspecs/modules:/usr/local/lib/qt5/mkspecs/modules" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/cppcheck/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/cppcheck/work XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/cppcheck/work/.cache HOME=/wrkdirs/usr/ports/devel/cppcheck/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/cppcheck/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/cppcheck/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/devel/cppcheck/work/stage PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" -fstack
-protector-strong -L/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include " 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--
CHARTS="@comment " NO_CHARTS="" GUI="" NO_GUI="@comment " HTMLREPORT="" NO_HTMLREPORT="@comment " MANPAGES="" NO_MANPAGES="@comment " MATCHCOMPILER="" NO_MATCHCOMPILER="@comment " RULES="" NO_RULES="@comment " TEST="@comment " NO_TEST="" CMAKE_BUILD_TYPE="release" QT_BINDIR="lib/qt5/bin" QT_INCDIR="include/qt5" QT_LIBDIR="lib/qt5" QT_ARCHDIR="lib/qt5" QT_PLUGINDIR="lib/qt5/plugins" QT_LIBEXECDIR="libexec/qt5" QT_IMPORTDIR="lib/qt5/imports" QT_QMLDIR="lib/qt5/qml" QT_DATADIR="share/qt5" QT_DOCDIR="share/doc/qt5" QT_L10NDIR="share/qt5/translations" QT_EXAMPLEDIR="share/examples/qt5" QT_TESTDIR="share/qt5/tests" QT_MKSPECDIR="lib/qt5/mkspecs" QT_TOOLDIR="lib/qt5/bin" PYTHON_INCLUDEDIR=include/python3.9 PYTHON_LIBDIR=lib/python3.9 PYTHON_PLATFORM=freebsd15 PYTHON_SITELIBDIR=lib/python3.9/site-packages PYTHON_SUFFIX=39 PYTHON_EXT_SUFFIX=.cpython-39 PYTHON_VER=3.9 PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=
/usr/local LIB32DIR=lib DOCSDIR="share/doc/cppcheck" EXAMPLESDIR="share/examples/cppcheck" DATADIR="share/cppcheck" WWWDIR="www/cppcheck" ETCDIR="etc/cppcheck"
--End PLIST_SUB--
--SUB_LIST--
CHARTS="@comment " NO_CHARTS="" GUI="" NO_GUI="@comment " HTMLREPORT="" NO_HTMLREPORT="@comment " MANPAGES="" NO_MANPAGES="@comment " MATCHCOMPILER="" NO_MATCHCOMPILER="@comment " RULES="" NO_RULES="@comment " TEST="@comment " NO_TEST="" PYTHON_INCLUDEDIR=/usr/local/include/python3.9 PYTHON_LIBDIR=/usr/local/lib/python3.9 PYTHON_PLATFORM=freebsd15 PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages PYTHON_SUFFIX=39 PYTHON_EXT_SUFFIX=.cpython-39 PYTHON_VER=3.9 PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/cppcheck DOCSDIR=/usr/local/share/doc/cppcheck EXAMPLESDIR=/usr/local/share/examples/cppcheck WWWDIR=/usr/local/www/cppcheck ETCDIR=/usr/local/etc/cppcheck
--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=3
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=15.0-CURRENT
OSREL=15.0
OSVERSION=1500001
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---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--
=======================<phase: check-sanity >============================
===> License GPLv3+ accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===> cppcheck-2.10.3 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.20.7.pkg
[main-amd64-default-job-12] Installing pkg-1.20.7...
[main-amd64-default-job-12] Extracting pkg-1.20.7: .......... done
===> cppcheck-2.10.3 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of cppcheck-2.10.3
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> License GPLv3+ accepted by the user
===> Fetching all distfiles required by cppcheck-2.10.3 for building
===========================================================================
=======================<phase: checksum >============================
===> License GPLv3+ accepted by the user
===> Fetching all distfiles required by cppcheck-2.10.3 for building
=> SHA256 Checksum OK for danmar-cppcheck-2.10.3_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> License GPLv3+ accepted by the user
===> Fetching all distfiles required by cppcheck-2.10.3 for building
===> Extracting for cppcheck-2.10.3
=> SHA256 Checksum OK for danmar-cppcheck-2.10.3_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
<snip>
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:317:34: note: used in buffer access here
else if (std::strcmp(argv[i], "--doc") == 0) {
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:334:34: note: used in buffer access here
else if (std::strcmp(argv[i], "--dump") == 0)
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:337:35: note: used in buffer access here
else if (std::strncmp(argv[i], "--enable=", 9) == 0) {
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:338:48: note: used in buffer access here
const std::string enable_arg = argv[i] + 9;
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:353:34: note: used in buffer access here
else if (std::strcmp(argv[i], "--errorlist") == 0) {
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:360:35: note: used in buffer access here
else if (std::strncmp(argv[i], "--error-exitcode=", 17) == 0) {
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:361:42: note: used in buffer access here
const std::string temp = argv[i]+17;
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:370:34: note: used in buffer access here
else if (std::strcmp(argv[i], "--exception-handling") == 0) {
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:375:35: note: used in buffer access here
else if (std::strncmp(argv[i], "--exception-handling=", 21) == 0) {
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:376:58: note: used in buffer access here
const std::string exceptionOutfilename = argv[i] + 21;
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:386:35: note: used in buffer access here
else if (std::strncmp(argv[i], "--exitcode-suppressions=", 24) == 0) {
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:388:45: note: used in buffer access here
std::string filename = 24 + argv[i];
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:403:35: note: used in buffer access here
else if (std::strncmp(argv[i], "--file-filter=", 14) == 0)
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:404:53: note: used in buffer access here
mSettings->fileFilters.emplace_back(argv[i] + 14);
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:407:35: note: used in buffer access here
else if (std::strncmp(argv[i], "--file-list=", 12) == 0) {
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:409:46: note: used in buffer access here
const std::string fileList = argv[i] + 12;
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:417:34: note: used in buffer access here
else if (std::strcmp(argv[i], "-f") == 0 || std::strcmp(argv[i], "--force") == 0)
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:417:69: note: used in buffer access here
else if (std::strcmp(argv[i], "-f") == 0 || std::strcmp(argv[i], "--force") == 0)
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:421:34: note: used in buffer access here
else if (std::strcmp(argv[i], "-h") == 0 || std::strcmp(argv[i], "--help") == 0) {
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:421:69: note: used in buffer access here
else if (std::strcmp(argv[i], "-h") == 0 || std::strcmp(argv[i], "--help") == 0) {
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:429:35: note: used in buffer access here
else if (std::strncmp(argv[i], "-i", 2) == 0) {
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:433:33: note: used in buffer access here
if (std::strcmp(argv[i], "-i") == 0) {
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:435:38: note: used in buffer access here
if (i >= argc || argv[i][0] == '-') {
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:439:28: note: used in buffer access here
path = argv[i];
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:444:32: note: used in buffer access here
path = 2 + argv[i];
^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/cli/cmdlineparser.cpp:461:35: note: used in buffer access here
else if (std::strncmp(argv[i], "--include=", 10) == 0) {
^~~~
55 warnings generated.
[ 29% 68/226] /usr/bin/c++ -DFILESDIR=\"/usr/local/share/cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/wrkdirs/usr/ports/devel/cppcheck/work/.build/lib -I/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib -I/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/externals -I/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/externals/picojson -I/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/externals/simplecpp -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecat
ed-copy-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -Winvalid-pch -Xclang -include-pch -Xclang /wrkdirs/usr/ports/devel/cppcheck/work/.build/lib/CMakeFiles/cppcheck-core.dir/cmake_pch.hxx.pch -Xclang
-include -Xclang /wrkdirs/usr/ports/devel/cppcheck/work/.build/lib/CMakeFiles/cppcheck-core.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/cppcheck-core.dir/build/mc_astutils.cpp.o -MF lib/CMakeFiles/cppcheck-core.dir/build/mc_astutils.cpp.o.d -o lib/CMakeFiles/cppcheck-core.dir/build/mc_astutils.cpp.o -c /wrkdirs/usr/ports/devel/cppcheck/work/.build/lib/build/mc_astutils.cpp
FAILED: lib/CMakeFiles/cppcheck-core.dir/build/mc_astutils.cpp.o
/usr/bin/c++ -DFILESDIR=\"/usr/local/share/cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/wrkdirs/usr/ports/devel/cppcheck/work/.build/lib -I/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib -I/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/externals -I/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/externals/picojson -I/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/externals/simplecpp -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -
Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -Winvalid-pch -Xclang -include-pch -Xclang /wrkdirs/usr/ports/devel/cppcheck/work/.build/lib/CMakeFiles/cppcheck-core.dir/cmake_pch.hxx.pch -Xclang -include -Xcla
ng /wrkdirs/usr/ports/devel/cppcheck/work/.build/lib/CMakeFiles/cppcheck-core.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/cppcheck-core.dir/build/mc_astutils.cpp.o -MF lib/CMakeFiles/cppcheck-core.dir/build/mc_astutils.cpp.o.d -o lib/CMakeFiles/cppcheck-core.dir/build/mc_astutils.cpp.o -c /wrkdirs/usr/ports/devel/cppcheck/work/.build/lib/build/mc_astutils.cpp
In file included from <built-in>:413:
In file included from /wrkdirs/usr/ports/devel/cppcheck/work/.build/lib/CMakeFiles/cppcheck-core.dir/cmake_pch.hxx:5:
In file included from /wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/precompiled.h:20:
In file included from /wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/config.h:84:
In file included from /usr/include/c++/v1/string:576:
In file included from /usr/include/c++/v1/string_view:1027:
In file included from /usr/include/c++/v1/functional:515:
In file included from /usr/include/c++/v1/__functional/boyer_moore_searcher.h:26:
/usr/include/c++/v1/vector:372:5: error: static assertion failed due to requirement 'is_same<TaggedAllocator<ReferenceToken, 3>, std::allocator<ReferenceToken>>::value': [allocator.requirements] states that rebinding an allocator to the same type should result in the original allocator
static_assert(is_same<allocator_type, __rebind_alloc<__alloc_traits, value_type> >::value,
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/smallvector.h:47:28: note: in instantiation of template class 'std::vector<ReferenceToken, TaggedAllocator<ReferenceToken, 3>>' requested here
class SmallVector : public std::vector<T, TaggedAllocator<T, N>>
^
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/astutils.cpp:1154:29: note: in instantiation of template class 'SmallVector<ReferenceToken>' requested here
SmallVector<ReferenceToken> followAllReferences(const Token* tok,
^
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/astutils.cpp:1169:21: error: no member named 'push_back' in 'SmallVector<ReferenceToken>'
refs_result.push_back({tok, std::move(errors)});
~~~~~~~~~~~ ^
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/astutils.cpp:1175:25: error: no member named 'push_back' in 'SmallVector<ReferenceToken>'
refs_result.push_back({tok, std::move(errors)});
~~~~~~~~~~~ ^
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/astutils.cpp:1180:29: error: no member named 'push_back' in 'SmallVector<ReferenceToken>'
refs_result.push_back({tok, std::move(errors)});
~~~~~~~~~~~ ^
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/astutils.cpp:1185:29: error: no member named 'push_back' in 'SmallVector<ReferenceToken>'
refs_result.push_back({tok, std::move(errors)});
~~~~~~~~~~~ ^
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/astutils.cpp:1194:33: error: no member named 'push_back' in 'SmallVector<ReferenceToken>'
refs_result.push_back({tok, std::move(errors)});
~~~~~~~~~~~ ^
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/astutils.cpp:1200:29: error: no member named 'push_back' in 'SmallVector<ReferenceToken>'
refs_result.push_back({tok, std::move(errors)});
~~~~~~~~~~~ ^
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/astutils.cpp:1214:25: error: no member named 'push_back' in 'SmallVector<ReferenceToken>'
refs_result.push_back({tok, std::move(errors)});
~~~~~~~~~~~ ^
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/astutils.cpp:1219:25: error: no member named 'insert' in 'SmallVector<ReferenceToken>'
refs_result.insert(refs_result.end(), result.cbegin(), result.cend());
~~~~~~~~~~~ ^
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/astutils.cpp:1219:44: error: no member named 'end' in 'SmallVector<ReferenceToken>'
refs_result.insert(refs_result.end(), result.cbegin(), result.cend());
~~~~~~~~~~~ ^
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/astutils.cpp:1227:29: error: no member named 'push_back' in 'SmallVector<ReferenceToken>'
refs_result.push_back({tok, std::move(errors)});
~~~~~~~~~~~ ^
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/astutils.cpp:1239:37: error: no member named 'push_back' in 'SmallVector<ReferenceToken>'
refs_result.push_back({tok, std::move(errors)});
~~~~~~~~~~~ ^
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/astutils.cpp:1245:41: error: no member named 'push_back' in 'SmallVector<ReferenceToken>'
refs_result.push_back({tok, std::move(errors)});
~~~~~~~~~~~ ^
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/astutils.cpp:1250:41: error: no member named 'push_back' in 'SmallVector<ReferenceToken>'
refs_result.push_back({tok, std::move(errors)});
~~~~~~~~~~~ ^
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/astutils.cpp:1261:41: error: no member named 'push_back' in 'SmallVector<ReferenceToken>'
refs_result.push_back({tok, std::move(errors)});
~~~~~~~~~~~ ^
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/astutils.cpp:1268:29: error: no member named 'insert' in 'SmallVector<ReferenceToken>'
refs_result.insert(refs_result.end(), result.cbegin(), result.cend());
~~~~~~~~~~~ ^
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/astutils.cpp:1268:48: error: no member named 'end' in 'SmallVector<ReferenceToken>'
refs_result.insert(refs_result.end(), result.cbegin(), result.cend());
~~~~~~~~~~~ ^
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/astutils.cpp:1273:17: error: no member named 'push_back' in 'SmallVector<ReferenceToken>'
refs_result.push_back({tok, std::move(errors)});
~~~~~~~~~~~ ^
In file included from <built-in>:413:
In file included from /wrkdirs/usr/ports/devel/cppcheck/work/.build/lib/CMakeFiles/cppcheck-core.dir/cmake_pch.hxx:5:
In file included from /wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/precompiled.h:20:
In file included from /wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/config.h:84:
In file included from /usr/include/c++/v1/string:576:
In file included from /usr/include/c++/v1/string_view:1027:
In file included from /usr/include/c++/v1/functional:515:
In file included from /usr/include/c++/v1/__functional/boyer_moore_searcher.h:26:
/usr/include/c++/v1/vector:372:5: error: static assertion failed due to requirement 'is_same<TaggedAllocator<const Token *, 9>, std::allocator<const Token *>>::value': [allocator.requirements] states that rebinding an allocator to the same type should result in the original allocator
static_assert(is_same<allocator_type, __rebind_alloc<__alloc_traits, value_type> >::value,
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/smallvector.h:47:28: note: in instantiation of template class 'std::vector<const Token *, TaggedAllocator<const Token *, 9>>' requested here
class SmallVector : public std::vector<T, TaggedAllocator<T, N>>
^
/usr/include/c++/v1/stack:139:22: note: in instantiation of template class 'SmallVector<const Token *, 9>' requested here
typedef typename container_type::value_type value_type;
^
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/astutils.h:59:46: note: in instantiation of template class 'std::stack<const Token *, SmallVector<const Token *, 9>>' requested here
std::stack<T *, SmallVector<T *, 8 + 1>> tokens;
^
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/astutils.cpp:887:5: note: in instantiation of function template specialization 'visitAstNodes<const Token, (lambda at /wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/astutils.cpp:887:29), void>' requested here
visitAstNodes(condExpr, [varid, &condExpr](const Token *tok) {
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[ 29% 68/226] /usr/bin/c++ -DFILESDIR=\"/usr/local/share/cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/wrkdirs/usr/ports/devel/cppcheck/work/.build/lib -I/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib -I/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/externals -I/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/externals/picojson -I/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/externals/simplecpp -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecat
ed-copy-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -Winvalid-pch -Xclang -include-pch -Xclang /wrkdirs/usr/ports/devel/cppcheck/work/.build/lib/CMakeFiles/cppcheck-core.dir/cmake_pch.hxx.pch -Xclang
-include -Xclang /wrkdirs/usr/ports/devel/cppcheck/work/.build/lib/CMakeFiles/cppcheck-core.dir/cmake_pch.hxx -MD -MT lib/CMakeFiles/cppcheck-core.dir/build/mc_check.cpp.o -MF lib/CMakeFiles/cppcheck-core.dir/build/mc_check.cpp.o.d -o lib/CMakeFiles/cppcheck-core.dir/build/mc_check.cpp.o -c /wrkdirs/usr/ports/devel/cppcheck/work/.build/lib/build/mc_check.cpp
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/check.cpp:91:75: warning: 'id' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage]
std::string Check::getMessageId(const ValueFlow::Value &value, const char id[])
~~~~~~~~~~~^~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/lib/check.cpp:96:67: note: used in pointer arithmetic here
return std::string("safe") + (char)std::toupper(id[0]) + (id + 1);
^~
1 warning generated.
[ 30% 68/226] /usr/bin/c++ -DFILESDIR=\"/usr/local/share/cppcheck\" -DHAVE_RULES -DTIXML_USE_STL -I/wrkdirs/usr/ports/devel/cppcheck/work/.build/externals/simplecpp -I/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/externals/simplecpp -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -std=gnu++11 -Weverything -O2 -pedantic -Wall -Wextra -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar -gdwarf-4 -Wno-documentation-unknown-command -Wno-deprecated-copy-dtor -Wno-inconsistent-missing-destructor-override -Wno-unused-exception-parameter -Wno-old-style-cast -Wno-global-constructors -Wno-exit-time-destructors -Wno-sign-conversion -Wno
-shadow-field-in-constructor -Wno-covered-switch-default -Wno-shorten-64-to-32 -Wno-zero-as-null-pointer-constant -Wno-implicit-int-conversion -Wno-double-promotion -Wno-shadow-field -Wno-shadow-uncaptured-local -Wno-unreachable-code -Wno-implicit-float-conversion -Wno-switch-enum -Wno-float-conversion -Wno-enum-enum-conversion -Wno-date-time -Wno-suggest-override -Wno-suggest-destructor-override -Wno-extra-semi-stmt -Wno-implicitly-unsigned-literal -Wno-tautological-type-limit-compare -Wno-disabled-macro-expansion -Wno-bitwise-instead-of-logical -Wno-four-char-constants -Wno-c++98-compat -Wno-weak-vtables -Wno-padded -Wno-c++98-compat-pedantic -MD -MT externals/simplecpp/CMakeFiles/simplecpp_objs.dir/simplecpp.cpp.o -MF externals/simplecpp/CMakeFiles/simplecpp_objs.dir/simplecpp.cpp.o.d -o externals/simplecpp/CMakeFiles/simplecpp_objs.dir/simplecpp.cpp.o -c /wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/externals/simplecpp/simplecpp.cpp
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/externals/simplecpp/simplecpp.cpp:1181:22: warning: 'op' is an unsafe pointer used for buffer access [-Wunsafe-buffer-usage]
for (const char *op = "&^|"; *op; op++) {
~~~~~~~~~~~~^~~~~~~~~~
/wrkdirs/usr/ports/devel/cppcheck/work/cppcheck-2.10.3/externals/simplecpp/simplecpp.cpp:1181:39: note: used in pointer arithmetic here
for (const char *op = "&^|"; *op; op++) {
^~
1 warning generated.
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/ports/devel/cppcheck