Compile error at 501/1033 (

Hello, folks. Trying to build Ardour on Ubuntu 22.04.1 LTS

After failing to build the latest git snapshot I downloaded the 6.9.0 tar ball and tried to build. Errors out at tabbable.cc with the following. (I snipped off the tail end of the readout)

[ 501/1133] Compiling libs/widgets/tabbable.cc
09:38:23 runner [’/usr/bin/g++’, ‘-I/data/installers/Ardour-6.9.0’, ‘-DHAVE_RF64_RIFF’, ‘-DWAF_BUILD’, ‘-g’, ‘-fshow-column’, ‘-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=“6”’, ‘-Woverloaded-virtual’, ‘-Wno-unused-local-typedefs’, ‘-D__STDC_LIMIT_MACROS’, ‘-D__STDC_FORMAT_MACROS’, ‘-DCANVAS_COMPATIBILITY’, ‘-DCANVAS_DEBUG’, ‘-DBOOST_ERROR_CODE_HEADER_ONLY’, ‘-fPIC’, ‘-fPIC’, ‘-pthread’, ‘-F/System/Library/Frameworks’, ‘-F/Library/Frameworks’, ‘-Ilibs/widgets’, ‘-I…/libs/widgets’, ‘-I/usr/include/glib-2.0’, ‘-I/usr/lib/x86_64-linux-gnu/glib-2.0/include’, ‘-Ilibs/gtkmm2ext’, ‘-I…/libs/gtkmm2ext’, ‘-Ilibs/pbd’, ‘-I…/libs/pbd’, ‘-I/usr/include/sigc+±2.0’, ‘-I/usr/lib/x86_64-linux-gnu/sigc+±2.0/include’, ‘-I/usr/include/cairomm-1.0’, ‘-I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include’, ‘-I/usr/include/cairo’, ‘-I/usr/include/pixman-1’, ‘-I/usr/include/uuid’, ‘-I/usr/include/freetype2’, ‘-I/usr/include/libpng16’, ‘-I/usr/include/gtkmm-2.4’, ‘-I/usr/lib/x86_64-linux-gnu/gtkmm-2.4/include’, ‘-I/usr/include/atkmm-1.6’, ‘-I/usr/lib/x86_64-linux-gnu/atkmm-1.6/include’, ‘-I/usr/include/gtk-unix-print-2.0’, ‘-I/usr/include/gtk-2.0’, ‘-I/usr/include/gdkmm-2.4’, ‘-I/usr/lib/x86_64-linux-gnu/gdkmm-2.4/include’, ‘-I/usr/include/giomm-2.4’, ‘-I/usr/lib/x86_64-linux-gnu/giomm-2.4/include’, ‘-I/usr/include/pangomm-1.4’, ‘-I/usr/lib/x86_64-linux-gnu/pangomm-1.4/include’, ‘-I/usr/include/glibmm-2.4’, ‘-I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include’, ‘-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include’, ‘-I/usr/include/pango-1.0’, ‘-I/usr/include/atk-1.0’, ‘-I/usr/include/gdk-pixbuf-2.0’, ‘-I/usr/include/x86_64-linux-gnu’, ‘-I/usr/include/harfbuzz’, ‘-I/usr/include/libmount’, ‘-I/usr/include/blkid’, ‘-I/usr/include/fribidi’, ‘-I/usr/include/libxml2’, ‘-I/data/installers/Ardour-6.9.0/build’, ‘-DINTERNAL_SHARED_LIBS=1’, ‘-DHAVE_ALSA=1’, ‘-DHAVE_PULSEAUDIO=1’, ‘-DHAVE_GLIB=1’, ‘-DHAVE_GLIB_2_68=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’, ‘-DEXPORT_VISIBILITY_HIDDEN=0’, ‘-DPHONE_HOME=1’, ‘-DENABLE_NLS=1’, ‘-DLXVST_SUPPORT=1’, ‘-DVST3_SUPPORT=1’, ‘-DFPU_AVX_FMA_SUPPORT=1’, ‘-DCONFIG_ARCH=“x86_64”’, ‘-DHAVE_TOOLS_SANITY_CHECK=1’, ‘-DHAVE_TOOLS_GCCABICHECK=1’, ‘-DHAVE_LIBS_CLEARLOOKS_NEWER=1’, ‘-DHAVE_LIBS_FLUIDSYNTH=1’, ‘-DHAVE_UDEV=1’, ‘-DHAVE_HIDAPI=1’, ‘-DHAVE_LIBS_HIDAPI=1’, ‘-DHAVE_LIBS_LIBLTC=1’, ‘-DHAVE_LIBS_LUA=1’, ‘-DHAVE_LIBS_PTFORMAT=1’, ‘-DHAVE_LIBS_QM_DSP=1’, ‘-DHAVE_FFTW3F=1’, ‘-DHAVE_AUBIO=1’, ‘-DHAVE_AUBIO4=1’, ‘-DHAVE_LIBS_VAMP_PLUGINS=1’, ‘-DHAVE_LIBS_VAMP_PYIN=1’, ‘-DHAVE_LIBS_ZITA_RESAMPLER=1’, ‘-DHAVE_LIBS_ZITA_CONVOLVER=1’, ‘-DHAVE_XML=1’, ‘-DHAVE_SIGCPP=1’, ‘-DHAVE_EXECINFO=1’, ‘-DHAVE_POSIX_MEMALIGN=1’, ‘-DHAVE_GETMNTENT=1’, ‘-DHAVE_LOCALTIME_R=1’, ‘-DHAVE_LIBS_PBD=1’, ‘-DHAVE_LIBS_MIDIPP2=1’, ‘-DHAVE_LIBS_EVORAL=1’, ‘-DHAVE_USB=1’, ‘-DHAVE_CONTROL_PROTOCOL=1’, ‘-DHAVE_FADERPORT=1’, ‘-DHAVE_FADERPORT8=1’, ‘-DHAVE_CC121=1’, ‘-DHAVE_GENERIC_MIDI=1’, ‘-DHAVE_MACKIE=1’, ‘-DHAVE_US2400=1’, ‘-DHAVE_LAUNCH_CONTROL_XL=1’, ‘-DHAVE_PANGOMM=1’, ‘-DHAVE_CAIROMM=1’, ‘-DHAVE_PUSH2=1’, ‘-DHAVE_CONTOURDESIGN=1’, ‘-DHAVE_LIBS_SURFACES=1’, ‘-DHAVE_2IN2OUT=1’, ‘-DHAVE_1IN2OUT=1’, ‘-DHAVE_VBAP=1’, ‘-DHAVE_STEREOBALANCE=1’, ‘-DHAVE_LIBS_PANNERS=1’, ‘-DHAVE_DUMMY=1’, ‘-DHAVE_LIBS_BACKENDS=1’, ‘-DHAVE_LIBS_TEMPORAL=1’, ‘-DHAVE_LRDF=1’, ‘-DHAVE_SAMPLERATE=1’, ‘-DHAVE_LV2=1’, ‘-DHAVE_LV2_1_10_0=1’, ‘-DHAVE_LV2_1_17_2=1’, ‘-DHAVE_SERD=1’, ‘-DHAVE_SORD=1’, ‘-DHAVE_SRATOM=1’, ‘-DHAVE_LILV=1’, ‘-DLV2_SUPPORT=1’, ‘-DLV2_EXTENDED=1’, ‘-DHAVE_OGG=1’, ‘-DHAVE_FLAC=1’, ‘-DHAVE_FFTW35F=1’, ‘-DUSE_RUBBERBAND=1’, ‘-DCURRENT_SESSION_FILE_VERSION=6000’, ‘-DHAVE_SYS_VFS_H=1’, ‘-DHAVE_SYS_STATVFS_H=1’, ‘-DHAVE_UNISTD=1’, ‘-DHAVE_BOOST_SCOPED_PTR_HPP=1’, ‘-DHAVE_BOOST_PTR_CONTAINER_PTR_LIST_HPP=1’, ‘-DHAVE_LIBS_ARDOUR=1’, ‘-DHAVE_GTKMM=1’, ‘-DHAVE_GTK=1’, ‘-DHAVE_LIBS_GTKMM2EXT=1’, ‘-DHAVE_BOOST_FORMAT_HPP=1’, ‘-DHAVE_LIBS_AUDIOGRAPHER=1’, ‘-DHAVE_LIBS_CANVAS=1’, ‘-DHAVE_LIBS_WIDGETS=1’, ‘-DHAVE_LIBS_WAVEVIEW=1’, ‘-DHAVE_LV2_1_0_0=1’, ‘-DHAVE_LIBS_PLUGINS_REASONABLESYNTH_LV2=1’, ‘-DHAVE_CAIRO=1’, ‘-DHAVE_LIBS_PLUGINS_A_COMP_LV2=1’, ‘-DHAVE_LIBS_PLUGINS_A_EXP_LV2=1’, ‘-DHAVE_LIBS_PLUGINS_A_DELAY_LV2=1’, ‘-DHAVE_LIBS_PLUGINS_A_EQ_LV2=1’, ‘-DHAVE_LIBS_PLUGINS_A_REVERB_LV2=1’, ‘-DHAVE_LIBS_PLUGINS_A_FLUIDSYNTH_LV2=1’, ‘-DHAVE_X11=1’, ‘-DHAVE_PANGOFT2=1’, ‘-DHAVE_FONTCONFIG=1’, ‘-DHAVE_BOOST_SHARED_PTR_HPP=1’, ‘-DHAVE_BOOST_WEAK_PTR_HPP=1’, ‘-DHAVE_GTK2_ARDOUR=1’, ‘-DHAVE_SHARE_EXPORT=1’, ‘-DHAVE_SHARE_MIDI_MAPS=1’, ‘-DHAVE_SHARE_MCP=1’, ‘-DHAVE_SHARE_OSC=1’, ‘-DHAVE_SHARE_PATCHFILES=1’, ‘-DHAVE_SHARE_PLUGIN_METADATA=1’, ‘-DHAVE_SHARE_SCRIPTS=1’, ‘-DHAVE_SHARE_WEB_SURFACES=1’, ‘-DHAVE_HEADLESS=1’, ‘-DHAVE_READLINE=1’, ‘-DHAVE_LUASESSION=1’, ‘-DHAVE_SESSION_UTILS=1’, ‘-DHAVE_LIBS_FST=1’, ‘-DHAVE_LIBS_VFORK=1’, ‘-DHAVE_DBUS=1’, ‘-DHAVE_LIBS_ARDOURALSAUTIL=1’, ‘-DHAVE_LIBS_AUSCAN=1’, ‘-DLIBWIDGETS_DLL_EXPORTS=1’, ‘-DPACKAGE=“libwidgets”’, ‘…/libs/widgets/tabbable.cc’, ‘-c’, ‘-o/data/installers/Ardour-6.9.0/build/libs/widgets/tabbable.cc.1.o’]
/usr/bin/ld: /usr/local/lib/libtag.a(tfile.cpp.o): warning: relocation against _ZTIN6TagLib2IT4FileE' in read-only section .text’
/usr/bin/ld: /usr/local/lib/libtag.a(oggfile.cpp.o): relocation R_X86_64_PC32 against symbol `_ZTVN6TagLib3Ogg4FileE’ can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status

In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35,
from /usr/include/gtk-2.0/gtk/gtkbin.h:35,
from /usr/include/gtk-2.0/gtk/gtkwindow.h:36,
from /usr/include/gtk-2.0/gtk/gtkdialog.h:35,
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:33,
from /usr/include/gtkmm-2.4/gtkmm/targetentry.h:30,
from /usr/include/gtkmm-2.4/gtkmm/targetlist.h:29,