Console Output

+ ./nightlybuild.sh -s Jenkins -t arm-linux-gnueabihf -b master -p aarch64.cmake -m Release -n #3
+ [[ 12 -gt 1 ]]
+ key=-s
+ case $key in
+ SERVERNAME=Jenkins
+ shift
+ shift
+ [[ 10 -gt 1 ]]
+ key=-t
+ case $key in
+ TARGET=arm-linux-gnueabihf
+ shift
+ shift
+ [[ 8 -gt 1 ]]
+ key=-b
+ case $key in
+ BRANCH=master
+ shift
+ shift
+ [[ 6 -gt 1 ]]
+ key=-p
+ case $key in
+ TOOLCHAINFILE=-DCMAKE_TOOLCHAIN_FILE=aarch64.cmake
+ shift
+ shift
+ [[ 4 -gt 1 ]]
+ key=-m
+ case $key in
+ COMPILEMODE=-DCMAKE_BUILD_TYPE=Release
+ shift
+ shift
+ [[ 2 -gt 1 ]]
+ key=-n
+ case $key in
+ BUILDID='#3'
+ shift
+ shift
+ [[ 0 -gt 1 ]]
+ git submodule update --init
+ export 'CUBERITE_BUILD_SERIES_NAME=Jenkins arm-linux-gnueabihf -DCMAKE_BUILD_TYPE=Release (master)'
+ CUBERITE_BUILD_SERIES_NAME='Jenkins arm-linux-gnueabihf -DCMAKE_BUILD_TYPE=Release (master)'
+ export CUBERITE_BUILD_ID=#3
+ CUBERITE_BUILD_ID='#3'
++ date
+ export 'CUBERITE_BUILD_DATETIME=Fri Jan 21 23:59:05 UTC 2022'
+ CUBERITE_BUILD_DATETIME='Fri Jan 21 23:59:05 UTC 2022'
++ command -v ccache
+ '[' -x '' ']'
+ CXX=
+ CC=
+ cmake . -DNO_NATIVE_OPTIMIZATION=1 -DCMAKE_TOOLCHAIN_FILE=aarch64.cmake -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is GNU 10.2.1
-- The CXX compiler identification is unknown
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/bin/aarch64-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/aarch64-linux-gnu-gcc - broken
CMake Error at /usr/share/cmake-3.18/Modules/CMakeTestCCompiler.cmake:66 (message):
  The C compiler

    "/usr/bin/aarch64-linux-gnu-gcc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /jenkins/workspace/linux-aarch64/CMakeFiles/CMakeTmp
    
    Run Build Command(s):/usr/bin/gmake cmTC_5b423/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_5b423.dir/build.make CMakeFiles/cmTC_5b423.dir/build
    gmake[1]: Entering directory '/jenkins/workspace/linux-aarch64/CMakeFiles/CMakeTmp'
    Building C object CMakeFiles/cmTC_5b423.dir/testCCompiler.c.o
    /usr/bin/aarch64-linux-gnu-gcc    -o CMakeFiles/cmTC_5b423.dir/testCCompiler.c.o -c /jenkins/workspace/linux-aarch64/CMakeFiles/CMakeTmp/testCCompiler.c
    Linking C executable cmTC_5b423
    /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5b423.dir/link.txt --verbose=1
    /usr/bin/aarch64-linux-gnu-gcc CMakeFiles/cmTC_5b423.dir/testCCompiler.c.o -o cmTC_5b423 
    /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: cannot find Scrt1.o: No such file or directory
    /usr/lib/gcc-cross/aarch64-linux-gnu/10/../../../../aarch64-linux-gnu/bin/ld: cannot find crti.o: No such file or directory
    collect2: error: ld returned 1 exit status
    gmake[1]: *** [CMakeFiles/cmTC_5b423.dir/build.make:106: cmTC_5b423] Error 1
    gmake[1]: Leaving directory '/jenkins/workspace/linux-aarch64/CMakeFiles/CMakeTmp'
    gmake: *** [Makefile:140: cmTC_5b423/fast] Error 2
    
    

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:7 (project)


CMake Error at CMakeLists.txt:7 (project):
  The CMAKE_CXX_COMPILER:

    aarch64-linux-gnu-g++

  is not a full path and was not found in the PATH.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!
See also "/jenkins/workspace/linux-aarch64/CMakeFiles/CMakeOutput.log".
See also "/jenkins/workspace/linux-aarch64/CMakeFiles/CMakeError.log".