building Nix... building the system configuration... these 4 derivations will be built: /nix/store/vnxby39qih106350ii8ng3qy0xrz8fbh-snes9x-gtk-1.62.3.drv /nix/store/x231g5sv6i3mszlygh1jc73zdar08y8x-user-environment.drv /nix/store/x2cnala8gyd99js17drsxkyc9j3bczln-etc.drv /nix/store/lcp3lgbv6yqr7zrg75wrx2zcwhc93nkg-nixos-system-hws-24.05pre615148.6143fc5eeb9c.drv building '/nix/store/vnxby39qih106350ii8ng3qy0xrz8fbh-snes9x-gtk-1.62.3.drv'... Running phase: unpackPhase unpacking source archive /nix/store/7bmn4ddwnsx8ymiw38n8125pv50alwsc-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Updating Autotools / GNU config script to a newer upstream version: ./unix/config.sub Updating Autotools / GNU config script to a newer upstream version: ./unix/config.guess Running phase: configurePhase fixing cmake files... cmake flags: -GNinja -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/z4adbw8pmds7bmj478alz9ibmz154r6l-snes9x-gtk-1.62.3/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/z4adbw8pmds7bmj478alz9ibmz154r6l-snes9x-gtk-1.62.3/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/z4adbw8pmds7bmj478alz9ibmz154r6l-snes9x-gtk-1.62.3/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/z4adbw8pmds7bmj478alz9ibmz154r6l-snes9x-gtk-1.62.3/share/doc/snes9x-gtk -DCMAKE_INSTALL_INFODIR=/nix/store/z4adbw8pmds7bmj478alz9ibmz154r6l-snes9x-gtk-1.62.3/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/z4adbw8pmds7bmj478alz9ibmz154r6l-snes9x-gtk-1.62.3/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/z4adbw8pmds7bmj478alz9ibmz154r6l-snes9x-gtk-1.62.3/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/z4adbw8pmds7bmj478alz9ibmz154r6l-snes9x-gtk-1.62.3/include -DCMAKE_INSTALL_SBINDIR=/nix/store/z4adbw8pmds7bmj478alz9ibmz154r6l-snes9x-gtk-1.62.3/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/z4adbw8pmds7bmj478alz9ibmz154r6l-snes9x-gtk-1.62.3/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/z4adbw8pmds7bmj478alz9ibmz154r6l-snes9x-gtk-1.62.3/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/strip -DCMAKE_RANLIB=/nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/ranlib -DCMAKE_AR=/nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/z4adbw8pmds7bmj478alz9ibmz154r6l-snes9x-gtk-1.62.3 -- 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/4kwk49k8rc8cg8c387kbbjcrl8i0y693-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/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Gettext: /nix/store/1mccb37pvl03i6hg5g8914r6zjd6n09b-gettext-0.21.1/bin/msgmerge (found version "0.21.1") -- Found PkgConfig: /nix/store/39nq7p6jcm9m3xqqm99skwmgsqw4pbbg-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2") -- Checking for module 'sdl2' -- Found sdl2, version 2.30.2 -- Checking for modules 'gtkmm-3.0;gthread-2.0;libpng' -- Found gtkmm-3.0, version 3.24.9 -- Found gthread-2.0, version 2.78.4 -- Found libpng, version 1.6.43 Package libsepol was not found in the pkg-config search path. Perhaps you should add the directory containing `libsepol.pc' to the PKG_CONFIG_PATH environment variable Package 'libsepol', required by 'libselinux', not found Package libsepol was not found in the pkg-config search path. Perhaps you should add the directory containing `libsepol.pc' to the PKG_CONFIG_PATH environment variable Package 'libsepol', required by 'libselinux', not found Package libsepol was not found in the pkg-config search path. Perhaps you should add the directory containing `libsepol.pc' to the PKG_CONFIG_PATH environment variable Package 'libsepol', required by 'libselinux', not found Package libsepol was not found in the pkg-config search path. Perhaps you should add the directory containing `libsepol.pc' to the PKG_CONFIG_PATH environment variable Package 'libsepol', required by 'libselinux', not found -- Checking for module 'xrandr' -- Found xrandr, version 1.5.4 -- Checking for module 'epoxy' -- Found epoxy, version 1.5.10 CMake Warning (dev) at /build/source/external/glslang/CMakeLists.txt:252 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /build/source/external/glslang/CMakeLists.txt:316 (find_host_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found PythonInterp: /nix/store/glfr70gi7hfaj50mwj2431p8bg60fhqw-python3-3.11.9/bin/python3 (found suitable version "3.11.9", minimum required is "3") -- spirv-tools not linked - illegal SPIRV may be generated for HLSL -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE CMake Warning (dev) at /build/source/external/glslang/CMakeLists.txt:252 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /build/source/external/glslang/StandAlone/CMakeLists.txt:34 (find_host_package) This warning is for project developers. Use -Wno-dev to suppress it. CMake Deprecation Warning at /build/source/external/SPIRV-Cross/CMakeLists.txt:22 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- SPIRV-Cross: Finding Git version for SPIRV-Cross. -- Could NOT find Git (missing: GIT_EXECUTABLE) -- SPIRV-Cross: Git not found, using unknown build version. CMake Warning (dev) at /build/source/external/SPIRV-Cross/CMakeLists.txt:462 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. -- Found PythonInterp: /nix/store/glfr70gi7hfaj50mwj2431p8bg60fhqw-python3-3.11.9/bin/python3 (found version "3.11.9") SPIRV-Cross: Testing will be disabled for SPIRV-Cross. Could not find glslang or SPIRV-Tools build under external/. To enable testing, run ./checkout_glslang_spirv_tools.sh and ./build_glslang_spirv_tools.sh first. -- Checking for modules 'wayland-client;wayland-egl' -- Found wayland-client, version 1.22.0 -- Found wayland-egl, version 18.1.0 -- Checking for module 'xv' -- Found xv, version 1.0.12 -- Checking for module 'libpulse' -- Found libpulse, version 17.0 -- Checking for module 'portaudio-2.0' -- Found portaudio-2.0, version 19 -- Checking for module 'alsa' -- Found alsa, version 1.2.11 -- Looking for sys/soundcard.h -- Looking for sys/soundcard.h - found -- Checking for module 'libpng' -- Found libpng, version 1.6.43 -- Checking for module 'zlib' -- Found zlib, version 1.3.1 -- Checking for module 'minizip' -- Found minizip, version 1.3.1 Dangerous hacks are enabled. Use at your own risk. -- Configuring done (2.8s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_POLICY_DEFAULT_CMP0025 -- Build files have been written to: /build/source/gtk/build Running phase: buildPhase build flags: -j8 [1/213] Building CXX object CMakeFiles/jma.dir/build/source/jma/crc32.cpp.o [2/213] Building CXX object CMakeFiles/jma.dir/build/source/jma/inbyte.cpp.o [3/213] Building CXX object CMakeFiles/jma.dir/build/source/jma/7zlzma.cpp.o [4/213] Generating es.gmo [5/213] Generating fr_FR.gmo [6/213] Generating ja.gmo [7/213] Building CXX object CMakeFiles/jma.dir/build/source/jma/lzma.cpp.o [8/213] Building C object CMakeFiles/sourcify.dir/src/sourcify.c.o [9/213] Generating pt_BR.gmo [10/213] Generating ru.gmo [11/213] Generating sr@latin.gmo [12/213] Building CXX object CMakeFiles/jma.dir/build/source/jma/iiostrm.cpp.o [13/213] Generating zh_CN.gmo [14/213] Generating uk.gmo [15/213] Building CXX object CMakeFiles/jma.dir/build/source/jma/winout.cpp.o [16/213] Linking C executable sourcify [17/213] Building CXX object CMakeFiles/jma.dir/build/source/jma/s9x-jma.cpp.o [18/213] Building CXX object glslang/glslang/OSDependent/Unix/CMakeFiles/OSDependent.dir/ossource.cpp.o [19/213] Linking CXX static library glslang/glslang/OSDependent/Unix/libOSDependent.a [20/213] Building CXX object glslang/OGLCompilersDLL/CMakeFiles/OGLCompiler.dir/InitializeDll.cpp.o [21/213] Linking CXX static library glslang/OGLCompilersDLL/libOGLCompiler.a [22/213] Building CXX object CMakeFiles/jma.dir/build/source/jma/jma.cpp.o [23/213] Building CXX object glslang/glslang/CMakeFiles/GenericCodeGen.dir/GenericCodeGen/CodeGen.cpp.o [24/213] Building CXX object glslang/glslang/CMakeFiles/GenericCodeGen.dir/GenericCodeGen/Link.cpp.o [25/213] Linking CXX static library glslang/glslang/libGenericCodeGen.a [26/213] Building CXX object CMakeFiles/jma.dir/build/source/jma/lzmadec.cpp.o [27/213] Linking CXX static library libjma.a [28/213] Building CXX object glslang/StandAlone/CMakeFiles/glslang-default-resource-limits.dir/resource_limits_c.cpp.o [29/213] Building CXX object glslang/StandAlone/CMakeFiles/glslang-default-resource-limits.dir/ResourceLimits.cpp.o [30/213] Linking CXX static library glslang/StandAlone/libglslang-default-resource-limits.a [31/213] Building CXX object glslang/SPIRV/CMakeFiles/SPIRV.dir/Logger.cpp.o [32/213] Building CXX object glslang/SPIRV/CMakeFiles/SPIRV.dir/SpvTools.cpp.o [33/213] Building CXX object glslang/SPIRV/CMakeFiles/SPIRV.dir/InReadableOrder.cpp.o [34/213] Building CXX object glslang/glslang/CMakeFiles/glslang.dir/CInterface/glslang_c_interface.cpp.o [35/213] Building CXX object glslang/hlsl/CMakeFiles/HLSL.dir/stub.cpp.o [36/213] Linking CXX static library glslang/hlsl/libHLSL.a [37/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/cmake_pch.hxx.gch [38/213] Building CXX object glslang/SPIRV/CMakeFiles/SPIRV.dir/disassemble.cpp.o [39/213] Building CXX object glslang/SPIRV/CMakeFiles/SPIRV.dir/CInterface/spirv_c_interface.cpp.o [40/213] Building CXX object glslang/SPIRV/CMakeFiles/SPIRV.dir/SpvPostProcess.cpp.o [41/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/attribute.cpp.o [42/213] Building CXX object glslang/SPIRV/CMakeFiles/SPIRV.dir/doc.cpp.o [43/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/InfoSink.cpp.o [44/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/IntermTraverse.cpp.o [45/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/Constant.cpp.o [46/213] Building CXX object glslang/SPIRV/CMakeFiles/SPIRV.dir/SpvBuilder.cpp.o /build/source/external/glslang/SPIRV/SpvBuilder.cpp: In member function 'spv::Id spv::Builder::makeDebugFunction(spv::Function*, spv::Id, spv::Id)': /build/source/external/glslang/SPIRV/SpvBuilder.cpp:2097:41: warning: unused parameter 'function' [-Wunused-parameter] 2097 | Id Builder::makeDebugFunction(Function* function, Id nameId, Id funcTypeId) { | ~~~~~~~~~~^~~~~~~~ [47/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/Initialize.cpp.o [48/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/iomapper.cpp.o [49/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/PoolAlloc.cpp.o [50/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/RemoveTree.cpp.o [51/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/Intermediate.cpp.o [52/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/ParseContextBase.cpp.o [53/213] Building CXX object SPIRV-Cross/CMakeFiles/spirv-cross-core.dir/spirv_cross.cpp.o [54/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/Scan.cpp.o [55/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/SpirvIntrinsics.cpp.o [56/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/limits.cpp.o [57/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/SymbolTable.cpp.o In file included from /build/source/external/glslang/glslang/Include/Common.h:112, from /build/source/external/glslang/glslang/MachineIndependent/SymbolTable.h:68, from /build/source/external/glslang/glslang/MachineIndependent/pch.h:44, from /build/source/gtk/build/glslang/glslang/CMakeFiles/MachineIndependent.dir/cmake_pch.hxx:5, from : In member function 'void glslang::pool_allocator::construct(pointer, const T&) [with T = glslang::TParameter]', inlined from 'static std::_Require >::__construct_helper<_Tp, _Args>::type> std::allocator_traits< >::_S_construct(_Alloc&, _Tp*, _Args&& ...) [with _Tp = glslang::TParameter; _Args = {const glslang::TParameter&}; _Alloc = glslang::pool_allocator]' at /nix/store/nn152mgpdfcw92b3b03g9kmnlpd9jris-gcc-13.2.0/include/c++/13.2.0/bits/alloc_traits.h:266:17, inlined from 'static decltype (std::allocator_traits< >::_S_construct(__a, __p, (forward<_Args>)(std::allocator_traits< >::construct::__args)...)) std::allocator_traits< >::construct(_Alloc&, _Tp*, _Args&& ...) [with _Tp = glslang::TParameter; _Args = {const glslang::TParameter&}; _Alloc = glslang::pool_allocator]' at /nix/store/nn152mgpdfcw92b3b03g9kmnlpd9jris-gcc-13.2.0/include/c++/13.2.0/bits/alloc_traits.h:379:16, inlined from 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = glslang::TParameter; _Alloc = glslang::pool_allocator]' at /nix/store/nn152mgpdfcw92b3b03g9kmnlpd9jris-gcc-13.2.0/include/c++/13.2.0/bits/stl_vector.h:1283:30, inlined from 'glslang::TFunction::TFunction(const glslang::TFunction&)' at /build/source/external/glslang/glslang/MachineIndependent/SymbolTable.cpp:386:29: /build/source/external/glslang/glslang/Include/PoolAlloc.h:298:47: warning: 'param' may be used uninitialized [-Wmaybe-uninitialized] 298 | void construct(pointer p, const T& val) { new ((void *)p) T(val); } | ^~~~~~~~~~~~~~~~~~~~~~ /build/source/external/glslang/glslang/MachineIndependent/SymbolTable.cpp: In copy constructor 'glslang::TFunction::TFunction(const glslang::TFunction&)': /build/source/external/glslang/glslang/MachineIndependent/SymbolTable.cpp:385:20: note: 'param' declared here 385 | TParameter param; | ^~~~~ In file included from /nix/store/nn152mgpdfcw92b3b03g9kmnlpd9jris-gcc-13.2.0/include/c++/13.2.0/vector:66, from /build/source/external/glslang/glslang/Include/Common.h:55: In member function 'void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = glslang::TParameter; _Alloc = glslang::pool_allocator]', inlined from 'glslang::TFunction::TFunction(const glslang::TFunction&)' at /build/source/external/glslang/glslang/MachineIndependent/SymbolTable.cpp:386:29: /nix/store/nn152mgpdfcw92b3b03g9kmnlpd9jris-gcc-13.2.0/include/c++/13.2.0/bits/stl_vector.h:1289:28: warning: 'param' may be used uninitialized [-Wmaybe-uninitialized] 1289 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /nix/store/nn152mgpdfcw92b3b03g9kmnlpd9jris-gcc-13.2.0/include/c++/13.2.0/vector:72: /nix/store/nn152mgpdfcw92b3b03g9kmnlpd9jris-gcc-13.2.0/include/c++/13.2.0/bits/vector.tcc: In copy constructor 'glslang::TFunction::TFunction(const glslang::TFunction&)': /nix/store/nn152mgpdfcw92b3b03g9kmnlpd9jris-gcc-13.2.0/include/c++/13.2.0/bits/vector.tcc:445:7: note: by argument 3 of type 'const glslang::TParameter&' to 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const glslang::TParameter&}; _Tp = glslang::TParameter; _Alloc = glslang::pool_allocator]' declared here 445 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ /build/source/external/glslang/glslang/MachineIndependent/SymbolTable.cpp:385:20: note: 'param' declared here 385 | TParameter param; | ^~~~~ [58/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/Versions.cpp.o [59/213] Building CXX object glslang/SPIRV/CMakeFiles/SPIRV.dir/GlslangToSpv.cpp.o [60/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/ShaderLang.cpp.o [61/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/parseConst.cpp.o [62/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/intermOut.cpp.o [63/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/preprocessor/PpAtom.cpp.o [64/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/preprocessor/PpContext.cpp.o [65/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/preprocessor/PpTokens.cpp.o [66/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/preprocessor/PpScanner.cpp.o [67/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/HLSL/hlslAttributes.cpp.o [68/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/glslang_tab.cpp.o [69/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/propagateNoContraction.cpp.o [70/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/preprocessor/Pp.cpp.o [71/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/reflection.cpp.o [72/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/HLSL/hlslOpMap.cpp.o [73/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/HLSL/hlslTokenStream.cpp.o [74/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/HLSL/hlslScanContext.cpp.o [75/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/HLSL/hlslParseables.cpp.o [76/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/linkValidate.cpp.o /build/source/external/glslang/glslang/MachineIndependent/linkValidate.cpp: In member function 'int glslang::TIntermediate::addUsedLocation(const glslang::TQualifier&, const glslang::TType&, bool&)': /build/source/external/glslang/glslang/MachineIndependent/linkValidate.cpp:1689:36: warning: 'setRT' may be used uninitialized [-Wmaybe-uninitialized] 1689 | collision = checkLocationRT(setRT, qualifier.layoutLocation); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/external/glslang/glslang/MachineIndependent/linkValidate.cpp:1633:9: note: 'setRT' was declared here 1633 | int setRT; | ^~~~~ [77/213] Building CXX object SPIRV-Cross/CMakeFiles/spirv-cross-core.dir/spirv_cfg.cpp.o [78/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/HLSL/hlslGrammar.cpp.o [79/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/MachineIndependent/ParseHelper.cpp.o In file included from /build/source/external/glslang/glslang/Include/intermediate.h:57, from /build/source/external/glslang/glslang/MachineIndependent/SymbolTable.h:69, from /build/source/external/glslang/glslang/MachineIndependent/pch.h:44, from /build/source/gtk/build/glslang/glslang/CMakeFiles/MachineIndependent.dir/cmake_pch.hxx:5, from : In member function 'void glslang::TType::shallowCopy(const glslang::TType&)', inlined from 'glslang::TVariable::TVariable(const glslang::TString*, const glslang::TType&, bool)' at /build/source/external/glslang/glslang/MachineIndependent/SymbolTable.h:164:27, inlined from 'void glslang::TParseContext::addQualifierToExisting(const glslang::TSourceLoc&, glslang::TQualifier, const glslang::TString&)' at /build/source/external/glslang/glslang/MachineIndependent/ParseHelper.cpp:9177:81: /build/source/external/glslang/glslang/Include/Types.h:1783:17: warning: 'blockNameType.glslang::TType::sampler' may be used uninitialized [-Wmaybe-uninitialized] 1783 | sampler = copyOf.sampler; | ~~~~~~~~^~~~~~~~~~~~~~~~ /build/source/external/glslang/glslang/MachineIndependent/ParseHelper.cpp: In member function 'void glslang::TParseContext::addQualifierToExisting(const glslang::TSourceLoc&, glslang::TQualifier, const glslang::TString&)': /build/source/external/glslang/glslang/MachineIndependent/ParseHelper.cpp:9176:15: note: 'blockNameType' declared here 9176 | TType blockNameType(EbtReference, blockType, identifier); | ^~~~~~~~~~~~~ In member function 'void glslang::TType::shallowCopy(const glslang::TType&)', inlined from 'glslang::TVariable::TVariable(const glslang::TString*, const glslang::TType&, bool)' at /build/source/external/glslang/glslang/MachineIndependent/SymbolTable.h:164:27, inlined from 'void glslang::TParseContext::addQualifierToExisting(const glslang::TSourceLoc&, glslang::TQualifier, const glslang::TString&)' at /build/source/external/glslang/glslang/MachineIndependent/ParseHelper.cpp:9177:81: /build/source/external/glslang/glslang/Include/Types.h:1797:24: warning: 'blockNameType.glslang::TType::typeParameters' may be used uninitialized [-Wmaybe-uninitialized] 1797 | typeParameters = copyOf.typeParameters; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /build/source/external/glslang/glslang/MachineIndependent/ParseHelper.cpp: In member function 'void glslang::TParseContext::addQualifierToExisting(const glslang::TSourceLoc&, glslang::TQualifier, const glslang::TString&)': /build/source/external/glslang/glslang/MachineIndependent/ParseHelper.cpp:9176:15: note: 'blockNameType.glslang::TType::typeParameters' was declared here 9176 | TType blockNameType(EbtReference, blockType, identifier); | ^~~~~~~~~~~~~ In member function 'void glslang::TType::shallowCopy(const glslang::TType&)', inlined from 'glslang::TVariable::TVariable(const glslang::TString*, const glslang::TType&, bool)' at /build/source/external/glslang/glslang/MachineIndependent/SymbolTable.h:164:27, inlined from 'void glslang::TParseContext::addQualifierToExisting(const glslang::TSourceLoc&, glslang::TQualifier, const glslang::TString&)' at /build/source/external/glslang/glslang/MachineIndependent/ParseHelper.cpp:9177:81: /build/source/external/glslang/glslang/Include/Types.h:1801:17: warning: 'blockNameType.glslang::TType::coopmat' may be used uninitialized [-Wmaybe-uninitialized] 1801 | coopmat = copyOf.isCoopMat(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /build/source/external/glslang/glslang/MachineIndependent/ParseHelper.cpp: In member function 'void glslang::TParseContext::addQualifierToExisting(const glslang::TSourceLoc&, glslang::TQualifier, const glslang::TString&)': /build/source/external/glslang/glslang/MachineIndependent/ParseHelper.cpp:9176:15: note: 'blockNameType.glslang::TType::coopmat' was declared here 9176 | TType blockNameType(EbtReference, blockType, identifier); | ^~~~~~~~~~~~~ In member function 'void glslang::TType::shallowCopy(const glslang::TType&)', inlined from 'glslang::TVariable::TVariable(const glslang::TString*, const glslang::TType&, bool)' at /build/source/external/glslang/glslang/MachineIndependent/SymbolTable.h:164:27, inlined from 'void glslang::TParseContext::declareBlock(const glslang::TSourceLoc&, glslang::TTypeList&, const glslang::TString*, glslang::TArraySizes*)' at /build/source/external/glslang/glslang/MachineIndependent/ParseHelper.cpp:8711:79: /build/source/external/glslang/glslang/Include/Types.h:1783:17: warning: 'blockNameType.glslang::TType::sampler' may be used uninitialized [-Wmaybe-uninitialized] 1783 | sampler = copyOf.sampler; | ~~~~~~~~^~~~~~~~~~~~~~~~ /build/source/external/glslang/glslang/MachineIndependent/ParseHelper.cpp: In member function 'void glslang::TParseContext::declareBlock(const glslang::TSourceLoc&, glslang::TTypeList&, const glslang::TString*, glslang::TArraySizes*)': /build/source/external/glslang/glslang/MachineIndependent/ParseHelper.cpp:8710:15: note: 'blockNameType' declared here 8710 | TType blockNameType(EbtReference, blockType, *blockName); | ^~~~~~~~~~~~~ In member function 'void glslang::TType::shallowCopy(const glslang::TType&)', inlined from 'glslang::TVariable::TVariable(const glslang::TString*, const glslang::TType&, bool)' at /build/source/external/glslang/glslang/MachineIndependent/SymbolTable.h:164:27, inlined from 'void glslang::TParseContext::declareBlock(const glslang::TSourceLoc&, glslang::TTypeList&, const glslang::TString*, glslang::TArraySizes*)' at /build/source/external/glslang/glslang/MachineIndependent/ParseHelper.cpp:8711:79: /build/source/external/glslang/glslang/Include/Types.h:1797:24: warning: 'blockNameType.glslang::TType::typeParameters' may be used uninitialized [-Wmaybe-uninitialized] 1797 | typeParameters = copyOf.typeParameters; | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /build/source/external/glslang/glslang/MachineIndependent/ParseHelper.cpp: In member function 'void glslang::TParseContext::declareBlock(const glslang::TSourceLoc&, glslang::TTypeList&, const glslang::TString*, glslang::TArraySizes*)': /build/source/external/glslang/glslang/MachineIndependent/ParseHelper.cpp:8710:15: note: 'blockNameType.glslang::TType::typeParameters' was declared here 8710 | TType blockNameType(EbtReference, blockType, *blockName); | ^~~~~~~~~~~~~ In member function 'void glslang::TType::shallowCopy(const glslang::TType&)', inlined from 'glslang::TVariable::TVariable(const glslang::TString*, const glslang::TType&, bool)' at /build/source/external/glslang/glslang/MachineIndependent/SymbolTable.h:164:27, inlined from 'void glslang::TParseContext::declareBlock(const glslang::TSourceLoc&, glslang::TTypeList&, const glslang::TString*, glslang::TArraySizes*)' at /build/source/external/glslang/glslang/MachineIndependent/ParseHelper.cpp:8711:79: /build/source/external/glslang/glslang/Include/Types.h:1801:17: warning: 'blockNameType.glslang::TType::coopmat' may be used uninitialized [-Wmaybe-uninitialized] 1801 | coopmat = copyOf.isCoopMat(); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /build/source/external/glslang/glslang/MachineIndependent/ParseHelper.cpp: In member function 'void glslang::TParseContext::declareBlock(const glslang::TSourceLoc&, glslang::TTypeList&, const glslang::TString*, glslang::TArraySizes*)': /build/source/external/glslang/glslang/MachineIndependent/ParseHelper.cpp:8710:15: note: 'blockNameType.glslang::TType::coopmat' was declared here 8710 | TType blockNameType(EbtReference, blockType, *blockName); | ^~~~~~~~~~~~~ [80/213] Building CXX object SPIRV-Cross/CMakeFiles/spirv-cross-core.dir/spirv_cross_parsed_ir.cpp.o [81/213] Building CXX object SPIRV-Cross/CMakeFiles/spirv-cross-core.dir/spirv_parser.cpp.o [82/213] Linking CXX static library SPIRV-Cross/libspirv-cross-core.a [83/213] Building CXX object SPIRV-Cross/CMakeFiles/spirv-cross-cpp.dir/spirv_cpp.cpp.o [84/213] Building CXX object SPIRV-Cross/CMakeFiles/spirv-cross-reflect.dir/spirv_reflect.cpp.o [85/213] Linking CXX static library SPIRV-Cross/libspirv-cross-reflect.a [86/213] Building CXX object glslang/glslang/CMakeFiles/MachineIndependent.dir/HLSL/hlslParseHelper.cpp.o [87/213] Linking CXX static library glslang/glslang/libMachineIndependent.a [88/213] Linking CXX static library glslang/glslang/libglslang.a [89/213] Linking CXX static library glslang/SPIRV/libSPIRV.a [90/213] Building CXX object SPIRV-Cross/CMakeFiles/spirv-cross-glsl.dir/spirv_glsl.cpp.o [91/213] Linking CXX static library SPIRV-Cross/libspirv-cross-glsl.a [92/213] Linking CXX static library SPIRV-Cross/libspirv-cross-cpp.a [93/213] Generating mini_icon.cpp [94/213] Generating gtk_snes9x_ui.cpp [95/213] Building CXX object CMakeFiles/snes9x-gtk.dir/build/source/shaders/shader_helpers.cpp.o /build/source/shaders/shader_helpers.cpp: In function 'bool loadTGA(const char*, STGA&)': /build/source/shaders/shader_helpers.cpp:180:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 180 | fread(&type, sizeof(char), 3, file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/shaders/shader_helpers.cpp:182:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 182 | fread(&info, sizeof(char), 6, file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/shaders/shader_helpers.cpp:206:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 206 | fread(tempBuf, sizeof(unsigned char), imageSize, file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [96/213] Building CXX object CMakeFiles/snes9x-gtk.dir/build/source/vulkan/slang_helpers.cpp.o [97/213] Building CXX object CMakeFiles/snes9x-gtk.dir/build/source/vulkan/slang_shader.cpp.o FAILED: CMakeFiles/snes9x-gtk.dir/build/source/vulkan/slang_shader.cpp.o /nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/g++ -DALLOW_CPU_OVERCLOCK -DDATADIR=\"/nix/store/z4adbw8pmds7bmj478alz9ibmz154r6l-snes9x-gtk-1.62.3//snes9x\" -DGETTEXT_PACKAGE=\"snes9x-gtk\" -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STDINT_H -DHAVE_STRINGS_H -DJMA_SUPPORT -DNETPLAY_SUPPORT -DRIGHTSHIFT_IS_SAR -DSNES9XLOCALEDIR=\"/nix/store/z4adbw8pmds7bmj478alz9ibmz154r6l-snes9x-gtk-1.62.3///nix/store/z4adbw8pmds7bmj478alz9ibmz154r6l-snes9x-gtk-1.62.3/share/locale\" -DSNES9X_GTK -DSYSTEM_ZIP -DUNZIP_SUPPORT -DUSE_ALSA -DUSE_HQ2X -DUSE_OSS -DUSE_PORTAUDIO -DUSE_PULSEAUDIO -DUSE_SLANG -DUSE_WAYLAND -DUSE_XBRZ -DUSE_XV -DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_XLIB_KHR -DVMA_DYNAMIC_VULKAN_FUNCTIONS=1 -DVMA_STATIC_VULKAN_FUNCTIONS=0 -DVULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1 -DZLIB -I/build/source/gtk/../apu/bapu -I/build/source/gtk/.. -I/build/source/gtk/src -I/build/source/gtk/../external/glslang -I/build/source/gtk/../external/vulkan-headers/include -I/build/source/gtk/../external/VulkanMemoryAllocator-Hpp/include -I/build/source/gtk/../external/stb -I/build/source/gtk/../external/fmt/include -I/build/source/external/glslang/glslang/.. -I/build/source/gtk/build/include -I/build/source/external/glslang/SPIRV/.. -I/build/source/external/glslang/StandAlone -I/build/source/external/glslang -I/build/source/external/SPIRV-Cross -O3 -DNDEBUG -std=gnu++17 -Wall -Wno-unused-parameter -D_REENTRANT -I/nix/store/ffhpgqc1jkk9pm1s92m3kmx83rsq4qw5-SDL2-2.30.2-dev/include -I/nix/store/ffhpgqc1jkk9pm1s92m3kmx83rsq4qw5-SDL2-2.30.2-dev/include/SDL2 -pthread -I/nix/store/6bzgx7161cdycq7jzk5kfq2j304m4b5v-gtk+3-3.24.41-dev/include/gtk-3.0/unix-print -I/nix/store/6bzgx7161cdycq7jzk5kfq2j304m4b5v-gtk+3-3.24.41-dev/include/gtk-3.0 -I/nix/store/kbk46i0v8v4mb2pxgb07726wy4d9lc3z-at-spi2-core-2.50.2-dev/include/atk-1.0 -I/nix/store/hfa0jcamap6fyq1jlfxvn0dhaa3yrv8y-glib-2.78.4-dev/include -I/nix/store/hfa0jcamap6fyq1jlfxvn0dhaa3yrv8y-glib-2.78.4-dev/include/glib-2.0 -I/nix/store/77b9knzn0ai7jdvq74qkhahz001pc3w5-glib-2.78.4/lib/glib-2.0/include -I/nix/store/hl1zm53nn45c7wy5d2168xp99ma6fxgf-cairo-1.18.0-dev/include/cairo -I/nix/store/hyycb5lggv29z1h4kc4662wlsdcdq1y7-freetype-2.13.2-dev/include/freetype2 -I/nix/store/hyycb5lggv29z1h4kc4662wlsdcdq1y7-freetype-2.13.2-dev/include -I/nix/store/n5y5qh10ak0xxmd3yh4h5b3zq25zisrq-libpng-apng-1.6.43-dev/include/libpng16 -I/nix/store/2339gpgyjmnr644z0qxdi0095j3k746y-gdk-pixbuf-2.42.10-dev/include/gdk-pixbuf-2.0 -I/nix/store/b0ylwxvkvmqfkabiz18n14l4hsfxri5n-pango-1.51.2-dev/include/pango-1.0 -I/nix/store/h2a0hvrmfzfxfggyfjgwnl3lmdhynm71-harfbuzz-8.4.0-dev/include/harfbuzz -I/nix/store/n1zh49c36hckz68xi7j3w3vw9xcjm47p-gtkmm-3.24.9-dev/include/gtkmm-3.0 -I/nix/store/kaw6bgdqlziqnwp9j3q7gp5lbwp387jl-gtkmm-3.24.9/lib/gtkmm-3.0/include -I/nix/store/n1zh49c36hckz68xi7j3w3vw9xcjm47p-gtkmm-3.24.9-dev/include/gdkmm-3.0 -I/nix/store/kaw6bgdqlziqnwp9j3q7gp5lbwp387jl-gtkmm-3.24.9/lib/gdkmm-3.0/include -I/nix/store/hxhxdl02n9917a3n6v71c50h7bsgbrdl-glibmm-2.66.6-dev/include/giomm-2.4 -I/nix/store/vjs9r6mk01xgg8bc9hj1ixjf2ia66hnr-glibmm-2.66.6/lib/giomm-2.4/include -I/nix/store/hxhxdl02n9917a3n6v71c50h7bsgbrdl-glibmm-2.66.6-dev/include/glibmm-2.4 -I/nix/store/vjs9r6mk01xgg8bc9hj1ixjf2ia66hnr-glibmm-2.66.6/lib/glibmm-2.4/include -I/nix/store/nphk6zh38vnjd18vz66y6dnli35h12wq-libsigc++-2.12.1-dev/include/sigc++-2.0 -I/nix/store/7gr7aykhniqz8ip4in05wh68skzfwdlp-libsigc++-2.12.1/lib/sigc++-2.0/include -I/nix/store/7gq43brq6nvx2vcv6xdbxiadz1nb4h7k-atkmm-2.28.4-dev/include/atkmm-1.6 -I/nix/store/v4lgfpxymwxzkkifhfsyzswpqppcnpm2-atkmm-2.28.4/lib/atkmm-1.6/include -I/nix/store/6l77y6d22r8iasszn10p4yd4iycwvwpm-cairomm-1.14.5-dev/include/cairomm-1.0 -I/nix/store/jq65yx16zr6nksmdr649mzprw5mcfjn4-cairomm-1.14.5/lib/cairomm-1.0/include -I/nix/store/h8hhflm6x0wg8hfmv4s0rfmrrx9whg9p-pangomm-2.46.4-dev/include/pangomm-1.4 -I/nix/store/n9d7yjfpq6qqf5gl3z77dpriy4b5631i-pangomm-2.46.4/lib/pangomm-1.4/include -I/nix/store/55kw5h1hskg904z00rj1q6lq9g1hiafy-xorgproto-2023.2/include -I/nix/store/48ixycxmlrfnncyw0gd9fdqbnsk1v0d5-libXrandr-1.5.4-dev/include -I/nix/store/dsryhxxzrbl2s947drnv89xs3arfb655-libepoxy-1.5.10-dev/include -I/nix/store/xwi507pfnpqqsvha16lm1i39ljgk17hr-wayland-1.22.0-dev/include -I/nix/store/a8k0l19yakxz34mcg5fjr6z6733ah45p-libXv-1.0.12-dev/include -I/nix/store/hklhs2qkswb984xgvj2hh7vmanp2shqc-pulseaudio-17.0-dev/include -I/nix/store/9pilqw9swzh3y5jmgrvq1rh4hs0v6im5-portaudio-190700_20210406/include -I/nix/store/rjngv6ddqpkf3mzy8df2hw6hlqv057di-alsa-lib-1.2.11-dev/include -I/nix/store/vi5lphqwg9cj7xkaggvw5n0wqsmwdlq5-zlib-1.3.1-dev/include -I/nix/store/37kn12y8gvri16djsgn97q80jyj9rn3v-minizip-1.3.1/include/minizip -MD -MT CMakeFiles/snes9x-gtk.dir/build/source/vulkan/slang_shader.cpp.o -MF CMakeFiles/snes9x-gtk.dir/build/source/vulkan/slang_shader.cpp.o.d -o CMakeFiles/snes9x-gtk.dir/build/source/vulkan/slang_shader.cpp.o -c /build/source/vulkan/slang_shader.cpp In file included from /build/source/vulkan/slang_shader.cpp:1: /build/source/vulkan/slang_shader.hpp:76:24: error: 'uint32_t' was not declared in this scope 76 | static std::vector generate_spirv(std::string shader_string, std::string stage); | ^~~~~~~~ /build/source/vulkan/slang_shader.hpp:4:1: note: 'uint32_t' is defined in header ''; did you forget to '#include '? 3 | #include +++ |+#include 4 | /build/source/vulkan/slang_shader.hpp:76:32: error: template argument 1 is invalid 76 | static std::vector generate_spirv(std::string shader_string, std::string stage); | ^ /build/source/vulkan/slang_shader.hpp:76:32: error: template argument 2 is invalid /build/source/vulkan/slang_shader.hpp:96:17: error: 'uint32_t' was not declared in this scope 96 | std::vector vertex_shader_spirv; | ^~~~~~~~ /build/source/vulkan/slang_shader.hpp:96:17: note: 'uint32_t' is defined in header ''; did you forget to '#include '? /build/source/vulkan/slang_shader.hpp:96:25: error: template argument 1 is invalid 96 | std::vector vertex_shader_spirv; | ^ /build/source/vulkan/slang_shader.hpp:96:25: error: template argument 2 is invalid /build/source/vulkan/slang_shader.hpp:97:17: error: 'uint32_t' was not declared in this scope 97 | std::vector fragment_shader_spirv; | ^~~~~~~~ /build/source/vulkan/slang_shader.hpp:97:17: note: 'uint32_t' is defined in header ''; did you forget to '#include '? /build/source/vulkan/slang_shader.hpp:97:25: error: template argument 1 is invalid 97 | std::vector fragment_shader_spirv; | ^ /build/source/vulkan/slang_shader.hpp:97:25: error: template argument 2 is invalid /build/source/vulkan/slang_shader.cpp:194:23: error: no declaration matches 'std::vector SlangShader::generate_spirv(std::string, std::string)' 194 | std::vector SlangShader::generate_spirv(std::string shader_string, std::string stage) | ^~~~~~~~~~~ /build/source/vulkan/slang_shader.hpp:76:34: note: candidates are: 'static int SlangShader::generate_spirv(std::string, std::string)' 76 | static std::vector generate_spirv(std::string shader_string, std::string stage); | ^~~~~~~~~~~~~~ /build/source/vulkan/slang_shader.hpp:74:10: note: 'bool SlangShader::generate_spirv()' 74 | bool generate_spirv(); | ^~~~~~~~~~~~~~ /build/source/vulkan/slang_shader.hpp:5:8: note: 'struct SlangShader' defined here 5 | struct SlangShader | ^~~~~~~~~~~ /build/source/vulkan/slang_shader.cpp: In member function 'bool SlangShader::generate_spirv()': /build/source/vulkan/slang_shader.cpp:239:29: error: request for member 'empty' in '((SlangShader*)this)->SlangShader::vertex_shader_spirv', which is of non-class type 'int' 239 | if (vertex_shader_spirv.empty()) | ^~~~~ /build/source/vulkan/slang_shader.cpp:242:31: error: request for member 'empty' in '((SlangShader*)this)->SlangShader::fragment_shader_spirv', which is of non-class type 'int' 242 | if (fragment_shader_spirv.empty()) | ^~~~~ [98/213] Building CXX object CMakeFiles/snes9x-gtk.dir/build/source/shaders/glsl.cpp.o /build/source/shaders/glsl.cpp: In member function 'bool GLSLShader::load_shader(const char*)': /build/source/shaders/glsl.cpp:465:10: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 465 | chdir(shader_path); | ~~~~~^~~~~~~~~~~~~ /build/source/shaders/glsl.cpp:474:17: warning: ignoring return value of 'char* realpath(const char*, char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 474 | realpath(p->filename, temp); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~ /build/source/shaders/glsl.cpp:575:17: warning: ignoring return value of 'char* realpath(const char*, char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 575 | realpath(l->filename, temp); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~ [99/213] Building CXX object CMakeFiles/snes9x-gtk.dir/build/source/vulkan/slang_preset.cpp.o FAILED: CMakeFiles/snes9x-gtk.dir/build/source/vulkan/slang_preset.cpp.o /nix/store/4kwk49k8rc8cg8c387kbbjcrl8i0y693-gcc-wrapper-13.2.0/bin/g++ -DALLOW_CPU_OVERCLOCK -DDATADIR=\"/nix/store/z4adbw8pmds7bmj478alz9ibmz154r6l-snes9x-gtk-1.62.3//snes9x\" -DGETTEXT_PACKAGE=\"snes9x-gtk\" -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STDINT_H -DHAVE_STRINGS_H -DJMA_SUPPORT -DNETPLAY_SUPPORT -DRIGHTSHIFT_IS_SAR -DSNES9XLOCALEDIR=\"/nix/store/z4adbw8pmds7bmj478alz9ibmz154r6l-snes9x-gtk-1.62.3///nix/store/z4adbw8pmds7bmj478alz9ibmz154r6l-snes9x-gtk-1.62.3/share/locale\" -DSNES9X_GTK -DSYSTEM_ZIP -DUNZIP_SUPPORT -DUSE_ALSA -DUSE_HQ2X -DUSE_OSS -DUSE_PORTAUDIO -DUSE_PULSEAUDIO -DUSE_SLANG -DUSE_WAYLAND -DUSE_XBRZ -DUSE_XV -DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_XLIB_KHR -DVMA_DYNAMIC_VULKAN_FUNCTIONS=1 -DVMA_STATIC_VULKAN_FUNCTIONS=0 -DVULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1 -DZLIB -I/build/source/gtk/../apu/bapu -I/build/source/gtk/.. -I/build/source/gtk/src -I/build/source/gtk/../external/glslang -I/build/source/gtk/../external/vulkan-headers/include -I/build/source/gtk/../external/VulkanMemoryAllocator-Hpp/include -I/build/source/gtk/../external/stb -I/build/source/gtk/../external/fmt/include -I/build/source/external/glslang/glslang/.. -I/build/source/gtk/build/include -I/build/source/external/glslang/SPIRV/.. -I/build/source/external/glslang/StandAlone -I/build/source/external/glslang -I/build/source/external/SPIRV-Cross -O3 -DNDEBUG -std=gnu++17 -Wall -Wno-unused-parameter -D_REENTRANT -I/nix/store/ffhpgqc1jkk9pm1s92m3kmx83rsq4qw5-SDL2-2.30.2-dev/include -I/nix/store/ffhpgqc1jkk9pm1s92m3kmx83rsq4qw5-SDL2-2.30.2-dev/include/SDL2 -pthread -I/nix/store/6bzgx7161cdycq7jzk5kfq2j304m4b5v-gtk+3-3.24.41-dev/include/gtk-3.0/unix-print -I/nix/store/6bzgx7161cdycq7jzk5kfq2j304m4b5v-gtk+3-3.24.41-dev/include/gtk-3.0 -I/nix/store/kbk46i0v8v4mb2pxgb07726wy4d9lc3z-at-spi2-core-2.50.2-dev/include/atk-1.0 -I/nix/store/hfa0jcamap6fyq1jlfxvn0dhaa3yrv8y-glib-2.78.4-dev/include -I/nix/store/hfa0jcamap6fyq1jlfxvn0dhaa3yrv8y-glib-2.78.4-dev/include/glib-2.0 -I/nix/store/77b9knzn0ai7jdvq74qkhahz001pc3w5-glib-2.78.4/lib/glib-2.0/include -I/nix/store/hl1zm53nn45c7wy5d2168xp99ma6fxgf-cairo-1.18.0-dev/include/cairo -I/nix/store/hyycb5lggv29z1h4kc4662wlsdcdq1y7-freetype-2.13.2-dev/include/freetype2 -I/nix/store/hyycb5lggv29z1h4kc4662wlsdcdq1y7-freetype-2.13.2-dev/include -I/nix/store/n5y5qh10ak0xxmd3yh4h5b3zq25zisrq-libpng-apng-1.6.43-dev/include/libpng16 -I/nix/store/2339gpgyjmnr644z0qxdi0095j3k746y-gdk-pixbuf-2.42.10-dev/include/gdk-pixbuf-2.0 -I/nix/store/b0ylwxvkvmqfkabiz18n14l4hsfxri5n-pango-1.51.2-dev/include/pango-1.0 -I/nix/store/h2a0hvrmfzfxfggyfjgwnl3lmdhynm71-harfbuzz-8.4.0-dev/include/harfbuzz -I/nix/store/n1zh49c36hckz68xi7j3w3vw9xcjm47p-gtkmm-3.24.9-dev/include/gtkmm-3.0 -I/nix/store/kaw6bgdqlziqnwp9j3q7gp5lbwp387jl-gtkmm-3.24.9/lib/gtkmm-3.0/include -I/nix/store/n1zh49c36hckz68xi7j3w3vw9xcjm47p-gtkmm-3.24.9-dev/include/gdkmm-3.0 -I/nix/store/kaw6bgdqlziqnwp9j3q7gp5lbwp387jl-gtkmm-3.24.9/lib/gdkmm-3.0/include -I/nix/store/hxhxdl02n9917a3n6v71c50h7bsgbrdl-glibmm-2.66.6-dev/include/giomm-2.4 -I/nix/store/vjs9r6mk01xgg8bc9hj1ixjf2ia66hnr-glibmm-2.66.6/lib/giomm-2.4/include -I/nix/store/hxhxdl02n9917a3n6v71c50h7bsgbrdl-glibmm-2.66.6-dev/include/glibmm-2.4 -I/nix/store/vjs9r6mk01xgg8bc9hj1ixjf2ia66hnr-glibmm-2.66.6/lib/glibmm-2.4/include -I/nix/store/nphk6zh38vnjd18vz66y6dnli35h12wq-libsigc++-2.12.1-dev/include/sigc++-2.0 -I/nix/store/7gr7aykhniqz8ip4in05wh68skzfwdlp-libsigc++-2.12.1/lib/sigc++-2.0/include -I/nix/store/7gq43brq6nvx2vcv6xdbxiadz1nb4h7k-atkmm-2.28.4-dev/include/atkmm-1.6 -I/nix/store/v4lgfpxymwxzkkifhfsyzswpqppcnpm2-atkmm-2.28.4/lib/atkmm-1.6/include -I/nix/store/6l77y6d22r8iasszn10p4yd4iycwvwpm-cairomm-1.14.5-dev/include/cairomm-1.0 -I/nix/store/jq65yx16zr6nksmdr649mzprw5mcfjn4-cairomm-1.14.5/lib/cairomm-1.0/include -I/nix/store/h8hhflm6x0wg8hfmv4s0rfmrrx9whg9p-pangomm-2.46.4-dev/include/pangomm-1.4 -I/nix/store/n9d7yjfpq6qqf5gl3z77dpriy4b5631i-pangomm-2.46.4/lib/pangomm-1.4/include -I/nix/store/55kw5h1hskg904z00rj1q6lq9g1hiafy-xorgproto-2023.2/include -I/nix/store/48ixycxmlrfnncyw0gd9fdqbnsk1v0d5-libXrandr-1.5.4-dev/include -I/nix/store/dsryhxxzrbl2s947drnv89xs3arfb655-libepoxy-1.5.10-dev/include -I/nix/store/xwi507pfnpqqsvha16lm1i39ljgk17hr-wayland-1.22.0-dev/include -I/nix/store/a8k0l19yakxz34mcg5fjr6z6733ah45p-libXv-1.0.12-dev/include -I/nix/store/hklhs2qkswb984xgvj2hh7vmanp2shqc-pulseaudio-17.0-dev/include -I/nix/store/9pilqw9swzh3y5jmgrvq1rh4hs0v6im5-portaudio-190700_20210406/include -I/nix/store/rjngv6ddqpkf3mzy8df2hw6hlqv057di-alsa-lib-1.2.11-dev/include -I/nix/store/vi5lphqwg9cj7xkaggvw5n0wqsmwdlq5-zlib-1.3.1-dev/include -I/nix/store/37kn12y8gvri16djsgn97q80jyj9rn3v-minizip-1.3.1/include/minizip -MD -MT CMakeFiles/snes9x-gtk.dir/build/source/vulkan/slang_preset.cpp.o -MF CMakeFiles/snes9x-gtk.dir/build/source/vulkan/slang_preset.cpp.o.d -o CMakeFiles/snes9x-gtk.dir/build/source/vulkan/slang_preset.cpp.o -c /build/source/vulkan/slang_preset.cpp In file included from /build/source/vulkan/slang_preset.hpp:3, from /build/source/vulkan/slang_preset.cpp:1: /build/source/vulkan/slang_shader.hpp:76:24: error: 'uint32_t' was not declared in this scope 76 | static std::vector generate_spirv(std::string shader_string, std::string stage); | ^~~~~~~~ /build/source/vulkan/slang_shader.hpp:4:1: note: 'uint32_t' is defined in header ''; did you forget to '#include '? 3 | #include +++ |+#include 4 | /build/source/vulkan/slang_shader.hpp:76:32: error: template argument 1 is invalid 76 | static std::vector generate_spirv(std::string shader_string, std::string stage); | ^ /build/source/vulkan/slang_shader.hpp:76:32: error: template argument 2 is invalid /build/source/vulkan/slang_shader.hpp:96:17: error: 'uint32_t' was not declared in this scope 96 | std::vector vertex_shader_spirv; | ^~~~~~~~ /build/source/vulkan/slang_shader.hpp:96:17: note: 'uint32_t' is defined in header ''; did you forget to '#include '? /build/source/vulkan/slang_shader.hpp:96:25: error: template argument 1 is invalid 96 | std::vector vertex_shader_spirv; | ^ /build/source/vulkan/slang_shader.hpp:96:25: error: template argument 2 is invalid /build/source/vulkan/slang_shader.hpp:97:17: error: 'uint32_t' was not declared in this scope 97 | std::vector fragment_shader_spirv; | ^~~~~~~~ /build/source/vulkan/slang_shader.hpp:97:17: note: 'uint32_t' is defined in header ''; did you forget to '#include '? /build/source/vulkan/slang_shader.hpp:97:25: error: template argument 1 is invalid 97 | std::vector fragment_shader_spirv; | ^ /build/source/vulkan/slang_shader.hpp:97:25: error: template argument 2 is invalid /build/source/vulkan/slang_preset.cpp: In member function 'bool SlangPreset::introspect_shader(SlangShader&, int, SlangShader::Stage)': /build/source/vulkan/slang_preset.cpp:498:132: error: no matching function for call to 'spirv_cross::CompilerGLSL::CompilerGLSL(int&)' 498 | spirv_cross::CompilerGLSL cross(stage == SlangShader::Stage::Vertex ? shader.vertex_shader_spirv : shader.fragment_shader_spirv); | ^ In file included from /build/source/vulkan/slang_preset.cpp:16: /build/source/vulkan/../external/SPIRV-Cross/spirv_glsl.hpp:223:18: note: candidate: 'spirv_cross::CompilerGLSL::CompilerGLSL(spirv_cross::ParsedIR&&)' 223 | explicit CompilerGLSL(ParsedIR &&ir_) | ^~~~~~~~~~~~ /build/source/vulkan/../external/SPIRV-Cross/spirv_glsl.hpp:223:42: note: no known conversion for argument 1 from 'int' to 'spirv_cross::ParsedIR&&' 223 | explicit CompilerGLSL(ParsedIR &&ir_) | ~~~~~~~~~~~^~~ /build/source/vulkan/../external/SPIRV-Cross/spirv_glsl.hpp:217:18: note: candidate: 'spirv_cross::CompilerGLSL::CompilerGLSL(const spirv_cross::ParsedIR&)' 217 | explicit CompilerGLSL(const ParsedIR &ir_) | ^~~~~~~~~~~~ /build/source/vulkan/../external/SPIRV-Cross/spirv_glsl.hpp:217:47: note: no known conversion for argument 1 from 'int' to 'const spirv_cross::ParsedIR&' 217 | explicit CompilerGLSL(const ParsedIR &ir_) | ~~~~~~~~~~~~~~~~^~~ /build/source/vulkan/../external/SPIRV-Cross/spirv_glsl.hpp:211:9: note: candidate: 'spirv_cross::CompilerGLSL::CompilerGLSL(const uint32_t*, size_t)' 211 | CompilerGLSL(const uint32_t *ir_, size_t word_count) | ^~~~~~~~~~~~ /build/source/vulkan/../external/SPIRV-Cross/spirv_glsl.hpp:211:9: note: candidate expects 2 arguments, 1 provided /build/source/vulkan/../external/SPIRV-Cross/spirv_glsl.hpp:205:18: note: candidate: 'spirv_cross::CompilerGLSL::CompilerGLSL(std::vector >)' 205 | explicit CompilerGLSL(std::vector spirv_) | ^~~~~~~~~~~~ /build/source/vulkan/../external/SPIRV-Cross/spirv_glsl.hpp:205:53: note: no known conversion for argument 1 from 'int' to 'std::vector >' 205 | explicit CompilerGLSL(std::vector spirv_) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ [100/213] Building CXX object CMakeFiles/snes9x-gtk.dir/src/gtk_shader_parameters.cpp.o /build/source/gtk/src/gtk_shader_parameters.cpp: In function 'void dialog_response(int)': /build/source/gtk/src/gtk_shader_parameters.cpp:45:17: warning: ignoring return value of 'char* realpath(const char*, char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 45 | realpath(config_file.c_str(), path); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ [101/213] Building CXX object CMakeFiles/snes9x-gtk.dir/src/gtk_glx_context.cpp.o [102/213] Building CXX object CMakeFiles/snes9x-gtk.dir/build/source/shaders/slang.cpp.o [103/213] Building CXX object CMakeFiles/snes9x-gtk.dir/src/gtk_display_driver_opengl.cpp.o [104/213] Building CXX object CMakeFiles/snes9x-gtk.dir/build/source/external/stb/stb_image_implementation.cpp.o ninja: build stopped: subcommand failed. error: builder for '/nix/store/vnxby39qih106350ii8ng3qy0xrz8fbh-snes9x-gtk-1.62.3.drv' failed with exit code 1 error: 1 dependencies of derivation '/nix/store/x231g5sv6i3mszlygh1jc73zdar08y8x-user-environment.drv' failed to build error: 1 dependencies of derivation '/nix/store/x2cnala8gyd99js17drsxkyc9j3bczln-etc.drv' failed to build error: 1 dependencies of derivation '/nix/store/lcp3lgbv6yqr7zrg75wrx2zcwhc93nkg-nixos-system-hws-24.05pre615148.6143fc5eeb9c.drv' failed to build