8.10 Build failing: task in "luabindings" [SOLVED]

PuppyLinux “Fossapup” (64-bit)

Build with standard deps (not modified for Ardour) using Ardour-8.10.0.tar.bz2

waf configure output:

Checking for ‘gcc’ (C compiler) : /usr/bin/gcc
Checking for ‘g++’ (C++ compiler) : /usr/bin/g++

Global Configuration

  • Install prefix : /usr
  • Debuggable build : True
  • Build documentation : False

Ardour Configuration

  • Will build against private GTK dependency stack : no
  • Will rely on libintl built into libc : yes
  • Will build against private Ardour dependency stack : no
    Checking for function ‘dlopen’ in dlfcn.h : yes
    Checking for boost library >= 1.68 : yes
    Checking for program ‘pkg-config’ : /usr/bin/pkg-config
    Checking for ‘alsa’ : yes
    Checking for ‘libpulse’ : not found
    Checking for ‘glib-2.0’ >= 2.28 : yes
    Checking for ‘gthread-2.0’ >= 2.2 : yes
    Checking for ‘glibmm-2.4’ >= 2.32.0 : yes
    Checking for ‘sndfile’ >= 1.0.18 : yes
    Checking for ‘giomm-2.4’ >= 2.2 : yes
    Checking for ‘libcurl’ >= 7.0.0 : yes
    Checking for ‘libarchive’ >= 3.0.0 : yes
    Checking for ‘liblo’ >= 0.26 : yes
    Checking for ‘taglib’ >= 1.9 : yes
    Checking for ‘vamp-sdk’ >= 2.1 : yes
    Checking for ‘vamp-hostsdk’ >= 2.1 : yes
    Checking for ‘rubberband’ : yes
    Checking for ‘libusb-1.0’ >= 1.0.16 : yes
    Checking for rubberband >= 3.0.0 : no
    Checking for sndfile RF64=>RIFF support : Found
    Checking for int128 support : lots of bits found.
    Checking for ‘futex’ syscall support : yes
    Checking for ‘jack’ >= 0.121.0 : yes
    Checking for clang : no
    Checking compiler for AVX512F intrinsics : Found
    Checking compiler for AVX/FMA intrinsics : Found
    Checking for ‘fftw3f’ : yes
    Checking for ‘libudev’ : yes
    Checking for ‘aubio’ >= 0.3.2 : yes
    Checking for ‘aubio’ >= 0.4.0 : yes
    Checking for ‘gobject-2.0’ : yes
    Checking for ‘gio-2.0’ >= 2.2 : yes
    Checking for ‘libpng’ : yes
    Checking for ‘pango’ >= 1.20 : yes
    Checking for ‘cairo’ >= 1.12 : yes
    Checking for ‘pangocairo’ : yes
    Checking for ‘gio-unix-2.0’ : yes
    Checking for ‘xrandr’ >= 1.2.99 : yes
    Checking for ‘xrandr’ >= 1.5.0 : yes
    Checking for header X11/extensions/Xinerama.h : yes
    Checking for ‘gmodule-2.0’ : yes
    Checking for ‘x11’ : yes
    Checking for ‘xext’ : yes
    Checking for ‘sigc+±2.0’ >= 2.0 : yes
    Checking for ‘cairomm-1.0’ >= 1.8.4 : yes
    Checking for ‘pangomm-1.4’ >= 1.4 : yes
    Checking for ‘lv2’ >= 1.16.0 : yes
    Checking for ‘libxml-2.0’ : yes
    Checking for header execinfo.h : yes
    Checking for header unistd.h : yes
    Checking for function ‘posix_memalign’ in stdlib.h : yes
    Checking for function ‘getmntent’ in mntent.h : yes
    Checking for function ‘localtime_r’ in time.h : yes
    Checking for ‘cppunit’ >= 1.12.0 : not found
    Checking for header cwiid.h : not found
    You are missing the cwiid headers needed to compile wiimote support
    Checking for ‘libwebsockets’ >= 2.0.0 : not found
    Checking for ‘jack’ >= 0.121.0 : yes
    Checking for JACK metadata API : ok
    Checking for jack_port_rename() : ok
    Checking for program ‘gas, gcc’ : /usr/bin/gcc
    Checking for program ‘ar’ : /usr/bin/ar
    Checking for ‘lrdf’ >= 0.4.0 : not found
    Checking for ‘samplerate’ >= 0.1.0 : yes
    Checking for ‘lv2’ >= 1.2.0 : yes
    Checking for ‘lv2’ >= 1.10.0 : yes
    Checking for ‘lv2’ >= 1.17.2 : not found
    Checking for ‘lv2’ >= 1.18.6 : not found
    Checking for ‘serd-0’ >= 0.14.0 : yes
    Checking for ‘sord-0’ >= 0.8.0 : yes
    Checking for ‘sratom-0’ >= 0.2.0 : yes
    Checking for ‘lilv-0’ >= 0.24.2 : yes
    Checking for ‘ogg’ >= 1.1.2 : yes
    Checking for ‘flac’ >= 1.2.1 : yes
    Checking for ‘fftw3f’ >= 3.3.5 : yes
    Checking for header sys/vfs.h : yes
    Checking for header sys/statvfs.h : yes
    Checking for header unistd.h : yes
    Checking for ‘ioprio_set’ syscall support : yes
    Checking for header boost/scoped_ptr.hpp : yes
    Checking for header boost/ptr_container/ptr_list.hpp : yes
    Checking for ‘samplerate’ >= 0.1.7 : yes
    Checking for header boost/format.hpp : yes
    Checking for ‘lv2’ >= 1.0.0 : yes
    Checking for ‘cairo’ >= 1.12.0 : yes
    Checking for ‘gthread-2.0’ >= 2.10.1 : yes
    Checking for ‘pangoft2’ >= 1.36.8 : yes
    Checking for ‘fontconfig’ : yes
    Checking for header stdio.h readline/readline.h : yes
  • build session-utils : yes
    Checking for ‘dbus-1’ : yes
  • Build documentation : False
  • Debuggable build : True
  • Export all symbols (backtrace) : False
  • Install prefix : /usr
  • Strict compiler flags : []
  • Internal Shared Libraries : True
  • Use YTK instead of GTK : True
  • Use External Libraries : False
  • Library exports hidden : True
  • Free/Demo copy : False
  • ALSA DBus Reservation : True
  • Architecture flags : None
  • ARM NEON support : False
  • Aubio : True
  • AudioUnits : False
  • Build target : x86_64
  • Canvas Test UI : False
  • Beatbox test app : False
  • CoreAudio : False
  • CoreAudio 10.5 compat : False
  • Debug RT allocations : False
  • Debug Symbols : True
  • Denormal exceptions : False
  • Dr. Mingw : False
  • FLAC : True
  • FPU optimization : True
  • FPU AVX512F support : True
  • FPU AVX/FMA support : True
  • Futex Semaphore : True
  • Freedesktop files : False
  • G_ENABLE_DEBUG : True
  • I/O Priorty Set : True
  • Libjack linking : link
  • Libjack metadata : True
  • Lua Binding Doc : False
  • Lua Commandline Tool : True
  • LV2 UI embedding : True
  • LV2 support : True
  • LV2 extensions : True
  • LXVST support : True
  • Mac VST support : False
  • NI-Maschine : False
  • OGG : True
  • Phone home : True
  • Process thread timing : False
  • Program name : Ardour
  • Samplerate : True
  • PT format : False
  • PTW32 Semaphore : False
  • Threaded WaveViews : True
  • Translation : True
  • Unit tests : False
  • Use LLD linker : False
  • VST3 support : True
  • Windows VST support : False
  • Wiimote support : False
  • Windows key : Mod4><Super
  • PortAudio Backend : False
  • CoreAudio/Midi Backend : False
  • ALSA Backend : True
  • Dummy backend : True
  • JACK Backend : True
  • PulseAudio Backend : False
  • Buildstack : -system-
  • Mac i386 Architecture : False
  • Mac ppc Architecture : False
  • Mac arm64 Architecture : False
  • C compiler flags : [‘-I/initrd/mnt/dev_save/data/SRC/Ardour-8.10.0’, ‘-DHAVE_RF64_RIFF’, ‘-DCOMPILER_INT128_SUPPORT’, ‘-DWAF_BUILD’, ‘-g’, ‘-fshow-column’, ‘-DG_ENABLE_DEBUG’, ‘-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’, ‘-DBOOST_BIND_GLOBAL_PLACEHOLDERS’, ‘-D_ISOC9X_SOURCE’, ‘-D_LARGEFILE64_SOURCE’, ‘-D_FILE_OFFSET_BITS=64’, ‘-DPROGRAM_NAME=“Ardour”’, ‘-DPROGRAM_VERSION=“8”’, ‘-Wstrict-prototypes’, ‘-Wmissing-prototypes’]
  • C++ compiler flags : [‘-I/initrd/mnt/dev_save/data/SRC/Ardour-8.10.0’, ‘-DHAVE_RF64_RIFF’, ‘-DCOMPILER_INT128_SUPPORT’, ‘-DWAF_BUILD’, ‘-g’, ‘-fshow-column’, ‘-DG_ENABLE_DEBUG’, ‘-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’, ‘-DBOOST_BIND_GLOBAL_PLACEHOLDERS’, ‘-D_ISOC9X_SOURCE’, ‘-D_LARGEFILE64_SOURCE’, ‘-D_FILE_OFFSET_BITS=64’, ‘-DPROGRAM_NAME=“Ardour”’, ‘-DPROGRAM_VERSION=“8”’, ‘-Woverloaded-virtual’, ‘-Wno-unused-local-typedefs’, ‘-Wno-deprecated-copy’, ‘-D__STDC_LIMIT_MACROS’, ‘-D__STDC_FORMAT_MACROS’, ‘-DCANVAS_DEBUG’, ‘-DBOOST_ERROR_CODE_HEADER_ONLY’]
  • Linker flags : [‘’]

waf make output (with -v) :

Build failed
→ task in ‘luabindings’ failed with exit status 1:
{task 140060140061184: cxx luabindings.cc → luabindings.cc.2.o}
[‘/usr/bin/g++’, ‘-I/initrd/mnt/dev_save/data/SRC/Ardour-8.10.0’, ‘-DHAVE_RF64_RIFF’, ‘-DCOMPILER_INT128_SUPPORT’, ‘-DWAF_BUILD’, ‘-g’, ‘-fshow-column’, ‘-DG_ENABLE_DEBUG’, ‘-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’, ‘-DBOOST_BIND_GLOBAL_PLACEHOLDERS’, ‘-D_ISOC9X_SOURCE’, ‘-D_LARGEFILE64_SOURCE’, ‘-D_FILE_OFFSET_BITS=64’, ‘-DPROGRAM_NAME=“Ardour”’, ‘-DPROGRAM_VERSION=“8”’, ‘-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’, ‘-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/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/x86_64-linux-gnu/glibmm-2.4/include’, ‘-I/usr/include/glib-2.0’, ‘-I/usr/lib/x86_64-linux-gnu/glib-2.0/include’, ‘-I/usr/include/sigc+±2.0’, ‘-I/usr/lib/x86_64-linux-gnu/sigc+±2.0/include’, ‘-I/usr/include/libxml2’, ‘-I/usr/include/libusb-1.0’, ‘-I/usr/include/giomm-2.4’, ‘-I/usr/lib/x86_64-linux-gnu/giomm-2.4/include’, ‘-I/usr/include/libmount’, ‘-I/usr/include/blkid’, ‘-I/usr/include/x86_64-linux-gnu’, ‘-I/usr/include/taglib’, ‘-I/usr/include/lilv-0’, ‘-I/usr/include/sratom-0’, ‘-I/usr/include/sord-0’, ‘-I/usr/include/serd-0’, ‘-I/initrd/mnt/dev_save/data/SRC/Ardour-8.10.0/build’, ‘-DINTERNAL_SHARED_LIBS=1’, ‘-DYTK=1’, ‘-DHAVE_SUIL=1’, ‘-DHAVE_ALSA=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’, ‘-DEXPORT_VISIBILITY_HIDDEN=0’, ‘-DPHONE_HOME=1’, ‘-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_PANGO=1’, ‘-DHAVE_CAIRO=1’, ‘-DHAVE_PANGOCAIRO=1’, ‘-DHAVE_GIO_UNIX=1’, ‘-DHAVE_RANDR=1’, ‘-DHAVE_RANDR15=1’, ‘-DHAVE_XFREE_XINERAMA=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=1’, ‘-DHAVE_POSIX_MEMALIGN=1’, ‘-DHAVE_GETMNTENT=1’, ‘-DHAVE_LOCALTIME_R=1’, ‘-DHAVE_CONTROL_PROTOCOL=1’, ‘-DHAVE_MIDI_SURFACE=1’, ‘-DHAVE_JACK_METADATA=1’, ‘-DHAVE_JACK_PORT_RENAME=1’, ‘-DHAVE_SAMPLERATE=1’, ‘-DHAVE_LV2=1’, ‘-DHAVE_LV2_1_10_0=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’, ‘-DUSE_RUBBERBAND=1’, ‘-DCURRENT_SESSION_FILE_VERSION=7003’, ‘-DHAVE_SYS_VFS_H=1’, ‘-DHAVE_SYS_STATVFS_H=1’, ‘-DHAVE_UNISTD=1’, ‘-DHAVE_IOPRIO=1’, ‘-DHAVE_BOOST_SCOPED_PTR_HPP=1’, ‘-DHAVE_BOOST_PTR_CONTAINER_PTR_LIST_HPP=1’, ‘-DHAVE_BOOST_FORMAT_HPP=1’, ‘-DHAVE_LV2_1_0_0=1’, ‘-DHAVE_PANGOFT2=1’, ‘-DHAVE_FONTCONFIG=1’, ‘-DHAVE_READLINE=1’, ‘-DHAVE_DBUS=1’, ‘…/libs/ardour/luabindings.cc’, ‘-c’, ‘-o/initrd/mnt/dev_save/data/SRC/Ardour-8.10.0/build/libs/ardour/luabindings.cc.2.o’]

Running the failed compile line manually showed that it was unable to find lo.h

I’d missed installed lolib-dev, which configure hadn’t picked up (perhaps its not intended to?)

Installed lolib-dev & it compiled first time without error. usual warnings about deprecations of course.