Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 762202 - media-gfx/darktable-3.4.0 fails to build on arm64 due to unguarded include
Summary: media-gfx/darktable-3.4.0 fails to build on arm64 due to unguarded include
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Marek Szuba (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-12-28 11:17 UTC by Jannik Glückert
Modified: 2020-12-28 14:34 UTC (History)
2 users (show)

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


Attachments
patch to add include guard to xmmintrin (darktable-3.4.0-arm64-xmmintrin.patch,748 bytes, patch)
2020-12-28 11:17 UTC, Jannik Glückert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jannik Glückert 2020-12-28 11:17:23 UTC
Created attachment 680011 [details, diff]
patch to add include guard to xmmintrin

Darktable 3.4.0 wrongly tries to include a SSE header on non-x86 arches.

This was fixed upstream in https://github.com/darktable-org/darktable/issues/7428 and will land in 3.4.1.

Attached is the patch from the upstream commit.

Best regards
Jannik
Comment 1 Larry the Git Cow gentoo-dev 2020-12-28 14:34:56 UTC
The bug has been closed via the following commit(s):

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

commit 09d92df170e7e302400cee44c131de7fe0f9eb73
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2020-12-28 14:33:13 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2020-12-28 14:34:47 +0000

    media-gfx/darktable-3.4.0: fix build failure on non-SSE systems
    
    Backport of the upstream fix which will be included in the next release.
    
    Closes: https://bugs.gentoo.org/762202
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 media-gfx/darktable/darktable-3.4.0-r1.ebuild      |  2 ++
 .../files/darktable-3.4.0-xmmintrin-sse-only.patch | 30 ++++++++++++++++++++++
 2 files changed, 32 insertions(+)