pkgsrc-Users archive

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

Re: textproc/rapidjson



Thomas Klausner <wiz%NetBSD.org@localhost> wrote:
>On Sun, Feb 19, 2023 at 11:49:55AM +0000, Robert Swindells wrote:
>> Is anyone else getting cmake build errors for textproc/rapidjson?
>> 
>> The last release from upstream was in 2016, so I'm guessing it doesn't
>> match latest cmake.
>
> Works for me on 10.99.2/amd64:
> => Creating binary package /packages/All/rapidjson-1.1.0nb1.tgz
>
> What error are you seeing?

% make
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for rapidjson-1.1.0.tar.gz
=> Checksum SHA512 OK for rapidjson-1.1.0.tar.gz
===> Installing dependencies for rapidjson-1.1.0nb1
=> Tool dependency cmake>=0: found cmake-3.25.2
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency googletest>=1.4.0: found googletest-1.12.1
===> Checking for vulnerabilities in rapidjson-1.1.0nb1
===> Overriding tools for rapidjson-1.1.0nb1
===> Extracting for rapidjson-1.1.0nb1
===> Patching for rapidjson-1.1.0nb1
===> Creating toolchain wrappers for rapidjson-1.1.0nb1
===> Configuring for rapidjson-1.1.0nb1
=> Adding run-time search paths to pkg-config files.
INFO: [subst.mk:_pkgconfig] Nothing changed in "RapidJSON.pc.in".
CMake Deprecation Warning at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The CXX compiler identification is GNU 10.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /var/pkgobj/textproc/rapidjson/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- No Doxygen found. Documentation won't be built
CMake Deprecation Warning at example/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Found GTestSrc: /var/pkgobj/textproc/rapidjson/work/rapidjson-1.1.0  
CMake Deprecation Warning at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- No Doxygen found. Documentation won't be built
CMake Error at CMakeLists.txt:113 (add_custom_target):
  add_custom_target cannot create target "travis_doc" because another target
  with the same name already exists.  The existing target is a custom target
  created in source directory
  "/var/pkgobj/textproc/rapidjson/work/rapidjson-1.1.0".  See documentation
  for policy CMP0002 for more details.


CMake Warning (dev) at CMakeLists.txt:114 (add_custom_command):
  Policy CMP0040 is not set: The target in the TARGET signature of
  add_custom_command() must exist and must be defined in the current
  directory.  Run "cmake --help-policy CMP0040" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  TARGET 'travis_doc' was not created in this directory.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Deprecation Warning at example/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Error at example/CMakeLists.txt:35 (add_executable):
  add_executable cannot create target "capitalize" because another target
  with the same name already exists.  The existing target is an executable
  created in source directory
  "/var/pkgobj/textproc/rapidjson/work/rapidjson-1.1.0/example".  See
  documentation for policy CMP0002 for more details.


CMake Error at example/CMakeLists.txt:35 (add_executable):
  add_executable cannot create target "condense" because another target with
  the same name already exists.  The existing target is an executable created
  in source directory
  "/var/pkgobj/textproc/rapidjson/work/rapidjson-1.1.0/example".  See
  documentation for policy CMP0002 for more details.


CMake Error at example/CMakeLists.txt:35 (add_executable):
  add_executable cannot create target "filterkey" because another target with
  the same name already exists.  The existing target is an executable created
  in source directory
  "/var/pkgobj/textproc/rapidjson/work/rapidjson-1.1.0/example".  See
  documentation for policy CMP0002 for more details.


CMake Error at example/CMakeLists.txt:35 (add_executable):
  add_executable cannot create target "filterkeydom" because another target
  with the same name already exists.  The existing target is an executable
  created in source directory
  "/var/pkgobj/textproc/rapidjson/work/rapidjson-1.1.0/example".  See
  documentation for policy CMP0002 for more details.

and more similar errors.


Home | Main Index | Thread Index | Old Index