Bug 1401169

Summary: gegl: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Julian Sikorski <belegdol>
Component: geglAssignee: Nils Philippsen <nphilipp>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dakingun, ignatenko, nphilipp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 0.2.0-31.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-04 22:19:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
patch none

Description Julian Sikorski 2016-12-03 08:15:00 UTC
Created attachment 1227557 [details]
patch

Description of problem:
bumping libopenraw to 0.1.0 has caused broken deps in gegl. Even after fixing those the package would still not build due to changes in ruby packaging. I have fixed both issues, as well as modernised the .spec slightly and disabled silent build.

Comment 1 Igor Gnatenko 2016-12-03 12:04:42 UTC
*** Bug 1401186 has been marked as a duplicate of this bug. ***

Comment 2 Igor Gnatenko 2016-12-03 12:13:32 UTC
Actually that's not all. On aarch64 and ppc64 it still fails with:
matting-global.c: In function 'do_random_search':
matting-global.c:243:29: error: implicit declaration of function 'rand' [-Werror=implicit-function-declaration]
       int fi = (start_fi + (rand() % (dist_f * 2 + 1)) + fl - dist_f) % fl;
                             ^~~~
In file included from ../../gegl/gegl-plugin.h:40:0,
                 from ../../gegl/gegl-chant.h:29,
                 from matting-global.c:33: