This package is affected by the cmake < 3.5 compatibility problem:
CMake Error at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 3.5 has been removed from CMake.
Git Clone URL: | https://aur.archlinux.org/mingw-w64-rapidjson.git (read-only, click to copy) |
---|---|
Package Base: | mingw-w64-rapidjson |
Description: | A fast JSON parser/generator for C++ with both SAX/DOM style API (mingw-w64) |
Upstream URL: | https://github.com/miloyip/rapidjson |
Licenses: | MIT |
Submitter: | Martchus |
Maintainer: | Martchus |
Last Packager: | Martchus |
Votes: | 0 |
Popularity: | 0.000000 |
First Submitted: | 2018-01-27 14:28 (UTC) |
Last Updated: | 2025-05-09 21:39 (UTC) |
This package is affected by the cmake < 3.5 compatibility problem:
CMake Error at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 3.5 has been removed from CMake.
The check function broke in the last few days. It was working properly ~15 days ago. Tried to use an older version of mingw-w64-wine, as I thought it would fix, but still fails on the same error.
Both tests fail with the following message:
#41 174.6 1: /home/builder/.cache/yay/mingw-w64-rapidjson/src/rapidjson-1.1.0/build-i686-w64-mingw32/bin/perftest: /home/builder/.cache/yay/mingw-w64-rapidjson/src/rapidjson-1.1.0/build-i686-w64-mingw32/bin/perftest: cannot execute binary file
#41 174.6 1/2 Test #1: perftest .........................***Failed 0.00 sec
#41 174.6 2: /home/builder/.cache/yay/mingw-w64-rapidjson/src/rapidjson-1.1.0/build-i686-w64-mingw32/bin/unittest: /home/builder/.cache/yay/mingw-w64-rapidjson/src/rapidjson-1.1.0/build-i686-w64-mingw32/bin/unittest: cannot execute binary file
#41 174.6 2/2 Test #2: unittest .........................***Failed 0.00 sec
#41 174.6
#41 174.6 0% tests passed, 2 tests failed out of 2
Passing --mflags "--nocheck" to yay solves my problem, but it seems that there's something wrong.
All my packages are managed at GitHub where you can also contribute directly: https://github.com/Martchus/PKGBUILDs There also exist a binary repository: https://martchus.no-ip.biz/repo/arch/ownstuff
I cannot cannot compile due to warnings and they are being treated as errors, please add "-w" flag in compilation to disable all warnings and compile.
Patch:
- -DCMAKE_CXX_FLAGS:STRING='-Wno-error=implicit-fallthrough' \
+ -DCMAKE_CXX_FLAGS:STRING='-w' \
Pinned Comments
Martchus commented on 2019-11-21 17:49 (UTC)
All my packages are managed at GitHub where you can also contribute directly: https://github.com/Martchus/PKGBUILDs There also exist a binary repository: https://martchus.no-ip.biz/repo/arch/ownstuff