Bug 443606

Summary: digikam fails to build on s390x
Product: [Applications] digikam Reporter: nucleo <nucleo>
Component: Portability-RuntimeAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 7.3.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 7.4.0
Sentry Crash Report:

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