Details of y build env are listed in https://bugs.documentfoundation.org/show_bug.cgi?id=141713 I'm not able to build LibreOffice with boost 1.75.0 [tkloczko@barrel libreoffice-7.1.3.2]$ make -j48 -k V=1 VERBOSE=1 mkdir -p /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/instdir /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/solenv/bin/install-gdb-printers -a /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/instdir -c Automatic fetching of external tarballs is disabled. make -j 48 -rs -f /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/Makefile.gbuild build make[1]: warning: -j48 forced in submake: resetting jobserver mode. [CXX] sfx2/source/control/bindings.cxx [CXX] sfx2/source/control/dispatch.cxx [PRL] CustomTarget/postprocess/images/sorted.lst [PRL] CustomTarget/postprocess/images/commandimagelist.ilst [PRL] CustomTarget/helpcontent2/source/auxiliary/helpimg.ilst In file included from /usr/include/boost/bind.hpp:30, from /usr/include/boost/property_tree/json_parser/detail/parser.hpp:7, from /usr/include/boost/property_tree/json_parser/detail/read.hpp:13, from /usr/include/boost/property_tree/json_parser.hpp:16, from /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/dispatch.cxx:29: /usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.’ 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:24: /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx: In member function ‘sal_uInt16 SfxBindings::EnterRegistrations(const char*, int)’: /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:194:6: error: invalid ‘static_cast’ from type ‘std::__cxx11::basic_ostringstream<char>’ to type ‘std::ostringstream&’ {aka ‘std::__cxx11::basic_ostringstream<char>&’} 194 | (dynamic_cast< ::std::ostringstream & >(::std::ostringstream() << stream).str()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:129:45: note: in definition of macro ‘SAL_DETAIL_LOG_STREAM_PRIVATE_’ 129 | ::sal::detail::StreamStart() << stream) == 1) \ | ^~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:335:5: note: in expansion of macro ‘SAL_DETAIL_LOG_STREAM’ 335 | SAL_DETAIL_LOG_STREAM( \ | ^~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1314:5: note: in expansion of macro ‘SAL_INFO’ 1314 | SAL_INFO( | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1319:19: note: in expansion of macro ‘SAL_STREAM’ 1319 | ? SAL_STREAM("File: " << pFile << " Line: " << nLine) : "")); | ^~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:194:6: error: invalid ‘static_cast’ from type ‘std::__cxx11::basic_ostringstream<char>’ to type ‘std::ostringstream&’ {aka ‘std::__cxx11::basic_ostringstream<char>&’} 194 | (dynamic_cast< ::std::ostringstream & >(::std::ostringstream() << stream).str()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:134:49: note: in definition of macro ‘SAL_DETAIL_LOG_STREAM_PRIVATE_’ 134 | ::sal::detail::StreamStart() << stream), \ | ^~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:335:5: note: in expansion of macro ‘SAL_DETAIL_LOG_STREAM’ 335 | SAL_DETAIL_LOG_STREAM( \ | ^~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1314:5: note: in expansion of macro ‘SAL_INFO’ 1314 | SAL_INFO( | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1319:19: note: in expansion of macro ‘SAL_STREAM’ 1319 | ? SAL_STREAM("File: " << pFile << " Line: " << nLine) : "")); | ^~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:194:6: error: invalid ‘static_cast’ from type ‘std::__cxx11::basic_ostringstream<char>’ to type ‘std::ostringstream&’ {aka ‘std::__cxx11::basic_ostringstream<char>&’} 194 | (dynamic_cast< ::std::ostringstream & >(::std::ostringstream() << stream).str()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:138:30: note: in definition of macro ‘SAL_DETAIL_LOG_STREAM_PRIVATE_’ 138 | sal_detail_stream << stream; \ | ^~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:335:5: note: in expansion of macro ‘SAL_DETAIL_LOG_STREAM’ 335 | SAL_DETAIL_LOG_STREAM( \ | ^~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1314:5: note: in expansion of macro ‘SAL_INFO’ 1314 | SAL_INFO( | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1319:19: note: in expansion of macro ‘SAL_STREAM’ 1319 | ? SAL_STREAM("File: " << pFile << " Line: " << nLine) : "")); | ^~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:194:6: error: invalid ‘static_cast’ from type ‘std::__cxx11::basic_ostringstream<char>’ to type ‘std::ostringstream&’ {aka ‘std::__cxx11::basic_ostringstream<char>&’} 194 | (dynamic_cast< ::std::ostringstream & >(::std::ostringstream() << stream).str()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:129:45: note: in definition of macro ‘SAL_DETAIL_LOG_STREAM_PRIVATE_’ 129 | ::sal::detail::StreamStart() << stream) == 1) \ | ^~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:335:5: note: in expansion of macro ‘SAL_DETAIL_LOG_STREAM’ 335 | SAL_DETAIL_LOG_STREAM( \ | ^~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1314:5: note: in expansion of macro ‘SAL_INFO’ 1314 | SAL_INFO( | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1319:19: note: in expansion of macro ‘SAL_STREAM’ 1319 | ? SAL_STREAM("File: " << pFile << " Line: " << nLine) : "")); | ^~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:194:6: error: invalid ‘static_cast’ from type ‘std::__cxx11::basic_ostringstream<char>’ to type ‘std::ostringstream&’ {aka ‘std::__cxx11::basic_ostringstream<char>&’} 194 | (dynamic_cast< ::std::ostringstream & >(::std::ostringstream() << stream).str()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:134:49: note: in definition of macro ‘SAL_DETAIL_LOG_STREAM_PRIVATE_’ 134 | ::sal::detail::StreamStart() << stream), \ | ^~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:335:5: note: in expansion of macro ‘SAL_DETAIL_LOG_STREAM’ 335 | SAL_DETAIL_LOG_STREAM( \ | ^~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1314:5: note: in expansion of macro ‘SAL_INFO’ 1314 | SAL_INFO( | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1319:19: note: in expansion of macro ‘SAL_STREAM’ 1319 | ? SAL_STREAM("File: " << pFile << " Line: " << nLine) : "")); | ^~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:194:6: error: invalid ‘static_cast’ from type ‘std::__cxx11::basic_ostringstream<char>’ to type ‘std::ostringstream&’ {aka ‘std::__cxx11::basic_ostringstream<char>&’} 194 | (dynamic_cast< ::std::ostringstream & >(::std::ostringstream() << stream).str()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:138:30: note: in definition of macro ‘SAL_DETAIL_LOG_STREAM_PRIVATE_’ 138 | sal_detail_stream << stream; \ | ^~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:335:5: note: in expansion of macro ‘SAL_DETAIL_LOG_STREAM’ 335 | SAL_DETAIL_LOG_STREAM( \ | ^~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1314:5: note: in expansion of macro ‘SAL_INFO’ 1314 | SAL_INFO( | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1319:19: note: in expansion of macro ‘SAL_STREAM’ 1319 | ? SAL_STREAM("File: " << pFile << " Line: " << nLine) : "")); | ^~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx: In member function ‘void SfxBindings::LeaveRegistrations(const char*, int)’: /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:194:6: error: invalid ‘static_cast’ from type ‘std::__cxx11::basic_ostringstream<char>’ to type ‘std::ostringstream&’ {aka ‘std::__cxx11::basic_ostringstream<char>&’} 194 | (dynamic_cast< ::std::ostringstream & >(::std::ostringstream() << stream).str()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:129:45: note: in definition of macro ‘SAL_DETAIL_LOG_STREAM_PRIVATE_’ 129 | ::sal::detail::StreamStart() << stream) == 1) \ | ^~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:335:5: note: in expansion of macro ‘SAL_DETAIL_LOG_STREAM’ 335 | SAL_DETAIL_LOG_STREAM( \ | ^~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1410:5: note: in expansion of macro ‘SAL_INFO’ 1410 | SAL_INFO( | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1415:19: note: in expansion of macro ‘SAL_STREAM’ 1415 | ? SAL_STREAM("File: " << pFile << " Line: " << nLine) : "")); | ^~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:194:6: error: invalid ‘static_cast’ from type ‘std::__cxx11::basic_ostringstream<char>’ to type ‘std::ostringstream&’ {aka ‘std::__cxx11::basic_ostringstream<char>&’} 194 | (dynamic_cast< ::std::ostringstream & >(::std::ostringstream() << stream).str()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:134:49: note: in definition of macro ‘SAL_DETAIL_LOG_STREAM_PRIVATE_’ 134 | ::sal::detail::StreamStart() << stream), \ | ^~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:335:5: note: in expansion of macro ‘SAL_DETAIL_LOG_STREAM’ 335 | SAL_DETAIL_LOG_STREAM( \ | ^~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1410:5: note: in expansion of macro ‘SAL_INFO’ 1410 | SAL_INFO( | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1415:19: note: in expansion of macro ‘SAL_STREAM’ 1415 | ? SAL_STREAM("File: " << pFile << " Line: " << nLine) : "")); | ^~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:194:6: error: invalid ‘static_cast’ from type ‘std::__cxx11::basic_ostringstream<char>’ to type ‘std::ostringstream&’ {aka ‘std::__cxx11::basic_ostringstream<char>&’} 194 | (dynamic_cast< ::std::ostringstream & >(::std::ostringstream() << stream).str()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:138:30: note: in definition of macro ‘SAL_DETAIL_LOG_STREAM_PRIVATE_’ 138 | sal_detail_stream << stream; \ | ^~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:335:5: note: in expansion of macro ‘SAL_DETAIL_LOG_STREAM’ 335 | SAL_DETAIL_LOG_STREAM( \ | ^~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1410:5: note: in expansion of macro ‘SAL_INFO’ 1410 | SAL_INFO( | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1415:19: note: in expansion of macro ‘SAL_STREAM’ 1415 | ? SAL_STREAM("File: " << pFile << " Line: " << nLine) : "")); | ^~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:194:6: error: invalid ‘static_cast’ from type ‘std::__cxx11::basic_ostringstream<char>’ to type ‘std::ostringstream&’ {aka ‘std::__cxx11::basic_ostringstream<char>&’} 194 | (dynamic_cast< ::std::ostringstream & >(::std::ostringstream() << stream).str()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:129:45: note: in definition of macro ‘SAL_DETAIL_LOG_STREAM_PRIVATE_’ 129 | ::sal::detail::StreamStart() << stream) == 1) \ | ^~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:335:5: note: in expansion of macro ‘SAL_DETAIL_LOG_STREAM’ 335 | SAL_DETAIL_LOG_STREAM( \ | ^~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1410:5: note: in expansion of macro ‘SAL_INFO’ 1410 | SAL_INFO( | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1415:19: note: in expansion of macro ‘SAL_STREAM’ 1415 | ? SAL_STREAM("File: " << pFile << " Line: " << nLine) : "")); | ^~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:194:6: error: invalid ‘static_cast’ from type ‘std::__cxx11::basic_ostringstream<char>’ to type ‘std::ostringstream&’ {aka ‘std::__cxx11::basic_ostringstream<char>&’} 194 | (dynamic_cast< ::std::ostringstream & >(::std::ostringstream() << stream).str()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:134:49: note: in definition of macro ‘SAL_DETAIL_LOG_STREAM_PRIVATE_’ 134 | ::sal::detail::StreamStart() << stream), \ | ^~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:335:5: note: in expansion of macro ‘SAL_DETAIL_LOG_STREAM’ 335 | SAL_DETAIL_LOG_STREAM( \ | ^~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1410:5: note: in expansion of macro ‘SAL_INFO’ 1410 | SAL_INFO( | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1415:19: note: in expansion of macro ‘SAL_STREAM’ 1415 | ? SAL_STREAM("File: " << pFile << " Line: " << nLine) : "")); | ^~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:194:6: error: invalid ‘static_cast’ from type ‘std::__cxx11::basic_ostringstream<char>’ to type ‘std::ostringstream&’ {aka ‘std::__cxx11::basic_ostringstream<char>&’} 194 | (dynamic_cast< ::std::ostringstream & >(::std::ostringstream() << stream).str()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:138:30: note: in definition of macro ‘SAL_DETAIL_LOG_STREAM_PRIVATE_’ 138 | sal_detail_stream << stream; \ | ^~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:335:5: note: in expansion of macro ‘SAL_DETAIL_LOG_STREAM’ 335 | SAL_DETAIL_LOG_STREAM( \ | ^~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1410:5: note: in expansion of macro ‘SAL_INFO’ 1410 | SAL_INFO( | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/bindings.cxx:1415:19: note: in expansion of macro ‘SAL_STREAM’ 1415 | ? SAL_STREAM("File: " << pFile << " Line: " << nLine) : "")); | ^~~~~~~~~~ make[1]: *** [/home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/solenv/gbuild/LinkTarget.mk:301: /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/workdir/CxxObject/sfx2/source/control/bindings.o] Error 1 In file included from /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/dispatch.cxx:43: /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/dispatch.cxx: In member function ‘void SfxDispatcher::Pop(SfxShell&, SfxDispatcherPopFlags)’: /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:194:6: error: invalid ‘static_cast’ from type ‘std::__cxx11::basic_ostringstream<char>’ to type ‘std::ostringstream&’ {aka ‘std::__cxx11::basic_ostringstream<char>&’} 194 | (dynamic_cast< ::std::ostringstream & >(::std::ostringstream() << stream).str()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:129:45: note: in definition of macro ‘SAL_DETAIL_LOG_STREAM_PRIVATE_’ 129 | ::sal::detail::StreamStart() << stream) == 1) \ | ^~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:335:5: note: in expansion of macro ‘SAL_DETAIL_LOG_STREAM’ 335 | SAL_DETAIL_LOG_STREAM( \ | ^~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/dispatch.cxx:390:5: note: in expansion of macro ‘SAL_INFO’ 390 | SAL_INFO( | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/dispatch.cxx:394:59: note: in expansion of macro ‘SAL_STREAM’ 394 | ? rShell.GetInterface()->GetClassName() : SAL_STREAM(&rShell)) | ^~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:194:6: error: invalid ‘static_cast’ from type ‘std::__cxx11::basic_ostringstream<char>’ to type ‘std::ostringstream&’ {aka ‘std::__cxx11::basic_ostringstream<char>&’} 194 | (dynamic_cast< ::std::ostringstream & >(::std::ostringstream() << stream).str()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:134:49: note: in definition of macro ‘SAL_DETAIL_LOG_STREAM_PRIVATE_’ 134 | ::sal::detail::StreamStart() << stream), \ | ^~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:335:5: note: in expansion of macro ‘SAL_DETAIL_LOG_STREAM’ 335 | SAL_DETAIL_LOG_STREAM( \ | ^~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/dispatch.cxx:390:5: note: in expansion of macro ‘SAL_INFO’ 390 | SAL_INFO( | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/dispatch.cxx:394:59: note: in expansion of macro ‘SAL_STREAM’ 394 | ? rShell.GetInterface()->GetClassName() : SAL_STREAM(&rShell)) | ^~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:194:6: error: invalid ‘static_cast’ from type ‘std::__cxx11::basic_ostringstream<char>’ to type ‘std::ostringstream&’ {aka ‘std::__cxx11::basic_ostringstream<char>&’} 194 | (dynamic_cast< ::std::ostringstream & >(::std::ostringstream() << stream).str()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:138:30: note: in definition of macro ‘SAL_DETAIL_LOG_STREAM_PRIVATE_’ 138 | sal_detail_stream << stream; \ | ^~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:335:5: note: in expansion of macro ‘SAL_DETAIL_LOG_STREAM’ 335 | SAL_DETAIL_LOG_STREAM( \ | ^~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/dispatch.cxx:390:5: note: in expansion of macro ‘SAL_INFO’ 390 | SAL_INFO( | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/dispatch.cxx:394:59: note: in expansion of macro ‘SAL_STREAM’ 394 | ? rShell.GetInterface()->GetClassName() : SAL_STREAM(&rShell)) | ^~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:194:6: error: invalid ‘static_cast’ from type ‘std::__cxx11::basic_ostringstream<char>’ to type ‘std::ostringstream&’ {aka ‘std::__cxx11::basic_ostringstream<char>&’} 194 | (dynamic_cast< ::std::ostringstream & >(::std::ostringstream() << stream).str()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:129:45: note: in definition of macro ‘SAL_DETAIL_LOG_STREAM_PRIVATE_’ 129 | ::sal::detail::StreamStart() << stream) == 1) \ | ^~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:335:5: note: in expansion of macro ‘SAL_DETAIL_LOG_STREAM’ 335 | SAL_DETAIL_LOG_STREAM( \ | ^~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/dispatch.cxx:390:5: note: in expansion of macro ‘SAL_INFO’ 390 | SAL_INFO( | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/dispatch.cxx:394:59: note: in expansion of macro ‘SAL_STREAM’ 394 | ? rShell.GetInterface()->GetClassName() : SAL_STREAM(&rShell)) | ^~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:194:6: error: invalid ‘static_cast’ from type ‘std::__cxx11::basic_ostringstream<char>’ to type ‘std::ostringstream&’ {aka ‘std::__cxx11::basic_ostringstream<char>&’} 194 | (dynamic_cast< ::std::ostringstream & >(::std::ostringstream() << stream).str()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:134:49: note: in definition of macro ‘SAL_DETAIL_LOG_STREAM_PRIVATE_’ 134 | ::sal::detail::StreamStart() << stream), \ | ^~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:335:5: note: in expansion of macro ‘SAL_DETAIL_LOG_STREAM’ 335 | SAL_DETAIL_LOG_STREAM( \ | ^~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/dispatch.cxx:390:5: note: in expansion of macro ‘SAL_INFO’ 390 | SAL_INFO( | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/dispatch.cxx:394:59: note: in expansion of macro ‘SAL_STREAM’ 394 | ? rShell.GetInterface()->GetClassName() : SAL_STREAM(&rShell)) | ^~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:194:6: error: invalid ‘static_cast’ from type ‘std::__cxx11::basic_ostringstream<char>’ to type ‘std::ostringstream&’ {aka ‘std::__cxx11::basic_ostringstream<char>&’} 194 | (dynamic_cast< ::std::ostringstream & >(::std::ostringstream() << stream).str()) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:138:30: note: in definition of macro ‘SAL_DETAIL_LOG_STREAM_PRIVATE_’ 138 | sal_detail_stream << stream; \ | ^~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/include/sal/log.hxx:335:5: note: in expansion of macro ‘SAL_DETAIL_LOG_STREAM’ 335 | SAL_DETAIL_LOG_STREAM( \ | ^~~~~~~~~~~~~~~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/dispatch.cxx:390:5: note: in expansion of macro ‘SAL_INFO’ 390 | SAL_INFO( | ^~~~~~~~ /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/sfx2/source/control/dispatch.cxx:394:59: note: in expansion of macro ‘SAL_STREAM’ 394 | ? rShell.GetInterface()->GetClassName() : SAL_STREAM(&rShell)) | ^~~~~~~~~~ [ECH] CustomTarget/instsetoo_native/setup/setuprc fatal: not a git repository (or any parent up to mount point /home/tkloczko) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). [ECH] CustomTarget/instsetoo_native/setup/versionrc fatal: not a git repository (or any parent up to mount point /home/tkloczko) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). [LOC] top level modules: libreoffice make[1]: *** [/home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/solenv/gbuild/LinkTarget.mk:301: /home/tkloczko/rpmbuild/BUILD/libreoffice-7.1.3.2/workdir/CxxObject/sfx2/source/control/dispatch.o] Error 1 [PRL] CustomTarget/helpcontent2/source/auxiliary/images_helpimg.zip [CUS] instsetoo_native/setup [PRL] CustomTarget/postprocess/images/images_breeze.zip [PRL] CustomTarget/postprocess/images/images_breeze_dark.zip [PRL] CustomTarget/postprocess/images/images_breeze_dark_svg.zip [PRL] CustomTarget/postprocess/images/images_breeze_svg.zip [PRL] CustomTarget/postprocess/images/images_colibre.zip [PRL] CustomTarget/postprocess/images/images_colibre_svg.zip [PRL] CustomTarget/postprocess/images/images_elementary.zip [PRL] CustomTarget/postprocess/images/images_elementary_svg.zip [PRL] CustomTarget/postprocess/images/images_karasa_jaga.zip [PRL] CustomTarget/postprocess/images/images_karasa_jaga_svg.zip [PRL] CustomTarget/postprocess/images/images_sifr.zip [PRL] CustomTarget/postprocess/images/images_sifr_dark.zip [PRL] CustomTarget/postprocess/images/images_sifr_dark_svg.zip [PRL] CustomTarget/postprocess/images/images_sifr_svg.zip [PRL] CustomTarget/postprocess/images/images_sukapura.zip [PRL] CustomTarget/postprocess/images/images_sukapura_svg.zip [PKG] instsetoo_native_setup [BIN] instsetoo_native [MOD] instsetoo_native [CUS] postprocess/images [CUS] helpcontent2/source/auxiliary [PKG] helpcontent2_helpimages [BIN] helpcontent2 [MOD] helpcontent2 make[1]: Target 'build' not remade because of errors. make: *** [Makefile:282: build] Error 2
Coorection: details of my build env are inhttps://bugs.documentfoundation.org/show_bug.cgi?id=142583
I think better ask this in developer's mail list or on #libreoffice-dev in IRC directly We build our current development builds using boost-1.75.0 and no have problems as I can see I close it as WFM, but you feel free reopen this if you'll find a root of the problem