pkgsrc-Users archive

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

Trouble building net/grive2 on NetBSD-amd64/99.77



	hello.  I'm trying to build pkgsrc/net/grive2 on an NetBSD-99.77/amd64 machine with user
and kernel built from sources around January 13, 2021.  I'm getting the following errors.  I've
tried the pkgsrc-2019Q4 branch and this one, the pkgsrc-2020Q3 branch.  Does anyone have ideas
on how to fix these errors?
-thanks
-Brian

=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file must
  contain a literal, direct call to the project() command.  Add a line of
  code such as

    project(ProjectName)

  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
  line.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
CMake Warning (dev) at /usr/pkg/share/cmake-3.18/Modules/Platform/NetBSD.cmake:15 (include):
  File /usr/pkg/share/cmake-3.18/Modules/Platform/NetBSD.cmake includes
  /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.18/Modules/Platform/UnixPaths.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /usr/pkg/share/cmake-3.18/Modules/CMakeSystemSpecificInformation.cmake:26 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/pkg/share/cmake-3.18/Modules/Platform/NetBSD.cmake:15 (include):
  File /usr/pkg/share/cmake-3.18/Modules/Platform/NetBSD.cmake includes
  /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.18/Modules/Platform/UnixPaths.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /usr/pkg/share/cmake-3.18/Modules/CMakeCInformation.cmake:66 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/local/netbsd/pkgsrc/net/grive2/work/.cwrapper/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Warning (dev) at /usr/pkg/share/cmake-3.18/Modules/Platform/NetBSD.cmake:15 (include):
  File /usr/pkg/share/cmake-3.18/Modules/Platform/NetBSD.cmake includes
  /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.18/Modules/Platform/UnixPaths.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /usr/pkg/share/cmake-3.18/Modules/CMakeCXXInformation.cmake:65 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/netbsd/pkgsrc/net/grive2/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found libgcrypt: -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgcrypt -lgpg-error
-- Found CURL: /usr/pkg/lib/libcurl.so (found version "7.72.0")  
-- Found EXPAT: /usr/lib/libexpat.so (found version "2.2.8") 
-- Found Boost: /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include (found suitable version "1.73.0", minimum required is "1.40.0") found components: program_options filesystem unit_test_framework system 
-- Found CppUnit: /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/lib/libcppunit.so
-- Found ZLIB: /lib/libz.so (found version "1.2.10") 
-- Found PkgConfig: /usr/local/netbsd/pkgsrc/net/grive2/work/.tools/bin/pkg-config (found version "1.6.0") 
-- Checking for module 'yajl'
--   Found yajl, version 2.1.0
CMake Warning (dev) in libgrive/CMakeLists.txt:
  A logical block opening on the line

    /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/CMakeLists.txt:114 (IF)

  closes on the line

    /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/CMakeLists.txt:137 (ENDIF)

  with mis-matching arguments.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Boost: /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include (found version "1.73.0") found components: program_options 
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR


-- Build files have been written to: /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1
=> Rewrite cmake Dependencies files
===> Building for grive2-0.4.1nb18
Scanning dependencies of target grive
[  1%] Building CXX object libgrive/CMakeFiles/grive.dir/src/base/Drive.cc.o
In file included from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.hh:24,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.cc:20:
/usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/json/Val.hh:128:7: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  128 |  std::auto_ptr<Base> m_base ;
      |       ^~~~~~~~
In file included from /usr/include/g++/bits/locale_conv.h:41,
                 from /usr/include/g++/locale:43,
                 from /usr/include/g++/iomanip:43,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/detail/object_hex_dump.hpp:10,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/to_string_stub.hpp:10,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/info.hpp:11,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/util/Exception.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Resource.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/ResourceTree.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/State.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.cc:20:
/usr/include/g++/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.cc:23:
/usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Feed.hh:55:7: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   55 |  std::auto_ptr<LogInfo> m_log ;
      |       ^~~~~~~~
In file included from /usr/include/g++/bits/locale_conv.h:41,
                 from /usr/include/g++/locale:43,
                 from /usr/include/g++/iomanip:43,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/detail/object_hex_dump.hpp:10,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/to_string_stub.hpp:10,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/info.hpp:11,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/util/Exception.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Resource.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/ResourceTree.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/State.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.cc:20:
/usr/include/g++/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.cc:24:
/usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Syncer.hh:57:15: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   57 |  virtual std::auto_ptr<Feed> GetFolders() = 0;
      |               ^~~~~~~~
In file included from /usr/include/g++/bits/locale_conv.h:41,
                 from /usr/include/g++/locale:43,
                 from /usr/include/g++/iomanip:43,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/detail/object_hex_dump.hpp:10,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/to_string_stub.hpp:10,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/info.hpp:11,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/util/Exception.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Resource.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/ResourceTree.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/State.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.cc:20:
/usr/include/g++/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.cc:24:
/usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Syncer.hh:58:15: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   58 |  virtual std::auto_ptr<Feed> GetAll() = 0;
      |               ^~~~~~~~
In file included from /usr/include/g++/bits/locale_conv.h:41,
                 from /usr/include/g++/locale:43,
                 from /usr/include/g++/iomanip:43,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/detail/object_hex_dump.hpp:10,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/to_string_stub.hpp:10,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/info.hpp:11,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/util/Exception.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Resource.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/ResourceTree.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/State.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.cc:20:
/usr/include/g++/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.cc:24:
/usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Syncer.hh:59:15: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   59 |  virtual std::auto_ptr<Feed> GetChanges( long min_cstamp ) = 0;
      |               ^~~~~~~~
In file included from /usr/include/g++/bits/locale_conv.h:41,
                 from /usr/include/g++/locale:43,
                 from /usr/include/g++/iomanip:43,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/detail/object_hex_dump.hpp:10,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/to_string_stub.hpp:10,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/info.hpp:11,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/util/Exception.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Resource.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/ResourceTree.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/State.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.cc:20:
/usr/include/g++/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.cc:28:
/usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/util/log/Log.hh:68:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   68 |  static LogBase* Inst( std::auto_ptr<LogBase> log = std::auto_ptr<LogBase>() ) ;
      |                             ^~~~~~~~
In file included from /usr/include/g++/bits/locale_conv.h:41,
                 from /usr/include/g++/locale:43,
                 from /usr/include/g++/iomanip:43,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/detail/object_hex_dump.hpp:10,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/to_string_stub.hpp:10,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/info.hpp:11,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/util/Exception.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Resource.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/ResourceTree.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/State.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.cc:20:
/usr/include/g++/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.cc:28:
/usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/util/log/Log.hh:68:58: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   68 |  static LogBase* Inst( std::auto_ptr<LogBase> log = std::auto_ptr<LogBase>() ) ;
      |                                                          ^~~~~~~~
In file included from /usr/include/g++/bits/locale_conv.h:41,
                 from /usr/include/g++/locale:43,
                 from /usr/include/g++/iomanip:43,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/detail/object_hex_dump.hpp:10,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/to_string_stub.hpp:10,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/info.hpp:11,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/util/Exception.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Resource.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/ResourceTree.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/State.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.cc:20:
/usr/include/g++/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/bind.hpp:30,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.cc:30:
/usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/config/pragma_message.hpp:24:34: 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.
   24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
      |                                  ^~~~~~~
/usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/bind.hpp:36:1: note: in expansion of macro 'BOOST_PRAGMA_MESSAGE'
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
/usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.cc: In member function 'void gr::Drive::SyncFolders()':
/usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.cc:95:7: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   95 |  std::auto_ptr<Feed> feed = m_syncer->GetFolders() ;
      |       ^~~~~~~~
In file included from /usr/include/g++/bits/locale_conv.h:41,
                 from /usr/include/g++/locale:43,
                 from /usr/include/g++/iomanip:43,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/detail/object_hex_dump.hpp:10,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/to_string_stub.hpp:10,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/info.hpp:11,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/util/Exception.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Resource.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/ResourceTree.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/State.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.cc:20:
/usr/include/g++/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
/usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.cc: In member function 'void gr::Drive::DetectChanges()':
/usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.cc:130:7: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  130 |  std::auto_ptr<Feed> feed = m_syncer->GetAll() ;
      |       ^~~~~~~~
In file included from /usr/include/g++/bits/locale_conv.h:41,
                 from /usr/include/g++/locale:43,
                 from /usr/include/g++/iomanip:43,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/detail/object_hex_dump.hpp:10,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/to_string_stub.hpp:10,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/exception/info.hpp:11,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/util/Exception.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Resource.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/ResourceTree.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/State.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Drive.cc:20:
/usr/include/g++/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
[  3%] Building CXX object libgrive/CMakeFiles/grive.dir/src/base/Entry.cc.o
In file included from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Entry.cc:22:
/usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/util/Crypt.hh:53:7: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   53 |  std::auto_ptr<Impl> m_impl ;
      |       ^~~~~~~~
In file included from /usr/include/g++/bits/locale_conv.h:41,
                 from /usr/include/g++/locale:43,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/filesystem/path_traits.hpp:29,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/filesystem/path.hpp:26,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/filesystem.hpp:16,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/util/FileSystem.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Entry.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Entry.cc:20:
/usr/include/g++/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Entry.cc:23:
/usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/util/log/Log.hh:68:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   68 |  static LogBase* Inst( std::auto_ptr<LogBase> log = std::auto_ptr<LogBase>() ) ;
      |                             ^~~~~~~~
In file included from /usr/include/g++/bits/locale_conv.h:41,
                 from /usr/include/g++/locale:43,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/filesystem/path_traits.hpp:29,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/filesystem/path.hpp:26,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/filesystem.hpp:16,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/util/FileSystem.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Entry.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Entry.cc:20:
/usr/include/g++/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Entry.cc:23:
/usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/util/log/Log.hh:68:58: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   68 |  static LogBase* Inst( std::auto_ptr<LogBase> log = std::auto_ptr<LogBase>() ) ;
      |                                                          ^~~~~~~~
In file included from /usr/include/g++/bits/locale_conv.h:41,
                 from /usr/include/g++/locale:43,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/filesystem/path_traits.hpp:29,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/filesystem/path.hpp:26,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/filesystem.hpp:16,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/util/FileSystem.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Entry.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Entry.cc:20:
/usr/include/g++/bits/unique_ptr.h:53:28: note: declared here
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
[  5%] Building CXX object libgrive/CMakeFiles/grive.dir/src/base/Feed.cc.o
In file included from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Feed.cc:20:
/usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Feed.hh:55:25: error: field 'm_log' has incomplete type 'std::auto_ptr<gr::Feed::LogInfo>'
   55 |  std::auto_ptr<LogInfo> m_log ;
      |                         ^~~~~
In file included from /usr/include/g++/bits/locale_conv.h:41,
                 from /usr/include/g++/locale:43,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/filesystem/path_traits.hpp:29,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/filesystem/path.hpp:26,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/.buildlink/include/boost/filesystem.hpp:16,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/util/FileSystem.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Entry.hh:23,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Feed.hh:22,
                 from /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1/libgrive/src/base/Feed.cc:20:
/usr/include/g++/bits/unique_ptr.h:53:28: note: declaration of 'class std::auto_ptr<gr::Feed::LogInfo>'
   53 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
*** Error code 1

Stop.
bmake[2]: stopped in /usr/local/netbsd/pkgsrc/net/grive2/work/grive2-0.4.1


Home | Main Index | Thread Index | Old Index