Bug 232990

Summary: graphics/gegl: "/usr/bin/ld: cannot find -lomp"; EXIV2 broken
Product: Ports & Packages Reporter: Michael Danilov <mike.d.ft402>
Component: Individual Port(s)Assignee: freebsd-gnome mailing list <gnome>
Status: New ---    
Severity: Affects Only Me CC: jsika, mike.d.ft402
Priority: --- Flags: bugzilla: maintainer-feedback? (gnome)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
1. poudriere testport failing with OPENMP
none
1. fix for openmp
none
2. poudriere testport with openmp fix, still failing with EXIV2
none
3. upgrade to 0.4.12
none
3. poudriere testport still failing for 0.4.12 none

Description Michael Danilov 2018-11-05 15:21:50 UTC
Created attachment 198973 [details]
1. poudriere testport failing with OPENMP
Comment 1 Michael Danilov 2018-11-05 15:23:56 UTC
Created attachment 198974 [details]
1. fix for openmp
Comment 2 Michael Danilov 2018-11-05 15:25:09 UTC
Created attachment 198975 [details]
2. poudriere testport with openmp fix, still failing with EXIV2
Comment 3 Michael Danilov 2018-11-05 15:27:34 UTC
graphics/gegl: "/usr/bin/ld: cannot find -lomp" (but I have a patch for this); EXIV2 broken (no patch).
Comment 4 Michael Danilov 2018-11-05 15:28:17 UTC
I was able to patch OPENMP detection, but not build with EXIV2 enabled. It builds fine without EXIV2.
Comment 5 Michael Danilov 2018-11-05 15:29:08 UTC
I tried upgrading it to 0.4.8.12, and it had the same issue.
Comment 6 Michael Danilov 2018-11-05 15:35:26 UTC
Created attachment 198976 [details]
3. upgrade to 0.4.12
Comment 7 Michael Danilov 2018-11-05 15:39:02 UTC
Created attachment 198978 [details]
3. poudriere testport still failing for 0.4.12
Comment 8 Jakub Sika 2019-05-08 05:15:33 UTC
I resolved this issue in the following way:
Any port that depends on graphics/gegl, incl. gnome3, etc. may be compiled.

Before that, switch to devel/openmp and 'make install'
Later recompile and install graphics/gegl and everything should work.
(I had to swithch to graphics/gegl and type 'make clean && make install')
I understood there is some undeclared build depencency and this worked for me.