Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 695658 - media-gfx/darktable-3.0.1: Graphite support required when built with gcc
Summary: media-gfx/darktable-3.0.1: Graphite support required when built with gcc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
: 705162 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-09-26 07:12 UTC by Robert
Modified: 2024-02-22 06:37 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge-info.txt,7.92 KB, text/plain)
2019-09-26 07:12 UTC, Robert
Details
emerge darktable partial output (emerge-darktable-output.txt,217.38 KB, text/plain)
2019-09-26 07:15 UTC, Robert
Details
build.log (build.log.gz,41.96 KB, application/gzip)
2019-09-28 08:31 UTC, Robert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert 2019-09-26 07:12:14 UTC
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).
Comment 1 Robert 2019-09-26 07:12:46 UTC
Created attachment 591102 [details]
emerge --info
Comment 2 Robert 2019-09-26 07:15:29 UTC
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 3 Jeroen Roovers (RETIRED) gentoo-dev 2019-09-28 05:34:10 UTC
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.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2019-09-28 05:35:26 UTC
The warnings about graphite support were not fatal.
Comment 5 Robert 2019-09-28 08:31:25 UTC
Created attachment 591198 [details]
build.log
Comment 6 Robert 2019-09-28 08:34:09 UTC
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.
Comment 7 Miroslav Šulc gentoo-dev 2019-10-08 18:11:16 UTC
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).
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2020-01-11 22:47:59 UTC
*** Bug 705162 has been marked as a duplicate of this bug. ***
Comment 9 Marek Szuba archtester gentoo-dev 2020-06-18 14:47:03 UTC
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!
Comment 10 Larry the Git Cow gentoo-dev 2020-06-18 16:30:48 UTC
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(-)
Comment 11 Larry the Git Cow gentoo-dev 2022-06-04 03:57:59 UTC Comment hidden (obsolete)
Comment 12 Larry the Git Cow gentoo-dev 2022-06-04 03:59:31 UTC Comment hidden (obsolete)