Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 2021 07:45:44 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 122powerpc64-quarterly][lang/nyan] Failed for nyan-lang-g20180708_2 in build
Message-ID:  <202104270745.13R7ji4e044662@pylon.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:     freebsd@sysctl.cz
Log URL:        http://pylon.nyi.freebsd.org/data/122powerpc64-quarterly/a6d30d977779/logs/nyan-lang-g20180708_2.log
Build URL:      http://pylon.nyi.freebsd.org/build.html?mastername=122powerpc64-quarterly&build=a6d30d977779
Log:

=>> Building lang/nyan
build started at Tue Apr 27 07:44:41 UTC 2021
port directory: /usr/ports/lang/nyan
package name: nyan-lang-g20180708_2
building for: FreeBSD 122powerpc64-quarterly-job-13 12.2-RELEASE FreeBSD 12.2-RELEASE powerpc
maintained by: freebsd@sysctl.cz
Makefile ident: 
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400003
Jail OSVERSION: 1202000
Job Id: 13

---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-8-gaf08dbda
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---
---End OPTIONS List---

--MAINTAINER--
freebsd@sysctl.cz
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/lang/nyan/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/nyan/work  HOME=/wrkdirs/usr/ports/lang/nyan/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/nyan/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/lang/nyan/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/nyan/work  HOME=/wrkdirs/usr/ports/lang/nyan/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/nyan/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" DESTDIR=/wrkdirs/usr/ports/lang/nyan/work/stage 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=" -fstack-protector-strong -Wl,-rpath=/u
 sr/local/lib/gcc10 -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 "  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--
CMAKE_BUILD_TYPE="release" OSREL=12.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/nyan"  EXAMPLESDIR="share/examples/nyan"  DATADIR="share/nyan"  WWWDIR="www/nyan"  ETCDIR="etc/nyan"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/nyan DOCSDIR=/usr/local/share/doc/nyan EXAMPLESDIR=/usr/local/share/examples/nyan  WWWDIR=/usr/local/www/nyan ETCDIR=/usr/local/etc/nyan
--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--
=======================<phase: check-sanity   >============================
===>  License LGPL3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   nyan-lang-g20180708_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[122powerpc64-quarterly-job-13] Installing pkg-1.16.3...
[122powerpc64-quarterly-job-13] Extracting pkg-1.16.3: .......... done
===>   nyan-lang-g20180708_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of nyan-lang-g20180708_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License LGPL3 accepted by the user
===> Fetching all distfiles required by nyan-lang-g20180708_2 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License LGPL3 accepted by the user
===> Fetching all distfiles required by nyan-lang-g20180708_2 for building
=> SHA256 Checksum OK for SFTtech-nyan-g20180708-3c263e2_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License LGPL3 accepted by the user
===> Fetching all distfiles required by nyan-lang-g20180708_2 for building
===>  Extracting for nyan-lang-g20180708_2
=> SHA256 Checksum OK for SFTtech-nyan-g20180708-3c263e2_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for nyan-lang-g20180708_2
===>  Applying FreeBSD patches for nyan-lang-g20180708_2 from /usr/ports/lang/nyan/files
===========================================================================
=======================<phase: build-depends  >============================
===>   nyan-lang-g20180708_2 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-3.19.6.txz
[122powerpc64-quarterly-job-13] Installing cmake-3.19.6...
[122powerpc64-quarterly-job-13] `-- Installing curl-7.76.0...
[122powerpc64-quarterly-job-13] |   `-- Installing ca_root_nss-3.63...
[122powerpc64-quarterly-job-13] |   `-- Extracting ca_root_nss-3.63: ........ done
[122powerpc64-quarterly-job-13] |   `-- Installing libnghttp2-1.43.0...
[122powerpc64-quarterly-job-13] |   | `-- Installing gcc10-10.2.0_1...
[122powerpc64-quarterly-job-13] |   |   `-- Installing binutils-2.33.1_4,1...
[122powerpc64-quarterly-job-13] |   |   | `-- Installing gettext-runtime-0.21...
[122powerpc64-quarterly-job-13] |   |   |   `-- Installing indexinfo-0.3.1...
[122powerpc64-quarterly-job-13] |   |   |   `-- Extracting indexinfo-0.3.1: .... done
[122powerpc64-quarterly-job-13] |   |   | `-- Extracting gettext-runtime-0.21: .......... done
[122powerpc64-quarterly-job-13] |   |   `-- Extracting binutils-2.33.1_4,1: .......... done
[122powerpc64-quarterly-job-13] |   |   `-- Installing gcc9-9.3.0_3...
[122powerpc64-quarterly-job-13] |   |   | `-- Installing gmp-6.2.1...
[122powerpc64-quarterly-job-13] |   |   | `-- Extracting gmp-6.2.1: .......... done
[122powerpc64-quarterly-job-13] |   |   | `-- Installing mpc-1.2.0...
[122powerpc64-quarterly-job-13] |   |   |   `-- Installing mpfr-4.1.0...
[122powerpc64-quarterly-job-13] |   |   |   `-- Extracting mpfr-4.1.0: .......... done
<snip>

Assessment and verification of trust is the complete responsibility of the
system administrator.


This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem
=====
Message from gcc9-9.3.0_3:

--
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc9

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
=====
Message from gcc10-10.2.0_1:

--
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc10

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
===>   nyan-lang-g20180708_2 depends on file: /usr/local/bin/cmake - found
===>   Returning to build of nyan-lang-g20180708_2
===>   nyan-lang-g20180708_2 depends on executable: ninja - not found
===>   Installing existing package /packages/All/ninja-1.10.2,2.txz
[122powerpc64-quarterly-job-13] Installing ninja-1.10.2,2...
[122powerpc64-quarterly-job-13] `-- Installing python37-3.7.10...
[122powerpc64-quarterly-job-13] |   `-- Installing libffi-3.3_1...
[122powerpc64-quarterly-job-13] |   `-- Extracting libffi-3.3_1: .......... done
[122powerpc64-quarterly-job-13] |   `-- Installing readline-8.1.0...
[122powerpc64-quarterly-job-13] |   `-- Extracting readline-8.1.0: .......... done
[122powerpc64-quarterly-job-13] `-- Extracting python37-3.7.10: .......... done
[122powerpc64-quarterly-job-13] Extracting ninja-1.10.2,2: ........ done
=====
Message from python37-3.7.10:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py37-gdbm       databases/py-gdbm@py37
py37-sqlite3    databases/py-sqlite3@py37
py37-tkinter    x11-toolkits/py-tkinter@py37
===>   nyan-lang-g20180708_2 depends on executable: ninja - found
===>   Returning to build of nyan-lang-g20180708_2
===>   nyan-lang-g20180708_2 depends on executable: gcc10 - found
===>   nyan-lang-g20180708_2 depends on file: /usr/local/bin/as - found
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for nyan-lang-g20180708_2
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/lang/nyan/work/.build


       ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
      █░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░█
      █░▒▒▒▒▒▒▒▒▒▒▄▀▀▄▒▒▒░░█▄▀▀▄
 ▄▄   █░▒▒▒▒▒▒▒▒▒▒█▓▓▓▀▄▄▄▄▀▓▓▓█      ▄ ▄▄   ▄   ▄   ▄▄▄   ▄ ▄▄
█▓▓█▄▄█░▒▒▒▒▒▒▒▒▒▄▀▓▓▓▓▓▓▓▓▓▓▓▓▀▄     █▀  █  ▀▄ ▄▀  ▀   █  █▀  █
 ▀▄▄▓▓█░▒▒▒▒▒▒▒▒▒█▓▓▓▄█▓▓▓▄▓▄█▓▓█     █   █   █▄█   ▄▀▀▀█  █   █
    ▀▀█░▒▒▒▒▒▒▒▒▒█▓▒▒▓▄▓▓▄▓▓▄▓▒▒█     █   █   ▀█    ▀▄▄▀█  █   █
     ▄█░░▒▒▒▒▒▒▒▒▒▀▄▓▓▀▀▀▀▀▀▀▓▄▀              ▄▀
   ▄▀▓▀█▄▄▄▄▄▄▄▄▄▄▄▄██████▀█▀▀               ▀▀
   █▄▄▀ █▄▄▀       █▄▄▀ ▀▄▄█


For information about building, look at [doc/building.md].

If you encounter problems you can't fix yourself,
report problems at https://github.com/SFTtech/nyan

Contact: #sfttech:matrix.org

-- The CXX compiler identification is GNU 10.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/bin/g++10 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test HAVE_REQUIRED_CXX17_SUPPORT
-- Performing Test HAVE_REQUIRED_CXX17_SUPPORT - Success
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
CMake Warning at buildsystem/doxygen.cmake:50 (message):
  doxygen couldn't be found, you won't be able to generate docs
Call Stack (most recent call first):
  CMakeLists.txt:88 (doxygen_configure)


-- Found FLEX: /usr/bin/flex (found suitable version "2.5.37", minimum required is "2.5") 
-- registering nyan in the cmake user package registry (~/.cmake/package/nyan)...

          project | nyan
          version | 1.0
         compiler | GNU 10.2.0
       build type | Release
         cxxflags | -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10 -Wall -Wextra -pedantic
 build type flags | -O3
        build dir | /wrkdirs/usr/ports/lang/nyan/work/.build
   install prefix | /usr/local

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_C_FLAGS
    CMAKE_C_FLAGS_DEBUG
    CMAKE_C_FLAGS_RELEASE
    CMAKE_MODULE_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    THREADS_HAVE_PTHREAD_ARG


-- Build files have been written to: /wrkdirs/usr/ports/lang/nyan/work/.build
===========================================================================
=======================<phase: build          >============================
===>  Building for nyan-lang-g20180708_2
[1/53] cd /wrkdirs/usr/ports/lang/nyan/work/.build/nyan && /usr/bin/flex -Ca --header-file=/wrkdirs/usr/ports/lang/nyan/work/.build/nyan/flex.gen.h -o /wrkdirs/usr/ports/lang/nyan/work/.build/nyan/flex.gen.cpp /wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/lexer/flex.lpp
[2/53] /usr/local/bin/g++10  -I/wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/.. -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10 -Wall -Wextra -pedantic -O3 -std=gnu++17 -MD -MT nyan/CMakeFiles/nyancat.dir/nyan_tool.cpp.o -MF nyan/CMakeFiles/nyancat.dir/nyan_tool.cpp.o.d -o nyan/CMakeFiles/nyancat.dir/nyan_tool.cpp.o -c /wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/nyan_tool.cpp
FAILED: nyan/CMakeFiles/nyancat.dir/nyan_tool.cpp.o 
/usr/local/bin/g++10  -I/wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/.. -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10 -Wall -Wextra -pedantic -O3 -std=gnu++17 -MD -MT nyan/CMakeFiles/nyancat.dir/nyan_tool.cpp.o -MF nyan/CMakeFiles/nyancat.dir/nyan_tool.cpp.o.d -o nyan/CMakeFiles/nyancat.dir/nyan_tool.cpp.o -c /wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/nyan_tool.cpp
In file included from /wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/nyan_tool.cpp:3:
/wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/nyan_tool.h:25:56: error: 'string' is not a member of 'std'
   25 | using params_t = std::unordered_map<option_param, std::string>;
      |                                                        ^~~~~~
/wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/nyan_tool.h:6:1: note: 'std::string' is defined in header '<string>'; did you forget to '#include <string>'?
    5 | #include <unordered_map>
  +++ |+#include <string>
    6 | 
/wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/nyan_tool.h:25:62: error: template argument 2 is invalid
   25 | using params_t = std::unordered_map<option_param, std::string>;
      |                                                              ^
/wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/nyan_tool.h:25:62: error: template argument 5 is invalid
/wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/nyan_tool.h:31:18: error: 'params_t' has not been declared
   31 | int run(flags_t, params_t);
      |                  ^~~~~~~~
/wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/nyan_tool.cpp:99:24: error: 'params_t' has not been declared
   99 | int run(flags_t flags, params_t params) {
      |                        ^~~~~~~~
/wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/nyan_tool.cpp: In function 'int nyan::run(nyan::flags_t, int)':
/wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/nyan_tool.cpp:102:40: error: invalid types 'int[nyan::option_param]' for array subscript
  102 |    const std::string &filename = params[option_param::FILE];
      |                                        ^
/wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/nyan_tool.cpp: At global scope:
/wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/nyan_tool.cpp:155:20: error: 'params_t' was not declared in this scope
  155 | std::pair<flags_t, params_t> argparse(int argc, char** argv) {
      |                    ^~~~~~~~
/wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/nyan_tool.cpp:155:28: error: template argument 2 is invalid
  155 | std::pair<flags_t, params_t> argparse(int argc, char** argv) {
      |                            ^
/wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/nyan_tool.cpp: In function 'int nyan::argparse(int, char**)':
/wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/nyan_tool.cpp:161:2: error: 'params_t' was not declared in this scope
  161 |  params_t params{
      |  ^~~~~~~~
/wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/nyan_tool.cpp:178:4: error: 'params' was not declared in this scope
  178 |    params[option_param::FILE] = argv[option_index];
      |    ^~~~~~
/wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/nyan_tool.cpp:194:31: error: 'params' was not declared in this scope
  194 |  return std::make_pair(flags, params);
      |                               ^~~~~~
/wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/nyan_tool.cpp: In function 'int main(int, char**)':
/wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/nyan_tool.cpp:203:29: error: request for member 'first' in 'args', which is of non-class type 'int'
  203 |  nyan::flags_t flags = args.first;
      |                             ^~~~~
/wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/nyan_tool.cpp:204:8: error: 'params_t' is not a member of 'nyan'
  204 |  nyan::params_t params = args.second;
      |        ^~~~~~~~
/wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/nyan_tool.cpp:211:27: error: 'params' was not declared in this scope
  211 |   return nyan::run(flags, params);
      |                           ^~~~~~
[3/53] /usr/local/bin/g++10 -Dnyan_EXPORTS -I/wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/.. -I/wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/lexer -Inyan -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10 -Wall -Wextra -pedantic -O3 -fPIC -std=gnu++17 -MD -MT nyan/CMakeFiles/nyan.dir/ast.cpp.o -MF nyan/CMakeFiles/nyan.dir/ast.cpp.o.d -o nyan/CMakeFiles/nyan.dir/ast.cpp.o -c /wrkdirs/usr/ports/lang/nyan/work/nyan-3c263e2/nyan/ast.cpp
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/lang/nyan



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