NiXium-org / NiXium

Open-Source Infrastructure as Code Management Solution for Multiple Systems designed to be reliable in mission-critical tasks on paranoid and high-security environment.
European Union Public License 1.2
25 stars 3 forks source link

Tracking for Xen Deployment #121

Open Kreyren opened 4 months ago

Kreyren commented 4 months ago

Referencing: https://github.com/NixOS/nixpkgs/pull/324693#issuecomment-2242506025

Implements Xen capability to help with fixing https://github.com/NiXium-org/NiXium/issues/27

Nixpkgs changed synced in https://github.com/NiXium-org/nixpkgs/tree/pr-324693

Kreyren commented 4 months ago
NiXium-dev-shell> , verify
Checking system: sinnenfreude
building the system configuration...
warning: Git tree '/nix/persist/NiXium' is dirty
error:
       … while calling anonymous lambda

         at /nix/store/h2awxixdvgpi9n7jnjp1gk8gh61by37y-source/lib/attrsets.nix:1571:24:

         1570|     let f = attrPath:
         1571|       zipAttrsWith (n: values:
             |                        ^
         1572|         let here = attrPath ++ [n]; in

       … while calling anonymous lambda

         at /nix/store/h2awxixdvgpi9n7jnjp1gk8gh61by37y-source/lib/attrsets.nix:1205:18:

         1204|         mapAttrs
         1205|           (name: value:
             |                  ^
         1206|             if isAttrs value && cond value

       … from call site

         at /nix/store/h2awxixdvgpi9n7jnjp1gk8gh61by37y-source/lib/attrsets.nix:1208:18:

         1207|             then recurse (path ++ [ name ]) value
         1208|             else f (path ++ [ name ]) value);
             |                  ^
         1209|     in

       … while calling anonymous lambda

         at /nix/store/h2awxixdvgpi9n7jnjp1gk8gh61by37y-source/lib/modules.nix:242:72:

          241|           # For definitions that have an associated option
          242|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |                                                                        ^
          243|

       … while evaluating the option `system.build.toplevel':

       … while calling anonymous lambda

         at /nix/store/h2awxixdvgpi9n7jnjp1gk8gh61by37y-source/lib/modules.nix:824:28:

          823|         # Process mkMerge and mkIf properties.
          824|         defs' = concatMap (m:
             |                            ^
          825|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))

       … while evaluating definitions from `/nix/store/h2awxixdvgpi9n7jnjp1gk8gh61by37y-source/nixos/modules/system/activation/top-level.nix':

       … from call site

         at /nix/store/h2awxixdvgpi9n7jnjp1gk8gh61by37y-source/lib/modules.nix:825:137:

          824|         defs' = concatMap (m:
          825|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
             |                                                                                                                                         ^
          826|         ) defs;

       … while calling 'dischargeProperties'

         at /nix/store/h2awxixdvgpi9n7jnjp1gk8gh61by37y-source/lib/modules.nix:896:25:

          895|   */
          896|   dischargeProperties = def:
             |                         ^
          897|     if def._type or "" == "merge" then

       … from call site

         at /nix/store/h2awxixdvgpi9n7jnjp1gk8gh61by37y-source/nixos/modules/system/activation/top-level.nix:71:12:

           70|   # Replace runtime dependencies
           71|   system = foldr ({ oldDependency, newDependency }: drv:
             |            ^
           72|       pkgs.replaceDependency { inherit oldDependency newDependency drv; }

       … while calling 'foldr'

         at /nix/store/h2awxixdvgpi9n7jnjp1gk8gh61by37y-source/lib/lists.nix:121:20:

          120|   */
          121|   foldr = op: nul: list:
             |                    ^
          122|     let

       … from call site

         at /nix/store/h2awxixdvgpi9n7jnjp1gk8gh61by37y-source/lib/lists.nix:128:8:

          127|         else op (elemAt list n) (fold' (n + 1));
          128|     in fold' 0;
             |        ^
          129|

       … while calling 'fold''

         at /nix/store/h2awxixdvgpi9n7jnjp1gk8gh61by37y-source/lib/lists.nix:124:15:

          123|       len = length list;
          124|       fold' = n:
             |               ^
          125|         if n == len

       error:
       Failed assertions:
       - Xen currently does not support EFI boot on bootloaders that are not systemd-boot
Kreyren commented 4 months ago

Status update: Fails to deploy due to incompatibility with lanzaboote, changes requested at https://github.com/NixOS/nixpkgs/pull/324911#discussion_r1690607862

Kreyren commented 4 months ago

Xen Contribution fails to build with:

fatal: clone of 'https://github.com/openssl/openssl' into submodule path '/nix/store/r7w8kfvxml6igdzaf01ksibzrjm15d61-ovmf/CryptoPkg/Library/OpensslLib/openssl' failed

Full Log: https://gist.github.com/Kreyren/aaf35b6cabdb79551a23e1799d44c60e/raw/4a9535c26ee2434f48a05f56186ca6014263f68b/gistfile1.txt

EDIT: It's not reproducible, no idea what it was caused by, new deployment still fails:

@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/js6xcxagv8v2b9439r9wdn26v4h9xlip-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
fixing cmake files...
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/4pbivx7l78nsigw986v81psjzj7nlbg6-colobot-0.2.0-alpha/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/4pbivx7l78nsigw986v81psjzj7nlbg6-colobot-0.2.0-alpha/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/4pbivx7l78nsigw986v81psjzj7nlbg6-colobot-0.2.0-alpha/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/4pbivx7l78nsigw986v81psjzj7nlbg6-colobot-0.2.0-alpha/share/doc/colobot -DCMAKE_INSTALL_INFODIR=/nix/store/4pbivx7l78nsigw986v81psjzj7nlbg6-colobot-0.2.0-alpha/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/4pbivx7l78nsigw986v81psjzj7nlbg6-colobot-0.2.0-alpha/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/4pbivx7l78nsigw986v81psjzj7nlbg6-colobot-0.2.0-alpha/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/4pbivx7l78nsigw986v81psjzj7nlbg6-colobot-0.2.0-alpha/include -DCMAKE_INSTALL_SBINDIR=/nix/store/4pbivx7l78nsigw986v81psjzj7nlbg6-colobot-0.2.0-alpha/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/4pbivx7l78nsigw986v81psjzj7nlbg6-colobot-0.2.0-alpha/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/4pbivx7l78nsigw986v81psjzj7nlbg6-colobot-0.2.0-alpha/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/8mjb3ziimfi3rki71q4s0916xkm4cm5p-gcc-wrapper-13.2.0/bin/strip -DCMAKE_RANLIB=/nix/store/8mjb3ziimfi3rki71q4s0916xkm4cm5p-gcc-wrapper-13.2.0/bin/ranlib -DCMAKE_AR=/nix/store/8mjb3ziimfi3rki71q4s0916xkm4cm5p-gcc-wrapper-13.2.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/4pbivx7l78nsigw986v81psjzj7nlbg6-colobot-0.2.0-alpha  
CMake Deprecation Warning at CMakeLists.txt:6 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/8mjb3ziimfi3rki71q4s0916xkm4cm5p-gcc-wrapper-13.2.0/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: /nix/store/8mjb3ziimfi3rki71q4s0916xkm4cm5p-gcc-wrapper-13.2.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building Colobot "Gold" (0.2.0-alpha)
-- Build for Linux system
-- Detected GCC version 4.7+
CMake Warning (dev) at /nix/store/jldwz6vv5ki21bprmhq6abpnmpr71l55-cmake-3.29.2/share/cmake-3.29/Modules/FindOpenGL.cmake:415 (message):
  Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
  available.  Run "cmake --help-policy CMP0072" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  FindOpenGL found both a legacy GL library:

    OPENGL_gl_LIBRARY: /nix/store/n5plv6lv08bxshqq9ina34ckzklc7i81-libGL-1.7.0/lib/libGL.so

  and GLVND libraries for OpenGL and GLX:

    OPENGL_opengl_LIBRARY: /nix/store/n5plv6lv08bxshqq9ina34ckzklc7i81-libGL-1.7.0/lib/libOpenGL.so
    OPENGL_glx_LIBRARY: /nix/store/n5plv6lv08bxshqq9ina34ckzklc7i81-libGL-1.7.0/lib/libGLX.so

  OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
  compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
  CMakeLists.txt:289 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OpenGL: /nix/store/n5plv6lv08bxshqq9ina34ckzklc7i81-libGL-1.7.0/lib/libOpenGL.so (Required is at least version "1.4")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found SDL2: /nix/store/xay51i1rxl73plhl5h7jn3z9n3ckb5fr-SDL2-2.30.2/lib/libSDL2.so
CMake Warning (dev) at /nix/store/jldwz6vv5ki21bprmhq6abpnmpr71l55-cmake-3.29.2/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (SDL2_IMAGE)
  does not match the name of the calling package (SDL2_image).  This can lead
  to problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/FindSDL2_image.cmake:157 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:291 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found SDL2_IMAGE: /nix/store/y4sjacw7khf85hx5r9f5rvjszickgp61-SDL2_image-2.8.2/lib/libSDL2_image.so
CMake Warning (dev) at /nix/store/jldwz6vv5ki21bprmhq6abpnmpr71l55-cmake-3.29.2/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (SDL2_TTF)
  does not match the name of the calling package (SDL2_ttf).  This can lead
  to problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/FindSDL2_ttf.cmake:156 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:292 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found SDL2_TTF: /nix/store/lmqf7ck2jha0icl0dz53mrv05qgmllnx-SDL2_ttf-2.22.0/lib/libSDL2_ttf.so
-- Found ZLIB: /nix/store/nw1bnjadmzk9hnd4nbvxmqlh074vr16j-zlib-1.3.1/lib/libz.so (found version "1.3.1")
-- Found PNG: /nix/store/xp0vr047y63v91yw6yimjkq3f0rxxc74-libpng-apng-1.6.43/lib/libpng.so (found suitable version "1.6.43", minimum required is "1.2")
-- Found Gettext: /nix/store/15lzdmjwrvkml0xxms4a0q91mpianf8g-gettext-0.21.1/bin/msgmerge (found version "0.21.1")
-- Found Boost: /nix/store/73ik8xsdqv0grj8z4rplfqhzb5ajd4s3-boost-1.81.0-dev/lib/cmake/Boost-1.81.0/BoostConfig.cmake (found version "1.81.0") found components: system filesystem regex
-- Found OpenAL: /nix/store/nxxk19p5wlkr9fp984d438yjnz2nwk44-openal-soft-1.23.1/lib/libopenal.so
-- Found LibSndFile: /nix/store/bdd4409zqdxdp82rq7p8z5yxdqjqb56c-libsndfile-1.2.2/lib/libsndfile.so
CMake Deprecation Warning at lib/localename/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Found Doxygen: /nix/store/3pqc75y4i904fxz15cjhw5n1xf4z1wjy-doxygen-1.10.0/bin/doxygen (found version "1.10.0") found components: doxygen missing components: dot
CMake Deprecation Warning at po/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at desktop/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Warning at desktop/CMakeLists.txt:8 (message):
  rsvg-convert not found; desktop icons will not be generated


CMake Warning at desktop/CMakeLists.txt:88 (message):
  pod2man not found; manpage will not be generated


CMake Warning at CMakeLists.txt:477 (message):
  Data directory is not available; make sure colobot-data is installed in
  /nix/store/4pbivx7l78nsigw986v81psjzj7nlbg6-colobot-0.2.0-alpha/share/games/colobot.


-- Configuring done (8.7s)
-- Generating done (0.2s)
CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_TESTING
    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_INSTALL_BINDIR
    CMAKE_INSTALL_DOCDIR
    CMAKE_INSTALL_INCLUDEDIR
    CMAKE_INSTALL_INFODIR
    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_LIBEXECDIR
    CMAKE_INSTALL_LOCALEDIR
    CMAKE_INSTALL_MANDIR
    CMAKE_INSTALL_OLDINCLUDEDIR
    CMAKE_INSTALL_SBINDIR


-- Build files have been written to: /build/source/build
cmake: enabled parallel installing
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
build flags: SHELL=/nix/store/h3bhzvz9ipglcybbcvkxvm4vg9lwvqg4-bash-5.2p26/bin/bash
[  1%] Building C object lib/localename/CMakeFiles/localename.dir/localename.c.o
[  1%] Linking C static library liblocalename.a
[  1%] Built target localename
[  1%] Building CXX object src/CMakeFiles/colobotbase.dir/sound/oalsound/alsound.cpp.o
[  1%] Building CXX object src/CMakeFiles/colobotbase.dir/sound/oalsound/buffer.cpp.o
[  2%] Building CXX object src/CMakeFiles/colobotbase.dir/sound/oalsound/channel.cpp.o
[  2%] Building CXX object src/CMakeFiles/colobotbase.dir/sound/oalsound/check.cpp.o
[  3%] Building CXX object src/CMakeFiles/colobotbase.dir/app/app.cpp.o
[  3%] Building CXX object src/CMakeFiles/colobotbase.dir/app/controller.cpp.o
[  3%] Building CXX object src/CMakeFiles/colobotbase.dir/app/input.cpp.o
[  4%] Building CXX object src/CMakeFiles/colobotbase.dir/app/modman.cpp.o
[  4%] Building CXX object src/CMakeFiles/colobotbase.dir/app/pathman.cpp.o
[  4%] Building CXX object src/CMakeFiles/colobotbase.dir/app/pausemanager.cpp.o
[  5%] Building CXX object src/CMakeFiles/colobotbase.dir/app/signal_handlers.cpp.o
[  5%] Building CXX object src/CMakeFiles/colobotbase.dir/common/config_file.cpp.o
[  5%] Building CXX object src/CMakeFiles/colobotbase.dir/common/event.cpp.o
[  6%] Building CXX object src/CMakeFiles/colobotbase.dir/common/font_loader.cpp.o
[  6%] Building CXX object src/CMakeFiles/colobotbase.dir/common/image.cpp.o
[  6%] Building CXX object src/CMakeFiles/colobotbase.dir/common/key.cpp.o
[  7%] Building CXX object src/CMakeFiles/colobotbase.dir/common/language.cpp.o
[  7%] Building CXX object src/CMakeFiles/colobotbase.dir/common/logger.cpp.o
[  7%] Building CXX object src/CMakeFiles/colobotbase.dir/common/profiler.cpp.o
[  8%] Building CXX object src/CMakeFiles/colobotbase.dir/common/regex_utils.cpp.o
[  8%] Building CXX object src/CMakeFiles/colobotbase.dir/common/resources/inputstream.cpp.o
[  8%] Building CXX object src/CMakeFiles/colobotbase.dir/common/resources/inputstreambuffer.cpp.o
/build/source/src/common/resources/inputstreambuffer.cpp: In member function 'virtual std::basic_streambuf<char>::int_type CInputStreamBuffer::underflow()':
/build/source/src/common/resources/inputstreambuffer.cpp:82:43: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   82 |     PHYSFS_sint64 read_count = PHYSFS_read(m_file, m_buffer.get(), sizeof(char), m_bufferSize);
      |                                ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /build/source/src/common/resources/inputstreambuffer.h:27,
                 from /build/source/src/common/resources/inputstreambuffer.cpp:20:
/nix/store/8ldqfv237hiwpv54175j2vkc4gxq452c-physfs-3.2.0/include/physfs.h:1363:27: note: declared here
 1363 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle,
      |                           ^~~~~~~~~~~
[  9%] Building CXX object src/CMakeFiles/colobotbase.dir/common/resources/outputstream.cpp.o
[  9%] Building CXX object src/CMakeFiles/colobotbase.dir/common/resources/outputstreambuffer.cpp.o
/build/source/src/common/resources/outputstreambuffer.cpp: In member function 'virtual std::basic_streambuf<char>::int_type COutputStreamBuffer::overflow(std::basic_streambuf<char>::int_type)':
/build/source/src/common/resources/outputstreambuffer.cpp:81:47: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   81 |     PHYSFS_sint64 bytes_written = PHYSFS_write(m_file, pbase(), 1, pptr() - pbase());
      |                                   ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /build/source/src/common/resources/outputstreambuffer.h:27,
                 from /build/source/src/common/resources/outputstreambuffer.cpp:20:
/nix/store/8ldqfv237hiwpv54175j2vkc4gxq452c-physfs-3.2.0/include/physfs.h:1392:27: note: declared here
 1392 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle,
      |                           ^~~~~~~~~~~~
/build/source/src/common/resources/outputstreambuffer.cpp:89:37: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   89 |         bytes_written = PHYSFS_write(m_file, &ch, 1, 1);
      |                         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/nix/store/8ldqfv237hiwpv54175j2vkc4gxq452c-physfs-3.2.0/include/physfs.h:1392:27: note: declared here
 1392 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle,
      |                           ^~~~~~~~~~~~
[  9%] Building CXX object src/CMakeFiles/colobotbase.dir/common/resources/resourcemanager.cpp.o
/build/source/src/common/resources/resourcemanager.cpp: In constructor 'CResourceManager::CResourceManager(const char*)':
/build/source/src/common/resources/resourcemanager.cpp:41:88: warning: 'const char* PHYSFS_getLastError()' is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   41 |         GetLogger()->Error("Error while initializing physfs: %s\n", PHYSFS_getLastError());
      |                                                                     ~~~~~~~~~~~~~~~~~~~^~
In file included from /build/source/src/common/resources/sndfile_wrapper.h:24,
                 from /build/source/src/common/resources/resourcemanager.h:24,
                 from /build/source/src/common/resources/resourcemanager.cpp:21:
/nix/store/8ldqfv237hiwpv54175j2vkc4gxq452c-physfs-3.2.0/include/physfs.h:675:25: note: declared here
  675 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
      |                         ^~~~~~~~~~~~~~~~~~~
/build/source/src/common/resources/resourcemanager.cpp: In destructor 'CResourceManager::~CResourceManager()':
/build/source/src/common/resources/resourcemanager.cpp:54:94: warning: 'const char* PHYSFS_getLastError()' is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   54 |             GetLogger()->Error("Error while deinitializing physfs: %s\n", PHYSFS_getLastError());
      |                                                                           ~~~~~~~~~~~~~~~~~~~^~
/nix/store/8ldqfv237hiwpv54175j2vkc4gxq452c-physfs-3.2.0/include/physfs.h:675:25: note: declared here
  675 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
      |                         ^~~~~~~~~~~~~~~~~~~
/build/source/src/common/resources/resourcemanager.cpp: In static member function 'static bool CResourceManager::AddLocation(const std::string&, bool, const std::string&)':
/build/source/src/common/resources/resourcemanager.cpp:69:102: warning: 'const char* PHYSFS_getLastError()' is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   69 |         GetLogger()->Error("Error while mounting \"%s\": %s\n", location.c_str(), PHYSFS_getLastError());
      |                                                                                   ~~~~~~~~~~~~~~~~~~~^~
/nix/store/8ldqfv237hiwpv54175j2vkc4gxq452c-physfs-3.2.0/include/physfs.h:675:25: note: declared here
  675 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
      |                         ^~~~~~~~~~~~~~~~~~~
/build/source/src/common/resources/resourcemanager.cpp: In static member function 'static bool CResourceManager::RemoveLocation(const std::string&)':
/build/source/src/common/resources/resourcemanager.cpp:79:37: warning: 'int PHYSFS_removeFromSearchPath(const char*)' is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   79 |     if (!PHYSFS_removeFromSearchPath(location.c_str()))
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/nix/store/8ldqfv237hiwpv54175j2vkc4gxq452c-physfs-3.2.0/include/physfs.h:908:17: note: declared here
  908 | PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir)
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/source/src/common/resources/resourcemanager.cpp:81:104: warning: 'const char* PHYSFS_getLastError()' is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   81 |         GetLogger()->Error("Error while unmounting \"%s\": %s\n", location.c_str(), PHYSFS_getLastError());
      |                                                                                     ~~~~~~~~~~~~~~~~~~~^~
/nix/store/8ldqfv237hiwpv54175j2vkc4gxq452c-physfs-3.2.0/include/physfs.h:675:25: note: declared here
  675 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
      |                         ^~~~~~~~~~~~~~~~~~~
/build/source/src/common/resources/resourcemanager.cpp: In static member function 'static bool CResourceManager::SetSaveLocation(const std::string&)':
/build/source/src/common/resources/resourcemanager.cpp:109:118: warning: 'const char* PHYSFS_getLastError()' is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  109 |         GetLogger()->Error("Error while setting save location to \"%s\": %s\n", location.c_str(), PHYSFS_getLastError());
      |                                                                                                   ~~~~~~~~~~~~~~~~~~~^~
/nix/store/8ldqfv237hiwpv54175j2vkc4gxq452c-physfs-3.2.0/include/physfs.h:675:25: note: declared here
  675 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
      |                         ^~~~~~~~~~~~~~~~~~~
/build/source/src/common/resources/resourcemanager.cpp: In static member function 'static bool CResourceManager::DirectoryExists(const std::string&)':
/build/source/src/common/resources/resourcemanager.cpp:154:81: warning: 'int PHYSFS_isDirectory(const char*)' is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  154 |         return PHYSFS_exists(CleanPath(directory).c_str()) && PHYSFS_isDirectory(CleanPath(directory).c_str());
      |                                                               ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/8ldqfv237hiwpv54175j2vkc4gxq452c-physfs-3.2.0/include/physfs.h:1189:17: note: declared here
 1189 | PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED;
      |                 ^~~~~~~~~~~~~~~~~~
/build/source/src/common/resources/resourcemanager.cpp: In static member function 'static std::vector<std::__cxx11::basic_string<char> > CResourceManager::ListFiles(const std::string&, bool)':
/build/source/src/common/resources/resourcemanager.cpp:196:39: warning: 'int PHYSFS_isDirectory(const char*)' is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  196 |                 if (PHYSFS_isDirectory(path.c_str())) continue;
      |                     ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/nix/store/8ldqfv237hiwpv54175j2vkc4gxq452c-physfs-3.2.0/include/physfs.h:1189:17: note: declared here
 1189 | PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED;
      |                 ^~~~~~~~~~~~~~~~~~
/build/source/src/common/resources/resourcemanager.cpp: In static member function 'static std::vector<std::__cxx11::basic_string<char> > CResourceManager::ListDirectories(const std::string&)':
/build/source/src/common/resources/resourcemanager.cpp:218:35: warning: 'int PHYSFS_isDirectory(const char*)' is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  218 |             if (PHYSFS_isDirectory(path.c_str()))
      |                 ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
/nix/store/8ldqfv237hiwpv54175j2vkc4gxq452c-physfs-3.2.0/include/physfs.h:1189:17: note: declared here
 1189 | PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED;
      |                 ^~~~~~~~~~~~~~~~~~
/build/source/src/common/resources/resourcemanager.cpp: In static member function 'static long long int CResourceManager::GetLastModificationTime(const std::string&)':
/build/source/src/common/resources/resourcemanager.cpp:247:37: warning: 'PHYSFS_sint64 PHYSFS_getLastModTime(const char*)' is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  247 |         return PHYSFS_getLastModTime(CleanPath(filename).c_str());
      |                ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/8ldqfv237hiwpv54175j2vkc4gxq452c-physfs-3.2.0/include/physfs.h:1236:27: note: declared here
 1236 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_getLastModTime(const char *filename)
      |                           ^~~~~~~~~~~~~~~~~~~~~
[ 10%] Building CXX object src/CMakeFiles/colobotbase.dir/common/resources/sdl_file_wrapper.cpp.o
/build/source/src/common/resources/sdl_file_wrapper.cpp: In static member function 'static size_t CSDLFileWrapper::SDLRead(SDL_RWops*, void*, size_t, size_t)':
/build/source/src/common/resources/sdl_file_wrapper.cpp:163:34: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  163 |         auto result = PHYSFS_read(file, ptr, size, maxnum);
      |                       ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /build/source/src/common/resources/sdl_file_wrapper.cpp:25:
/nix/store/8ldqfv237hiwpv54175j2vkc4gxq452c-physfs-3.2.0/include/physfs.h:1363:27: note: declared here
 1363 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle,
      |                           ^~~~~~~~~~~
[ 10%] Building CXX object src/CMakeFiles/colobotbase.dir/common/resources/sdl_memory_wrapper.cpp.o
/build/source/src/common/resources/sdl_memory_wrapper.cpp: In constructor 'CSDLMemoryWrapper::CSDLMemoryWrapper(const std::string&)':
/build/source/src/common/resources/sdl_memory_wrapper.cpp:49:20: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   49 |     if (PHYSFS_read(file, m_buffer.get(), 1, length) != length)
      |         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /build/source/src/common/resources/sdl_memory_wrapper.cpp:26:
/nix/store/8ldqfv237hiwpv54175j2vkc4gxq452c-physfs-3.2.0/include/physfs.h:1363:27: note: declared here
 1363 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle,
      |                           ^~~~~~~~~~~
[ 10%] Building CXX object src/CMakeFiles/colobotbase.dir/common/resources/sndfile_wrapper.cpp.o
/build/source/src/common/resources/sndfile_wrapper.cpp: In constructor 'CSNDFileWrapper::CSNDFileWrapper(const std::string&)':
/build/source/src/common/resources/sndfile_wrapper.cpp:50:55: warning: 'const char* PHYSFS_getLastError()' is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   50 |         m_last_error = std::string(PHYSFS_getLastError());
      |                                    ~~~~~~~~~~~~~~~~~~~^~
In file included from /build/source/src/common/resources/sndfile_wrapper.h:24,
                 from /build/source/src/common/resources/sndfile_wrapper.cpp:20:
/nix/store/8ldqfv237hiwpv54175j2vkc4gxq452c-physfs-3.2.0/include/physfs.h:675:25: note: declared here
  675 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
      |                         ^~~~~~~~~~~~~~~~~~~
/build/source/src/common/resources/sndfile_wrapper.cpp: In static member function 'static sf_count_t CSNDFileWrapper::SNDRead(void*, sf_count_t, void*)':
/build/source/src/common/resources/sndfile_wrapper.cpp:100:23: warning: 'PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  100 |     return PHYSFS_read(static_cast<PHYSFS_File *>(data), ptr, 1, count);
      |            ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/8ldqfv237hiwpv54175j2vkc4gxq452c-physfs-3.2.0/include/physfs.h:1363:27: note: declared here
 1363 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle,
      |                           ^~~~~~~~~~~
/build/source/src/common/resources/sndfile_wrapper.cpp: In static member function 'static sf_count_t CSNDFileWrapper::SNDWrite(const void*, sf_count_t, void*)':
/build/source/src/common/resources/sndfile_wrapper.cpp:132:24: warning: 'PHYSFS_sint64 PHYSFS_write(PHYSFS_File*, const void*, PHYSFS_uint32, PHYSFS_uint32)' is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  132 |     return PHYSFS_write(static_cast<PHYSFS_File *>(data), ptr, 1, count);
      |            ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/8ldqfv237hiwpv54175j2vkc4gxq452c-physfs-3.2.0/include/physfs.h:1392:27: note: declared here
 1392 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle,
      |                           ^~~~~~~~~~~~
[ 11%] Building CXX object src/CMakeFiles/colobotbase.dir/common/restext.cpp.o
In file included from /build/source/src/CBot/CBot.h:26,
                 from /build/source/src/common/restext.cpp:23:
/build/source/src/CBot/CBotFileUtils.h:93:38: error: 'uint32_t' has not been declared
   93 | bool WriteUInt32(std::ostream &ostr, uint32_t i);
      |                                      ^~~~~~~~
/build/source/src/CBot/CBotFileUtils.h:101:37: error: 'uint32_t' has not been declared
  101 | bool ReadUInt32(std::istream &istr, uint32_t &i);
      |                                     ^~~~~~~~
In file included from /build/source/src/CBot/CBotClass.h:24,
                 from /build/source/src/CBot/CBot.h:27:
/build/source/src/CBot/CBotVar/CBotVar.h:450:14: error: expected type-specifier before 'uint32_t'
  450 |     operator uint32_t();
      |              ^~~~~~~~
/build/source/src/CBot/CBotVar/CBotVar.h:459:20: error: 'uint32_t' has not been declared
  459 |     void operator=(uint32_t x);
      |                    ^~~~~~~~
/build/source/src/CBot/CBotVar/CBotVar.h:460:10: error: 'void CBot::CBotVar::operator=(int)' cannot be overloaded with 'void CBot::CBotVar::operator=(int)'
  460 |     void operator=(int x);
      |          ^~~~~~~~
/build/source/src/CBot/CBotVar/CBotVar.h:459:10: note: previous declaration 'void CBot::CBotVar::operator=(int)'
  459 |     void operator=(uint32_t x);
      |          ^~~~~~~~
/build/source/src/CBot/CBotVar/CBotVar.h:483:29: error: 'uint32_t' has not been declared
  483 |     virtual void SetValChar(uint32_t val);
      |                             ^~~~~~~~
/build/source/src/CBot/CBotVar/CBotVar.h:515:13: error: 'uint32_t' does not name a type
  515 |     virtual uint32_t GetValChar();
      |             ^~~~~~~~
/build/source/src/CBot/CBotVar/CBotVar.h:26:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   25 | #include "CBot/CBotUtils.h"
  +++ |+#include <cstdint>
   26 | 
make[2]: *** [src/CMakeFiles/colobotbase.dir/build.make:468: src/CMakeFiles/colobotbase.dir/common/restext.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:216: src/CMakeFiles/colobotbase.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
Kreyren commented 4 months ago
warning: Git tree '/nix/persist/NiXium' is dirty
building the system configuration...
warning: Git tree '/nix/persist/NiXium' is dirty
these 59 derivations will be built:
  /nix/store/x7sn86hksy3ncj9v35l6i585bs5mh8la-source.drv
  /nix/store/fky4qsm74b5n323qq5ghag0fmvacllm5-kicad-packages3d-249f794758.drv
  /nix/store/05wxqpia750gydddcv6al090rzcn92fs-kicad-8.0.2.drv
  /nix/store/v65aadj5nc02c4x7anqh526mmhh2yg8s-security-wrapper-noisetorch-x86_64-unknown-linux-musl.drv
  /nix/store/bvn3wsl31zgl3dj9qwsydsmv6n79v5y1-unit-script-suid-sgid-wrappers-start.drv
  /nix/store/0mv1vb0r69a5prfm2mf12dihw834cjza-unit-suid-sgid-wrappers.service.drv
  /nix/store/6ry40vazhb5zzv4m6yd0lpaybhs8874z-openvswitch-3.3.0.drv
  /nix/store/sbx718858qrvss3kckbvqdb3ka2q07wi-efi-binutils.drv
  /nix/store/4s6f1l903j4mpw0fp6abzc4vw50yglw5-xen-4.18.2.drv
  /nix/store/brv0rz3npm3jhrgk8fb3hsc4dyp66np4-system-path.drv
  /nix/store/rba27vr6r08lzf3gmylfrbmj9a9hhhvm-dbus-1.drv
  /nix/store/cjz8lbfvp4fhs2vyp7c5rgwkkl4lm014-X-Restart-Triggers-dbus.drv
  /nix/store/1pjsv21kgj1acn4kqv47ir0lmy1gmbi0-unit-dbus.service.drv
  /nix/store/28g5vqpa10my7qnanhs12a7qxc17nkma-unit-xen-qemu-dom0-disk-backend.service.drv
  /nix/store/2n492nbmwxjh29ca8p9c9c9ngjwqa22s-X-Restart-Triggers-polkit.drv
  /nix/store/8yk59hidxvqx3rpbb18zhbfsyzxmawh7-strong-weak-map-8.6.0.tgz.drv
  /nix/store/cfxn6nrqd8r5d838wcs114azkv7yxw42-cspell-8.6.0.drv
  /nix/store/miya5kl6sgwf7fgkpwhf1cgrky6h420g-tor-browser-13.0.14.drv
  /nix/store/p5rczdy9a4iqnfkvbkxwgz2mqphhc7ql-firefox-125.0.3.drv
  /nix/store/2v2pxa7zj5g02i50kh9l4hf7i80k3ivx-home-manager-path.drv
  /nix/store/yrb0pbrhnsiwdqyrh2xh3kvmgi94gvx3-qemu-8.2.3.drv
  /nix/store/km7jlv4q68q6qjamrdhyi07zw363wnsc-qemu-riscv64-binfmt-P-x86_64-unknown-linux-musl.drv
  /nix/store/qwx0q5zkrgly7wlpwax92v7psqic5gf8-nixos-tmpfiles.d.drv
  /nix/store/2wb9zn2if7y8mr6d38xchfq4mrl0cd47-tmpfiles.d.drv
  /nix/store/46szs6yn7yvy0gk12w3qqna052kx7ck6-unit-xendomains.service.drv
  /nix/store/qmkzflcb0j42a6yk437ydhy7766xhad4-X-Restart-Triggers-systemd-binfmt.drv
  /nix/store/4fll7v2jl8y9cq0xx8n9ga4axskxwj72-unit-systemd-binfmt.service.drv
  /nix/store/541g3km0bxs3nsgfpyqs66dgh6w1sn7w-set-environment.drv
  /nix/store/5vy7iz17hw91wviyf8qpnmgvxgcgf9x2-X-Restart-Triggers-systemd-tmpfiles-resetup.drv
  /nix/store/6p4mq62w5r12pxcxwqdg3mqw4xdf78zl-unit-systemd-tmpfiles-resetup.service.drv
  /nix/store/dd7d1kpnj15k718a7x9cgk6dwv8c18h9-ff_native-messaging-hosts.drv
  /nix/store/7ylhijclvkax6p7661cdx8gblkddxr2l-home-manager-files.drv
  /nix/store/iz7fpa0jgbgmag0a1ycag164jfnfvy66-nix.conf.drv
  /nix/store/j1hrlvh0y1d3vgpdb9q4jda54x2fzbjg-X-Restart-Triggers-nix-daemon.drv
  /nix/store/88yrqcwjgs5hzbzgm9zhf3paf0vx0m0w-unit-nix-daemon.service.drv
  /nix/store/snjavvqicimcnn4rhqzzrhibavmmj5qf-xen.cfg.drv
  /nix/store/qzp8hp8b7yl4p8lxpwksmj7w0wffhapz-copy-extra-files.drv
  /nix/store/wsg07fkr6d4f5wrlmd1iyk0k91sk2yh8-501j6r57pwdnh17smjmr34wxsdf5sz08-systemd-boot.drv
  /nix/store/czjz55lmfmr1h6xsqvy8r7j1q2pnazxi-install-systemd-boot.sh.drv
  /nix/store/aprbc99j6iw0xnzfxg9ps1khyrcdwwnb-etc-default-xendomains.drv
  /nix/store/axrad8mh0hc8c0f3mch6dj1klc5ahl0q-udev-rules.drv
  /nix/store/bvwjmlqqbvpy86vn5ckg6x7yh8gbxz1c-system-shutdown.drv
  /nix/store/mamliqn381a69ky7g73qv7l9ajr4ncjr-unit-dbus.service.drv
  /nix/store/fz5nwdzhkj0agxsa4ljvyfbxsl0zxmvn-user-units.drv
  /nix/store/gsqqr9mk7r3rhaq4f9kd986flxixsz4z-system-generators.drv
  /nix/store/jhh1mw3iiak59348j7l1awilgwnga5v3-etc-profile.drv
  /nix/store/nmzj8kg88h6c88y9p04jxifg3bv265d0-etc-default-xencommons.drv
  /nix/store/pdiz03ghrs86y2bikphvc2agv9jb1061-hwdb.bin.drv
  /nix/store/v73145czddgbx0d0i5m5w3laz5qmilh0-etc-pam-environment.drv
  /nix/store/l21nsfms7zsi1269rysnf79hig8w28c0-X-Restart-Triggers-systemd-udevd.drv
  /nix/store/fw2gc7s2vid5va7l54sn5ps0clwpxl3f-unit-systemd-udevd.service.drv
  /nix/store/v0j1x9a144i4dxpmmj4ds7aj8n50p433-unit-polkit.service.drv
  /nix/store/i4xj2hfbwcjdz6and438h1yfbr3pd6g9-activation-script.drv
  /nix/store/wgaxc0cha6xr912q9r7cz8p9b6rw3a4x-home-manager-generation.drv
  /nix/store/xi5gl6vp4mqn45kgr88f9qqncl7ycxxn-unit-home-manager-kreyren.service.drv
  /nix/store/y995rvvpi54lasnmbz8wc8xjmcw83q0c-unit-accounts-daemon.service.drv
  /nix/store/zj84g4xhw4d9x40vsm99zr5wq4ildv2q-system-units.drv
  /nix/store/dwh4zlsfys98pzsf3z18gacqi6qzvi37-etc.drv
  /nix/store/9c9jqqpnrrhqkkknp5ddfxs6dg2dhgfr-nixos-system-sinnenfreude-24.05.20240724.ca19448.drv
building '/nix/store/snjavvqicimcnn4rhqzzrhibavmmj5qf-xen.cfg.drv'...
building '/nix/store/v65aadj5nc02c4x7anqh526mmhh2yg8s-security-wrapper-noisetorch-x86_64-unknown-linux-musl.drv'...
building '/nix/store/yrb0pbrhnsiwdqyrh2xh3kvmgi94gvx3-qemu-8.2.3.drv'...
building '/nix/store/miya5kl6sgwf7fgkpwhf1cgrky6h420g-tor-browser-13.0.14.drv'...
building '/nix/store/sbx718858qrvss3kckbvqdb3ka2q07wi-efi-binutils.drv'...
building '/nix/store/p5rczdy9a4iqnfkvbkxwgz2mqphhc7ql-firefox-125.0.3.drv'...
building '/nix/store/6ry40vazhb5zzv4m6yd0lpaybhs8874z-openvswitch-3.3.0.drv'...
building '/nix/store/dd7d1kpnj15k718a7x9cgk6dwv8c18h9-ff_native-messaging-hosts.drv'...
building '/nix/store/x7sn86hksy3ncj9v35l6i585bs5mh8la-source.drv'...
error: builder for '/nix/store/yrb0pbrhnsiwdqyrh2xh3kvmgi94gvx3-qemu-8.2.3.drv' failed with exit code 1;
       last 10 log lines:
       >       | ^
       > compilation terminated.
       > [375/1523] Compiling C object libqemuutil.a.p/util_qemu-thread-posix.c.o
       > FAILED: libqemuutil.a.p/util_qemu-thread-posix.c.o
       > gcc -m64 -mcx16 -Ilibqemuutil.a.p -I. -I.. -Isubprojects/libvhost-user -I../subprojects/libvhost-user -Iqapi -Itrace -Iui/shader -I/nix/store/rikaplkskpzqnfrs5sk9b0nd9wx6mx9m-liburing-2.5-dev/include -I/nix/store/zgnn357b7q3513bzmh17k6rcfp0c8vfz-glib-2.80.0-dev/include/glib-2.0 -I/nix/store/3xsbahrqqc4fc3gknmjj9j9687n4hiz0-glib-2.80.0/lib/glib-2.0/include -I/nix/store/zgnn357b7q3513bzmh17k6rcfp0c8vfz-glib-2.80.0-dev/include -I/nix/store/r25bda2xdbbij175yxpcalbrrxn8nrya-pixman-0.43.4/include/pixman-1 -fdiagnostics-color=auto -Wall -Winvalid-pch -std=gnu11 -O2 -g -fstack-protector-strong -Wundef -Wwrite-strings -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wold-style-declaration -Wold-style-definition -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined -Wimplicit-fallthrough=2 -Wmissing-format-attribute -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-psabi -Wshadow=local -isystem /build/qemu-8.2.3/linux-headers -isystem linux-headers -iquote . -iquote /build/qemu-8.2.3 -iquote /build/qemu-8.2.3/include -iquote /build/qemu-8.2.3/host/include/x86_64 -iquote /build/qemu-8.2.3/host/include/generic -iquote /build/qemu-8.2.3/tcg/i386 -Wno-unused-function -pthread -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fno-common -fwrapv -fPIE -Wno-unused-function -MD -MQ libqemuutil.a.p/util_qemu-thread-posix.c.o -MF libqemuutil.a.p/util_qemu-thread-posix.c.o.d -o libqemuutil.a.p/util_qemu-thread-posix.c.o -c ../util/qemu-thread-posix.c
       > ../util/qemu-thread-posix.c:686:1: fatal error: error writing to /build/ccQAvWOm.s: No space left on device
       >   686 | }
       >       | ^
       > compilation terminated.
       > ninja: build stopped: subcommand failed.
       For full logs, run 'nix log /nix/store/yrb0pbrhnsiwdqyrh2xh3kvmgi94gvx3-qemu-8.2.3.drv'.
       note: build failure may have been caused by lack of free disk space
error: 1 dependencies of derivation '/nix/store/km7jlv4q68q6qjamrdhyi07zw363wnsc-qemu-riscv64-binfmt-P-x86_64-unknown-linux-musl.drv' failed to build
error: 1 dependencies of derivation '/nix/store/qmkzflcb0j42a6yk437ydhy7766xhad4-X-Restart-Triggers-systemd-binfmt.drv' failed to build
building '/nix/store/7ylhijclvkax6p7661cdx8gblkddxr2l-home-manager-files.drv'...
error: 1 dependencies of derivation '/nix/store/iz7fpa0jgbgmag0a1ycag164jfnfvy66-nix.conf.drv' failed to build
error (ignored): error: cannot unlink '/tmp/nix-build-source.drv-0/unpack/kicad-packages3D-249f7947587529026e1676cd70c8d7493a8d8162-c044d7da0a2cf9ef2989cffe391cc11cdacb5f99/Connector_PinHeader_1.00mm.3dshapes': Directory not empty
error: 1 dependencies of derivation '/nix/store/qwx0q5zkrgly7wlpwax92v7psqic5gf8-nixos-tmpfiles.d.drv' failed to build
building '/nix/store/8yk59hidxvqx3rpbb18zhbfsyzxmawh7-strong-weak-map-8.6.0.tgz.drv'...
error: 1 dependencies of derivation '/nix/store/dwh4zlsfys98pzsf3z18gacqi6qzvi37-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/9c9jqqpnrrhqkkknp5ddfxs6dg2dhgfr-nixos-system-sinnenfreude-24.05.20240724.ca19448.drv' failed to build