Bug 1217234

Summary: cuneiform fails to build error "you should set MAGICKCORE_HDRI_ENABLE"
Product: [openSUSE] openSUSE Distribution Reporter: Lubos Kocman <lubos.kocman>
Component: OtherAssignee: Martin Pluskal <mpluskal>
Status: IN_PROGRESS --- QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: Leap 15.6   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Lubos Kocman 2023-11-16 13:37:28 UTC
Hello

cuneiform does not build on Leap 15.6 this should be fixed before Beta (Feb 2023)
https://en.opensuse.org/openSUSE:Roadmap#Schedule_for_openSUSE_Leap_15.6

Build log from Leap 15.6

https://build.opensuse.org/package/live_build_log/openSUSE:Backports:SLE-15-SP6/cuneiform/standard/x86_64

[   60s] /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]
[   60s]  # warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default"
[   60s]    ^~~~~~~
[   60s] /usr/include/ImageMagick-7/MagickCore/magick-config.h:64:3: warning: #warning "this is an obsolete behavior please fix your makefile" [-Wcpp]
[   60s]  # warning "this is an obsolete behavior please fix your makefile"
[   60s]    ^~~~~~~
[   60s] /usr/include/ImageMagick-7/MagickCore/magick-config.h:86:3: error: #error "you should set MAGICKCORE_HDRI_ENABLE"
[   60s]  # error "you should set MAGICKCORE_HDRI_ENABLE"
[   60s]    ^~~~~
[   60s] /usr/include/ImageMagick-7/MagickCore/magick-config.h:121:3: error: #error "you should set MAGICKCORE_HDRI_ENABLE"
[   60s]  # error "you should set MAGICKCORE_HDRI_ENABLE"
[   60s]    ^~~~~
[   60s] make[2]: *** [cuneiform_src/cli/CMakeFiles/cuneiform-cli.dir/build.make:79: cuneiform_src/cli/CMakeFiles/cuneiform-cli.dir/cuneiform-cli.cpp.o] Error 1
[   60s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/cuneiform-linux-1.1.0/build'
[   60s] make[1]: *** [CMakeFiles/Makefile2:3316: cuneiform_src/cli/CMakeFiles/cuneiform-cli.dir/all] Error 2
[   60s] make: *** [Makefile:149: all] Error 2
[   60s] error: Bad exit status from /var/tmp/rpm-tmp.Twf9La (%build)
Comment 1 Lubos Kocman 2023-11-16 13:40:18 UTC
I do not see a package in openSUSE:Factory which should not be the case https://en.opensuse.org/openSUSE:Factory_development_model

Please make sure that package builds and is also in openSUSE:Factory or we'll have to drop it from Leap 15.
Comment 2 Martin Pluskal 2023-11-20 10:02:09 UTC
(In reply to Lubos Kocman from comment #1)
> I do not see a package in openSUSE:Factory which should not be the case
> https://en.opensuse.org/openSUSE:Factory_development_model
> 
> Please make sure that package builds and is also in openSUSE:Factory or
> we'll have to drop it from Leap 15.

I would suggest dropping this package, there is little interest in its usage anyways
Comment 3 Lubos Kocman 2023-11-20 10:49:51 UTC
https://build.opensuse.org/request/show/1127664