CMAKE Build type: RelWithDebInfo
CMake Warning at CMakeLists.txt:75 (message):
  Avoid building inside the source tree!


CMake Warning at CMakeLists.txt:76 (message):
  Create a separate build directory instead (i.e.  'fgbuild') and call CMake
  from there:


CMake Warning at CMakeLists.txt:77 (message):
    mkdir ../fgbuild && cd ../fgbuild && cmake /var/pisi/flightgear-2024.1.2-3/work/flightgear-2024.1.2


CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:227 (message):
  Could NOT find CURL (missing: CURL_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:591 (_FPHSA_FAILURE_MESSAGE)
  CMakeModules/FindCURL.cmake:169 (find_package_handle_standard_args)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:78 (find_package)
  /usr/lib/cmake/SimGear/SimGearConfig.cmake:43 (find_dependency)
  CMakeLists.txt:444 (find_package)


Traceback (most recent call last):
  File "/var/pisi/flightgear/actions.py", line 15, in setup
    -DFG_DATA_DIR=/usr/share/flightgear")
  File "/usr/lib/pisilinux/pisi/actionsapi/cmaketools.py", line 65, in configure
    if system(args):
  File "/usr/lib/pisilinux/pisi/actionsapi/shelltools.py", line 255, in system
    error(_("Command \"%s\" failed, return value was %d.") % (command, retValue))
  File "/usr/lib/pisilinux/pisi/actionsapi/__init__.py", line 27, in error
    raise Error(msg)
pisi.actionsapi.Error: Command "cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_FLAGS="-mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC" -DCMAKE_CXX_FLAGS="-mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC" -DCMAKE_LD_FLAGS="-Wl,-O1 -Wl,-z,relro -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DFG_DATA_DIR=/usr/share/flightgear ." failed, return value was 1.
Action script error caught.
*** 1 error(s), 0 warning(s)
Program terminated.