Trying to update chromium and I am getting this message, I am using an nvidia graphics card with the proprietary driver and wayland. I am unsure of the inner workings of chromium and do not know if it is indeed still impossible for chromium to use wayland and nvidia drivers, or if this is a regression. * Messages for package www-client/chromium-113.0.5672.63: * Proprietary nVidia driver does not work with Wayland. You can disable * Wayland by setting DISABLE_OZONE_PLATFORM=true in /etc/chromium/default. * ERROR: www-client/chromium-113.0.5672.63::gentoo failed (compile phase): * ninja -v -j33 -l0 -C out/Release chrome chromedriver failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 4538: Called chromium_compile * environment, line 1679: Called eninja '-C' 'out/Release' 'chrome' 'chromedriver' * environment, line 2241: Called die * The specific snippet of code: * "$@" || die -n "${*} failed" * * If you need support, post the output of `emerge --info '=www-client/chromium-113.0.5672.63::gentoo'`, * the complete build log and the output of `emerge -pqv '=www-client/chromium-113.0.5672.63::gentoo'`. * The complete build log is located at '/var/tmp/portage/www-client/chromium-113.0.5672.63/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-113.0.5672.63/temp/environment'. * Working directory: '/var/tmp/portage/www-client/chromium-113.0.5672.63/work/chromium-113.0.5672.63' * S: '/var/tmp/portage/www-client/chromium-113.0.5672.63/work/chromium-113.0.5672.63'
This is only a warning and maybe is not true anymore. The error is somewhere else. Please attach emerge --info and the full build.log (compressed if too big).
Created attachment 861203 [details] build log
Created attachment 861205 [details] emerge --info
../../third_party/vulkan-deps/vulkan-validation-layers/src/layers/external/vma/vk_mem_alloc.h: In function ‘void VmaUint32ToStr(char*, size_t, uint32_t)’: ../../third_party/vulkan-deps/vulkan-validation-layers/src/layers/external/vma/vk_mem_alloc.h:2859:9: error: ‘snprintf’ was not declared in this scope 2859 | snprintf(outStr, strLen, "%u", static_cast<unsigned int>(num)); | ^~~~~~~~ ../../third_party/vulkan-deps/vulkan-validation-layers/src/layers/external/vma/vk_mem_alloc.h:2685:1: note: ‘snprintf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’? 2684 | #include <mutex> +++ |+#include <cstdio> I used this at the time for a quick fix: https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/commit/29d492b60c8
My apologies, I am unsure how to use that as it is not a patch for chromium and I'm not sure what it is a patch for.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea9fdbdfa608bbf3968f2b45f91bed951a771b52 commit ea9fdbdfa608bbf3968f2b45f91bed951a771b52 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2023-05-05 23:25:52 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2023-05-05 23:25:52 +0000 www-client/chromium: fix build with gcc-13 Closes: https://bugs.gentoo.org/905778 Signed-off-by: Mike Gilbert <floppym@gentoo.org> www-client/chromium/chromium-113.0.5672.63.ebuild | 1 + .../files/chromium-113-gcc-13-0001-vulkanmemoryallocator.patch | 10 ++++++++++ 2 files changed, 11 insertions(+)
Created attachment 861210 [details, diff] Patch This gets it going for me
(In reply to Mike Lothian from comment #7) You're about 5 minutes late. ;)