Bug 443606 - digikam fails to build on s390x
Summary: digikam fails to build on s390x
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Runtime (other bugs)
Version First Reported In: 7.3.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-11 17:59 UTC by nucleo
Modified: 2021-10-12 05:44 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 7.4.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nucleo 2021-10-11 17:59:03 UTC
SUMMARY
digikam 7.3.0 fails to build on s390x

/builddir/build/BUILD/digikam-7.3.0/core/libs/dngwriter/extra/dng_sdk/dng_flags.h:217:2: error: #error Unable to figure out byte order.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 35
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Comment 1 caulier.gilles 2021-10-11 18:11:16 UTC
What's s390x ? ARM CPU ?
Comment 2 nucleo 2021-10-11 18:21:12 UTC
IBM system Z, one of arches supported by Fedora
https://fedoraproject.org/wiki/Architectures/s390x

ARM CPU builds are fine, only s390x failed
https://koji.fedoraproject.org/koji/taskinfo?taskID=77079243
Comment 3 Maik Qualmann 2021-10-11 20:59:32 UTC
Git commit 74fb80fa0b49efbbcfa274ff08677f269283a745 by Maik Qualmann.
Committed on 11/10/2021 at 20:58.
Pushed by mqualmann into branch 'master'.

try to fix compile DNG-SDK on s390x
Next problem can be libraw.

M  +3    -0    core/libs/dngwriter/extra/dng_sdk/dng_flags.h

https://invent.kde.org/graphics/digikam/commit/74fb80fa0b49efbbcfa274ff08677f269283a745
Comment 4 nucleo 2021-10-11 22:06:55 UTC
Commit from Comment 3 fixed s390x build

https://koji.fedoraproject.org/koji/taskinfo?taskID=77087549

Thanks