Package seems to think flag -x32 is enabled but I am not sure. emerging package produces slot conflict: ``` [ebuild U ] dev-util/spirv-tools-1.4.304.0 [1.3.296.0] !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: dev-util/spirv-tools:0 (dev-util/spirv-tools-1.4.304.0:0/0::gentoo, ebuild scheduled for merge) USE="" ABI_X86="32 (64) (-x32)" pulled in by dev-util/spirv-tools (Argument) (dev-util/spirv-tools-1.3.296.0:0/0::gentoo, installed) USE="" ABI_X86="32 (64) (-x32)" pulled in by ~dev-util/spirv-tools-1.3.296.0[abi_x86_32(-),abi_x86_64(-)] required by (dev-util/glslang-1.3.296.0-r1:0/15::gentoo, installed) USE="" ABI_X86="32 (64) (-x32)" ^ ^^^^^^^^^ ``` Reproducible: Always Steps to Reproduce: emerging package (upgrading from dev-util/spirv-tools-1.3.296.0:0/0::gentoo to dev-util/spirv-tools-1.4.304.0:0/0::gentoo) Actual Results: Build failure. Expected Results: Emerge successful.
Created attachment 920515 [details] build.log
Created attachment 920516 [details] emerge --info
I'm not sure if this is the same issue or possibly something related to bug 951062 but I just had to revert to the 1.3.296.0 versions of both dev-util/spirv-headers and dev-util/spirv-tools with the abi_x86_32 USE enabled to prevent this compile failure: [38/373] /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -DSPIRV_COLOR_TERMINAL -DSPIRV_TIMER_ENABLED -DSPIRV_Tools_EXPORTS -I/var/tmp/portage/dev-util/spirv-tools-1.4.304.0/work/SPIRV-Tools-vulkan-sdk-1.4.304.0 -I/var/tmp/portage/dev-util/spirv-tools-1.4.304.0/work/SPIRV-Tools-vulkan-sdk-1.4.304.0/include -I/var/tmp/portage/dev-util/spirv-tools-1.4.304.0/work/SPIRV-Tools-vulkan-sdk-1.4.304.0_build-abi_x86_32.x86 -march=native -O2 -pipe -DNDEBUG -std=c++17 -fPIC -fno-rtti -Wall -Wextra -Wnon-virtual-dtor -Wno-missing-field-initializers -Wno-long-long -Wshadow -Wundef -Wconversion -Wno-sign-conversion -fno-exceptions -MD -MT source/CMakeFiles/SPIRV-Tools.dir/disassemble.cpp.o -MF source/CMakeFiles/SPIRV-Tools.dir/disassemble.cpp.o.d -o source/CMakeFiles/SPIRV-Tools.dir/disassemble.cpp.o -c /var/tmp/portage/dev-util/spirv-tools-1.4.304.0/work/SPIRV-Tools-vulkan-sdk-1.4.304.0/source/disassemble.cpp ninja: build stopped: subcommand failed. * ERROR: dev-util/spirv-tools-1.4.304.0::gentoo failed (compile phase): * ninja -v -j9 -l0 failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 3184: Called cmake-multilib_src_compile * environment, line 1090: Called multilib-minimal_src_compile * environment, line 2117: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile' * environment, line 2384: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' * environment, line 2077: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' * environment, line 2075: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile' * environment, line 402: Called multilib-minimal_abi_src_compile * environment, line 2111: Called multilib_src_compile * environment, line 2604: Called cmake_src_compile * environment, line 1208: Called cmake_build * environment, line 1175: Called eninja * environment, line 1503: Called die * The specific snippet of code: * "$@" || die -n "${*} failed" * Tom
(In reply to Tom Dexter from comment #3) Different issue.
(In reply to Michael J. Whiting from comment #0) You seem to be reporting 2 separate issues here: a dependency resolution conflict, and a build failure. How did you generate the build failure given the dependency conflict?
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f495ff1bc8f3e33db6290c1eb0f4a07643469385 commit f495ff1bc8f3e33db6290c1eb0f4a07643469385 Author: Sam James <sam@gentoo.org> AuthorDate: 2025-03-10 22:42:14 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-10 22:42:14 +0000 dev-util/spirv-headers: restore 1.4.304.0 ... as -r1 breaks reverse dependencies. Bug: https://bugs.gentoo.org/950986 Bug: https://bugs.gentoo.org/951062 Bug: https://bugs.gentoo.org/951120 Bug: https://bugs.gentoo.org/951123 Signed-off-by: Sam James <sam@gentoo.org> .../spirv-headers/spirv-headers-1.4.304.0.ebuild | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c735015262ab79a06f2fea6df8be85c66d1806d commit 7c735015262ab79a06f2fea6df8be85c66d1806d Author: Sam James <sam@gentoo.org> AuthorDate: 2025-03-11 02:41:50 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-11 02:41:50 +0000 dev-util/spirv-headers: destabilize 1.4.304.0-r1 I think this is a lesser-evil than keeping it stable. Bug: https://bugs.gentoo.org/950986 Bug: https://bugs.gentoo.org/951062 Bug: https://bugs.gentoo.org/951120 Bug: https://bugs.gentoo.org/951123 Signed-off-by: Sam James <sam@gentoo.org> dev-util/spirv-headers/spirv-headers-1.4.304.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a3913781e2dc9798a128bb7452d943eb1407275 commit 5a3913781e2dc9798a128bb7452d943eb1407275 Author: Sam James <sam@gentoo.org> AuthorDate: 2025-03-13 12:16:02 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-13 12:16:02 +0000 profiles: mask =dev-util/spirv-headers-1.4.304.0-r1 A fix doesn't seem forthcoming immediately, so let's not leave it broken. While this may then break spirv-llvm-translator, that's a lesser evil here, I think. Closes: https://bugs.gentoo.org/951062 Closes: https://bugs.gentoo.org/951120 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 4 ++++ 1 file changed, 4 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1443f6a51972d80525864cb000547ac4e37ac7fd commit 1443f6a51972d80525864cb000547ac4e37ac7fd Author: Sam James <sam@gentoo.org> AuthorDate: 2025-03-13 12:43:29 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-13 12:43:53 +0000 profiles: mask some spirv-llvm-translator too Bug: https://bugs.gentoo.org/951062 Bug: https://bugs.gentoo.org/951120 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 5 +++++ 1 file changed, 5 insertions(+)