=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for flightgear-2020.3.11.tar.bz2
=> Checksum RMD160 OK for flightgear-2020.3.11.tar.bz2
=> Checksum SHA512 OK for flightgear-2020.3.11.tar.bz2
===> Installing dependencies for flightgear-2020.3.11
==========================================================================
The following variables will affect the build process of this package,
flightgear-2020.3.11.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg
        * KRB5_DEFAULT = heimdal
        * READLINE_DEFAULT = editline
        * SSLBASE = /usr
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = heimdal
        * 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 cmake>=2.8.1nb1: found cmake-3.21.2
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency x11-links>=1.34: found x11-links-1.34
=> Build dependency boost-headers-1.76.*: found boost-headers-1.76.0
=> Build dependency plib>=1.8.5nb4: found plib-1.8.5nb5
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency openal-soft>=1.5.304: found openal-soft-1.21.1nb2
=> Full dependency libevent>=2.1.11nb1: found libevent-2.1.12
=> Full dependency simgear>=2020.3.6nb9: found simgear-2020.3.11
=> Full dependency osg>=3.6.5nb11: found osg-3.6.5nb12
=> Full dependency curl>=7.76.1nb1: found curl-7.79.0
=> Full dependency freeglut>=3.2.1nb2: found freeglut-3.2.1nb2
=> Full dependency glew>=2.1.0: found glew-2.2.0nb2
=> Full dependency qt5-qtbase>=5.15.2nb3: found qt5-qtbase-5.15.2nb6
=> Full dependency qt5-qtquickcontrols2>=5.15.2nb2: found qt5-qtquickcontrols2-5.15.2nb2
=> Full dependency qt5-qtsvg>=5.15.2nb3: found qt5-qtsvg-5.15.2nb3
===> 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 flightgear-2020.3.11
===> Extracting for flightgear-2020.3.11
===> Patching for flightgear-2020.3.11
=> Applying pkgsrc patches for flightgear-2020.3.11
=> Verifying /tree/pkgsrc/games/flightgear/patches/patch-3rdparty_hts__engine__API_lib_HTS__misc.c
=> Applying pkgsrc patch /tree/pkgsrc/games/flightgear/patches/patch-3rdparty_hts__engine__API_lib_HTS__misc.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-3rdparty_hts__engine__API_lib_HTS__misc.c,v 1.2 2021/02/25 10:22:14 nia Exp $
|
|Support NetBSD.
|
|--- 3rdparty/hts_engine_API/lib/HTS_misc.c.orig	2021-01-23 18:03:03.000000000 +0000
|+++ 3rdparty/hts_engine_API/lib/HTS_misc.c
--------------------------
Patching file 3rdparty/hts_engine_API/lib/HTS_misc.c using Plan A...
Hunk #1 succeeded at 284.
done
=> Verifying /tree/pkgsrc/games/flightgear/patches/patch-3rdparty_iaxclient_lib_libiax2_src_iax.c
=> Applying pkgsrc patch /tree/pkgsrc/games/flightgear/patches/patch-3rdparty_iaxclient_lib_libiax2_src_iax.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-3rdparty_iaxclient_lib_libiax2_src_iax.c,v 1.1 2018/12/04 03:56:27 nia Exp $
|
|Support NetBSD.
|
|--- 3rdparty/iaxclient/lib/libiax2/src/iax.c.orig	2018-06-03 18:56:53.000000000 +0000
|+++ 3rdparty/iaxclient/lib/libiax2/src/iax.c
--------------------------
Patching file 3rdparty/iaxclient/lib/libiax2/src/iax.c using Plan A...
Hunk #1 succeeded at 73.
done
=> Verifying /tree/pkgsrc/games/flightgear/patches/patch-3rdparty_joystick_jsNone.cxx
=> Applying pkgsrc patch /tree/pkgsrc/games/flightgear/patches/patch-3rdparty_joystick_jsNone.cxx
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-3rdparty_joystick_jsNone.cxx,v 1.1 2018/12/04 03:56:27 nia Exp $
|
|TRUE is undefined...
|
|--- 3rdparty/joystick/jsNone.cxx.orig	2018-06-03 18:56:53.000000000 +0000
|+++ 3rdparty/joystick/jsNone.cxx
--------------------------
Patching file 3rdparty/joystick/jsNone.cxx using Plan A...
Hunk #1 succeeded at 31 (offset 4 lines).
done
=> Verifying /tree/pkgsrc/games/flightgear/patches/patch-src_Input_fgjs.cxx
=> Applying pkgsrc patch /tree/pkgsrc/games/flightgear/patches/patch-src_Input_fgjs.cxx
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Input_fgjs.cxx,v 1.1 2021/03/01 09:00:33 nia Exp $
|
|Include missing header for gethostname(3).
|
|--- src/Input/fgjs.cxx.orig	2021-01-23 18:03:04.000000000 +0000
|+++ src/Input/fgjs.cxx
--------------------------
Patching file src/Input/fgjs.cxx using Plan A...
Hunk #1 succeeded at 30.
done
===> Creating toolchain wrappers for flightgear-2020.3.11
===> Configuring for flightgear-2020.3.11
cd /scratch/work/games/flightgear/work/flightgear-2020.3.11 && /bin/mkdir -p fgbuild
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
CMake Deprecation Warning at CMakeLists.txt:29 (cmake_policy):
  The OLD behavior for policy CMP0072 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMAKE Build type: Release
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /scratch/work/games/flightgear/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /scratch/work/games/flightgear/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- System is: NetBSD
-- Web browser launcher command is: firefox
-- Using default data directory for base package:  /usr/pkg/lib/FlightGear
-- Could NOT find DBus (missing: DBUS_INCLUDE_DIRS DBUS_LIBRARIES) 
-- Found LibEvent: /usr/pkg/include  
CMake Warning at CMakeLists.txt:300 (message):
  SWIFT support disabled, dbus and/or LibEvent not found


-- Found Boost: /usr/pkg/include (found version "1.76.0")  
-- Found OpenGL: /usr/X11R7/lib/libGL.so   
-- Found osgText: /usr/pkg/lib/libosgText.so  
-- Found osgSim: /usr/pkg/lib/libosgSim.so  
-- Found osgDB: /usr/pkg/lib/libosgDB.so  
-- Found osgParticle: /usr/pkg/lib/libosgParticle.so  
-- Found osgFX: /usr/pkg/lib/libosgFX.so  
-- Found osgUtil: /usr/pkg/lib/libosgUtil.so  
-- Found osgViewer: /usr/pkg/lib/libosgViewer.so  
-- Found osgGA: /usr/pkg/lib/libosgGA.so  
-- Found osg: /usr/pkg/lib/libosg.so  
-- Found OpenThreads: /usr/pkg/lib/libOpenThreads.so  
-- Found OpenSceneGraph: /usr/pkg/lib/libosgText.so;/usr/pkg/lib/libosgSim.so;/usr/pkg/lib/libosgDB.so;/usr/pkg/lib/libosgParticle.so;/usr/pkg/lib/libosgFX.so;/usr/pkg/lib/libosgUtil.so;/usr/pkg/lib/libosgViewer.so;/usr/pkg/lib/libosgGA.so;/usr/pkg/lib/libosg.so;/usr/pkg/lib/libOpenThreads.so (found suitable version "3.6.5", minimum required is "3.2.0") 
-- Qt launcher enabled, checking for Qt >= 5.4 / qmake
-- Will enable Qt launcher GUI
-- Couldn't find translations data, will not include translated string in the executable
-- Could NOT find Qt5LinguistTools (missing: Qt5LinguistTools_DIR)
CMake Warning at CMakeModules/Translations.cmake:15 (find_package):
  Found package configuration file:

    /usr/pkg/qt5/lib/cmake/Qt5/Qt5Config.cmake

  but it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find Qt5 component "LinguistTools" config file at
  "/usr/pkg/qt5/lib/cmake/Qt5LinguistTools/Qt5LinguistToolsConfig.cmake"

  

Call Stack (most recent call first):
  CMakeLists.txt:376 (include)


-- Looking for C++ include private/qopenglcontext_p.h
-- Looking for C++ include private/qopenglcontext_p.h - not found
-- QtGui private headers not available.
-- /usr/pkg/include
-- Found PLIB: optimized;/usr/pkg/lib/libplibpuaux.a;debug;/usr/pkg/lib/libplibpuaux.a;optimized;/usr/pkg/lib/libplibpu.a;debug;/usr/pkg/lib/libplibpu.a;optimized;/usr/pkg/lib/libplibsg.a;debug;/usr/pkg/lib/libplibsg.a;optimized;/usr/pkg/lib/libplibul.a;debug;/usr/pkg/lib/libplibul.a  
-- Min Simgear version is 2020.3.0
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.10") 
-- Looking for lzma_auto_decoder in /usr/lib/liblzma.so
-- Looking for lzma_auto_decoder in /usr/lib/liblzma.so - found
-- Looking for lzma_easy_encoder in /usr/lib/liblzma.so
-- Looking for lzma_easy_encoder in /usr/lib/liblzma.so - found
-- Looking for lzma_lzma_preset in /usr/lib/liblzma.so
-- Looking for lzma_lzma_preset in /usr/lib/liblzma.so - found
-- Found LibLZMA: optimized;/usr/lib/liblzma.so;debug;/usr/lib/liblzma.so (found version "5.2.4") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/timeb.h
-- Looking for sys/timeb.h - not found
-- Looking for windows.h
-- Looking for windows.h - not found
-- Looking for timegm
-- Looking for timegm - found
-- Looking for daylight
-- Looking for daylight - found
-- Looking for ftime
-- Looking for ftime - not found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- RTI: DISABLED
-- OpenMP: DISABLED
-- SSE/SSE2 support: ENABLED
-- Looking for mkfifo
-- Looking for mkfifo - found
-- Enabling legacy joystick code (from PLIB)
CMake Warning at 3rdparty/joystick/CMakeLists.txt:21 (message):
  Unsupported platform for Joystick


-- FGPanel (Raspberry Pi) : DISABLED
-- FGPanel : ENABLED
-- Found OpenAL: /usr/pkg/lib/libopenal.so  
-- Found X11: /usr/X11R7/include   
-- Looking for XOpenDisplay in /usr/X11R7/lib/libX11.so;/usr/X11R7/lib/libXext.so
-- Looking for XOpenDisplay in /usr/X11R7/lib/libX11.so;/usr/X11R7/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- CppUnit: Building the FlightGear supplied CppUnit library
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    Lua_FIND_VERSION_COUNT
    Lua_FIND_VERSION_EXACT
    Lua_FIND_VERSION_MAJOR
    Lua_FIND_VERSION_MINOR


-- Build files have been written to: /scratch/work/games/flightgear/work/flightgear-2020.3.11/fgbuild
=> Rewrite cmake Dependencies files