/usr/include/ImageMagick-7/MagickCore/magick-config.h:63:3: warning: #warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default" [-Wcpp] 63 | # warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default" | ^~~~~~~ /usr/include/ImageMagick-7/MagickCore/magick-config.h:64:3: warning: #warning "this is an obsolete behavior please fix your makefile" [-Wcpp] 64 | # warning "this is an obsolete behavior please fix your makefile" | ^~~~~~~ /usr/include/ImageMagick-7/MagickCore/magick-config.h:86:3: error: #error "you should set MAGICKCORE_HDRI_ENABLE" 86 | # error "you should set MAGICKCORE_HDRI_ENABLE" | ^~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-20230928-134004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 17.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.1 Python 3.11.5 Available Rust versions: [1] rust-1.72.0 * The following VMs are available for generation-2: *) Eclipse Temurin JRE 17.0.8.1_p1 [openjdk-jre-bin-17] Available Java Virtual Machines: [1] openjdk-jre-bin-17 system-vm php cli (if any): go version go1.21.1 linux/amd64 HEAD of ::gentoo commit a81b34f4867931cb04b775f680ef2bfd09b8de42 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Sep 29 17:01:44 2023 +0000 2023-09-29 17:01:43 UTC emerge -qpvO app-text/cuneiform [ebuild N ] app-text/cuneiform-1.1.0-r3 USE="-debug -graphicsmagick"
Created attachment 871778 [details] emerge-info.txt
Created attachment 871779 [details] app-text:cuneiform-1.1.0-r3:20230929-181800.log.xz
Created attachment 871780 [details] emerge-history.txt
Created attachment 871781 [details] environment
Created attachment 871782 [details] etc.clang.tar.xz
Created attachment 871783 [details] etc.portage.tar.xz
Created attachment 871784 [details] temp.tar.xz
As a workaround, cuneiform builds successfully with USE+graphicsmagick.
Sadly no solution/workaround for me, because it conflicts with USE=imagemagick which is needed by digikam, which can't be switched to graphicsmagick.
Created attachment 882508 [details, diff] Define MAGICKCORE_HDRI_ENABLE Define MAGICKCORE_HDRI_ENABLE in build.
With the patch in comment #10 the package builds successfully, if media-gfx/imagemagick is built with the hdri USE flag enabled.
USE=graphicsmagick resolve this problem.
(In reply to Bogdan from comment #12) > USE=graphicsmagick resolve this problem. It does not if you have USE=imagemagick instead.