Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 955869 - media-libs/oidn-2.3.3 fails to build
Summary: media-libs/oidn-2.3.3 fails to build
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Sebastian Parborg
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-12 08:47 UTC by Azpegath
Modified: 2025-05-14 18:50 UTC (History)
3 users (show)

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


Attachments
build log (build.log,88.75 KB, text/x-log)
2025-05-12 08:49 UTC, Azpegath
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Azpegath 2025-05-12 08:47:53 UTC
media-libs/oidn-2.3.{2,3} has failed to build for some time for me. I currently have 2.3.0 installed.

[U] media-libs/oidn
     Available versions:  2.3.2-r1(0/2.3.2)^t (~)2.3.3(0/2.3.3)^t {apps cuda hip openimageio test AMDGPU="+targets_gfx90a targets_gfx803 targets_gfx900 +targets_gfx906 +targets_gfx908 targets_gfx940 targets_gfx941 +targets_gfx942 targets_gfx1010 targets_gfx1011 targets_gfx1012 +targets_gfx1030 targets_gfx1031 +targets_gfx1100 targets_gfx1101 targets_gfx1102"}
     Installed versions:  2.3.0^t(03:28:43 2024-12-27)(hip -apps -cuda -openimageio -test AMDGPU="targets_gfx90a targets_gfx906 targets_gfx908 targets_gfx1030 -targets_gfx803 -targets_gfx900 -targets_gfx1010 -targets_gfx1011 -targets_gfx1012 -targets_gfx1031 -targets_gfx1100 -targets_gfx1101 -targets_gfx1102" LLVM_SLOT="18 -15 -16 -17")
     Homepage:            https://www.openimagedenoise.org https://github.com/RenderKit/oidn
     Description:         Intel® Open Image Denoise library

See attached build log for more info.

Reproducible: Always




# emerge --info
Portage 3.0.68 (python 3.13.3-final-0, default/linux/amd64/23.0/desktop/gnome/systemd, gcc-14, glibc-2.41-r1, 6.13.11-gentoo x86_64)
=================================================================
System uname: Linux-6.13.11-gentoo-x86_64-AMD_Ryzen_9_3950X_16-Core_Processor-with-glibc2.41
KiB Mem:    32760708 total,   4735652 free
KiB Swap:   34889724 total,  34349612 free
Timestamp of repository gentoo: Sat, 10 May 2025 12:05:00 +0000
Head commit of repository gentoo: 61e549b206fa8bde5fe8ab9aeec2ed98ca13ded0
Timestamp of repository audio-overlay: Sat, 10 May 2025 13:09:37 +0000
Head commit of repository audio-overlay: 8a58cc0eeb2cd49b2cd5b30a179298bd1d7e50b8

Head commit of repository brave-overlay: faf80274a7ff0dc62417777cca8d2e467bbf97b9

Timestamp of repository guru: Sat, 10 May 2025 13:09:40 +0000
Head commit of repository guru: b9ec10ebc961d05d8e94022f592b6257ab04ad8b

Timestamp of repository nymphos: Thu, 08 May 2025 12:57:25 +0000
Head commit of repository nymphos: cd4081677c4e6d22f7879629360af034b7e7d2f9

Timestamp of repository steam-overlay: Tue, 06 May 2025 17:57:19 +0000
Head commit of repository steam-overlay: c186b0f60ae10618a0670c9f7750be3adffd6e56

sh bash 5.2_p37-r3
ld GNU ld (Gentoo 2.44 p1) 2.44.0
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37-r3::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo, 1.17-r2::gentoo
dev-build/cmake:           3.31.7-r1::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.8.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.2::gentoo
dev-lang/python:           3.10.17-r1::gentoo, 3.11.12::gentoo, 3.12.10::gentoo, 3.13.3::gentoo, 3.13.3-r100::gentoo, 3.14.0_beta1-r100::gentoo
dev-lang/rust:             1.85.0-r1::gentoo, 1.85.1::gentoo, 1.86.0-r1::gentoo
dev-lang/rust-bin:         1.85.0-r1::gentoo, 1.85.1::gentoo, 1.86.0-r1::gentoo
llvm-core/clang:           18.1.8-r6::gentoo, 19.1.7::gentoo, 20.1.4::gentoo
llvm-core/lld:             18.1.8::gentoo, 19.1.7::gentoo
llvm-core/llvm:            18.1.8-r6::gentoo, 19.1.7::gentoo, 20.1.4::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/sandbox:          2.46::gentoo
sys-apps/systemd:          257.5::gentoo
sys-devel/binutils:        2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20250301::gentoo, 15.1.0::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.14::gentoo (virtual/os-headers)
sys-libs/glibc:            2.41-r1::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-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 

AzP
    location: /var/db/repos/AzP
    masters: gentoo
    volatile: True

audio-overlay
    location: /var/db/repos/audio-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/audio-overlay.git
    masters: gentoo
    volatile: False

brave-overlay
    location: /var/db/repos/brave-overlay
    sync-type: git
    sync-uri: https://gitlab.com/jason.oliveira/brave-overlay.git
    masters: gentoo
    volatile: False

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

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

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

Installed sets: @esteam, @perl-cleanup
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/php/apache2-php8.3/ext-active/ /etc/php/apache2-php8.4/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cgi-php8.4/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/cli-php8.4/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/fpm-php8.4/ext-active/ /etc/php/phpdbg-php8.3/ext-active/ /etc/php/phpdbg-php8.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=5 --with-bdeps=y --load-average=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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks export-pms-vars 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 splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://www.mirrorservice.org/sites/distfiles.gentoo.org/ http://mirror.leaseweb.com/gentoo/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-fuse-ld=mold -Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en sv"
MAKEOPTS="-j16 -l16"
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/bash"
USE="256-color X a52 aac acl acpi alsa amd64 appindicator bash-completion beautifier blake2 bluetooth branding btrfs bzip2 c++11 c++14 c++17 c++20 cairo cdda cdr cet clangcodemodel clangstaticanalyzer colord cppcheck crypt dav1d dbus dri dri3 dts dvd dvdr echo-cancel eds egl encode evo exif f2fs fat flac font-styles fontconfig fonts gallium gd gdbm gdk-pixbuf gif git glib glsl gnome gnome-keyring gnome-online-accounts gnome-shell gpm graphite gstreamer gtk gtk3 gtk4 gui harfbuzz highlight hip hwaccel iconv icu initramfs introspection ipv6 jack jpeg jpeg2k keyring lcms libass libdrm libglvnd libinput libnotify libtirpc lm-sensors lsp lto lv2 lzma mad mng mp3 mp4 mpeg mpris multilib nautilus ncurses networkmanager nls nss ntfs ogg opengl openh264 openmp opus pam pango pcre pdf pdfimport perfprofiler pgo pipewire pipewire-alsa png policykit ppds pulseaudio python qml qt5 qt6 rar rdp readline refind regex rustfmt screencast sdl seccomp sound spell ssl startup-notification svg sysprof system-llvm systemd test-rust tiff tls-heartbeat tracker tray truetype udev udisks uefi uefi64 unicode update_drivedb upower usb user-session v4l v4l2 vaapi vdpau vector-icons vim-pager vim-syntax vorbis vulkan vulkan-overlay vulkaninfo warmstarts wayland wayland-compositor webp wxwidgets x264 x265 xattr xcb xcb-errors xfs xft xml xv xvfb xvid xwayland zfs zlib" ABI_X86="64" ADA_TARGET="gcc_14" ALSA_CARDS="emu10k1 hda_intel" AMDGPU_TARGETS="gfx1031" 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 sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="pc" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput roccat_konextd" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" RUBY_TARGETS="ruby32 ruby33" VIDEO_CARDS="amdgpu radeonsi" 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, 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 Azpegath 2025-05-12 08:49:02 UTC
Created attachment 928526 [details]
build log
Comment 2 Azpegath 2025-05-12 08:49:58 UTC
For future search results, here is the error message from the build log:

...
-- The CXX compiler identification is Clang 19.1.7
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/hipcc - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python: /usr/bin/python3.13 (found version "3.13.3") found components: Interpreter
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test HIP_CLANG_SUPPORTS_PARALLEL_JOBS
-- Performing Test HIP_CLANG_SUPPORTS_PARALLEL_JOBS - Failed
CMake Error: File /var/tmp/portage/media-libs/oidn-2.3.3/work/oidn-2.3.3/external/composable_kernel/include/ck/config.h.in does not exist.
CMake Error at CMakeLists.txt:59 (configure_file):
  configure_file Problem configuring file
Comment 3 Sebastian Parborg 2025-05-13 09:27:59 UTC
I'm guessing it starts working if you modify the ebuild and change this line:
 rm -r external/{composable_kernel,cutlass,mkl-dnn} || die
To:
 rm -r external/{cutlass,mkl-dnn} || die

?
Comment 4 Azpegath 2025-05-14 18:50:06 UTC
(In reply to Sebastian Parborg from comment #3)
> I'm guessing it starts working if you modify the ebuild and change this line:
>  rm -r external/{composable_kernel,cutlass,mkl-dnn} || die
> To:
>  rm -r external/{cutlass,mkl-dnn} || die
> 
> ?

I can confirm that it did in fact fix the issue.