=> Bootstrap dependency digest>=20010302: found digest-20190127 => Checksum SHA1 OK for openttd-1.11.2-source.tar.xz => Checksum RMD160 OK for openttd-1.11.2-source.tar.xz => Checksum SHA512 OK for openttd-1.11.2-source.tar.xz ===> Installing dependencies for openttd-1.11.2nb1 ========================================================================== The following variables will affect the build process of this package, openttd-1.11.2nb1. Their current value is shown below: * READLINE_DEFAULT = editline * VARBASE = /var Based on these variables, the following variables have been set: * READLINE_TYPE = editline * TERMCAP_TYPE = termcap You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.68.4 => Tool dependency bsdtar-[0-9]*: found bsdtar-3.4.3 => Tool dependency cmake>=2.8.1nb1: found cmake-3.21.2 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency x11-links>=1.34: found x11-links-1.34 => Build dependency gcc7>=7.0: found gcc7-7.5.0nb5 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency lzo>=2.01: found lzo-2.10 => Full dependency fluidsynth>=2.2.0: found fluidsynth-2.2.3 => Full dependency SDL2>=2.0.16nb1: found SDL2-2.0.16nb1 => Full dependency fontconfig>=2.13.1nb1: found fontconfig-2.13.1nb5 => Full dependency freetype2>=2.8.1: found freetype2-2.10.4 => Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1 => Full dependency png>=1.6.0nb1: found png-1.6.37nb1 => Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.26 => Full dependency icu>=69.1: found icu-69.1 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for openttd-1.11.2nb1 ===> Extracting for openttd-1.11.2nb1 ===> Patching for openttd-1.11.2nb1 => Applying pkgsrc patches for openttd-1.11.2nb1 => Verifying /tree/pkgsrc/games/openttd/patches/patch-cmake_InstallAndPackage.cmake => Applying pkgsrc patch /tree/pkgsrc/games/openttd/patches/patch-cmake_InstallAndPackage.cmake Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cmake_InstallAndPackage.cmake,v 1.1 2021/05/04 17:08:05 nia Exp $ | |Do not try to generate Linux distribution packages. | |--- cmake/InstallAndPackage.cmake.orig 2021-05-03 18:41:45.000000000 +0000 |+++ cmake/InstallAndPackage.cmake -------------------------- Patching file cmake/InstallAndPackage.cmake using Plan A... Hunk #1 succeeded at 145. done ===> Creating toolchain wrappers for openttd-1.11.2nb1 ===> Configuring for openttd-1.11.2nb1 /bin/mkdir -p /scratch/work/games/openttd/work/openttd-1.11.2/build => Generating pkg-config files for builtin xz package. => Generating pkg-config file for builtin expat package. => Fixing CMAKE_MODULE_PATH in CMakeLists.txt => Checking for portability problems in extracted files -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /scratch/work/games/openttd/work/.cwrapper/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - failed -- Check for working CXX compiler: /scratch/work/games/openttd/work/.cwrapper/bin/c++ -- Check for working CXX compiler: /scratch/work/games/openttd/work/.cwrapper/bin/c++ - broken CMake Error at /usr/pkg/share/cmake-3.21/Modules/CMakeTestCXXCompiler.cmake:62 (message): The C++ compiler "/scratch/work/games/openttd/work/.cwrapper/bin/c++" is not able to compile a simple test program. It fails with the following output: Change Dir: /scratch/work/games/openttd/work/openttd-1.11.2/build/CMakeFiles/CMakeTmp Run Build Command(s):/scratch/work/games/openttd/work/.tools/bin/make -f Makefile cmTC_74fd6/fast && /scratch/work/games/openttd/work/.tools/bin/make -f CMakeFiles/cmTC_74fd6.dir/build.make CMakeFiles/cmTC_74fd6.dir/build Building CXX object CMakeFiles/cmTC_74fd6.dir/testCXXCompiler.cxx.o /scratch/work/games/openttd/work/.cwrapper/bin/c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include/readline -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/freetype2 -o CMakeFiles/cmTC_74fd6.dir/testCXXCompiler.cxx.o -c /scratch/work/games/openttd/work/openttd-1.11.2/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx Linking CXX executable cmTC_74fd6 /usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_74fd6.dir/link.txt --verbose=1 /scratch/work/games/openttd/work/.cwrapper/bin/c++ -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include/readline -I/usr/pkg/include/SDL2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/freetype2 -L/usr/pkg/gcc7/lib/gcc/armv7--netbsdelf-eabihf/7.5.0 -Wl,-R/usr/pkg/gcc7/lib/gcc/armv7--netbsdelf-eabihf/7.5.0 -L/usr/pkg/gcc7/lib -Wl,-R/usr/pkg/gcc7/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib CMakeFiles/cmTC_74fd6.dir/testCXXCompiler.cxx.o -o cmTC_74fd6 /usr/pkg/gcc7/lib/libstdc++.so: undefined reference to `__gnu_unwind_frame@GCC_3.5' /usr/pkg/gcc7/lib/libstdc++.so: undefined reference to `_Unwind_Complete@GCC_3.5' /usr/pkg/gcc7/lib/libstdc++.so: undefined reference to `_Unwind_VRS_Set@GCC_3.5' /usr/pkg/gcc7/lib/libstdc++.so: undefined reference to `_Unwind_VRS_Get@GCC_3.5' collect2: error: ld returned 1 exit status *** Error code 1 Stop. make[1]: stopped in /scratch/work/games/openttd/work/openttd-1.11.2/build/CMakeFiles/CMakeTmp *** Error code 1 Stop. make: stopped in /scratch/work/games/openttd/work/openttd-1.11.2/build/CMakeFiles/CMakeTmp CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:7 (project) -- Configuring incomplete, errors occurred! See also "/scratch/work/games/openttd/work/openttd-1.11.2/build/CMakeFiles/CMakeOutput.log". See also "/scratch/work/games/openttd/work/openttd-1.11.2/build/CMakeFiles/CMakeError.log". *** Error code 1 Stop. make[1]: stopped in /tree/pkgsrc/games/openttd *** Error code 1 Stop. make: stopped in /tree/pkgsrc/games/openttd