From nobody Thu Aug 19 03:31:41 2021 X-Original-To: pkg-fallout@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4074C17686F9 for ; Thu, 19 Aug 2021 03:31:42 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gqr0Z1KKwz4qpq for ; Thu, 19 Aug 2021 03:31:42 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from foul1.nyi.freebsd.org (foul1.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 14F731E41C for ; Thu, 19 Aug 2021 03:31:42 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from foul1.nyi.freebsd.org (localhost [127.0.0.1]) by foul1.nyi.freebsd.org (8.16.1/8.16.1) with ESMTP id 17J3Vgmc030490 for ; Thu, 19 Aug 2021 03:31:42 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by foul1.nyi.freebsd.org (8.16.1/8.16.1/Submit) id 17J3Vf7q030464; Thu, 19 Aug 2021 03:31:41 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Thu, 19 Aug 2021 03:31:41 GMT From: pkg-fallout@FreeBSD.org Message-Id: <202108190331.17J3Vf7q030464@foul1.nyi.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [package - 122powerpc64-quarterly][textproc/jtc] Failed for jtc-1.76 in build X-ThisMailContainsUnwantedMimeParts: N List-Id: Fallout logs from package building List-Archive: https://lists.freebsd.org/archives/freebsd-pkg-fallout List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg-fallout@freebsd.org 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: lcook@FreeBSD.org Log URL: http://foul1.nyi.freebsd.org/data/122powerpc64-quarterly/5c89b2a92aa5/logs/jtc-1.76.log Build URL: http://foul1.nyi.freebsd.org/build.html?mastername=122powerpc64-quarterly&build=5c89b2a92aa5 Log: =>> Building textproc/jtc build started at Thu Aug 19 03:30:23 UTC 2021 port directory: /usr/ports/textproc/jtc package name: jtc-1.76 building for: FreeBSD 122powerpc64-quarterly-job-03 12.2-RELEASE FreeBSD 12.2-RELEASE powerpc maintained by: lcook@FreeBSD.org Makefile ident: Poudriere version: 3.2.8-21-g883afb07 Host OSVERSION: 1400008 Jail OSVERSION: 1202000 Job Id: 03 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1202000 UNAME_v=FreeBSD 12.2-RELEASE UNAME_r=12.2-RELEASE BLOCKSIZE=K MAIL=/var/mail/root 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-21-g883afb07 MASTERMNT=/usr/local/poudriere/data/.m/122powerpc64-quarterly/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/122powerpc64-quarterly/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=122powerpc64-quarterly SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/122powerpc64-quarterly/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 jtc-1.76: BG_CC=off: Every call to a copy-constructor of Jnode class will reveal itself BG_DTS=off: Makes time-stamp display delta (since last debug message) instead of absolute stamp BG_FLOW=off: All debuggable function/method calls will display an entry and exit point BG_MTS=off: Display absolute time-stamps in the debug message DOCS=on: Build and/or install documentation NO_DBG=off: Disable all debug messages NO_DBG_PARSER=off: Disable debug messages coming from parsing JSON ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- lcook@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/textproc/jtc/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/jtc/work HOME=/wrkdirs/usr/ports/textproc/jtc/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/textproc/jtc/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/textproc/jtc/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/textproc/jtc/work HOME=/wrkdirs/usr/ports/textproc/jtc/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/textproc/jtc/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 ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local LOCALBASE=/usr/local CC="gcc10" CFLAGS="-O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -fno-strict-aliasing " CPP="cpp10" CPPFLAGS="" LDFLAGS=" -lexecinfo -lpthread -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gc c10 -L/usr/local/lib/gcc10 " LIBS="" CXX="g++10" CXXFLAGS="-O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -Wl,-rpath=/usr/local/lib/gcc10 -std=c++14 " 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-- PORTDOCS="" OSREL=12.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/jtc" EXAMPLESDIR="share/examples/jtc" DATADIR="share/jtc" WWWDIR="www/jtc" ETCDIR="etc/jtc" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/jtc DOCSDIR=/usr/local/share/doc/jtc EXAMPLESDIR=/usr/local/share/examples/jtc WWWDIR=/usr/local/www/jtc ETCDIR=/usr/local/etc/jtc --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 #### _CCVERSION_921dbbb2=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=Using built-in specs. Target: powerpc64-undermydesk-freebsd Configured with: FreeBSD/powerpc64 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] "/usr/bin/ld" "--eh-frame-hdr" "-Qy" "-melf64ppc_fbsd" "--enable-new-dtags" "-dynamic-linker" "/libexec/ld-elf.so.1" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "-L/usr/lib" "/dev/null" "-lstdc++" "-lm" "-lgcc_s" "-lgcc" "-lc" "-lgcc_s" "-lgcc" "/usr/lib/crtsavres.o" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=cc1: error: unrecognized command line option "-std=c11" CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=cc1: error: unrecognized command line option "-std=gnu11" CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=cc1plus: error: unrecognized command line option "-std=c++0x" CC_OUTPUT_921dbbb2_f00456e5=cc1plus: error: unrecognized command line option "-std=c++11" CC_OUTPUT_921dbbb2_65ad290d=cc1plus: error: unrecognized command line option "-std=c++14" CC_OUTPUT_921dbbb2_f2776b26=cc1plus: error: unrecognized command line option "-std=c++17" CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=cc1plus: error: unrecognized command line option "-std=gnu++11" CC_OUTPUT_921dbbb2_160933ec=cc1plus: error: unrecognized command line option "-std=gnu++14" CC_OUTPUT_921dbbb2_fb62803b=cc1plus: error: unrecognized command line option "-std=gnu++17" _OBJC_CCVERSION_921dbbb2=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. _OBJC_ALTCCVERSION_921dbbb2=none ARCH=powerpc64 PPC_ABI=ELFv1 OPSYS=FreeBSD _OSRELEASE=12.2-RELEASE OSREL=12.2 OSVERSION=1202000 PYTHONBASE=/usr/local 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-- =================================================== ===> License MIT accepted by the user =========================================================================== =================================================== ===> jtc-1.76 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.16.3.txz [122powerpc64-quarterly-job-03] Installing pkg-1.16.3... [122powerpc64-quarterly-job-03] Extracting pkg-1.16.3: .......... done ===> jtc-1.76 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of jtc-1.76 =========================================================================== =================================================== =========================================================================== =================================================== ===> License MIT accepted by the user ===> Fetching all distfiles required by jtc-1.76 for building =========================================================================== =================================================== ===> License MIT accepted by the user ===> Fetching all distfiles required by jtc-1.76 for building => SHA256 Checksum OK for ldn-softdev-jtc-1.76_GH0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License MIT accepted by the user ===> Fetching all distfiles required by jtc-1.76 for building ===> Extracting for jtc-1.76 => SHA256 Checksum OK for ldn-softdev-jtc-1.76_GH0.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for jtc-1.76 ===> Applying FreeBSD patches for jtc-1.76 from /usr/ports/textproc/jtc/files =========================================================================== =================================================== ===> jtc-1.76 depends on executable: gcc10 - not found ===> Installing existing package /packages/All/gcc10-10.3.0.txz [122powerpc64-quarterly-job-03] Installing gcc10-10.3.0... [122powerpc64-quarterly-job-03] `-- Installing binutils-2.33.1_5,1... [122powerpc64-quarterly-job-03] | `-- Installing gettext-runtime-0.21... [122powerpc64-quarterly-job-03] | | `-- Installing indexinfo-0.3.1... [122powerpc64-quarterly-job-03] | | `-- Extracting indexinfo-0.3.1: .... done [122powerpc64-quarterly-job-03] | `-- Extracting gettext-runtime-0.21: .......... done [122powerpc64-quarterly-job-03] `-- Extracting binutils-2.33.1_5,1: .......... done [122powerpc64-quarterly-job-03] `-- Installing gcc9-9.4.0... [122powerpc64-quarterly-job-03] | `-- Installing gmp-6.2.1... /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:369:27: note: to match this '(' 369 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:370:49: note: in expansion of macro '__DOUT_1_ARG__' 370 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:372:5: note: in expansion of macro '__DOUT_3RD_ARG__' 372 | __DOUT_3RD_ARG__(dummy, ##ARGS, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:373:23: note: in expansion of macro '__DOUT_CHOOSER__' 373 | #define DOUT(ARGS...) __DOUT_CHOOSER__(ARGS)(ARGS) | ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/jtc.cpp:2713:9: note: in expansion of macro 'DOUT' 2713 | DBG(2) DOUT() << "walk offsets (longest " << longest_walk << ")"; | ^~~~ In file included from /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/getoptions.hpp:141, from /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/jtc.cpp:17: /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/extensions.hpp:398:53: error: '__tlck__' was not declared in this scope 398 | for(std::unique_lock __tlck__(MTX); __tlck__.owns_lock(); __tlck__.unlock()) | ^~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:337:6: note: in expansion of macro 'TLOCK' 337 | TLOCK(__dbg__.mutex()) \ | ^~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' 343 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' 345 | __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' 346 | #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) | ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:369:30: note: in expansion of macro 'DBG' 369 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:370:49: note: in expansion of macro '__DOUT_1_ARG__' 370 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:372:5: note: in expansion of macro '__DOUT_3RD_ARG__' 372 | __DOUT_3RD_ARG__(dummy, ##ARGS, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:373:23: note: in expansion of macro '__DOUT_CHOOSER__' 373 | #define DOUT(ARGS...) __DOUT_CHOOSER__(ARGS)(ARGS) | ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/jtc.cpp:2713:9: note: in expansion of macro 'DOUT' 2713 | DBG(2) DOUT() << "walk offsets (longest " << longest_walk << ")"; | ^~~~ In file included from /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/Json.hpp:478, from /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/jtc.cpp:18: /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:336:5: error: expected primary-expression before 'if' 336 | if( __dbg__(X) ) \ | ^~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' 343 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' 345 | __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' 346 | #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) | ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/jtc.cpp:2720:6: note: in expansion of macro 'DBG' 2720 | if(DBG()(2)) DOUT() << " / [" << offset << "]:"; | ^~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/jtc.cpp:2720:6: error: expected ')' before 'if' 2720 | if(DBG()(2)) DOUT() << " / [" << offset << "]:"; | ~^ | ) In file included from /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/Json.hpp:478, from /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/jtc.cpp:18: /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:336:5: error: expected primary-expression before 'if' 336 | if( __dbg__(X) ) \ | ^~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' 343 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' 345 | __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' 346 | #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) | ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/jtc.cpp:2725:7: note: in expansion of macro 'DBG' 2725 | if(DBG()(2)) DOUT() << " " << ai; | ^~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/jtc.cpp:2725:7: error: expected ')' before 'if' 2725 | if(DBG()(2)) DOUT() << " " << ai; | ~^ | ) In file included from /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/Json.hpp:478, from /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/jtc.cpp:18: /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:336:5: error: expected primary-expression before 'if' 336 | if( __dbg__(X) ) \ | ^~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' 343 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' 345 | __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' 346 | #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) | ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/jtc.cpp:2743:5: note: in expansion of macro 'DBG' 2743 | if(DBG()(2)) DOUT() << endl; // close debug line | ^~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/jtc.cpp:2743:5: error: expected ')' before 'if' 2743 | if(DBG()(2)) DOUT() << endl; // close debug line | ~^ | ) In file included from /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/Json.hpp:478, from /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/jtc.cpp:18: /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:369:29: error: expected primary-expression before '.' token 369 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:370:49: note: in expansion of macro '__DOUT_1_ARG__' 370 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:372:5: note: in expansion of macro '__DOUT_3RD_ARG__' 372 | __DOUT_3RD_ARG__(dummy, ##ARGS, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:373:23: note: in expansion of macro '__DOUT_CHOOSER__' 373 | #define DOUT(ARGS...) __DOUT_CHOOSER__(ARGS)(ARGS) | ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/jtc.cpp:2746:9: note: in expansion of macro 'DOUT' 2746 | DBG(2) DOUT() << "output instance: " << actuals.front() | ^~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:336:5: error: expected unqualified-id before 'if' 336 | if( __dbg__(X) ) \ | ^~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' 343 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' 345 | __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' 346 | #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) | ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:369:30: note: in expansion of macro 'DBG' 369 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:370:49: note: in expansion of macro '__DOUT_1_ARG__' 370 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:372:5: note: in expansion of macro '__DOUT_3RD_ARG__' 372 | __DOUT_3RD_ARG__(dummy, ##ARGS, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:373:23: note: in expansion of macro '__DOUT_CHOOSER__' 373 | #define DOUT(ARGS...) __DOUT_CHOOSER__(ARGS)(ARGS) | ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/jtc.cpp:2746:9: note: in expansion of macro 'DOUT' 2746 | DBG(2) DOUT() << "output instance: " << actuals.front() | ^~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:336:5: error: expected ')' before 'if' 336 | if( __dbg__(X) ) \ | ^~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:343:54: note: in expansion of macro '__DBG_1_ARG__' 343 | #define __DBG_4TH_ARG__(arg1, arg2, arg3, arg4, ...) arg4 | ^~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:345:5: note: in expansion of macro '__DBG_4TH_ARG__' 345 | __DBG_4TH_ARG__(dummy, ##ARGS, __DBG_2_ARG__, __DBG_1_ARG__, __DBG_0_ARG__) | ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:346:22: note: in expansion of macro '__DBG_CHOOSER__' 346 | #define DBG(ARGS...) __DBG_CHOOSER__(ARGS)(ARGS) | ^~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:369:30: note: in expansion of macro 'DBG' 369 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:370:49: note: in expansion of macro '__DOUT_1_ARG__' 370 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:372:5: note: in expansion of macro '__DOUT_3RD_ARG__' 372 | __DOUT_3RD_ARG__(dummy, ##ARGS, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:373:23: note: in expansion of macro '__DOUT_CHOOSER__' 373 | #define DOUT(ARGS...) __DOUT_CHOOSER__(ARGS)(ARGS) | ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/jtc.cpp:2746:9: note: in expansion of macro 'DOUT' 2746 | DBG(2) DOUT() << "output instance: " << actuals.front() | ^~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:369:27: note: to match this '(' 369 | #define __DOUT_1_ARG__(X) (X.DBG().dout()) | ^ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:370:49: note: in expansion of macro '__DOUT_1_ARG__' 370 | #define __DOUT_3RD_ARG__(arg1, arg2, arg3, ...) arg3 | ^~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:372:5: note: in expansion of macro '__DOUT_3RD_ARG__' 372 | __DOUT_3RD_ARG__(dummy, ##ARGS, __DOUT_1_ARG__, __DOUT_0_ARG__) | ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/lib/dbg.hpp:373:23: note: in expansion of macro '__DOUT_CHOOSER__' 373 | #define DOUT(ARGS...) __DOUT_CHOOSER__(ARGS)(ARGS) | ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/textproc/jtc/work/jtc-1.76/jtc.cpp:2746:9: note: in expansion of macro 'DOUT' 2746 | DBG(2) DOUT() << "output instance: " << actuals.front() | ^~~~ *** Error code 1 Stop. make: stopped in /usr/ports/textproc/jtc