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: RESOLVED PKGREMOVED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PMASKED
Depends on: 937994
Blocks:
  Show dependency tree
 
Reported: 2023-09-29 20:03 UTC by Toralf Förster
Modified: 2024-09-23 03:49 UTC (History)
7 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.
Comment 14 Larry the Git Cow gentoo-dev 2024-09-23 03:49:36 UTC
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(-)