Created attachment 893616 [details] media-gfx/luminance-hdr-2.6.1.1-r1 build.log After upgrading to dev-libs/boost-1.85.0, media-gfx/luminance-hdr-2.6.1.1-r1 fails to build with the following errors: /var/tmp/portage/media-gfx/luminance-hdr-2.6.1.1-r1/work/luminance-hdr-2.6.1.1/src/Libpfs/manip/resize.hxx: In function ‘void pfs::detail::Lanczos(const Type*, Type*, int, int, int, int)’: /var/tmp/portage/media-gfx/luminance-hdr-2.6.1.1-r1/work/luminance-hdr-2.6.1.1/src/Libpfs/manip/resize.hxx:153:42: error: ‘boost::numeric’ has not been declared 153 | boost::numeric::bounds<Type>::highest())); | ^~~~~~~ /var/tmp/portage/media-gfx/luminance-hdr-2.6.1.1-r1/work/luminance-hdr-2.6.1.1/src/Libpfs/manip/resize.hxx:153:62: error: expected primary-expression before ‘>’ token 153 | boost::numeric::bounds<Type>::highest())); | ^ /var/tmp/portage/media-gfx/luminance-hdr-2.6.1.1-r1/work/luminance-hdr-2.6.1.1/src/Libpfs/manip/resize.hxx:153:65: error: ‘::highest’ has not been declared 153 | boost::numeric::bounds<Type>::highest())); | ^~~~~~~ This has already been reported upstream at https://github.com/LuminanceHDR/LuminanceHDR/issues/283 , but not patched yet. Portage 3.0.64 (python 3.11.9-final-0, default/linux/amd64/23.0/split-usr/hardened, gcc-13, glibc-2.39-r6, 6.8.9-gentoo-x86_64 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.8.9-gentoo-x86_64-x86_64-AMD_Ryzen_7_PRO_3700U_w-_Radeon_Vega_Mobile_Gfx-with-glibc2.39 KiB Mem: 14176200 total, 2879232 free KiB Swap: 15729660 total, 9086572 free Timestamp of repository gentoo: Mon, 20 May 2024 21:30:00 +0000 Head commit of repository gentoo: 8d7f51177546c65aa48617a7a4d499a6b67bb9a6 Head commit of repository creideiki: a45c5c7eaaeef4a62a95ed22df5f1121b1497a19 Timestamp of repository steam-overlay: Mon, 20 May 2024 17:23:25 +0000 Head commit of repository steam-overlay: 3aa8d3201d7bce32a1a0fffdf4afd9dbd0583048 Timestamp of repository torbrowser: Mon, 20 May 2024 17:23:26 +0000 Head commit of repository torbrowser: e864531f479e040a6516e2c34b630f187aee4338 sh bash 5.2_p26-r3 ld GNU ld (Gentoo 2.42 p3) 2.42.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p26-r3::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.29.3::gentoo dev-build/libtool: 2.4.7-r4::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.4.0-r1::gentoo dev-lang/perl: 5.38.2-r5::gentoo dev-lang/python: 3.11.9::gentoo, 3.12.3::gentoo, 3.13.0_beta1_p1::gentoo dev-lang/rust: 1.77.1::gentoo sys-apps/baselayout: 2.15::gentoo sys-apps/openrc: 0.54::gentoo sys-apps/sandbox: 2.38::gentoo sys-devel/binutils: 2.42-r1::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 17.0.6::gentoo, 18.1.6::gentoo sys-devel/gcc: 13.2.1_p20240503::gentoo, 14.1.1_p20240518::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 17.0.6::gentoo sys-devel/llvm: 17.0.6::gentoo, 18.1.6::gentoo sys-kernel/linux-headers: 6.9::gentoo (virtual/os-headers) sys-libs/glibc: 2.39-r6::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-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: --ipv4 creideiki location: /var/db/repos/creideiki sync-type: git sync-uri: https://github.com/creideiki/portage.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 torbrowser location: /var/db/repos/torbrowser sync-type: git sync-uri: https://github.com/gentoo-mirror/torbrowser.git masters: gentoo volatile: False ACCEPT_KEYWORDS="amd64 ~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/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" 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" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical --keep-going --quiet-build=n --backtrack=30 --verbose-conflicts" 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 buildpkg-live compressdebug 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 splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" MAKEOPTS="-j6" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--ipv4" 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="X acl alsa amd64 bzip2 cet crypt dbus elogind emacs eselect-ldso ffmpeg flac gdbm gif gles2 hackrf hardened harfbuzz heif iconv icu idn ipv6 jpeg jpeg2k jpegxl libplacebo libtirpc mp3 multilib ncurses nls ogg opencl opengl openmp orc pam pcre pic pie pipewire plasma png qml qt5 rav1e readline screencast seccomp split-usr ssl ssp svg test-rust udev unicode vaapi vorbis vpx vulkan wayland webp x264 x265 xattr xtpax zlib" ABI_X86="64" ADA_TARGET="gcc_12" ALSA_CARDS="hda-intel" 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" 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 sha sse sse2 sse3 sse4_1 sse4_2 sse4a 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput wacom" KERNEL="linux" L10N="en en-US en-GB sv" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="BPF AMDGPU X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby32 ruby33" SANE_BACKENDS="hp" 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, LANG, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= media-gfx/luminance-hdr-2.6.1.1-r1::gentoo was built with the following: USE="-fits openmp -test" ABI_X86="(64)" CPU_FLAGS_X86="sse2" CFLAGS="-O2 -pipe -march=native -msse2 -std=c++17" CXXFLAGS="-O2 -pipe -march=native -msse2 -std=c++17" FEATURES="sfperms news unmerge-orphans binpkg-logs network-sandbox protect-owned assume-digests ipc-sandbox parallel-fetch config-protect-if-modified pid-sandbox pkgdir-index-trusted qa-unresolved-soname-deps unknown-features-warn binpkg-dostrip compressdebug usersync binpkg-docompress fixlafiles buildpkg-live userfetch xattr buildpkg ebuild-locks usersandbox sandbox unmerge-logs preserve-libs splitdebug binpkg-multi-instance multilib-strict strict userpriv distlocks merge-sync" LDFLAGS="-Wl,-O1 -Wl,--as-needed"
https://github.com/LuminanceHDR/LuminanceHDR/issues/283#issuecomment-2132239165 just adds an include.
Created attachment 894563 [details, diff] Patch from GitHub I made this patch that adds the same #include as the sed command in the GitHub bug, and with it the program builds and runs.
Same issue, patch works for me. Thank you!
*** Bug 935907 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=386cd1e2e217272b50e11c26b9fb2ab8b1754778 commit 386cd1e2e217272b50e11c26b9fb2ab8b1754778 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-07-12 17:14:04 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-07-12 17:14:04 +0000 media-gfx/luminance-hdr: fix build w/ boost-1.85 Closes: https://bugs.gentoo.org/932335 Signed-off-by: Sam James <sam@gentoo.org> .../files/luminance-hdr-2.6.1.1-boost-1.85.patch | 12 ++++++++++++ media-gfx/luminance-hdr/luminance-hdr-2.6.1.1-r1.ebuild | 1 + 2 files changed, 13 insertions(+)