Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 853238 - media-libs/vulkan-layers-1.3.211 fails to merge (pulled in by media-libs/vulkan-loader-1.3.211 with USE=layers)
Summary: media-libs/vulkan-layers-1.3.211 fails to merge (pulled in by media-libs/vulk...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-20 23:26 UTC by gylfi
Modified: 2022-06-21 01:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log from media-libs/vulkan-layers-1.3.211 emerge (build.log,10.67 KB, text/x-log)
2022-06-20 23:26 UTC, gylfi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gylfi 2022-06-20 23:26:44 UTC
Created attachment 786533 [details]
Build log from media-libs/vulkan-layers-1.3.211 emerge

Portage 3.0.30 (python 3.9.13-final-0, default/linux/amd64/17.1, gcc-11.3.0, glibc-2.35-r7, 5.15.41-gentoo-master x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.41-gentoo-master-x86_64-Intel-R-_Core-TM-_i5-4670K_CPU_@_3.40GHz-with-glibc2.35
KiB Mem:    32757572 total,  20420676 free
KiB Swap:     395260 total,    395260 free
Timestamp of repository gentoo: Mon, 20 Jun 2022 11:03:02 +0000
Head commit of repository gentoo: cf381106263d368869164d640b9d685d0db11999

Head commit of repository steam-overlay: 9a51cae3ff28b54137d2991679ac363f5775692b

sh bash 5.1_p16
ld GNU ld (Gentoo 2.38 p4) 2.38
ccache version 4.6.1 [enabled]
app-misc/pax-utils:        1.3.4::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0::gentoo
dev-lang/python:           3.8.13_p2::gentoo, 3.9.13::gentoo, 3.10.5::gentoo, 3.11.0_beta3::gentoo
dev-lang/rust:             1.61.0-r1::gentoo
dev-util/ccache:           4.6.1::gentoo
dev-util/cmake:            3.23.2::gentoo
dev-util/meson:            0.62.2::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.45.1::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.5::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             14.0.5::gentoo
sys-devel/llvm:            14.0.5::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.18-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

master
    location: /var/db/repos/master
    masters: gentoo

steam-overlay
    location: /usr/local/portage/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=haswell -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=haswell -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=haswell -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=haswell -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="https://mirror.bytemark.co.uk/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j10 -l5"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/zsh"
USE="X acl alsa amd64 bzip2 cli crypt dri fortran gdbm iconv ipv6 libglvnd libtirpc multilib ncurses nptl nvidia openmp pam pcre pulseaudio readline seccomp split-usr ssl unicode xattr zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

[ebuild  N    ] media-libs/vulkan-layers-1.3.211  USE="X -wayland" ABI_X86="32 (64) (-x32)"

The build fails during the CMake configuration stage with this message:

CMake Error at /usr/local/lib64/cmake/SPIRV-Tools/SPIRV-ToolsConfig.cmake:3 (get_target_property):
  get_target_property() called with non-existent target "SPIRV-Tools".

From what I can gather on the internet, this is a bug in the CMake file referenced above which belongs to dev-util/spirv-tools-1.3.211-r1 and has already been fixed. Simply updating the ebuild should resolve this issue.
Comment 1 Ionen Wolkens gentoo-dev 2022-06-21 00:21:21 UTC
(In reply to gylfi from comment #0)
> CMake Error at /usr/local/lib64/cmake/SPIRV-Tools/SPIRV-ToolsConfig.cmake:3
> (get_target_property):
>   get_target_property() called with non-existent target "SPIRV-Tools".
> 
> From what I can gather on the internet, this is a bug in the CMake file
> referenced above which belongs to dev-util/spirv-tools-1.3.211-r1 and has
> already been fixed. Simply updating the ebuild should resolve this issue.
It wouldn't, look more closely at the path:
/usr/local/lib64/cmake/SPIRV-Tools/SPIRV-ToolsConfig.cmake

Portage doesn't install to /usr/local, so this is files you installed yourself. I'd suggest cleaning your /usr/local.
Comment 2 gylfi 2022-06-21 01:53:14 UTC
(In reply to Ionen Wolkens from comment #1)
> (In reply to gylfi from comment #0)
> > CMake Error at /usr/local/lib64/cmake/SPIRV-Tools/SPIRV-ToolsConfig.cmake:3
> > (get_target_property):
> >   get_target_property() called with non-existent target "SPIRV-Tools".
> > 
> > From what I can gather on the internet, this is a bug in the CMake file
> > referenced above which belongs to dev-util/spirv-tools-1.3.211-r1 and has
> > already been fixed. Simply updating the ebuild should resolve this issue.
> It wouldn't, look more closely at the path:
> /usr/local/lib64/cmake/SPIRV-Tools/SPIRV-ToolsConfig.cmake
> 
> Portage doesn't install to /usr/local, so this is files you installed
> yourself. I'd suggest cleaning your /usr/local.

Oh, you're absolutely right, I didn't notice that. I actually have no clue what put all those files there but sure enough, it seems like I had old versions of the dependencies in /usr/local/lib64 which were interfering with the build. Thanks.