The emerge failes for media-gfx/darktable-9999 when using gcc without graphite use flag. Reproducible: Always Steps to Reproduce: 1. use gcc without graphite use flag 2. emerge =media-gfx/darktable-9999 Actual Results: Lot of errors: sorry, unimplemented: Graphite loop optimizations cannot be used (isl is not available). Expected Results: None of the mentioned errors After reemerging gcc with graphite use flag, the darktable-9999 finishes successfuly and is usable. Ebuild dependencies should be fixed probably (or I am totally misunderstanding the problem).
Created attachment 591102 [details] emerge --info
Created attachment 591104 [details] emerge darktable partial output I have failed to save the build.log before reemerging but I think that this should demostrate the situation...
Comment on attachment 591104 [details] emerge darktable partial output Please attach the entire build log to this bug report. It's this file: * The complete build log is located at '/var/tmp/portage/media-gfx/darktable-9999/temp/build.log'. which the output itself tells you to attach to this bug report.
The warnings about graphite support were not fatal.
Created attachment 591198 [details] build.log
As I have mentioned previously, after reemerging gcc with the graphite use flag, the emerge darktable finished successfuly, si I did not have a build.log. I have reverted gcc back to "-graphite" state and the emerge darktable failed, see the attached build.log.
i had the same issue. recompiling gcc with graphite fixed that for me. though i'm not sure this was the cause of compilation failing or it was caused by another issue i had (i use lensfun-9999 with which darktable-9999 is not compatible, but there's a patch for that issue that works).
*** Bug 705162 has been marked as a duplicate of this bug. ***
Turns out this is gcc-specific, with clang this problem doesn't appear. With clang-9 I had to disable OpenMP support because it doesn't support OpenMP 4.0 (haven't tested clang-10, then again that version has seen quite a lot of OpenMP-related work), that however is beyond the scope of the ticket at hand. Will push the fix as soon as I have finished testing it!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10cc105b82d53d20fc48ba340ea0a99266df9cc7 commit 10cc105b82d53d20fc48ba340ea0a99266df9cc7 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2020-06-18 14:52:38 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2020-06-18 16:29:07 +0000 media-gfx/darktable: if building with gcc, check for Graphite support Closes: https://bugs.gentoo.org/695658 Signed-off-by: Marek Szuba <marecki@gentoo.org> media-gfx/darktable/darktable-3.0.2-r1.ebuild | 7 ++++++- media-gfx/darktable/darktable-3.0.2.ebuild | 7 ++++++- media-gfx/darktable/darktable-9999.ebuild | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=431cfc22854d19925a332a12bef9f673dfbb35a9 commit 431cfc22854d19925a332a12bef9f673dfbb35a9 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-04 03:55:11 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-04 03:55:11 +0000 media-gfx/darktable: BDEPEND on an OpenMP capable compiler BDEPEND is necessary but not sufficient (hence the pkg_* check). Closes: https://bugs.gentoo.org/695658 Signed-off-by: Sam James <sam@gentoo.org> media-gfx/darktable/darktable-3.8.1-r1.ebuild | 1 + 1 file changed, 1 insertion(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6072ffe65140af46bae199eb28b93b5bb7036307 commit 6072ffe65140af46bae199eb28b93b5bb7036307 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-04 03:58:53 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-04 03:59:10 +0000 Revert "media-gfx/darktable: BDEPEND on an OpenMP capable compiler" This reverts commit 431cfc22854d19925a332a12bef9f673dfbb35a9. Whoops -- this one isn't just for openmp. But we do need to fix the rest of these. Bug: https://bugs.gentoo.org/695658 Signed-off-by: Sam James <sam@gentoo.org> media-gfx/darktable/darktable-3.8.1-r1.ebuild | 1 - 1 file changed, 1 deletion(-)