Skip to content

Docker build not workingΒ #286

@hpx7

Description

@hpx7

Running docker build -t hypersomnia on master fails with the following error:

 > [builder 5/5] RUN cmake/build.sh Release x64 "-DHEADLESS=1" &&     ninja all -C build/current:
#11 0.219 Building into build/Release-x64-clang-16-headless
#11 0.406 -- The C compiler identification is Clang 16.0.6
#11 0.524 -- The CXX compiler identification is Clang 16.0.6
#11 0.529 -- Detecting C compiler ABI info
#11 0.627 -- Detecting C compiler ABI info - done
#11 0.632 -- Check for working C compiler: /usr/bin/clang-16 - skipped
#11 0.632 -- Detecting C compile features
#11 0.633 -- Detecting C compile features - done
#11 0.635 -- Detecting CXX compiler ABI info
#11 0.757 -- Detecting CXX compiler ABI info - done
#11 0.762 -- Check for working CXX compiler: /usr/bin/clang++-16 - skipped
#11 0.762 -- Detecting CXX compile features
#11 0.763 -- Detecting CXX compile features - done
#11 0.851 -- The ASM compiler identification is Clang with GNU-like command-line
#11 0.852 -- Found assembler: /usr/bin/clang-16
#11 0.853 CMAKE_C_COMPILER: /usr/bin/clang-16
#11 0.853 CMAKE_CXX_COMPILER: /usr/bin/clang++-16
#11 0.853 CMAKE_LINKER: /usr/bin/ld.lld-16
#11 0.853 Hypersomnia project source dir: /hypersomnia
#11 0.853 Hypersomnia project binary dir: /hypersomnia/build/Release-x64-clang-16-headless
#11 0.853 Hypersomnia current binary dir: /hypersomnia/build/Release-x64-clang-16-headless
#11 0.853 Building with Clang.
#11 0.883 Clang full version string: Ubuntu clang version 16.0.6 (++20231112100510+7cbf1a259152-1~exp1~20231112100554.106)
#11 0.883 Target: aarch64-unknown-linux-gnu
#11 0.883 Thread model: posix
#11 0.883 InstalledDir: /usr/bin
#11 0.883
#11 0.883 Clang version: 16.0
#11 0.883 Building for UNIX systems.
#11 0.883 Building for x64 architecture.
#11 0.883 Building a minimal executable required to run a dedicated server or a masterserver.
#11 0.883 Not generating debug information.
#11 0.883 Building without debugger setup.
#11 0.928 Building of test scenes is enabled.
#11 0.928 Steam integration will NOT be linked at all. Building stubs directly.
#11 0.928 CMake Error at CMakeLists.txt:1043 (add_subdirectory):
#11 0.928   The source directory
#11 0.928
#11 0.928     /hypersomnia/cmake/Introspector-generator
#11 0.928
#11 0.928   does not contain a CMakeLists.txt file.
#11 0.928
#11 0.928
#11 0.935 -- Found Git: /usr/bin/git (found version "2.34.1")
#11 0.935 Git path: /usr/bin/git
#11 0.935 Building version_file_generator.
#11 0.935 Building with Clang.
#11 0.965 Clang full version string: Ubuntu clang version 16.0.6 (++20231112100510+7cbf1a259152-1~exp1~20231112100554.106)
#11 0.965 Target: aarch64-unknown-linux-gnu
#11 0.965 Thread model: posix
#11 0.965 InstalledDir: /usr/bin
#11 0.965
#11 0.965 Clang version: 16.0
#11 0.965 Omitting c++fs.
#11 0.966 -O0 will be specified for Debug build.
#11 0.967 Chosen standard library: libc++
#11 0.967 Forcing use of O2.
#11 0.967 GENERATE_DEBUG_INFORMATION: OFF
#11 0.967 BUILD_DEBUGGER_SETUP: OFF
#11 0.967 Removing -g flag.
#11 0.968 CMAKE_RUNTIME_OUTPUT_DIRECTORY: /hypersomnia/build/Release-x64-clang-16-headless
#11 0.972 COPY_STEAM_LIBS_TO_EXE_FOLDER is OFF.
#11 0.972 Building OpenSSL.
#11 0.972 OPENSSL_ROOT_DIR:
#11 0.978 Found: TRUE)
#11 0.978 Include dir: /usr/include)
#11 0.978 Crypto library: /usr/lib/aarch64-linux-gnu/libcrypto.so)
#11 0.978 SSL library: /usr/lib/aarch64-linux-gnu/libssl.so)
#11 0.978 Libraries: /usr/lib/aarch64-linux-gnu/libssl.so;/usr/lib/aarch64-linux-gnu/libcrypto.so)
#11 0.978 Version: 3.0.2)
#11 0.978 -- Found OpenSSL: /usr/lib/aarch64-linux-gnu/libcrypto.so (found version "3.0.2")
#11 0.979 CMake Error at CMakeLists.txt:2065 (add_subdirectory):
#11 0.979   The source directory
#11 0.979
#11 0.979     /hypersomnia/src/3rdparty/libdatachannel
#11 0.979
#11 0.979   does not contain a CMakeLists.txt file.
#11 0.979
#11 0.979
#11 0.979 CMake Error at CMakeLists.txt:2068 (target_compile_options):
#11 0.979   Cannot specify compile options for target "datachannel-static" which is not
#11 0.979   built by this project.
#11 0.979
#11 0.979
#11 0.979 Omitting c++fs.
#11 0.979 Building Networking.
#11 0.979 These libraries will be linked statically.
#11 0.979 Default CMAKE_FIND_LIBRARY_SUFFIXES: .so;.a
#11 0.979 CMAKE_FIND_LIBRARY_SUFFIXES after adjustment: .a;.so
#11 0.979 These libraries will be linked dynamically.
#11 0.979 Default CMAKE_FIND_LIBRARY_SUFFIXES: .a;.so
#11 0.979 CMAKE_FIND_LIBRARY_SUFFIXES after adjustment: .so;.a
#11 0.979 All libs:
#11 0.979 lua
#11 0.979 streflop
#11 0.979 blake3
#11 0.979 OpenSSL::SSL
#11 0.979 OpenSSL::Crypto
#11 0.979 datachannel-static
#11 0.979 dl
#11 0.979 /usr/lib/aarch64-linux-gnu/libsodium.a
#11 0.980 ALL linked libraries: lua;streflop;blake3;OpenSSL::SSL;OpenSSL::Crypto;datachannel-static;dl;/usr/lib/aarch64-linux-gnu/libsodium.a
#11 0.980 All CXX flags:   -m64 -Xclang -fno-threadsafe-statics  -Wall -Werror -Wextra -Wcast-align -Wover-aligned  -fcolor-diagnostics -Wno-error=unused-command-line-argument -Wno-error=missing-braces -Wno-deprecated-enum-enum-conversion -ftemplate-backtrace-limit=0 -std=c++20 -stdlib=libc++
#11 0.980 Debug CXX flags:   -Xclang -O0
#11 0.980 RelWithDebInfo CXX flags: -O2  -DNDEBUG
#11 0.980 Release CXX flags: -O2 -DNDEBUG  -DIS_PRODUCTION_BUILD=1
#11 0.980 ALl linker flags:  -pthread -unwindlib=libgcc -fuse-ld=lld
#11 0.980 Linker Debug flags:
#11 0.980 Linker RelWithDebInfo flags:
#11 0.980 Linker Release flags:
#11 0.980 -- Configuring incomplete, errors occurred!
#11 0.980 See also "/hypersomnia/build/Release-x64-clang-16-headless/CMakeFiles/CMakeOutput.log".
#11 0.980 See also "/hypersomnia/build/Release-x64-clang-16-headless/CMakeFiles/CMakeError.log".
#11 0.985 /hypersomnia/build /hypersomnia/build/Release-x64-clang-16-headless
#11 0.987 /hypersomnia/build/Release-x64-clang-16-headless
#11 0.989 ninja: Entering directory `build/current'
#11 0.990 ninja: error: loading 'build.ninja': No such file or directory
------
executor failed running [/bin/sh -c cmake/build.sh Release x64 "-DHEADLESS=1" &&     ninja all -C build/current]: exit code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions