Bug 232990 - graphics/gegl: Fails to link with OPENMP: /usr/bin/ld: cannot find -lomp or EXIV2: undefined reference to `Exiv2::
Summary: graphics/gegl: Fails to link with OPENMP: /usr/bin/ld: cannot find -lomp or E...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-gnome (Nobody)
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2018-11-05 15:21 UTC by Michael Danilov
Modified: 2020-07-03 04:01 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (gnome)
koobs: maintainer-feedback? (multimedia)
koobs: merge-quarterly?


Attachments
1. poudriere testport failing with OPENMP (940.10 KB, text/plain)
2018-11-05 15:21 UTC, Michael Danilov
no flags Details
1. fix for openmp (533 bytes, patch)
2018-11-05 15:23 UTC, Michael Danilov
no flags Details | Diff
2. poudriere testport with openmp fix, still failing with EXIV2 (381.49 KB, text/plain)
2018-11-05 15:25 UTC, Michael Danilov
no flags Details
3. upgrade to 0.4.12 (5.09 KB, patch)
2018-11-05 15:35 UTC, Michael Danilov
no flags Details | Diff
3. poudriere testport still failing for 0.4.12 (392.23 KB, text/plain)
2018-11-05 15:39 UTC, Michael Danilov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.