Build fails with #error Unable to figure out byte order. This was fixed upstream, in commit 067a88d8c84a5149469961d54b1d5c93df6a3167: https://quickgit.kde.org/?p=digikam.git&a=commit&h=067a88d8c84a5149469961d54b1d5c93df6a3167 So it boils down to this patch: https://quickgit.kde.org/?p=digikam.git&a=blobdiff&h=904aa1570c212962c7d7d237e5aeebe0fc93e6d1&hp=25d96476be059e2db97ce344075a892e9e81133e&f=libs%2Frawengine%2Flibraw%2Flibraw%2Flibraw_types.h&o=plain Applying the above (as a user patch in /etc/portage/patches) fixes it for me. A thread discussing the problem is found here: https://bugs.kde.org/show_bug.cgi?id=366542 Reproducible: Always
Fixed in https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa844686c8792e80a1b1be97571da30626a1f803 among other things.