I’ve got a build (Carla) for Fedora 40 on COPR:
https://copr.fedorainfracloud.org/coprs/ycollet/audinux/build/7259021/
This build is failing. But when I try this build via mock for Fedora 40, the build works fine.
This build was working fine on Fedora 38 / 39 too.
The error I’ve got:
g++ CarlaPlugin.cpp -Wall -Wextra -pipe -DBUILDING_CARLA -MD -MP -fno-common -fPIC -DPIC -DNDEBUG -O2 -ffast-math -fdata-sections -ffunction-sections -DBUILDING_CARLA_NOOPT -fvisibility=hidden -fno-gnu-unique -DHAVE_DGL -DHAVE_OPENGL -DDGL_OPENGL -DDONT_SET_USING_DGL_NAMESPACE -DDGL_NAMESPACE=CarlaDGL -DDGL_FILE_BROWSER_DISABLED -DDGL_NO_SHARED_RESOURCES -DHAVE_FLUIDSYNTH -DHAVE_FLUIDSYNTH_INSTPATCH -DHAVE_HYLIA -DHAVE_JACK -DHAVE_LIBLO -DHAVE_PYQT -DHAVE_SNDFILE -DHAVE_X11 -DUSING_JUCE -DJUCE_APP_CONFIG_HEADER='"AppConfig.h"' -DUSING_RTAUDIO -DCARLA_LIB_EXT=\".so\" -std=gnu++11 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fvisibility-inlines-hidden -fvisibility-inlines-hidden -I. -I.. -I../.. -I../../includes -I../../modules -I../../utils -pthread -c -o ../../../build/backend/Release/CarlaPlugin.cpp.o
make[1]: Leaving directory '/builddir/build/BUILD/Carla-2.5.8/source/backend/plugin'
In file included from ../../includes/CarlaDefines.h:89,
from ../CarlaBackend.h:21,
from ../CarlaPlugin.hpp:21,
from CarlaPluginInternal.hpp:21,
from CarlaPlugin.cpp:18:
/usr/include/c++/14/cstddef:49:10: fatal error: bits/c++config.h: No such file or directory
49 | #include <bits/c++config.h>
| ^~~~~~~~~~~~~~~~~~
Is there something wrong with this build ?
The corresponding spec is here:
https://download.copr.fedorainfracloud.org/results/ycollet/audinux/fedora-rawhide-x86_64/07259021-Carla-mao/Carla.spec