Bug 1041220

Summary: GCC 7: lcms fails to build
Product: [openSUSE] openSUSE Tumbleweed Reporter: Dominique Leuenberger <dimstar>
Component: OtherAssignee: Stanislav Brabec <sbrabec>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: rguenther
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1030236    

Description Dominique Leuenberger 2017-05-29 08:45:06 UTC
Since the update of gcc to version 7, openSUSE:Factory/lcms fails to build

See a complete log file at https://build.opensuse.org/package/live_build_log/openSUSE:Factory/lcms/standard/x86_64


NOTE: Preferably we should try to change the remaining consumers of lcms to no longer use this library - it has been declared obsolete by upstream and is replaced by lcms2
Comment 1 Olaf Hering 2017-06-16 08:25:50 UTC
'make check' works with -O1:
 %build
 autoreconf -fi
+export CFLAGS='%{optflags} -O1'
+export CXXFLAGS='%{optflags} -O1'
 %configure\
Comment 2 Dominique Leuenberger 2017-06-16 08:32:03 UTC
lcms should actually just die - upstream clearly advises against using it and porting to lcms2 (which has been out for a while); there are apparently also known sec. flaws
Comment 3 Antoine Belvire 2017-06-26 20:06:32 UTC
Resolved fixed with https://build.opensuse.org/request/show/505848.
Comment 4 Olaf Hering 2017-06-27 08:50:58 UTC
Not fixed
Comment 5 Richard Biener 2017-06-27 09:13:01 UTC
> osc whatdependson openSUSE:Factory lcms standard x86_64
lcms :
   calligra
   entangle
   geeqie
   hylafax+
   icc-examin
   krita
   lprof
   oyranos
   rawstudio
   xsane

the 1.19 release is 8 years old and unmaintained.

-> osc dr openSUSE:Factory lcms
Comment 6 Tomáš Chvátal 2017-07-25 07:47:01 UTC
We are removing lcms from factory.

https://build.opensuse.org/request/show/511878