Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
spirv-tools-1.4.304.0 with abi_x86_32 fails with ninja error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1856

PostPosted: Mon Mar 10, 2025 2:02 pm    Post subject: spirv-tools-1.4.304.0 with abi_x86_32 fails with ninja error Reply with quote

My update today wants to update dev-util/spirv-tools from 1.3.296.0 to 1.4.304.0 and also requires the abi_x86_32 USE flag. That's resulting in this compile failure:
Code:
[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"
 *
 * If you need support, post the output of `emerge --info '=dev-util/spirv-tools-1.4.304.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/spirv-tools-1.4.304.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-util/spirv-tools-1.4.304.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/spirv-tools-1.4.304.0/temp/environment'.
 * Working directory: '/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'
 * S: '/var/tmp/portage/dev-util/spirv-tools-1.4.304.0/work/SPIRV-Tools-vulkan-sdk-1.4.304.0'

>>> Failed to emerge dev-util/spirv-tools-1.4.304.0, Log file:

>>>  '/var/tmp/portage/dev-util/spirv-tools-1.4.304.0/temp/build.log'


Any ideas on this? I see these two bugs but I'm not sure they're related:

https://bugs.gentoo.org/951120

https://bugs.gentoo.org/951062

Nest I'm going to see if it compiles with that upgrade masked (that is just the addition of the abi_x86_32).

Thanks in advance.
Tom
Back to top
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1856

PostPosted: Mon Mar 10, 2025 2:32 pm    Post subject: Reply with quote

OK. I was able to get by by reverting both dev-util/spirv-headers and dev-util/spirv-tools to the 1.3.296.0 versions, leaving the required abi_x86_32 active.

Will add comments to one or both of the above bugs.

Tom
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum