KottV/Vaporizer2

Fails building on Debian Bullseye

Closed this issue · 8 comments

Hi there,
I'm trying to build on a debian bullseye and it fails with:

cmake -B cmake-build -DCMAKE_BUILD_TYPE=Release
-- Building VAST Dynamics Vaporizer2 plugin, version 3.4.5 on architecture:  with CMAKE_BUILD_TYPE = Release
-- The C compiler identification is GNU 10.2.1
-- The CXX compiler identification is GNU 10.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Project name VASTvaporizer2
-- Using JUCE from source tree
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
-- Checking for module 'alsa'
--   Found alsa, version 1.2.4
-- Checking for module 'freetype2'
--   Found freetype2, version 23.4.17
-- Checking for module 'gl'
--   Found gl, version 1.2
-- Checking for module 'libcurl'
--   Found libcurl, version 7.74.0
-- Checking for modules 'webkit2gtk-4.0;gtk+-x11-3.0'
--   Found webkit2gtk-4.0, version 2.40.5
--   Found gtk+-x11-3.0, version 3.24.24
-- Configuring juceaide
-- Building juceaide
-- Exporting juceaide
-- Building CLAP with CLAP_CXX_STANDARD=17
-- CLAP version: 1.1.8
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
-- Creating CLAP VASTvaporizer2_CLAP from VASTvaporizer2
-- Setting Misbehaviour handler level to 'Ignore'
-- Setting Checking handler level to 'Minimal'
-- Setting event resolution to 0 samples (no sample-accurate automation)
-- Setting "Always split block" to OFF
-- Setting "Use JUCE parameter ranges" to OFF
-- Building on Linux  with AVX flags: ON
-- Checking for module 'fftw3f'
--   Found fftw3f, version 3.3.8
-- COMPILE_OPTIONS compiler flags are: -w
-- CMAKE_CXX_FLAGS compiler flags are: -g -O2 -ffile-prefix-map=/build/vaporizer2-3.4.5=. -fstack-protector-strong -Wformat -Werror=format-security
-- CMAKE_CXX_FLAGS_RELEASE compiler flags are: -O3 -DNDEBUG
-- Configuring done
-- Generating done
-- Build files have been written to: /build/vaporizer2-3.4.5/cmake-build
make[1]: Leaving directory '/build/vaporizer2-3.4.5'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/vaporizer2-3.4.5'
cmake --build cmake-build
gmake[2]: Entering directory '/build/vaporizer2-3.4.5/cmake-build'
gmake[3]: Entering directory '/build/vaporizer2-3.4.5/cmake-build'
gmake[4]: Entering directory '/build/vaporizer2-3.4.5/cmake-build'
gmake[4]: Leaving directory '/build/vaporizer2-3.4.5/cmake-build'
gmake[4]: Entering directory '/build/vaporizer2-3.4.5/cmake-build'
[  0%] Building CXX object clap-juce-extensions/CMakeFiles/clap_juce_extensions.dir/src/extensions/clap-juce-extensions.cpp.o
[  1%] Linking CXX static library libclap_juce_extensions.a
gmake[4]: Leaving directory '/build/vaporizer2-3.4.5/cmake-build'
[  1%] Built target clap_juce_extensions
gmake[4]: Entering directory '/build/vaporizer2-3.4.5/cmake-build'
[  1%] Generating juce_binarydata_VASTvaporizer2_BinaryData/JuceLibraryCode/BinaryData1.cpp, juce_binarydata_VASTvaporizer2_BinaryData/JuceLibraryCode/BinaryData2.cpp, juce_binarydata_VASTvaporizer2_BinaryData/JuceLibraryCode/BinaryData3.cpp, juce_binarydata_VASTvaporizer2_BinaryData/JuceLibraryCode/BinaryData4.cpp, juce_binarydata_VASTvaporizer2_BinaryData/JuceLibraryCode/BinaryData5.cpp, juce_binarydata_VASTvaporizer2_BinaryData/JuceLibraryCode/BinaryData6.cpp, juce_binarydata_VASTvaporizer2_BinaryData/JuceLibraryCode/BinaryData7.cpp, juce_binarydata_VASTvaporizer2_BinaryData/JuceLibraryCode/BinaryData8.cpp, juce_binarydata_VASTvaporizer2_BinaryData/JuceLibraryCode/BinaryData9.cpp, juce_binarydata_VASTvaporizer2_BinaryData/JuceLibraryCode/BinaryData10.cpp, juce_binarydata_VASTvaporizer2_BinaryData/JuceLibraryCode/BinaryData.h
gmake[4]: Leaving directory '/build/vaporizer2-3.4.5/cmake-build'
gmake[4]: Entering directory '/build/vaporizer2-3.4.5/cmake-build'
[  2%] Building CXX object CMakeFiles/VASTvaporizer2_BinaryData.dir/juce_binarydata_VASTvaporizer2_BinaryData/JuceLibraryCode/BinaryData1.cpp.o
[  2%] Building CXX object CMakeFiles/VASTvaporizer2_BinaryData.dir/juce_binarydata_VASTvaporizer2_BinaryData/JuceLibraryCode/BinaryData2.cpp.o
[  3%] Building CXX object CMakeFiles/VASTvaporizer2_BinaryData.dir/juce_binarydata_VASTvaporizer2_BinaryData/JuceLibraryCode/BinaryData3.cpp.o
[  3%] Building CXX object CMakeFiles/VASTvaporizer2_BinaryData.dir/juce_binarydata_VASTvaporizer2_BinaryData/JuceLibraryCode/BinaryData4.cpp.o
[  4%] Building CXX object CMakeFiles/VASTvaporizer2_BinaryData.dir/juce_binarydata_VASTvaporizer2_BinaryData/JuceLibraryCode/BinaryData5.cpp.o
[  4%] Building CXX object CMakeFiles/VASTvaporizer2_BinaryData.dir/juce_binarydata_VASTvaporizer2_BinaryData/JuceLibraryCode/BinaryData6.cpp.o
[  5%] Building CXX object CMakeFiles/VASTvaporizer2_BinaryData.dir/juce_binarydata_VASTvaporizer2_BinaryData/JuceLibraryCode/BinaryData7.cpp.o
[  5%] Building CXX object CMakeFiles/VASTvaporizer2_BinaryData.dir/juce_binarydata_VASTvaporizer2_BinaryData/JuceLibraryCode/BinaryData8.cpp.o
[  6%] Building CXX object CMakeFiles/VASTvaporizer2_BinaryData.dir/juce_binarydata_VASTvaporizer2_BinaryData/JuceLibraryCode/BinaryData9.cpp.o
[  6%] Building CXX object CMakeFiles/VASTvaporizer2_BinaryData.dir/juce_binarydata_VASTvaporizer2_BinaryData/JuceLibraryCode/BinaryData10.cpp.o
[  7%] Linking CXX static library libVASTvaporizer2_BinaryData.a
gmake[4]: Leaving directory '/build/vaporizer2-3.4.5/cmake-build'
[  7%] Built target VASTvaporizer2_BinaryData
gmake[4]: Entering directory '/build/vaporizer2-3.4.5/cmake-build'
[  7%] Generating VASTvaporizer2_artefacts/JuceLibraryCode/JuceHeader.h
gmake[4]: Leaving directory '/build/vaporizer2-3.4.5/cmake-build'
gmake[4]: Entering directory '/build/vaporizer2-3.4.5/cmake-build'
[  7%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/AnaMark-Tuning-Library/SCL_Import.cpp.o
[  8%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/AnaMark-Tuning-Library/TUN_EmbedHTML.cpp.o
[  8%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/AnaMark-Tuning-Library/TUN_Scale.cpp.o
[  9%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/AnaMark-Tuning-Library/TUN_StringTools.cpp.o
[  9%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/FX/FXUtils/VASTDDLModule.cpp.o
[ 10%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/FX/FXUtils/VASTDelayLine.cpp.o
[ 10%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/FX/FXUtils/VASTDelayLineAPF.cpp.o
[ 11%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/FX/FXUtils/VASTDelaySoftAdjust.cpp.o
[ 11%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/FX/FXUtils/VASTModDelayModule.cpp.o
[ 12%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/FX/VASTAtomizer.cpp.o
[ 12%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/FX/VASTBitcrush.cpp.o
[ 13%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/FX/VASTChorus.cpp.o
[ 13%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/FX/VASTCombFilterEffect.cpp.o
[ 14%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/FX/VASTCompressorExpander.cpp.o
[ 14%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/FX/VASTDistortion.cpp.o
[ 15%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/FX/VASTEffect.cpp.o
[ 15%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/FX/VASTEq.cpp.o
[ 16%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/FX/VASTFlanger.cpp.o
[ 16%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/FX/VASTFormantFilter.cpp.o
[ 17%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/FX/VASTMultibandCompressor.cpp.o
[ 17%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/FX/VASTMultibandCompressorSingleBand.cpp.o
[ 18%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/FX/VASTPhaser.cpp.o
[ 18%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/FX/VASTReverb.cpp.o
[ 19%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/FX/VASTStereoDelay.cpp.o
[ 19%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/FX/VASTWaveshaper.cpp.o
[ 20%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/Filter/VASTBiQuadFilter.cpp.o
[ 20%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/Filter/VASTCombFilter.cpp.o
[ 21%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/Filter/VASTDelay.cpp.o
[ 21%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/Filter/VASTDelayAPF.cpp.o
[ 21%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/Filter/VASTLPFCombFilter.cpp.o
[ 22%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/Filter/VASTOnePoleLPF.cpp.o
[ 22%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/Filter/VASTQFilter.cpp.o
[ 23%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/Filter/VASTQFilterCoefficients.cpp.o
[ 23%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/Filter/VASTStateVariableFilter.cpp.o
[ 24%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/Filter/VASTVAOnePoleFilter.cpp.o
[ 24%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/Filter/VASTVAOnePoleFilterEx.cpp.o
[ 25%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/Filter/VASTVCFCombFilter.cpp.o
[ 25%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/Oscillator/VASTWaveTable.cpp.o
[ 26%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/Oscillator/VASTWaveTableOscillator.cpp.o
[ 26%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/Oversampler/VASTDecimator.cpp.o
[ 27%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/Oversampler/VASTInterpolator.cpp.o
[ 27%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/Oversampler/VASTOversampler.cpp.o
[ 28%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/Oversampler/VASTRateConvertor.cpp.o
[ 28%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/Utils/VASTEnvelopeDetector.cpp.o
[ 29%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/Utils/VASTFFTSingletonFactory.cpp.o
[ 29%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/Utils/VASTFloatVectorOperations.cpp.o
[ 30%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/VASTARPData.cpp.o
[ 30%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/VASTEnvelope.cpp.o
[ 31%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/VASTFXBus.cpp.o
[ 31%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/VASTMSEGData.cpp.o
[ 32%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/VASTMSEGEnvelope.cpp.o
[ 32%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/VASTOscillatorBank.cpp.o
[ 33%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/VASTParamState.cpp.o
[ 33%] Building CXX object CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/VASTPoly.cpp.o
/build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTPoly.cpp: In constructor 'CVASTPoly::CVASTPoly(CVASTSettings&, VASTAudioProcessor*)':	cmake -B cmake-build -DCMAKE_BUILD_TYPE=Release

override_dh_auto_build:
	cmake --build cmake-build
/build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTPoly.cpp:26:100: error: use of deleted function 'CVASTMSEGEnvelope::CVASTMSEGEnvelope(const CVASTMSEGEnvelope&)'
   26 |  m_OscBank{ {&set, processor, 0}, {&set, processor, 1}, {&set, processor, 2}, {&set, processor, 3} }
      |                                                                                                    ^
In file included from /build/vaporizer2-3.4.5/JUCE/modules/juce_core/system/juce_StandardHeader.h:82,
                 from /build/vaporizer2-3.4.5/JUCE/modules/juce_core/juce_core.h:204,
                 from /build/vaporizer2-3.4.5/JUCE/modules/juce_graphics/juce_graphics.h:58,
                 from /build/vaporizer2-3.4.5/JUCE/modules/juce_gui_basics/juce_gui_basics.h:60,
                 from /build/vaporizer2-3.4.5/JUCE/modules/juce_audio_plugin_client/juce_audio_plugin_client.h:54,
                 from /build/vaporizer2-3.4.5/cmake-build/VASTvaporizer2_artefacts/JuceLibraryCode/JuceHeader.h:14,
                 from /build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTEngineHeader.h:85,
                 from /build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTSingleNote.h:12,
                 from /build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTPoly.h:12,
                 from /build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTPoly.cpp:8:
/build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTMSEGEnvelope.h:68:47: note: declared here
   68 |  JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(CVASTMSEGEnvelope)
      |                                               ^~~~~~~~~~~~~~~~~
/build/vaporizer2-3.4.5/JUCE/modules/juce_core/system/juce_PlatformDefs.h:229:5: note: in definition of macro 'JUCE_DECLARE_NON_COPYABLE'
  229 |     className (const className&) = delete;\
      |     ^~~~~~~~~
/build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTMSEGEnvelope.h:68:2: note: in expansion of macro 'JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR'
   68 |  JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(CVASTMSEGEnvelope)
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTPoly.cpp:26:100: error: use of deleted function 'CVASTWaveTableOscillator::CVASTWaveTableOscillator(const CVASTWaveTableOscillator&)'
   26 |  m_OscBank{ {&set, processor, 0}, {&set, processor, 1}, {&set, processor, 2}, {&set, processor, 3} }
      |                                                                                                    ^
In file included from /build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTSingleNote.h:13,
                 from /build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTPoly.h:12,
                 from /build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTPoly.cpp:8:
/build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/Oscillator/VASTWaveTableOscillator.h:21:7: note: 'CVASTWaveTableOscillator::CVASTWaveTableOscillator(const CVASTWaveTableOscillator&)' is implicitly deleted because the default definition would be ill-formed:
   21 | class CVASTWaveTableOscillator {
      |       ^~~~~~~~~~~~~~~~~~~~~~~~
/build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/Oscillator/VASTWaveTableOscillator.h:21:7: error: use of deleted function 'std::unique_ptr<_Tp, _Dp>::unique_ptr(const std::unique_ptr<_Tp, _Dp>&) [with _Tp = juce::AudioBuffer<float>; _Dp = std::default_delete<juce::AudioBuffer<float> >]'
In file included from /usr/include/c++/10/condition_variable:45,
                 from /build/vaporizer2-3.4.5/JUCE/modules/juce_core/system/juce_StandardHeader.h:54,
                 from /build/vaporizer2-3.4.5/JUCE/modules/juce_core/juce_core.h:204,
                 from /build/vaporizer2-3.4.5/JUCE/modules/juce_graphics/juce_graphics.h:58,
                 from /build/vaporizer2-3.4.5/JUCE/modules/juce_gui_basics/juce_gui_basics.h:60,
                 from /build/vaporizer2-3.4.5/JUCE/modules/juce_audio_plugin_client/juce_audio_plugin_client.h:54,
                 from /build/vaporizer2-3.4.5/cmake-build/VASTvaporizer2_artefacts/JuceLibraryCode/JuceHeader.h:14,
                 from /build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTEngineHeader.h:85,
                 from /build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTSingleNote.h:12,
                 from /build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTPoly.h:12,
                 from /build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTPoly.cpp:8:
/usr/include/c++/10/bits/unique_ptr.h:468:7: note: declared here
  468 |       unique_ptr(const unique_ptr&) = delete;
      |       ^~~~~~~~~~
In file included from /build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTSingleNote.h:13,
                 from /build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTPoly.h:12,
                 from /build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTPoly.cpp:8:
/build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/Oscillator/VASTWaveTableOscillator.h:21:7: error: use of deleted function 'std::unique_ptr<_Tp, _Dp>::unique_ptr(const std::unique_ptr<_Tp, _Dp>&) [with _Tp = juce::AudioBuffer<float>; _Dp = std::default_delete<juce::AudioBuffer<float> >]'
   21 | class CVASTWaveTableOscillator {
      |       ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/10/condition_variable:45,
                 from /build/vaporizer2-3.4.5/JUCE/modules/juce_core/system/juce_StandardHeader.h:54,
                 from /build/vaporizer2-3.4.5/JUCE/modules/juce_core/juce_core.h:204,
                 from /build/vaporizer2-3.4.5/JUCE/modules/juce_graphics/juce_graphics.h:58,
                 from /build/vaporizer2-3.4.5/JUCE/modules/juce_gui_basics/juce_gui_basics.h:60,
                 from /build/vaporizer2-3.4.5/JUCE/modules/juce_audio_plugin_client/juce_audio_plugin_client.h:54,
                 from /build/vaporizer2-3.4.5/cmake-build/VASTvaporizer2_artefacts/JuceLibraryCode/JuceHeader.h:14,
                 from /build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTEngineHeader.h:85,
                 from /build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTSingleNote.h:12,
                 from /build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTPoly.h:12,
                 from /build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTPoly.cpp:8:
/usr/include/c++/10/bits/unique_ptr.h:468:7: note: declared here
  468 |       unique_ptr(const unique_ptr&) = delete;
      |       ^~~~~~~~~~
/build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTPoly.cpp:26:100: error: use of deleted function 'CVASTOscillatorBank::CVASTOscillatorBank(const CVASTOscillatorBank&)'
   26 |  m_OscBank{ {&set, processor, 0}, {&set, processor, 1}, {&set, processor, 2}, {&set, processor, 3} }
      |                                                                                                    ^
In file included from /build/vaporizer2-3.4.5/JUCE/modules/juce_core/system/juce_StandardHeader.h:82,
                 from /build/vaporizer2-3.4.5/JUCE/modules/juce_core/juce_core.h:204,
                 from /build/vaporizer2-3.4.5/JUCE/modules/juce_graphics/juce_graphics.h:58,
                 from /build/vaporizer2-3.4.5/JUCE/modules/juce_gui_basics/juce_gui_basics.h:60,
                 from /build/vaporizer2-3.4.5/JUCE/modules/juce_audio_plugin_client/juce_audio_plugin_client.h:54,
                 from /build/vaporizer2-3.4.5/cmake-build/VASTvaporizer2_artefacts/JuceLibraryCode/JuceHeader.h:14,
                 from /build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTEngineHeader.h:85,
                 from /build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTSingleNote.h:12,
                 from /build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTPoly.h:12,
                 from /build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/VASTPoly.cpp:8:
/build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/Oscillator/../VASTOscillatorBank.h:105:47: note: declared here
  105 |  JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(CVASTOscillatorBank)
      |                                               ^~~~~~~~~~~~~~~~~~~
/build/vaporizer2-3.4.5/JUCE/modules/juce_core/system/juce_PlatformDefs.h:229:5: note: in definition of macro 'JUCE_DECLARE_NON_COPYABLE'
  229 |     className (const className&) = delete;\
      |     ^~~~~~~~~
/build/vaporizer2-3.4.5/VASTvaporizer/Source/Engine/Oscillator/../VASTOscillatorBank.h:105:2: note: in expansion of macro 'JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR'
  105 |  JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(CVASTOscillatorBank)
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gmake[4]: *** [CMakeFiles/VASTvaporizer2.dir/build.make:822: CMakeFiles/VASTvaporizer2.dir/VASTvaporizer/Source/Engine/VASTPoly.cpp.o] Error 1

Note that I'm using a 3.25 cmake (from debian bullseye backport), and building from a fresh bcc8e44 git (recursive) clone.
The commands used are:

cmake -B cmake-build -DCMAKE_BUILD_TYPE=Release
cmake --build cmake-build

Would you have any idea what's going on here?

Hi,
I guess it's a Debian g++ problem VASTDynamics#61
On Ubuntu 20.04 this was fixed by installing the latest updates on OBS build system. For Debian there is a workaround by installing gcc-cpp 9.3.0-22 and build with this version:

cmake -B cmake-build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++-9
cmake --build cmake-build

Hi @KottV and thanks for your answer.
Do you mean, installing the cpp package? I can't find any gcc-cpp package in the debian archive. Note that I do not find a cpp 9.3.0-22 version in the debian archive. I'm a bit puzzled here.

Ouch. It's c++-9 package sorry.

Thank you very much @KottV , it's building now.
Now, we'll start to test it before it before pushing it to the LibraZiK-4 users repository.

@trebmuh
Are you gonna use this fork and not official Vaporizer2 repo?

@KottV : Your question got me thinking. I was under the (wrong) impression that only your fork allowed you to build the LV2 version, but it seems that https://github.com/VASTDynamics/Vaporizer2 does too, if I read the README.
May I ask: what is the purpose of your fork?
Another question: which repository/branch would you recommend for a packaging purpose?

@trebmuh

May I ask: what is the purpose of your fork?

It's a regular fork, where I'm working on Vaporizer2 code and then contribute it to the upstream repository. So it may contain unfinished/experimental things.

which repository/branch would you recommend for a packaging purpose?

https://github.com/VASTDynamics/Vaporizer2/ the main branch.

Thank you very much for your advice @KottV
I've been repacking it from https://github.com/VASTDynamics/Vaporizer2/ main branch.
Will test from there.