Given following log snippets, their explanation, and nothing else, explain what failure, if any, occurred during build of this package.

  Snippets are in a format of [X] : [Y], where [X] is a log snippet, and [Y] is the explanation.

  Snippets are delimited with '================'.

  Drawing on information from all snippets, provide a concise explanation of the issue and recommend a solution.

  Explanation of the issue, and recommended solution, should take a handful of sentences.

  Snippets:

  [/usr/lib/gcc/x86_64-redhat-linux/15/include/omp.h:557:1: error: template with C linkage
  557 | template&lt;typename __T&gt;
      | ^~~~~~~~
/builddir/build/BUILD/darktable-5.0.1-build/darktable-5.0.1/src/imageio/format/imageio_format_api.h:24:1: note: ‘extern "C"’ linkage started here
   24 | extern "C" {
      | ^~~~~~~~~~
[ 97%] Linking C shar]: [Use of C++ in scope defined as C code]

Issue: Source code has an error which prevents the build
Resolution: Remove C++ code from parts that should only contain C code