pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/49826: pkgsrc-2015Q1 misc/libreoffice4 build fails on NetBSD 6.1.5



The following reply was made to PR pkg/49826; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: pkg/49826: pkgsrc-2015Q1 misc/libreoffice4 build fails on NetBSD
	 6.1.5
Date: Sun, 12 Apr 2015 14:24:18 +0900

 "std::thread" seems to require c++11.
 
 With following definitions:
 >> GCC_REQD= 4.8
 >> CXXFLAGS+= -std=c++11
 it fails differently:
 
 ---
 In file included from /usr/obj.i386/pkgsrc/misc/libreoffice4/work.i386/libreoffice-4.4.1.2/sax/source/tools/fastserializer.hxx:28:0,
                  from /usr/obj.i386/pkgsrc/misc/libreoffice4/work.i386/libreoffice-4.4.1.2/sax/source/tools/fshelper.cxx:21:
 /usr/obj.i386/pkgsrc/misc/libreoffice4/work.i386/libreoffice-4.4.1.2/sax/source/tools/CachedOutputStream.hxx: In constructor 'sax_fastparser::CachedOutputStream::CachedOutputStream()':
 /usr/obj.i386/pkgsrc/misc/libreoffice4/work.i386/libreoffice-4.4.1.2/sax/source/tools/CachedOutputStream.hxx:50:46: error: no matching function for call to 'boost::shared_ptr<sax_fastparser::ForMergeBase>::shared_ptr(std::nullptr_t)'
                           , mpForMerge(nullptr)
                                               ^
 usr/obj.i386/pkgsrc/misc/libreoffice4/work.i386/libreoffice-4.4.1.2/sax/source/tools/CachedOutputStream.hxx:50:46: note: candidates are:
 In file included from /usr/obj.i386/pkgsrc/misc/libreoffice4/work.i386/.buildlink/include/boost/shared_ptr.hpp:17:0,
                  from /usr/obj.i386/pkgsrc/misc/libreoffice4/work.i386/libreoffice-4.4.1.2/include/sax/fshelper.hxx:25,
                  from /usr/obj.i386/pkgsrc/misc/libreoffice4/work.i386/libreoffice-4.4.1.2/sax/source/tools/fshelper.cxx:20:
 /usr/obj.i386/pkgsrc/misc/libreoffice4/work.i386/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:572:5: note: template<class Y> boost::shared_ptr<T>::shared_ptr(boost::shared_ptr<Y>&&, typename boost::detail::sp_enable_if_convertible<Y, T>::type)
      shared_ptr( shared_ptr<Y> && r, typename boost::detail::sp_enable_if_convertible<Y,T>::type = boost::detail::sp_empty() )
      ^
 /usr/obj.i386/pkgsrc/misc/libreoffice4/work.i386/.buildlink/include/boost/smart_ptr/shared_ptr.hpp:572:5: note:   template argument deduction/substitution failed:
 In file included from /usr/obj.i386/pkgsrc/misc/libreoffice4/work.i386/libreoffice-4.4.1.2/sax/source/tools/fastserializer.hxx:28:0,
                  from /usr/obj.i386/pkgsrc/misc/libreoffice4/work.i386/libreoffice-4.4.1.2/sax/source/tools/fshelper.cxx:21:
 /usr/obj.i386/pkgsrc/misc/libreoffice4/work.i386/libreoffice-4.4.1.2/sax/source/tools/CachedOutputStream.hxx:50:46: note:   mismatched types 'boost::shared_ptr<X>' and 'std::nullptr_t'
                           , mpForMerge(nullptr)
                                               ^
 
  :
 ---
 
 boost should also be build with GCC_REQD=4.8 ?
 
 ---
 


Home | Main Index | Thread Index | Old Index