After emerging opencl-clang-16.0.0, though it completes successfully, the resulting libopencl-clang.so file does not get copied to the system folders (even though it gets built). Reproducible: Always Steps to Reproduce: 1. emerge dev-libs/opencl-clang-16.0.0. 2. check result (either manually or with equery, for example). Actual Results: The relevant file, libopencl-clang.so, wasn't to be found. Expected Results: libopencl-clang.so should reside in one of the system folders. # emerge --info Portage 3.0.46 (python 3.11.4-final-0, default/linux/amd64/17.1/systemd/clang/merged-usr, gcc-12, glibc-2.37-r3, 6.1.31-gentoo x86_64) ================================================================= System uname: Linux-6.1.31-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-glibc2.37 KiB Mem: 16320020 total, 2573168 free KiB Swap: 20578296 total, 19241500 free Timestamp of repository gentoo: Fri, 30 Jun 2023 00:00:01 +0000 Head commit of repository gentoo: 0844f8e13bf04922de15e1d5a79de326f80dc63f Timestamp of repository ROKO__: Sat, 24 Jun 2023 23:02:04 +0000 Head commit of repository ROKO__: 59f8b10c80f9e69a574558d2a797b14600933a9c sh bash 5.1_p16-r6 ld GNU ld (Gentoo 2.39 p6) 2.39.0 app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r6::gentoo dev-java/java-config: 2.3.1-r1::gentoo dev-lang/perl: 5.36.1-r2::gentoo dev-lang/python: 3.11.4::gentoo dev-lang/rust: 1.69.0-r1::gentoo dev-util/cmake: 3.26.4-r1::gentoo dev-util/meson: 1.1.1::gentoo sys-apps/baselayout: 2.13-r1::gentoo sys-apps/sandbox: 2.32::gentoo sys-apps/systemd: 253.3-r1::gentoo sys-devel/autoconf: 2.13-r7::gentoo, 2.71-r6::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.39-r5::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 15.0.7-r1::gentoo, 16.0.5::gentoo sys-devel/gcc: 12.3.1_p20230526::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/lld: 15.0.7::gentoo, 16.0.5::gentoo sys-devel/llvm: 15.0.7-r3::gentoo, 16.0.5::gentoo sys-devel/make: 4.4.1-r1::gentoo sys-kernel/linux-headers: 6.1::gentoo (virtual/os-headers) sys-libs/glibc: 2.37-r3::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: False sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: ROKO__ location: /var/db/repos/ROKO__ sync-type: git sync-uri: https://github.com/gentoo-mirror/ROKO__.git masters: gentoo volatile: False ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" ADDR2LINE="llvm-addr2line" AR="llvm-ar" AS="clang -c" CBUILD="x86_64-pc-linux-gnu" CC="clang" CFLAGS="-O2 -march=native -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CPP="clang-cpp" CXX="clang++" CXXFLAGS="-O2 -march=native -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y" 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 -march=native -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles getbinpkg ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox 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 -march=native -pipe" GENTOO_MIRRORS="https://mirror.init7.net/gentoo/ http://mirror.init7.net/gentoo/ rsync://mirror.init7.net/gentoo/" LANG="en_US.utf8" LD="ld.lld" LDFLAGS="-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed " LEX="flex" MAKEOPTS="-j4" NM="llvm-nm" OBJCOPY="llvm-objcopy" OBJDUMP="llvm-objdump" PKGDIR="/var/cache/binpkgs" PORTAGE_BINHOST="http://jupiter.home/packages" 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" RANLIB="llvm-ranlib" READELF="llvm-readelf" RUSTFLAGS="-C opt-level=3 -C linker=clang -C target-cpu=native -C codegen-units=1 -C linker-plugin-lto -C link-args=-fuse-ld=lld" SHELL="/bin/zsh" STRINGS="llvm-strings" STRIP="llvm-strip" USE="aac acl acpi amd64 bluetooth bzip2 clang cli crypt dbus djvu dri dvi egl epub exif ffmpeg flac fontconfig fortran gdbm gdk-pixbuf gif gnome gnome-keyring gnome-online-accounts gtk hardened heif iconv icu introspection jpeg jumbo-build kmod lcms libtirpc llvm-libunwind lto lzma mad mp3 mp4 multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp opus pam pcre pdf pgo pipewire png policykit readline rubberband seccomp smp ssl svg systemd test-rust threads tiff tracker truetype udev udisks unicode upower usb vaapi vim-syntax vorbis vpx vulkan wayland webp wireplumber x264 x265 xattr xml zip zlib zsh-completion zstd" 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="mmx mmxext sse sse2 aes avx f16c pclmul popcnt rdrand 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en" 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="php8-1" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu intel radeonsi" 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: ARFLAGS, ASFLAGS, CCLD, CONFIG_SHELL, CPPFLAGS, CTARGET, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SIZE, YACC, YFLAGS
Created attachment 864865 [details] build log
Created attachment 864866 [details] equery output
Yeah, just had the same issue FWIW :/
Created attachment 866305 [details, diff] Proposed fix (from upstream)
Proposed fix is to replace the opencl-clang-16.0.0-llvm.patch patch from files/ with the attached opencl-clang-16.0.0-add_llvm_library.patch. This patch is from upstream.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09b1fff61dab3c13a6f38ba3645ff606a4c317a2 commit 09b1fff61dab3c13a6f38ba3645ff606a4c317a2 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2023-07-26 21:20:15 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2023-07-26 21:23:18 +0000 dev-libs/opencl-clang: fix so install Closes: https://bugs.gentoo.org/909399 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> .../files/opencl-clang-16.0.0-llvm.patch | 79 ++++++++++++++++++++-- ...16.0.0.ebuild => opencl-clang-16.0.0-r1.ebuild} | 0 2 files changed, 72 insertions(+), 7 deletions(-)