Started by user guillermo.polito@inria.fr > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to https://gitlab.inria.fr/RMOD/libgit-build.git > git config remote.origin.url https://gitlab.inria.fr/RMOD/libgit-build.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git config --get remote.origin.url # timeout=10 > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* Seen branch in repository origin/master Seen 1 remote branch Obtained Jenkinsfile from a63bdc13d355ad2d57d22f45fcd4bd8d1db2fb8b Running in Durability level: MAX_SURVIVABILITY [Pipeline] node Running on windows in E:\Builds\workspace\libgit-build_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://gitlab.inria.fr/RMOD/libgit-build.git # timeout=10 Fetching without tags Fetching upstream changes from https://gitlab.inria.fr/RMOD/libgit-build.git > git --version # timeout=10 > git fetch --no-tags --progress https://gitlab.inria.fr/RMOD/libgit-build.git +refs/heads/*:refs/remotes/origin/* Checking out Revision a63bdc13d355ad2d57d22f45fcd4bd8d1db2fb8b (master) > git config core.sparsecheckout # timeout=10 > git checkout -f a63bdc13d355ad2d57d22f45fcd4bd8d1db2fb8b Commit message: "should build libgit2" > git rev-list --no-walk bd05fc96238458be10b702be265d1e1008ecbd65 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Clone) [Pipeline] sh + git clone https://github.com/libgit2/libgit2.git libgit2 Cloning into 'libgit2'... Checking out files: 34% (3532/10364) Checking out files: 35% (3628/10364) Checking out files: 36% (3732/10364) Checking out files: 37% (3835/10364) Checking out files: 38% (3939/10364) Checking out files: 39% (4042/10364) Checking out files: 40% (4146/10364) Checking out files: 41% (4250/10364) Checking out files: 42% (4353/10364) Checking out files: 43% (4457/10364) Checking out files: 44% (4561/10364) Checking out files: 45% (4664/10364) Checking out files: 46% (4768/10364) Checking out files: 47% (4872/10364) Checking out files: 48% (4975/10364) Checking out files: 49% (5079/10364) Checking out files: 50% (5182/10364) Checking out files: 51% (5286/10364) Checking out files: 52% (5390/10364) Checking out files: 53% (5493/10364) Checking out files: 54% (5597/10364) Checking out files: 55% (5701/10364) Checking out files: 56% (5804/10364) Checking out files: 57% (5908/10364) Checking out files: 58% (6012/10364) Checking out files: 59% (6115/10364) Checking out files: 60% (6219/10364) Checking out files: 61% (6323/10364) Checking out files: 62% (6426/10364) Checking out files: 63% (6530/10364) Checking out files: 64% (6633/10364) Checking out files: 65% (6737/10364) Checking out files: 66% (6841/10364) Checking out files: 67% (6944/10364) Checking out files: 68% (7048/10364) Checking out files: 69% (7152/10364) Checking out files: 70% (7255/10364) Checking out files: 71% (7359/10364) Checking out files: 71% (7458/10364) Checking out files: 72% (7463/10364) Checking out files: 73% (7566/10364) Checking out files: 74% (7670/10364) Checking out files: 75% (7773/10364) Checking out files: 76% (7877/10364) Checking out files: 77% (7981/10364) Checking out files: 78% (8084/10364) Checking out files: 79% (8188/10364) Checking out files: 80% (8292/10364) Checking out files: 81% (8395/10364) Checking out files: 82% (8499/10364) Checking out files: 83% (8603/10364) Checking out files: 84% (8706/10364) Checking out files: 85% (8810/10364) Checking out files: 86% (8914/10364) Checking out files: 87% (9017/10364) Checking out files: 88% (9121/10364) Checking out files: 89% (9224/10364) Checking out files: 90% (9328/10364) Checking out files: 91% (9432/10364) Checking out files: 92% (9535/10364) Checking out files: 93% (9639/10364) Checking out files: 94% (9743/10364) Checking out files: 95% (9846/10364) Checking out files: 96% (9950/10364) Checking out files: 97% (10054/10364) Checking out files: 98% (10157/10364) Checking out files: 99% (10261/10364) Checking out files: 100% (10364/10364) Checking out files: 100% (10364/10364), done. [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh + mkdir -p libgit2/build [Pipeline] dir Running in E:\Builds\workspace\libgit-build_master\libgit2\build [Pipeline] { [Pipeline] sh + cmake .. -- The C compiler identification is GNU 8.1.0 CMake Warning at /usr/share/cmake-3.14.5/Modules/Platform/CYGWIN.cmake:15 (message): CMake no longer defines WIN32 on Cygwin! (1) If you are just trying to build this project, ignore this warning or quiet it by setting CMAKE_LEGACY_CYGWIN_WIN32=0 in your environment or in the CMake cache. If later configuration or build errors occur then this project may have been written under the assumption that Cygwin is WIN32. In that case, set CMAKE_LEGACY_CYGWIN_WIN32=1 instead. (2) If you are developing this project, add the line set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required at the top of your top-level CMakeLists.txt file or set the minimum required version of CMake to 2.8.4 or higher. Then teach your project to build on Cygwin without WIN32. Call Stack (most recent call first): /usr/share/cmake-3.14.5/Modules/CMakeSystemSpecificInformation.cmake:26 (include) CMakeLists.txt:14 (PROJECT) -- Check for working C compiler: /cygdrive/c/Program Files/mingw-w64/x86_64-8.1.0-win32-seh-rt_v6-rev0/mingw64/bin/gcc.exe -- Check for working C compiler: /cygdrive/c/Program Files/mingw-w64/x86_64-8.1.0-win32-seh-rt_v6-rev0/mingw64/bin/gcc.exe -- broken CMake Error at /usr/share/cmake-3.14.5/Modules/CMakeTestCCompiler.cmake:60 (message): The C compiler "/cygdrive/c/Program Files/mingw-w64/x86_64-8.1.0-win32-seh-rt_v6-rev0/mingw64/bin/gcc.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: /cygdrive/e/Builds/workspace/libgit-build_master/libgit2/build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/make.exe cmTC_dbee2/fast /usr/bin/make -f CMakeFiles/cmTC_dbee2.dir/build.make CMakeFiles/cmTC_dbee2.dir/build make[1]: Entering directory '/cygdrive/e/Builds/workspace/libgit-build_master/libgit2/build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_dbee2.dir/testCCompiler.c.o "/cygdrive/c/Program Files/mingw-w64/x86_64-8.1.0-win32-seh-rt_v6-rev0/mingw64/bin/gcc.exe" -o CMakeFiles/cmTC_dbee2.dir/testCCompiler.c.o -c /cygdrive/e/Builds/workspace/libgit-build_master/libgit2/build/CMakeFiles/CMakeTmp/testCCompiler.c gcc.exe: error: /cygdrive/e/Builds/workspace/libgit-build_master/libgit2/build/CMakeFiles/CMakeTmp/testCCompiler.c: No such file or directory gcc.exe: fatal error: no input files compilation terminated. make[1]: *** [CMakeFiles/cmTC_dbee2.dir/build.make:66: CMakeFiles/cmTC_dbee2.dir/testCCompiler.c.o] Error 1 make[1]: Leaving directory '/cygdrive/e/Builds/workspace/libgit-build_master/libgit2/build/CMakeFiles/CMakeTmp' make: *** [Makefile:121: cmTC_dbee2/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:14 (PROJECT) -- Configuring incomplete, errors occurred! See also "/cygdrive/e/Builds/workspace/libgit-build_master/libgit2/build/CMakeFiles/CMakeOutput.log". See also "/cygdrive/e/Builds/workspace/libgit-build_master/libgit2/build/CMakeFiles/CMakeError.log". [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 1 Finished: FAILURE