<...>
Building server
cmake /home/ubuntu/mir-server-snap/parts/server/src -DCMAKE_INSTALL_PREFIX=
-- The C compiler identification is GNU 5.3.1
-- The CXX compiler identification is GNU 5.3.1
-- Check for working C compiler: /home/ubuntu/mir-server-snap/parts/server/install/usr/bin/gcc
-- Check for working C compiler: /home/ubuntu/mir-server-snap/parts/server/install/usr/bin/gcc -- broken
CMake Error at /usr/share/cmake-3.2/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler
"/home/ubuntu/mir-server-snap/parts/server/install/usr/bin/gcc" is not able
to compile a simple test program.
It fails with the following output:
Change Dir: /home/ubuntu/mir-server-snap/parts/server/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec737652062/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec737652062.dir/build.make
CMakeFiles/cmTryCompileExec737652062.dir/build
make[1]: Entering directory
'/home/ubuntu/mir-server-snap/parts/server/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/ubuntu/mir-server-snap/parts/server/build/CMakeFiles/CMakeTmp/CMakeFiles
1
Building C object
CMakeFiles/cmTryCompileExec737652062.dir/testCCompiler.c.o
/home/ubuntu/mir-server-snap/parts/server/install/usr/bin/gcc
-I/home/ubuntu/mir-server-snap/stage/include
-I/home/ubuntu/mir-server-snap/stage/usr/include
-I/home/ubuntu/mir-server-snap/stage/include/x86_64-linux-gnu
-I/home/ubuntu/mir-server-snap/stage/usr/include/x86_64-linux-gnu -o
CMakeFiles/cmTryCompileExec737652062.dir/testCCompiler.c.o -c
/home/ubuntu/mir-server-snap/parts/server/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec737652062
/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec737652062.dir/link.txt --verbose=1
/home/ubuntu/mir-server-snap/parts/server/install/usr/bin/gcc
-I/home/ubuntu/mir-server-snap/stage/include
-I/home/ubuntu/mir-server-snap/stage/usr/include
-I/home/ubuntu/mir-server-snap/stage/include/x86_64-linux-gnu
-I/home/ubuntu/mir-server-snap/stage/usr/include/x86_64-linux-gnu
-L/home/ubuntu/mir-server-snap/stage/lib
-L/home/ubuntu/mir-server-snap/stage/usr/lib
-L/home/ubuntu/mir-server-snap/stage/lib/x86_64-linux-gnu
-L/home/ubuntu/mir-server-snap/stage/usr/lib/x86_64-linux-gnu
CMakeFiles/cmTryCompileExec737652062.dir/testCCompiler.c.o -o
cmTryCompileExec737652062 -rdynamic
/home/ubuntu/mir-server-snap/parts/server/install/usr/bin/ld: cannot find
/usr/lib/x86_64-linux-gnu/libc_nonshared.a
collect2: error: ld returned 1 exit status
CMakeFiles/cmTryCompileExec737652062.dir/build.make:88: recipe for target
'cmTryCompileExec737652062' failed
make[1]: Leaving directory
'/home/ubuntu/mir-server-snap/parts/server/build/CMakeFiles/CMakeTmp'
make[1]: *** [cmTryCompileExec737652062] Error 1
Makefile:117: recipe for target 'cmTryCompileExec737652062/fast' failed
make: *** [cmTryCompileExec737652062/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
-- Configuring incomplete, errors occurred!
See also "/home/ubuntu/mir-server-snap/parts/server/build/CMakeFiles/CMakeOutput.log".
See also "/home/ubuntu/mir-server-snap/parts/server/build/CMakeFiles/CMakeError.log".
Command '['/bin/sh', '/tmp/tmp5w495sbo', 'cmake', '/home/ubuntu/mir-server-snap/parts/server/src', '-DCMAKE_INSTALL_PREFIX=']' returned non-zero exit status 1