Hello, I'm compiling Lool thanks to this script https://github.com/husisusi/officeonlin-install.sh.
My system is a VPS with Debian 9. My new attempt (after 3 months) to recompile lool generates now an error. I found that this commit is the cause: https://github.com/LibreOffice/core/commit/0f455f2309d018906e147269f839f52aa22eaf6a Part of the log where the error is throwned (I can send the full log) ----------------- [build CXX] vcl/unx/generic/printer/jobdata.cxx [build CXX] vcl/unx/generic/printer/ppdparser.cxx [build CXX] vcl/unx/generic/gdi/nativewindowhandleprovider.cxx [build CXX] vcl/unx/generic/window/screensaverinhibitor.cxx [build CXX] vcl/null/printerinfomanager.cxx [build CXX] vcl/headless/svpframe.cxx [build CXX] vcl/headless/svpbmp.cxx [build CXX] vcl/headless/svpgdi.cxx [build CXX] vcl/headless/svpdata.cxx [build CXX] vcl/headless/svpdummies.cxx [build CXX] vcl/headless/svpinst.cxx /opt/libreoffice2/vcl/null/printerinfomanager.cxx: In constructor ‘psp::PrinterInfoManager::PrinterInfoManager(psp::PrinterInfoManager::Type)’: /opt/libreoffice2/vcl/null/printerinfomanager.cxx:47:33: error: call of overloaded ‘unique_ptr(NULL)’ is ambiguous m_aSystemDefaultPaper( "A4" ) ^ In file included from /usr/include/c++/6/memory:81:0, from /opt/libreoffice2/include/i18nlangtag/languagetag.hxx:19, from /opt/libreoffice2/include/tools/resmgr.hxx:23, from /opt/libreoffice2/include/tools/rc.hxx:23, from /opt/libreoffice2/include/vcl/outdev.hxx:26, from /opt/libreoffice2/include/vcl/window.hxx:25, from /opt/libreoffice2/include/vcl/vclevent.hxx:26, from /opt/libreoffice2/include/vcl/helper.hxx:26, from /opt/libreoffice2/include/vcl/printerinfomanager.hxx:27, from /opt/libreoffice2/vcl/null/printerinfomanager.cxx:20: /usr/include/c++/6/bits/unique_ptr.h:359:7: note: candidate: std::unique_ptr<_Tp, _Dp>::unique_ptr(const std::unique_ptr<_Tp, _Dp>&) [with _Tp = psp::SystemQueueInfo; _Dp = std::default_delete<psp::SystemQueueInfo>] <deleted> unique_ptr(const unique_ptr&) = delete; ^~~~~~~~~~ /usr/include/c++/6/bits/unique_ptr.h:209:7: note: candidate: std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>&&) [with _Tp = psp::SystemQueueInfo; _Dp = std::default_delete<psp::SystemQueueInfo>] unique_ptr(unique_ptr&& __u) noexcept ^~~~~~~~~~ /usr/include/c++/6/bits/unique_ptr.h:204:17: note: candidate: constexpr std::unique_ptr<_Tp, _Dp>::unique_ptr(std::nullptr_t) [with _Tp = psp::SystemQueueInfo; _Dp = std::default_delete<psp::SystemQueueInfo>; std::nullptr_t = std::nullptr_t] constexpr unique_ptr(nullptr_t) noexcept : unique_ptr() { } ^~~~~~~~~~ /usr/include/c++/6/bits/unique_ptr.h:170:7: note: candidate: std::unique_ptr<_Tp, _Dp>::unique_ptr(std::unique_ptr<_Tp, _Dp>::pointer) [with _Tp = psp::SystemQueueInfo; _Dp = std::default_delete<psp::SystemQueueInfo>; std::unique_ptr<_Tp, _Dp>::pointer = psp::SystemQueueInfo*] unique_ptr(pointer __p) noexcept ^~~~~~~~~~ /usr/include/c++/6/bits/unique_ptr.h: In instantiation of ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = psp::SystemQueueInfo]’: /usr/include/c++/6/bits/unique_ptr.h:239:17: required from ‘std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = psp::SystemQueueInfo; _Dp = std::default_delete<psp::SystemQueueInfo>]’ /opt/libreoffice2/vcl/null/printerinfomanager.cxx:47:33: required from here /usr/include/c++/6/bits/unique_ptr.h:74:22: error: invalid application of ‘sizeof’ to incomplete type ‘psp::SystemQueueInfo’ static_assert(sizeof(_Tp)>0, ^ /opt/libreoffice2/solenv/gbuild/LinkTarget.mk:189 : la recette pour la cible « /opt/libreoffice2/workdir/CxxObject/vcl/null/printerinfomanager.o » a échouée make[1]: *** [/opt/libreoffice2/workdir/CxxObject/vcl/null/printerinfomanager.o] Erreur 1 make[1]: *** Attente des tâches non terminées.... Makefile:263 : la recette pour la cible « build » a échouée make: *** [build] Erreur 2 ------------------- Any idea on what the problem is? Kenny _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice