Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914924 - app-text/cuneiform-1.1.0-r3 - /.../magick-config.h: error: #error you should set MAGICKCORE_HDRI_ENABLE
Summary: app-text/cuneiform-1.1.0-r3 - /.../magick-config.h: error: #error you should ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-29 20:03 UTC by Toralf Förster
Modified: 2024-02-19 18:04 UTC (History)
6 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.42 KB, text/plain)
2023-09-29 20:03 UTC, Toralf Förster
Details
app-text:cuneiform-1.1.0-r3:20230929-181800.log.xz (app-text:cuneiform-1.1.0-r3:20230929-181800.log.xz,26.43 KB, application/x-xz)
2023-09-29 20:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,61.72 KB, text/plain)
2023-09-29 20:03 UTC, Toralf Förster
Details
environment (environment,96.30 KB, text/plain)
2023-09-29 20:04 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.28 KB, application/x-xz)
2023-09-29 20:04 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.66 KB, application/x-xz)
2023-09-29 20:04 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,47.81 KB, application/x-xz)
2023-09-29 20:04 UTC, Toralf Förster
Details
Define MAGICKCORE_HDRI_ENABLE (cuneiform-magickcore-hdri.patch,601 bytes, patch)
2024-01-18 03:52 UTC, Canek Peláez Valdés
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.