Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo installation and spirv-tools build error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
sergejj180
n00b
n00b


Joined: 15 Jul 2021
Posts: 8

PostPosted: Mon Mar 10, 2025 10:42 pm    Post subject: gentoo installation and spirv-tools build error Reply with quote

i use r9 5950x + rx6800xt + RX 6800xt 16 ГБ + livegui-amd64-20250216T164837Z.iso

mount -o bind /proc /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --make-rslave /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
mount --make-rslave /mnt/gentoo/dev
mount --bind /run /mnt/gentoo/run
mount --make-slave /mnt/gentoo/run

test -L /dev/shm && rm /dev/shm && mkdir /dev/shm
mount --types tmpfs --options nosuid,nodev,noexec shm /dev/shm

mkdir -p /mnt/gentoo/run/udev
mount -o bind /run/udev /mnt/gentoo/run/udev
mount --make-rslave /mnt/gentoo/run/udev

chroot /mnt/gentoo /bin/env -i TERM=$TERM /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"

* Error: circular dependencies:

(net-misc/curl-8.11.1-r2:0/0::gentoo, ebuild scheduled for merge) depends on
(net-libs/nghttp2-1.64.0:0/1.14::gentoo, ebuild scheduled for merge) (buildtime_slot_op)
(dev-build/cmake-3.31.5:0/0::gentoo, ebuild scheduled for merge) (buildtime)
(net-misc/curl-8.11.1-r2:0/0::gentoo, ebuild scheduled for merge) (buildtime)

It might be possible to break this cycle
by applying the following change:
- net-misc/curl-8.11.1-r2 (Change USE: -http2)

corrected
/etc/portage/package.use/curl:
=net-misc/curl-8.11.1-r2 -http2 -http3 -quic -curl_quic_openssl

I get a compilation error:

Code:
 *   ninja -v -j16 -l32 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 3173:  Called cmake-multilib_src_compile
 *   environment, line 1079:  Called multilib-minimal_src_compile
 *   environment, line 2106:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 2373:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2066:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2064:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  391:  Called multilib-minimal_abi_src_compile
 *   environment, line 2100:  Called multilib_src_compile
 *   environment, line 2593:  Called cmake_src_compile
 *   environment, line 1197:  Called cmake_build
 *   environment, line 1164:  Called eninja
 *   environment, line 1492:  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_64.amd64'
 * 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'

 * Messages for package sys-libs/gpm-1.20.7-r6:

 * Unable to find kernel sources at /usr/src/linux
 * Unable to calculate Linux Kernel version for build, attempting to use running version

 * Messages for package dev-util/spirv-tools-1.4.304.0:

 * ERROR: dev-util/spirv-tools-1.4.304.0::gentoo failed (compile phase):
 *   ninja -v -j16 -l32 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 3173:  Called cmake-multilib_src_compile
 *   environment, line 1079:  Called multilib-minimal_src_compile
 *   environment, line 2106:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 2373:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2066:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2064:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  391:  Called multilib-minimal_abi_src_compile
 *   environment, line 2100:  Called multilib_src_compile
 *   environment, line 2593:  Called cmake_src_compile
 *   environment, line 1197:  Called cmake_build
 *   environment, line 1164:  Called eninja
 *   environment, line 1492:  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_64.amd64'
 * S: '/var/tmp/portage/dev-util/spirv-tools-1.4.304.0/work/SPIRV-Tools-vulkan-sdk-1.4.304.0


if anyone knows how to fixed this please help my

Thanks in advance [/code]
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55005
Location: 56N 3W

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

sergejj180,

The fragment you posted only says 'it broke'.
We need
Code:
 * 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'.

on a pastebin to see why,
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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