Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932349 - media-sound/ardour-8.6 does not compile with dev-libs/boost-1.85
Summary: media-sound/ardour-8.6 does not compile with dev-libs/boost-1.85
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords: STABLE
Depends on:
Blocks: boost-1.85
  Show dependency tree
 
Reported: 2024-05-21 07:26 UTC by Miroslav Šulc
Modified: 2024-05-21 17:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix ptree::get_child() with a temporary as default in libs/surfaces/websockets/message.cc (boost_1_85.patch,874 bytes, patch)
2024-05-21 15:51 UTC, Bernd Feige
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Šulc gentoo-dev 2024-05-21 07:26:00 UTC
i'll file details later
Comment 1 Miroslav Šulc gentoo-dev 2024-05-21 07:32:26 UTC
here's the error:

[1388/1852] Compiling libs/surfaces/websockets/message.cc
09:27:58 runner ['x86_64-pc-linux-gnu-g++', '-I/var/tmp/portage/media-sound/ardour-8.6/work/Ardour-8.6.0', '-march=alderlake', '-mabm', '-mno-cldemote', '-mno-kl', '-mno-pconfig', '-mno-sgx', '-mno-widekl', '-mshstk', '--param=l1-cache-line-size=64', '--param=l1-cache-size=48', '--param=l2-cache-size=36864', '-O2', '-pipe', '-frecord-gcc-switches', '-std=c++11', '-lboost_system', '-DHAVE_RF64_RIFF', '-DCOMPILER_INT128_SUPPORT', '-DWAF_BUILD', '-DNDEBUG', '-fshow-column', '-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', '-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', '-D__STDC_LIMIT_MACROS', '-D__STDC_FORMAT_MACROS', '-DCANVAS_DEBUG', '-DBOOST_ERROR_CODE_HEADER_ONLY', '-fPIC', '-Ilibs/surfaces/websockets', '-I../libs/surfaces/websockets', '-Ilibs/surfaces/websockets/websockets', '-I../libs/surfaces/websockets/websockets', '-Ilibs/ctrl-interface/control_protocol', '-I../libs/ctrl-interface/control_protocol', '-Ilibs/ardour', '-I../libs/ardour', '-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/gtkmm2ext', '-I../libs/gtkmm2ext', '-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', '-Ilibs/tk/ytkmm/ytkmm', '-I../libs/tk/ytkmm/ytkmm', '-Ilibs/tk/ydkmm/ydkmm', '-I../libs/tk/ydkmm/ydkmm', '-Ilibs/tk/ytk/ytk', '-I../libs/tk/ytk/ytk', '-Ilibs/tk/ydk/ydk', '-I../libs/tk/ydk/ydk', '-Ilibs/tk/ydk/ydk/gdk', '-I../libs/tk/ydk/ydk/gdk', '-Ilibs/tk/ydk/ydk/x11', '-I../libs/tk/ydk/ydk/x11', '-Ilibs/tk/ztkmm/ztkmm', '-I../libs/tk/ztkmm/ztkmm', '-Ilibs/tk/ztk/ztk', '-I../libs/tk/ztk/ztk', '-Ilibs/tk/ydk-pixbuf/ydk-pixbuf', '-I../libs/tk/ydk-pixbuf/ydk-pixbuf', '-I/usr/include/glibmm-2.4', '-I/usr/lib64/glibmm-2.4/include', '-I/usr/include/glib-2.0', '-I/usr/lib64/glib-2.0/include', '-I/usr/lib64/libffi/include', '-I/usr/include/sigc++-2.0', '-I/usr/lib64/sigc++-2.0/include', '-I/usr/include/libxml2', '-I/var/tmp/portage/media-sound/ardour-8.6/work/Ardour-8.6.0/build', '-DINTERNAL_SHARED_LIBS=1', '-DYTK=1', '-DHAVE_SUIL=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', '-DEXPORT_VISIBILITY_HIDDEN=0', '-DENABLE_NLS=1', '-DLXVST_SUPPORT=1', '-DVST3_SUPPORT=1', '-DUSE_FUTEX_SEMAPHORE=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_CPPUNIT=1', '-DHAVE_CONTROL_PROTOCOL=1', '-DHAVE_MIDI_SURFACE=1', '-DHAVE_WEBSOCKETS=1', '-DHAVE_JACK=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', '-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_BOOST_SCOPED_PTR_HPP=1', '-DHAVE_BOOST_PTR_CONTAINER_PTR_LIST_HPP=1', '-DHAVE_BOOST_SHARED_PTR_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', '-DPACKAGE="ardour_websockets"', '-DARDOURSURFACE_DLL_EXPORTS', '../libs/surfaces/websockets/message.cc', '-c', '-o/var/tmp/portage/media-sound/ardour-8.6/work/Ardour-8.6.0/build/libs/surfaces/websockets/message.cc.1.o']
../libs/surfaces/websockets/message.cc: In constructor ‘ArdourSurface::NodeStateMessage::NodeStateMessage(void*, size_t)’:
../libs/surfaces/websockets/message.cc:61:49: error: use of deleted function ‘void boost::property_tree::basic_ptree<Key, Data, KeyCompare>::get_child(const path_type&, const self_type&&) const [with Key = std::__cxx11::basic_string<char>; Data = std::__cxx11::basic_string<char>; KeyCompare = std::less<std::__cxx11::basic_string<char> >; path_type = boost::property_tree::string_path<std::__cxx11::basic_string<char>, boost::property_tree::id_translator<std::__cxx11::basic_string<char> > >; self_type = boost::property_tree::basic_ptree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >]’
   61 |                 pt::ptree addr = root.get_child ("addr", pt::ptree ());
      |                                  ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/property_tree/json_parser.hpp:14,
                 from ../libs/surfaces/websockets/message.cc:24:
/usr/include/boost/property_tree/ptree.hpp:274:14: note: declared here
  274 |         void get_child(const path_type &path,
      |              ^~~~~~~~~
../libs/surfaces/websockets/message.cc:68:48: error: use of deleted function ‘void boost::property_tree::basic_ptree<Key, Data, KeyCompare>::get_child(const path_type&, const self_type&&) const [with Key = std::__cxx11::basic_string<char>; Data = std::__cxx11::basic_string<char>; KeyCompare = std::less<std::__cxx11::basic_string<char> >; path_type = boost::property_tree::string_path<std::__cxx11::basic_string<char>, boost::property_tree::id_translator<std::__cxx11::basic_string<char> > >; self_type = boost::property_tree::basic_ptree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >]’
   68 |                 pt::ptree val = root.get_child ("val", pt::ptree ());
      |                                 ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/property_tree/ptree.hpp:274:14: note: declared here
  274 |         void get_child(const path_type &path,
      |              ^~~~~~~~~

Waf: Leaving directory `/var/tmp/portage/media-sound/ardour-8.6/work/Ardour-8.6.0/build'
Build failed
 -> task in 'libardour_websockets' failed with exit status 1: 
	{task 140608509432944: cxx message.cc -> message.cc.1.o}
['x86_64-pc-linux-gnu-g++', '-I/var/tmp/portage/media-sound/ardour-8.6/work/Ardour-8.6.0', '-march=alderlake', '-mabm', '-mno-cldemote', '-mno-kl', '-mno-pconfig', '-mno-sgx', '-mno-widekl', '-mshstk', '--param=l1-cache-line-size=64', '--param=l1-cache-size=48', '--param=l2-cache-size=36864', '-O2', '-pipe', '-frecord-gcc-switches', '-std=c++11', '-lboost_system', '-DHAVE_RF64_RIFF', '-DCOMPILER_INT128_SUPPORT', '-DWAF_BUILD', '-DNDEBUG', '-fshow-column', '-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', '-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', '-D__STDC_LIMIT_MACROS', '-D__STDC_FORMAT_MACROS', '-DCANVAS_DEBUG', '-DBOOST_ERROR_CODE_HEADER_ONLY', '-fPIC', '-Ilibs/surfaces/websockets', '-I../libs/surfaces/websockets', '-Ilibs/surfaces/websockets/websockets', '-I../libs/surfaces/websockets/websockets', '-Ilibs/ctrl-interface/control_protocol', '-I../libs/ctrl-interface/control_protocol', '-Ilibs/ardour', '-I../libs/ardour', '-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/gtkmm2ext', '-I../libs/gtkmm2ext', '-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', '-Ilibs/tk/ytkmm/ytkmm', '-I../libs/tk/ytkmm/ytkmm', '-Ilibs/tk/ydkmm/ydkmm', '-I../libs/tk/ydkmm/ydkmm', '-Ilibs/tk/ytk/ytk', '-I../libs/tk/ytk/ytk', '-Ilibs/tk/ydk/ydk', '-I../libs/tk/ydk/ydk', '-Ilibs/tk/ydk/ydk/gdk', '-I../libs/tk/ydk/ydk/gdk', '-Ilibs/tk/ydk/ydk/x11', '-I../libs/tk/ydk/ydk/x11', '-Ilibs/tk/ztkmm/ztkmm', '-I../libs/tk/ztkmm/ztkmm', '-Ilibs/tk/ztk/ztk', '-I../libs/tk/ztk/ztk', '-Ilibs/tk/ydk-pixbuf/ydk-pixbuf', '-I../libs/tk/ydk-pixbuf/ydk-pixbuf', '-I/usr/include/glibmm-2.4', '-I/usr/lib64/glibmm-2.4/include', '-I/usr/include/glib-2.0', '-I/usr/lib64/glib-2.0/include', '-I/usr/lib64/libffi/include', '-I/usr/include/sigc++-2.0', '-I/usr/lib64/sigc++-2.0/include', '-I/usr/include/libxml2', '-I/var/tmp/portage/media-sound/ardour-8.6/work/Ardour-8.6.0/build', '-DINTERNAL_SHARED_LIBS=1', '-DYTK=1', '-DHAVE_SUIL=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', '-DEXPORT_VISIBILITY_HIDDEN=0', '-DENABLE_NLS=1', '-DLXVST_SUPPORT=1', '-DVST3_SUPPORT=1', '-DUSE_FUTEX_SEMAPHORE=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_CPPUNIT=1', '-DHAVE_CONTROL_PROTOCOL=1', '-DHAVE_MIDI_SURFACE=1', '-DHAVE_WEBSOCKETS=1', '-DHAVE_JACK=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', '-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_BOOST_SCOPED_PTR_HPP=1', '-DHAVE_BOOST_PTR_CONTAINER_PTR_LIST_HPP=1', '-DHAVE_BOOST_SHARED_PTR_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', '-DPACKAGE="ardour_websockets"', '-DARDOURSURFACE_DLL_EXPORTS', '../libs/surfaces/websockets/message.cc', '-c', '-o/var/tmp/portage/media-sound/ardour-8.6/work/Ardour-8.6.0/build/libs/surfaces/websockets/message.cc.1.o']
Comment 2 Bernd Feige 2024-05-21 15:51:50 UTC
Created attachment 893666 [details, diff]
Patch to fix ptree::get_child() with a temporary as default in libs/surfaces/websockets/message.cc

I believe this is caused by https://github.com/boostorg/property_tree/pull/115
Basically, passing a temporary as default (second argument of get_child()) led to segfaults and was removed. As far as I can see this is also not necessary.
Comment 3 Miroslav Šulc gentoo-dev 2024-05-21 17:15:31 UTC
(In reply to Bernd Feige from comment #2)
> Created attachment 893666 [details, diff] [details, diff]
> Patch to fix ptree::get_child() with a temporary as default in
> libs/surfaces/websockets/message.cc
> 
> I believe this is caused by
> https://github.com/boostorg/property_tree/pull/115
> Basically, passing a temporary as default (second argument of get_child())
> led to segfaults and was removed. As far as I can see this is also not
> necessary.

thanks for the patch!
Comment 4 Larry the Git Cow gentoo-dev 2024-05-21 17:24:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e07ca5693cf685291678bb251dcb33c7312c3a2

commit 5e07ca5693cf685291678bb251dcb33c7312c3a2
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2024-05-21 17:23:48 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-05-21 17:24:28 +0000

    media-sound/ardour: fixed compilation with boost 1.85
    
    Closes: https://bugs.gentoo.org/932349
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/ardour/ardour-8.6.ebuild                 |  1 +
 media-sound/ardour/ardour-9999.ebuild                |  1 +
 media-sound/ardour/files/ardour-6.8-boost-1.85.patch | 19 +++++++++++++++++++
 3 files changed, 21 insertions(+)