[geos-devel] [GEOS] #970: CMAke broken on winnie and appveyor (mingw64, VS)
GEOS
geos-trac at osgeo.org
Sat May 18 12:51:31 PDT 2019
#970: CMAke broken on winnie and appveyor (mingw64, VS)
------------------------+--------------------------
Reporter: robe | Owner: geos-devel@…
Type: defect | Status: new
Priority: major | Milestone: 3.8.0
Component: Default | Version: master
Severity: Unassigned | Keywords:
------------------------+--------------------------
Seems as a result of change
https://git.osgeo.org/gitea/geos/geos/commit/b15fd1171823d16195bee17f2c7b44778603258d
Might be just the cmake needs upgrading on both.
{{{
Commit 1aedfca497d6de23bd3a857191da10b98b6b01f0 by mateusz
Modernize CMake configuration
Refactoring based on practices of the Modern CMake approach:
* Set project version based on `version.txt` spec.
* Build shared libraries by default.
* Build tools and `geos-config` script.
* Add make `check` target to run `ctest` (no dependencies).
* Move failing/overlarge tests into `failure` directory.
* Add target to deploy Config-module with installed targets:
`GEOS::geos`, `GEOS::geos_c`.
* Add basic uninstall target
* Add basic client example configured with CMake to use GEOS targets.
}}}
Both winnie and appveyor are broken
On Winnie (which is running mingw64, but using general windows compiled
cmake) I get this - FWIW the cmake version in use is CMake 3.12.1 on
winnie.
I'll upgrade to see if it fixes the issue.
{{{
-- The C compiler identification is GNU 8.1.0
-- The CXX compiler identification is GNU 8.1.0
-- Check for working C compiler: C:/ming64gcc81/mingw64/bin/gcc.exe
-- Check for working C compiler: C:/ming64gcc81/mingw64/bin/gcc.exe --
works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/ming64gcc81/mingw64/bin/g++.exe
-- Check for working CXX compiler: C:/ming64gcc81/mingw64/bin/g++.exe --
works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- GEOS: Version 3.8.0-dev
-- GEOS: C API soversion
-- GEOS: JTS port 1.13.0
-- GEOS: Require C++11
-- GEOS: Developer mode enabled
-- Configuring done
-- Generating done
:
Unable to find executable:
E:/jenkins/geos/branches/build64cmake/tests/perf/operation/predicate/test_perf_rectangle_intersects.exe
6/7 Test #6: test_perf_rectangle_intersects ...***Not Run 0.00 sec
Start 7: test_perf_memleak_mp_prep
Could not find executable
E:/jenkins/geos/branches/build64cmake/tests/perf/capi/test_perf_memleak_mp_prep.exe
Looked in the following places:
E:/jenkins/geos/branches/build64cmake/tests/perf/capi/test_perf_memleak_mp_prep.exe
E:/jenkins/geos/branches/build64cmake/tests/perf/capi/test_perf_memleak_mp_prep.exe.exe
E:/jenkins/geos/branches/build64cmake/tests/perf/capi/Release/test_perf_memleak_mp_prep.exe
E:/jenkins/geos/branches/build64cmake/tests/perf/capi/Release/test_perf_memleak_mp_prep.exe.exe
E:/jenkins/geos/branches/build64cmake/tests/perf/capi/Debug/test_perf_memleak_mp_prep.exe
E:/jenkins/geos/branches/build64cmake/tests/perf/capi/Debug/test_perf_memleak_mp_prep.exe.exe
E:/jenkins/geos/branches/build64cmake/tests/perf/capi/MinSizeRel/test_perf_memleak_mp_prep.exe
E:/jenkins/geos/branches/build64cmake/tests/perf/capi/MinSizeRel/test_perf_memleak_mp_prep.exe.exe
E:/jenkins/geos/branches/build64cmake/tests/perf/capi/RelWithDebInfo/test_perf_memleak_mp_prep.exe
E:/jenkins/geos/branches/build64cmake/tests/perf/capi/RelWithDebInfo/test_perf_memleak_mp_prep.exe.exe
E:/jenkins/geos/branches/build64cmake/tests/perf/capi/Deployment/test_perf_memleak_mp_prep.exe
E:/jenkins/geos/branches/build64cmake/tests/perf/capi/Deployment/test_perf_memleak_mp_prep.exe.exe
E:/jenkins/geos/branches/build64cmake/tests/perf/capi/Development/test_perf_memleak_mp_prep.exe
E:/jenkins/geos/branches/build64cmake/tests/perf/capi/Development/test_perf_memleak_mp_prep.exe.exe
Unable to find executable:
E:/jenkins/geos/branches/build64cmake/tests/perf/capi/test_perf_memleak_mp_prep.exe
7/7 Test #7: test_perf_memleak_mp_prep ........***Not Run 0.00 sec
0% tests passed, 7 tests failed out of 7
Total Test time (real) = 0.04 sec
The following tests FAILED:
1 - test_geos_unit (Not Run)
2 - test_xmltester (Not Run)
3 - test_bug234 (Not Run)
4 - test_perf_class_sizes (Not Run)
5 - test_perf_iterated_buffer (Not Run)
6 - test_perf_rectangle_intersects (Not Run)
7 - test_perf_memleak_mp_prep (Not Run)
Errors while running CTest
make[3]: *** [tests/CMakeFiles/check.dir/build.make:57:
tests/CMakeFiles/check] Error 8
make[2]: *** [CMakeFiles/Makefile2:1190: tests/CMakeFiles/check.dir/all]
Error 2
make[1]: *** [CMakeFiles/Makefile2:1197: tests/CMakeFiles/check.dir/rule]
Error 2
make: *** [Makefile:591: check] Error 2
}}}
Appveyor's issue seems to be just complain about too old a version.
Version needed is 3.14 or higher, which is odd I didn't get the same
warning on winnie so maybe that's a VS only check.
{{{
uild started
Write-Host "Building GEOS branch: $env:APPVEYOR_REPO_BRANCH"
-ForegroundColor Magenta
Building GEOS branch: master
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" if
"%GENERATOR%"=="NMake Makefiles" if "%PLATFORM%"=="x86" call "C:\Program
Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" if
"%GENERATOR%"=="NMake Makefiles" if "%PLATFORM%"=="x64" call "C:\Program
Files (x86)\Microsoft Visual
Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" if
"%GENERATOR%"=="NMake Makefiles" if "%PLATFORM%"=="x86" call "C:\Program
Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" if
"%GENERATOR%"=="NMake Makefiles" if "%PLATFORM%"=="x64" call "C:\Program
Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" if
"%GENERATOR%"=="NMake Makefiles" if "%PLATFORM%"=="x64" call "C:\Program
Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64
Fetching repository commit (b15fd11)...OK
Total: 10.1 MB in 1247 files
Write-Host "Running $env:BUILDER with $env:GENERATOR" -ForegroundColor
Magenta
Running CMake with Visual Studio 15 2017 Win64
if "%BUILDER%"=="CMake" cmake.exe -G "%GENERATOR%"
-DCMAKE_BUILD_TYPE=%CONFIGURATION% %APPVEYOR_BUILD_FOLDER%
CMake Error at CMakeLists.txt:18 (cmake_minimum_required):
CMake 3.14 or higher is required. You are running version 3.13.3
-- Configuring incomplete, errors occurred!
}}}
--
Ticket URL: <https://trac.osgeo.org/geos/ticket/970>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list