FAILED: externals/CMakeFiles/vma.dir/vma/vma.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DARCHITECTURE_x86_64=1 -DBOOST_ASIO_DISABLE_CONCEPTS -DYUZU_UNIX=1 -I/var/tmp/portage/games-emulation/yuzu-9999/work/yuzu-9999/externals/./vma/VulkanMemoryAllocator/include -march=native -O2 -pipe -std=gnu++20 -MD -MT externals/CMakeFiles/vma.dir/vma/vma.cpp.o -MF externals/CMakeFiles/vma.dir/vma/vma.cpp.o.d -o externals/CMakeFiles/vma.dir/vma/vma.cpp.o -c /var/tmp/portage/games-emulation/yuzu-9999/work/yuzu-9999/externals/vma/vma.cpp /var/tmp/portage/games-emulation/yuzu-9999/work/yuzu-9999/externals/vma/vma.cpp:8:10: fatal error: vk_mem_alloc.h: No such file or directory 8 | #include <vk_mem_alloc.h> | ^~~~~~~~~~~~~~~~ compilation terminated. build log attached. probably related to this yuzu PR https://github.com/yuzu-emu/yuzu/pull/10473 Reproducible: Always Steps to Reproduce: 1. emerge games-emulation/yuzu-9999 2. 3. Actual Results: build fails with compilation error fatal error: vk_mem_alloc.h: No such file or directory Expected Results: should compile fine probably a missing dependency
Created attachment 864776 [details] build log
Hi, I have meet the same issue, yuzu has added a new submodule "VulkanMemoryAllocator" https://github.com/yuzu-emu/yuzu/pull/10473. I don't have access permission for guru repo, hope someone can help fix it. --- yuzu-9999.ebuild.old 2023-06-28 16:58:23.140372022 -0500 +++ yuzu-9999.ebuild 2023-06-27 15:53:23.289254418 -0500 @@ -8,7 +8,7 @@ DESCRIPTION="An emulator for Nintendo Switch" HOMEPAGE="https://yuzu-emu.org" EGIT_REPO_URI="https://github.com/yuzu-emu/yuzu-mainline" -EGIT_SUBMODULES=( '-*' 'dynarmic' 'sirit' 'xbyak' 'tzdb_to_nx' 'externals/nx_tzdb/tzdb_to_nx/externals/tz/tz' ) +EGIT_SUBMODULES=( '-*' 'dynarmic' 'sirit' 'xbyak' 'tzdb_to_nx' 'externals/nx_tzdb/tzdb_to_nx/externals/tz/tz' 'VulkanMemoryAllocator' ) # Dynarmic is not intended to be generic, it is tweaked to fit emulated processor # TODO wait 'xbyak' waiting version bump. see #860816
Fixed in dev branch
SigHunter: If you don't set me as assignee. I can not close bug, may you
The vma issue in this bug report was fixed, thanks Samuel Bauer! It currently is possible to build games-emulation/yuzu-9999::guru however, when I enable USE=webservice or discord, build fails with -- Configuring done (7.3s) CMake Error at src/yuzu/CMakeLists.txt:363 (target_link_libraries): Target "yuzu" links to: httplib::httplib but the target was not found. Possible reasons include: * There is a typo in the target name. * A find_package call is missing for an IMPORTED target. * An ALIAS target is missing. CMake Error at src/web_service/CMakeLists.txt:20 (target_link_libraries): Target "web_service" links to: httplib::httplib but the target was not found. Possible reasons include: * There is a typo in the target name. * A find_package call is missing for an IMPORTED target. * An ALIAS target is missing. maybe you can take a look at that if you feel like it but for the moment, I am happy, as I don't need those :-)
(In reply to SigHunter from comment #5) > The vma issue in this bug report was fixed, thanks Samuel Bauer! > > It currently is possible to build games-emulation/yuzu-9999::guru > > however, when I enable USE=webservice or discord, build fails with > > > > -- Configuring done (7.3s) > CMake Error at src/yuzu/CMakeLists.txt:363 (target_link_libraries): > Target "yuzu" links to: > > httplib::httplib > > but the target was not found. Possible reasons include: > > * There is a typo in the target name. > * A find_package call is missing for an IMPORTED target. > * An ALIAS target is missing. > > > > CMake Error at src/web_service/CMakeLists.txt:20 (target_link_libraries): > Target "web_service" links to: > > httplib::httplib > > but the target was not found. Possible reasons include: > > * There is a typo in the target name. > * A find_package call is missing for an IMPORTED target. > * An ALIAS target is missing. > > > maybe you can take a look at that if you feel like it but for the moment, I > am happy, as I don't need those :-) I solved it locally reverting to =dev-cpp/cpp-httplib-0.12.3, idk exactly what happened as last week I was using =dev-cpp/cpp-httplib-0.13.1 successfully. I could add a version limit to the ebuild, but for now I prefer keep it as is and focus on working being able to compile with latest cpp-httplib back.