Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 914924

Summary: app-text/cuneiform-1.1.0-r3 - /.../magick-config.h: error: #error you should set MAGICKCORE_HDRI_ENABLE
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal CC: bogdan.pylypenko107, caneko, kingjon3377, octavsly, randy-andy-, treecleaner
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=914628
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-text:cuneiform-1.1.0-r3:20230929-181800.log.xz
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
temp.tar.xz
Define MAGICKCORE_HDRI_ENABLE

Description Toralf Förster gentoo-dev 2023-09-29 20:03:56 UTC
/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"
Comment 1 Toralf Förster gentoo-dev 2023-09-29 20:03:57 UTC
Created attachment 871778 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-29 20:03:58 UTC
Created attachment 871779 [details]
app-text:cuneiform-1.1.0-r3:20230929-181800.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-09-29 20:03:59 UTC
Created attachment 871780 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-09-29 20:04:00 UTC
Created attachment 871781 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-09-29 20:04:01 UTC
Created attachment 871782 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-29 20:04:02 UTC
Created attachment 871783 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-29 20:04:03 UTC
Created attachment 871784 [details]
temp.tar.xz
Comment 8 Jonathan Lovelace 2024-01-06 16:49:58 UTC
As a workaround, cuneiform builds successfully with USE+graphicsmagick.
Comment 9 Randy Andy 2024-01-08 19:44:20 UTC
Sadly no solution/workaround for me, because it conflicts with USE=imagemagick which is needed by digikam, which can't be switched to graphicsmagick.
Comment 10 Canek Peláez Valdés 2024-01-18 03:52:57 UTC
Created attachment 882508 [details, diff]
Define MAGICKCORE_HDRI_ENABLE

Define MAGICKCORE_HDRI_ENABLE in build.
Comment 11 Canek Peláez Valdés 2024-01-18 03:54:31 UTC
With the patch in comment #10 the package builds successfully, if media-gfx/imagemagick is built with the hdri USE flag enabled.
Comment 12 Bogdan 2024-01-23 18:34:49 UTC
USE=graphicsmagick resolve this problem.
Comment 13 Canek Peláez Valdés 2024-01-26 20:38:54 UTC
(In reply to Bogdan from comment #12)
> USE=graphicsmagick resolve this problem.

It does not if you have USE=imagemagick instead.