I updated one of my workstations to Fedora 42 and tried to build Darktable, Rawtherapee and ART from latest sources as usual. They all failed with these errors:
Error: unknown pseudo-op: `.base64’
I did wipe the build dir, created a new one, ran cmake (no errors nor warnings) and then make.
I added a patch for darktable on F42 in my own build, becaus of a deprecation with the latest gcc version.
It’s related to the inclusion of ciso646 in the open ext code. But I’m not sure my patch is correct, that’s why a PR is still pending on my side.
That’s the only failure I got on fedora 42. You can see my latest copy build here : https://copr.fedorainfracloud.org/coprs/oleastre/misc/package/darktable-dev/
Note DT is patched to store data in a darktable-dev folder to avoid conflicts with the standard package
Solved: the failing system was my old F41 updated to F42. When I installed a fresh F42 I did not get any compilation errors. At least for ART, will try to rebuild DT and RT soon.
[ 99%] Linking C shared module libxcf.so
In file included from /data/soft/darktable/src/common/darktable.h:82,
from /data/soft/darktable/src/common/colorspaces.h:21,
from /data/soft/darktable/src/imageio/format/imageio_format_api.h:32,
from :
/usr/lib/gcc/x86_64-redhat-linux/15/include/omp.h:448:1: error: template with C linkage
448 | template<typename __T, omp_allocator_handle_t __Handle>
| ^~~~~~~~
compilation terminated due to -Wfatal-errors.
make[2]: *** [lib64/darktable/plugins/imageio/format/CMakeFiles/exr.dir/build.make:79: lib64/darktable/plugins/imageio/format/CMakeFiles/exr.dir/exr.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:9097: lib64/darktable/plugins/imageio/format/CMakeFiles/exr.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
[ 99%] Linking C shared module libavif.so