Opened 6 years ago
Closed 5 years ago
#907 closed defect (fixed)
travis failing on 3.5.2 CMAKE clang
Reported by: | robe | Owned by: | robe |
---|---|---|---|
Priority: | major | Milestone: | 3.5.2 |
Component: | Buildbots | Version: | 3.6.2 |
Severity: | Unassigned | Keywords: | |
Cc: |
Description
It seems to be just the CMAKE clang builds on travis failing
https://travis-ci.com/libgeos/geos/jobs/138223897
with error:
[ 82%] Building CXX object tests/unit/CMakeFiles/geos_unit.dir/algorithm/AngleTest.cpp.o In file included from /home/travis/build/libgeos/geos/tests/unit/algorithm/AngleTest.cpp:5: In file included from /home/travis/build/libgeos/geos/tests/unit/tut/tut.hpp:18: In file included from /home/travis/build/libgeos/geos/tests/unit/tut/tut_exception.hpp:5: /home/travis/build/libgeos/geos/tests/unit/tut/tut_result.hpp:13:15: error: use of undeclared identifier 'getpid'; did you mean 'getpt'? : pid(getpid()) ^~~~~~ getpt /usr/include/stdlib.h:944:12: note: 'getpt' declared here extern int getpt (void); ^ 1 error generated. make[2]: *** [tests/unit/CMakeFiles/geos_unit.dir/algorithm/AngleTest.cpp.o] Error 1 make[1]: *** [tests/unit/CMakeFiles/geos_unit.dir/all] Error 2 make: *** [all] Error 2
{ "os": "linux", "env": "GEOS_BUILD_TOOL=cmake CFLAGS=-m32 CXXFLAGS=-m32", "dist": "trusty", "sudo": false, "group": "stable", "addons": { "apt": { "packages": [ "gcc-multilib", "g++-multilib", "cmake", "make" ] } }, "script": "./tools/ci/script.sh", "compiler": "clang", "language": "cpp" }
and
{
"os": "linux", "env": "GEOS_BUILD_TOOL=cmake CFLAGS=-m64 CXXFLAGS=-m64", "dist": "trusty", "sudo": false, "group": "stable", "addons": {
"apt": {
"packages": [
"gcc-multilib", "g++-multilib", "cmake", "make"
]
}
}, "script": "./tools/ci/script.sh", "compiler": "clang", "language": "cpp"
}
But these cmake ones work fine:
{ "os": "linux", "env": "GEOS_BUILD_TOOL=cmake CFLAGS=-m32 CXXFLAGS=-m32", "dist": "trusty", "sudo": false, "group": "stable", "addons": { "apt": { "packages": [ "gcc-multilib", "g++-multilib", "cmake", "make" ] } }, "script": "./tools/ci/script.sh", "compiler": "g++", "language": "cpp" } { "os": "linux", "env": "GEOS_BUILD_TOOL=cmake CFLAGS=-m64 CXXFLAGS=-m64", "dist": "trusty", "sudo": false, "group": "stable", "addons": { "apt": { "packages": [ "gcc-multilib", "g++-multilib", "cmake", "make" ] } }, "script": "./tools/ci/script.sh", "compiler": "g++", "language": "cpp" }
Change History (5)
comment:1 by , 5 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 5 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:3 by , 5 years ago
comment:5 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Note:
See TracTickets
for help on using tickets.
In e907dee1/git: