Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 816948 - media-gfx/luminance-hdr with media-libs/openexr:3 : Could NOT find OpenEXR (missing: OPENEXR_INCLUDE_DIR)
Summary: media-gfx/luminance-hdr with media-libs/openexr:3 : Could NOT find OpenEXR (m...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 820674
  Show dependency tree
 
Reported: 2021-10-08 09:19 UTC by Karl-Johan Karlsson
Modified: 2022-02-16 14:19 UTC (History)
0 users

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


Attachments
build.log (build.log,7.79 KB, text/x-log)
2021-10-08 09:19 UTC, Karl-Johan Karlsson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl-Johan Karlsson 2021-10-08 09:19:20 UTC
Created attachment 743823 [details]
build.log

After upgrading media-libs/openexr to 3.1.1, media-gfx/luminance-hdr fails to configure with the message:

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find OpenEXR (missing: OPENEXR_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  build_files/Modules/FindOpenEXR.cmake:94 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:174 (FIND_PACKAGE)

The DEPEND expression is currently:

$ grep exr /usr/portage/media-gfx/luminance-hdr/luminance-hdr-2.6.0-r1.ebuild 
        media-libs/openexr:=

But OpenEXR 3 is clearly not compatible, so this should probably be <3.0.

Upstream has an open bug for OpenEXR 3 compatibility at https://github.com/LuminanceHDR/LuminanceHDR/issues/244 which has not seen any activity.

Fedora has given up trying to build against OpenEXR 3: https://bugzilla.redhat.com/show_bug.cgi?id=1968167


Portage 3.0.28 (python 3.9.7-final-0, default/linux/amd64/17.1/hardened, gcc-11.2.0, glibc-2.33-r7, 5.14.9-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.14.9-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-4770K_CPU_@_3.50GHz-with-glibc2.33
KiB Mem:    32810176 total,   9233744 free
KiB Swap:   31702012 total,  31677244 free
Timestamp of repository gentoo: Thu, 07 Oct 2021 22:00:01 +0000
Head commit of repository gentoo: 9a59deaacdd7c0754d5bebbc72425e30976c4394
Head commit of repository creideiki: 5990d467be5f3b961c03bb6f25efc737a0210ff8

sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r2::gentoo
dev-lang/python:          2.7.18_p13::gentoo, 3.8.12::gentoo, 3.9.7::gentoo, 3.10.0::gentoo
dev-lang/rust:            1.55.0::gentoo
dev-util/cmake:           3.21.3::gentoo
sys-apps/baselayout:      2.8::gentoo
sys-apps/openrc:          0.44.6::gentoo
sys-apps/sandbox:         2.25::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.15.1-r2::gentoo, 1.16.5::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

creideiki
    location: /usr/local/portage
    sync-type: git
    sync-uri: https://github.com/creideiki/portage
    masters: gentoo
    priority: 0

seden
    location: /var/lib/layman/seden
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/user/seden.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

torbrowser
    location: /var/lib/layman/torbrowser
    sync-type: laymansync
    sync-uri: git://github.com/MeisterP/torbrowser-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/ossec/etc"
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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /var/ossec/etc/shared"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --keep-going --quiet-build=n --backtrack=30 --verbose-conflicts"
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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg compressdebug 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 strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--enable-new-dtags"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/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"
USE="X acl alsa amd64 bluray bzip2 crypt cups dav1d dvd egl elogind emacs eselect-ldso exif ffmpeg flac gif gles2 hackrf hardened harfbuzz iconv idn ipv6 jpeg kde libglvnd libtirpc lm-sensors mng multilib ncurses nls nptl ogg opencl opengl openmp orc pam pcre pdf pie plasma png postscript pulseaudio qml qt5 rav1e readline screencast seccomp split-usr ssl ssp svg tiff unicode vaapi vorbis vulkan wayland wmf xattr xpm xtpax zlib" ABI_X86="64" ADA_TARGET="gnat_2019" ALSA_CARDS="hda-intel" 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" CAMERAS="canon" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput evdev wacom" KERNEL="linux" L10N="en en-US en-GB sv" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="BPF AMDGPU X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="i386 x86_64 aarch64 arm" RUBY_TARGETS="ruby27 ruby30" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="amdgpu 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

=================================================================
                        Package Settings
=================================================================

media-gfx/luminance-hdr-2.6.0-r1::gentoo was built with the following:
USE="-fits openmp -test" ABI_X86="(64)" CPU_FLAGS_X86="sse2"
FEATURES="config-protect-if-modified strict-keepdir binpkg-dostrip news pid-sandbox strict unmerge-orphans protect-owned qa-unresolved-soname-deps unknown-features-warn fixlafiles usersandbox unmerge-logs sandbox userfetch ipc-sandbox sfperms usersync assume-digests binpkg-logs xattr multilib-strict userpriv network-sandbox splitdebug parallel-fetch distlocks preserve-libs binpkg-multi-instance compressdebug merge-sync binpkg-docompress ebuild-locks buildpkg"


media-libs/openexr-3.1.1::gentoo was built with the following:
USE="-doc -examples -large-stack -static-libs -test -threads -utils" ABI_X86="(64)" CPU_FLAGS_X86="avx"
FEATURES="config-protect-if-modified strict-keepdir binpkg-dostrip news pid-sandbox strict unmerge-orphans protect-owned qa-unresolved-soname-deps unknown-features-warn fixlafiles usersandbox unmerge-logs sandbox userfetch ipc-sandbox sfperms usersync assume-digests binpkg-logs xattr multilib-strict userpriv network-sandbox splitdebug parallel-fetch distlocks preserve-libs binpkg-multi-instance compressdebug merge-sync binpkg-docompress ebuild-locks buildpkg"
Comment 1 Larry the Git Cow gentoo-dev 2021-10-16 23:15:32 UTC
The bug has been closed via the following commit(s):

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

commit 6028b8a361b3c20214745f8d0194f9a0d9c482f1
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2021-10-16 21:53:25 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2021-10-16 23:15:21 +0000

    media-gfx/luminance-hdr: depend on openexr:0
    
    Closes: https://bugs.gentoo.org/816948
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 media-gfx/luminance-hdr/luminance-hdr-2.6.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)