/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.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9247176b42c016df75946c2d10f9c32d48e57b5f commit 9247176b42c016df75946c2d10f9c32d48e57b5f Author: Eli Schwartz <eschwartz@gentoo.org> AuthorDate: 2024-09-23 03:38:12 +0000 Commit: Eli Schwartz <eschwartz@gentoo.org> CommitDate: 2024-09-23 03:49:01 +0000 app-text/cuneiform: treeclean Closes: https://bugs.gentoo.org/937994 (pkgremoved) Closes: https://bugs.gentoo.org/914924 (pkgremoved) Closes: https://bugs.gentoo.org/931102 (pkgremoved) Closes: https://bugs.gentoo.org/882265 (pkgremoved) Closes: https://bugs.gentoo.org/880839 (pkgremoved) Closes: https://bugs.gentoo.org/863959 (pkgremoved) Closes: https://bugs.gentoo.org/854900 (pkgremoved) Closes: https://bugs.gentoo.org/829229 (pkgremoved) Signed-off-by: Eli Schwartz <eschwartz@gentoo.org> app-text/cuneiform/Manifest | 1 - app-text/cuneiform/cuneiform-1.1.0-r3.ebuild | 61 ------- .../cuneiform/files/cuneiform-1.1.0-c-assert.patch | 79 --------- .../cuneiform-1.1.0-fix_buffer_overflow.patch | 24 --- .../cuneiform-1.1.0-fix_buffer_overflow_2.patch | 15 -- .../cuneiform/files/cuneiform-1.1.0-gcc11.patch | 30 ---- .../cuneiform/files/cuneiform-1.1.0-gcc6.patch | 176 --------------------- .../cuneiform/files/cuneiform-1.1.0-gcc7.patch | 97 ------------ .../files/cuneiform-1.1.0-graphicsmagick.patch | 40 ----- .../cuneiform/files/cuneiform-1.1.0-libm.patch | 22 --- .../cuneiform/files/cuneiform-1.1.0-typos.patch | 53 ------- app-text/cuneiform/files/cuneiform.1 | 166 ------------------- app-text/cuneiform/metadata.xml | 8 - profiles/package.mask | 7 - 14 files changed, 779 deletions(-)