Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939882 - dev-libs/intel-compute-runtime-24.35.30872.20 fail to emerge
Summary: dev-libs/intel-compute-runtime-24.35.30872.20 fail to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Jan Henke
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-20 04:10 UTC by Xian Wang
Modified: 2024-09-21 15:47 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,203.97 KB, text/x-log)
2024-09-20 04:13 UTC, Xian Wang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xian Wang 2024-09-20 04:10:20 UTC
The offending error seems to be

FAILED: shared/source/CMakeFiles/neo_shared.dir/xe2_hpg_core/gfx_core_helper_xe2_hpg_core.cpp.o                                                                                                                                             
/usr/bin/x86_64-pc-linux-gnu-g++  @shared/source/CMakeFiles/neo_shared.dir/xe2_hpg_core/gfx_core_helper_xe2_hpg_core.cpp.o.rsp -MD -MT shared/source/CMakeFiles/neo_shared.dir/xe2_hpg_core/gfx_core_helper_xe2_hpg_core.cpp.o -MF shared/so
urce/CMakeFiles/neo_shared.dir/xe2_hpg_core/gfx_core_helper_xe2_hpg_core.cpp.o.d -o shared/source/CMakeFiles/neo_shared.dir/xe2_hpg_core/gfx_core_helper_xe2_hpg_core.cpp.o -c /var/tmp/portage/dev-libs/intel-compute-runtime-24.35.30872.2
0/work/compute-runtime-24.35.30872.20/shared/source/xe2_hpg_core/gfx_core_helper_xe2_hpg_core.cpp                                                                                                                                           
<command-line>: warning: "_FORTIFY_SOURCE" redefined                                                                                                                                                                                        
<built-in>: note: this is the location of the previous definition                                                                                                                                                                           
/var/tmp/portage/dev-libs/intel-compute-runtime-24.35.30872.20/work/compute-runtime-24.35.30872.20/shared/source/xe2_hpg_core/gfx_core_helper_xe2_hpg_core.cpp: In member function ‘uint32_t NEO::GfxCoreHelperHw<GfxFamily>::getMetricsLibr
aryGenId() const [with GfxFamily = NEO::Xe2HpgCoreFamily; uint32_t = unsigned int]’:                                                                                                                                                        
/var/tmp/portage/dev-libs/intel-compute-runtime-24.35.30872.20/work/compute-runtime-24.35.30872.20/shared/source/xe2_hpg_core/gfx_core_helper_xe2_hpg_core.cpp:408:64: error: ‘Xe2HPG’ is not a member of ‘MetricsLibraryApi::ClientGen’; di
d you mean ‘XeHPG’?                                                                                                                                                                                                                         
  408 |     return static_cast<uint32_t>(MetricsLibraryApi::ClientGen::Xe2HPG);                                                                                                                                                             
      |                                                                ^~~~~~                                                                                                                                                               
      |                                                                XeHPG                                                                                                                                                                

Reproducible: Always




Portage 3.0.65 (python 3.12.6-final-0, default/linux/amd64/23.0/split-usr/hardened, gcc-13, glibc-2.39-r6, 6.6.32-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.32-gentoo-dist-x86_64-Intel-R-_Core-TM-_i7-8565U_CPU_@_1.80GHz-with-glibc2.39
KiB Mem:    32740536 total,   5105340 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 20 Sep 2024 01:19:02 +0000
Head commit of repository gentoo: 7c8ce3b72ac8e57b98efe5400db5e789e958bca3

sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r6::gentoo
dev-build/autoconf:        2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.2::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.1::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.11.10_p1::gentoo, 3.12.6_p2::gentoo
dev-lang/rust-bin:         1.80.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54.2::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 18.1.8::gentoo
sys-devel/gcc:             13.3.1_p20240614::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
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"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="-j -l15 --ask-enter-invalid --with-bdeps=y --complete-graph=y --backtrack=30 --keep-going"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j8 -l9"
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="acl amd64 bzip2 cet crypt gdbm hardened iconv ipv6 libtirpc multilib ncurses nls openmp pam pcre pic pie readline seccomp split-usr ssl ssp test-rust unicode vaapi xattr xtpax zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="X86 AMDGPU" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Xian Wang 2024-09-20 04:13:38 UTC
Created attachment 903401 [details]
build.log
Comment 2 Conrad Kostecki gentoo-dev 2024-09-20 23:04:53 UTC
Should be fixed by first emerging dev-libs/intel-metrics-library. Could you please test?
Comment 3 Xian Wang 2024-09-21 00:38:54 UTC
Thank you for the suggestion. It works. Here are the details.

This is an amd64 keyworded system and I've explicitly opted for ~amd64 for the intel-compute-runtime and friends. It turns out I have not put ~amd64 for dev-libs/intel-metrics-library. dev-libs/intel-metrics-library-1.0.166:0/1.0.166::gentoo has been on my system when the emerge failure happened. With dev-libs/intel-metrics-library-1.0.173:0/1.0.173::gentoo, this ebuild now emerges successfully.

It should be helpful to be in an explicit version dependency from this version of the ebuild to dev-libs/intel-metrics-library-1.0.173:0/1.0.173::gentoo?
Comment 4 Thomas Haschka 2024-09-21 10:30:34 UTC
Same thing happened on my system. I can confirm this bug and unresolved dependency.
Comment 5 Larry the Git Cow gentoo-dev 2024-09-21 15:47:02 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f49e54f707705f68ddf3a189ed5d18a980ed7da7

commit f49e54f707705f68ddf3a189ed5d18a980ed7da7
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2024-09-21 15:25:47 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2024-09-21 15:26:24 +0000

    dev-libs/intel-compute-runtime: add 24.35.30872.22
    
    Closes: https://bugs.gentoo.org/936519
    Bug: https://bugs.gentoo.org/939882
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 dev-libs/intel-compute-runtime/Manifest            |  1 +
 .../intel-compute-runtime-24.35.30872.22.ebuild    | 83 ++++++++++++++++++++++
 2 files changed, 84 insertions(+)
Comment 6 Conrad Kostecki gentoo-dev 2024-09-21 15:47:33 UTC
commit d5b4ea150f1d464b75a17da2076a8f64bd1ff8eb
Author: Conrad Kostecki <conikost@gentoo.org>
Date:   Sat Sep 21 17:26:58 2024 +0200

    dev-libs/intel-compute-runtime: drop 24.35.30872.20

    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

commit f49e54f707705f68ddf3a189ed5d18a980ed7da7
Author: Conrad Kostecki <conikost@gentoo.org>
Date:   Sat Sep 21 17:25:47 2024 +0200

    dev-libs/intel-compute-runtime: add 24.35.30872.22

    Closes: https://bugs.gentoo.org/936519
    Bug: https://bugs.gentoo.org/939882
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>