Omr: AppVeyor builds are failling due to an error running cmake

Created on 12 Feb 2019  路  7Comments  路  Source: eclipse/omr

AppVeyor builds seem to be failing consistently with the following output:

Build started
Fetching repository commit (e7f9916)...OK
Total: 43.5 MB in 3109 files
Running Install scripts
cinst winflexbison
Chocolatey v0.10.11
Installing the following packages:
winflexbison
By installing you accept licenses for the packages.
Progress: Downloading winflexbison 2.4.9.20170215... 100%
winflexbison v2.4.9.20170215 [Approved]
winflexbison package files install completed. Performing other installation steps.
WARNING: Url has SSL/TLS available, switching to HTTPS for download
Downloading winflexbison 
  from 'https://sourceforge.net/projects/winflexbison/files/old_versions/win_flex_bison-2.4.9.zip'
Progress: 100% - Completed download of C:\Users\appveyor\AppData\Local\Temp\1\chocolatey\winflexbison\2.4.9.20170215\win_flex_bison-2.4.9.zip (683.24 KB).
Download of win_flex_bison-2.4.9.zip (683.24 KB) completed.
Hashes match.
Extracting C:\Users\appveyor\AppData\Local\Temp\1\chocolatey\winflexbison\2.4.9.20170215\win_flex_bison-2.4.9.zip to C:\ProgramData\chocolatey\lib\winflexbison\tools...
C:\ProgramData\chocolatey\lib\winflexbison\tools
 ShimGen has successfully created a shim for win_bison.exe
 ShimGen has successfully created a shim for win_flex.exe
 The install of winflexbison was successful.
  Software installed to 'C:\ProgramData\chocolatey\lib\winflexbison\tools'
Chocolatey installed 1/1 packages. 
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
del "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets"
set PATH=C:\Python37;%PATH%
cmake -Wdev -G "Visual Studio 11 2012" -DOMR_ENV_DATA32=ON -Ccmake\caches\Appveyor.cmake.
CMake Error: No source or binary directory provided
Command exited with code 1

For example: https://ci.appveyor.com/project/eclipsewebmaster/omr

bug ci

All 7 comments

to me, it looks like we're losing a space before the dot at the end of this line:

cmake -Wdev -G "Visual Studio 11 2012" -DOMR_ENV_DATA32=ON -Ccmake\caches\Appveyor.cmake.

But it's been this way in the appveyor config for ~2 years (since https://github.com/eclipse/omr/commit/d475533510163216fe45bca515a6759416aa0425), so that's maybe not the issue.

Cmake was updated to 3.13 yesterday (feb 11 2019). Check out the release notes:

CMake now checks that at least one of the source or binary directory is specified when running CMake

I'll leave it up to you to open the PR 馃榿

How about you open the PR and I merge it :grin:

Deal

Was this page helpful?
0 / 5 - 0 ratings