[Solved] Compiling from git problem. [manjaro linux]

Hello,
Ardour has always compiled without any problems for me, but today’s version won’t compile.
I compiled this build yesterday.
Ardour 9.4.43, “Drawn from Life”, (rev 9.4-43-gd762cc7a48),Intel 64-bit

Today, after finding out that version 9.5 was released,
I just did a git pull as always and the same config commands for waf.

Waf: Leaving directory `/home/martin/Develop/GIT/ardour/build'
Build failed
 -> task in 'libardour' failed with exit status 1: 
	{task 139058653955152: cxx engine_slave.cc -> engine_slave.cc.1.o}
['/usr/bin/g++', '-I/home/martin/Develop/GIT/ardour', '-DHAVE_RF64_RIFF', '-DCOMPILER_INT128_SUPPORT', '-DWAF_BUILD', '-DNDEBUG', '-fshow-column', '-O3', '-fomit-frame-pointer', '-ffast-math', '-fno-finite-math-only', '-fstrength-reduce', '-pipe', '-DARCH_X86', '-mmmx', '-msse', '-mfpmath=sse', '-DUSE_XMMINTRIN', '-DBUILD_SSE_OPTIMIZATIONS', '-DLXVST_64BIT', '-Wall', '-Wpointer-arith', '-Wcast-qual', '-Wcast-align', '-Wno-unused-parameter', '-DBOOST_SYSTEM_NO_DEPRECATED', '-D_ISOC9X_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-DPROGRAM_NAME="Ardour"', '-DPROGRAM_VERSION="9"', '-Woverloaded-virtual', '-Wno-unused-local-typedefs', '-Wno-deprecated-copy', '-D__STDC_LIMIT_MACROS', '-D__STDC_FORMAT_MACROS', '-DCANVAS_DEBUG', '-DBOOST_ERROR_CODE_HEADER_ONLY', '-fPIC', '-fPIC', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-pthread', '-Ilibs/ardour', '-I../libs/ardour', '-Ilibs/vst3', '-I../libs/vst3', '-Ilibs/ctrl-interface/control_protocol', '-I../libs/ctrl-interface/control_protocol', '-Ilibs', '-I../libs', '-Ilibs/midi++2', '-I../libs/midi++2', '-Ilibs/evoral', '-I../libs/evoral', '-Ilibs/temporal', '-I../libs/temporal', '-Ilibs/audiographer', '-I../libs/audiographer', '-Ilibs/audiographer/src', '-I../libs/audiographer/src', '-Ilibs/ptformat', '-I../libs/ptformat', '-Ilibs/pbd', '-I../libs/pbd', '-Ilibs/lua', '-I../libs/lua', '-Ilibs/staffpad', '-I../libs/staffpad', '-Ilibs/zita-resampler', '-I../libs/zita-resampler', '-Ilibs/zita-convolver', '-I../libs/zita-convolver', '-Ilibs/libltc/ltc', '-I../libs/libltc/ltc', '-Ilibs/fluidsynth/fluidsynth', '-I../libs/fluidsynth/fluidsynth', '-Ilibs/tk/suil', '-I../libs/tk/suil', '-I/usr/include/glibmm-2.4', '-I/usr/lib/glibmm-2.4/include', '-I/usr/include/glib-2.0', '-I/usr/lib/glib-2.0/include', '-I/usr/include/sysprof-6', '-I/usr/include/sigc++-2.0', '-I/usr/lib/sigc++-2.0/include', '-I/usr/include/libxml2', '-I/usr/include/libusb-1.0', '-I/usr/include/opus', '-I/usr/include/raptor2', '-I/usr/include/giomm-2.4', '-I/usr/lib/giomm-2.4/include', '-I/usr/include/libmount', '-I/usr/include/blkid', '-I/usr/include/lilv-0', '-I/usr/include/sratom-0', '-I/usr/include/sord-0', '-I/usr/include/serd-0', '-I/usr/include/zix-0', '-I/usr/include/taglib', '-I/home/martin/Develop/GIT/ardour/build', '-DINTERNAL_SHARED_LIBS=1', '-DHAVE_ALSA=1', '-DHAVE_PULSEAUDIO=1', '-DHAVE_GLIB=1', '-DHAVE_GTHREAD=1', '-DHAVE_GLIBMM=1', '-DHAVE_SNDFILE=1', '-DHAVE_GIOMM=1', '-DHAVE_CURL=1', '-DHAVE_ARCHIVE=1', '-DHAVE_LO=1', '-DHAVE_TAGLIB=1', '-DHAVE_VAMPSDK=1', '-DHAVE_VAMPHOSTSDK=1', '-DHAVE_RUBBERBAND=1', '-DHAVE_USB=1', '-DHAVE_RUBBERBAND_3_0_0=1', '-DYTK=1', '-DHAVE_SUIL=1', '-DEXPORT_VISIBILITY_HIDDEN=0', '-DENABLE_NLS=1', '-DLXVST_SUPPORT=1', '-DVST3_SUPPORT=1', '-DUSE_FUTEX_SEMAPHORE=1', '-DHAVE_JACK=1', '-DFPU_AVX512F_SUPPORT=1', '-DFPU_AVX_FMA_SUPPORT=1', '-DCONFIG_ARCH="x86_64"', '-DHAVE_TOOLS_SANITY_CHECK=1', '-DHAVE_FFTW3F=1', '-DHAVE_UDEV=1', '-DHAVE_HIDAPI=1', '-DHAVE_AUBIO=1', '-DHAVE_AUBIO4=1', '-DHAVE_GOBJECT=1', '-DHAVE_GIO=1', '-DHAVE_LIBPNG=1', '-DHAVE_LIBJPEG=1', '-DHAVE_PANGO=1', '-DHAVE_CAIRO=1', '-DHAVE_PANGOCAIRO=1', '-DHAVE_GIO_UNIX=1', '-DHAVE_RANDR=1', '-DHAVE_RANDR15=1', '-DHAVE_XFREE_XINERAMA=1', '-DHAVE_XINPUT2=1', '-DHAVE_GMODULE=1', '-DHAVE_X11=1', '-DHAVE_XEXT=1', '-DHAVE_SIGCPP=1', '-DHAVE_CAIROMM=1', '-DHAVE_PANGOMM=1', '-DHAVE_LV2_1_16_0=1', '-DHAVE_XML=1', '-DHAVE_EXECINFO_H=1', '-DHAVE_POSIX_MEMALIGN=1', '-DHAVE_GETMNTENT=1', '-DHAVE_LOCALTIME_R=1', '-DHAVE_CPPUNIT=1', '-DHAVE_CONTROL_PROTOCOL=1', '-DHAVE_MIDI_SURFACE=1', '-DHAVE_JACK_METADATA=1', '-DHAVE_JACK_PORT_RENAME=1', '-DHAVE_LRDF=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_LV2=1', '-DHAVE_LV2_1_10_0=1', '-DHAVE_LV2_1_17_2=1', '-DHAVE_LV2_1_18_6=1', '-DHAVE_SERD=1', '-DHAVE_SORD=1', '-DHAVE_SRATOM=1', '-DHAVE_LILV=1', '-DLV2_SUPPORT=1', '-DUSE_TLSF=1', '-DLV2_EXTENDED=1', '-DHAVE_OGG=1', '-DHAVE_FLAC=1', '-DHAVE_FFTW35F=1', '-DCURRENT_SESSION_FILE_VERSION=7003', '-DHAVE_SYS_VFS_H=1', '-DHAVE_SYS_STATVFS_H=1', '-DHAVE_IOPRIO=1', '-DHAVE_BOOST_PTR_CONTAINER_PTR_LIST_HPP=1', '-DHAVE_LV2_1_0_0=1', '-DHAVE_PANGOFT2=1', '-DHAVE_FONTCONFIG=1', '-DHAVE_UNISTD_H=1', '-DHAVE_READLINE=1', '-DHAVE_DBUS=1', '-DLIBARDOUR_DLL_EXPORTS=1', '-DPACKAGE="ardour9"', '-DDATA_DIR="/usr/local/share/ardour9"', '-DCONFIG_DIR="/usr/local/etc"', '-DLOCALEDIR="/usr/local/share/ardour9/locale"', '-DLIBARDOUR="ardour9"', '-DLXVST_SUPPORT', '-DVST3_SUPPORT', '-DFPU_AVX_FMA_SUPPORT', '-DFPU_AVX512F_SUPPORT', '../libs/ardour/engine_slave.cc', '-c', '-o/home/martin/Develop/GIT/ardour/build/libs/ardour/engine_slave.cc.1.o']

There isn’t enough information there for us to comment.

I can’t upload output :frowning: No .txt allowed.
The error listing has ~300 lines.

https://pastebin.com/ exists for such things.

Ok ty.
Log

Which compiler version?

gcc version 16.1.1 20260430 (GCC)

Well, it’s newer than the version we use for the build systems or our development machines. So we haven’t encountered it yet, and I’m not sure when a fix will appear …

Yesterday’s compilation was fine :frowning:
I’ll try an older version of gcc

./waf clean
./waf configure
./waf make

May fix the issue….

No. I tried this.
with this GCC
gcc version 15.2.1 20260209 (GCC)
seems to be all OK

../libs/ardour/triggerbox.cc:149:46: error: no matching function for call to ‘std::__cxx11::basic_string<char>::basic_string(const char8_t [4])’
  149 |                 return string (X_(u8"\u25a1"));

so your compiler defaults to C++20, with std::u8string support.

try

rm -rf build
./waf configure --optimize -cxx17 --libjack=weak
./waf

The error seems to be

no matching function for call to ‘std::__cxx11::basic_string::basic_string(const char8_t [4])’

Did you run ./waf configure with the --cxx17 flag?
If not, try that.

just downgraded gcc-libs and gcc :frowning:
It compiles and runs with the older GCC.
Now I’ll try the new GCC with that flag.

I believe that is one of the documented changes in gcc 16.
A few gcc releases back I added --cxx17 --strict to my configure command and so far that has worked fine with gcc 14.x through 16.x (currently 16.1.1 as noted by OP).

Yes, that was the problem. --cxx17 working.
Thanks everyone for the help.
I don’t work in C/C++, I’ve always been scared of makefiles.