Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 578580 - media-gfx/mypaint-1.2.0 - brushlib/mypaint-tiled-surface.c:23:17: fatal error: omp.h: No such file or directory
Summary: media-gfx/mypaint-1.2.0 - brushlib/mypaint-tiled-surface.c:23:17: fatal error...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 603038 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-03-30 09:26 UTC by Jaak Ristioja
Modified: 2018-10-13 17:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/portage/patches/media-gfx/mypaint/openmp.patch (openmp.patch,342 bytes, patch)
2017-03-16 07:13 UTC, Jaak Ristioja
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaak Ristioja 2016-03-30 09:26:06 UTC
brushlib/mypaint-tiled-surface.c:23:17: fatal error: omp.h: No such file or directory
 #include <omp.h>
                 ^
brushlib/mypaint.c:5:17: fatal error: omp.h: No such file or directory
 #include <omp.h>
                 ^

The scons build scripts appear to have flags enabling to turn off OpenMP support, but the ebuild is not using them. I suppose it should be easy make the ebuild support a respective USE-flag.
Comment 1 jorgicio 2016-12-19 00:39:51 UTC
It needs the sys-libs/libomp package as a dependency.
As being part of LLVM, the stable version should be the same as the llvm (and clang) stable.
Comment 2 Jaak Ristioja 2017-01-24 20:27:16 UTC
Happens with 1.2.1 as well.
Comment 3 Jaak Ristioja 2017-03-16 07:13:49 UTC
Created attachment 467194 [details, diff]
/etc/portage/patches/media-gfx/mypaint/openmp.patch

This should probably be fixed in the ebuild, but as a workaround here's a user patch to disable openmp in MyPaints Sconstruct file by default.
Comment 4 Pacho Ramos gentoo-dev 2018-07-24 10:17:49 UTC
*** Bug 603038 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2018-10-13 17:35:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b02a5e3cda51170b7d63b2ad702dcdc85791bc82

commit b02a5e3cda51170b7d63b2ad702dcdc85791bc82
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2018-10-13 17:10:25 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-10-13 17:35:03 +0000

    media-gfx/mypaint: Pull missing and automagic deps
    
    Closes: https://bugs.gentoo.org/578580
    Closes: https://bugs.gentoo.org/657482
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-gfx/mypaint/mypaint-1.2.1-r3.ebuild | 81 +++++++++++++++++++++++++++++++
 1 file changed, 81 insertions(+)