clang 6 suddenly appeared on path

Josh Matthews's Avatar

Josh Matthews

31 Dec, 2018 07:13 PM

Builds for Servo (https://ci.appveyor.com/project/servo/servo/) suddenly started failing ~18 days ago because part of the build on Windows expects clang >= 7 and now found clang 6. No PR that merged at that time contained any relevant changes to the appveyor config or build system. The error looks like this:
```
Generting bindings ["./src/jsglue.hpp", "--rust-target", "1.25", "--rustified-enum", ".*", "--no-derive-default", "--enable-cxx-namespaces", "--generate", "functions,types,vars", "--ignore-methods", "--", "-I", "C:\\projects\\servo\\target\\debug\\build\\mozjs_sys-58aeff6814e21049\\out\\dist/include", "-I", "C:\\projects\\servo\\target\\debug\\build\\mozjs_sys-58aeff6814e21049\\out\\js/src", "-x", "c++", "-fms-compatibility", "-DRUST_BINDGEN", "-DSTATIC_JS_API", "-std=c++14", "-DWIN32", "-D_CRT_USE_BUILTIN_OFFSETOF", "-include", "C:\\projects\\servo\\target\\debug\\build\\mozjs_sys-58aeff6814e21049\\out\\js/src/js-confdefs.h", "--rustfmt-configuration-file", "rustfmt.toml"] clang version 6.0.0 (tags/RELEASE_600/final).
--- stderr
which: python2.7: unknown command
Creating config.status
Reticulating splines...
Finished reading 38 moz.build files in 0.17s
Read 0 gyp files in parallel contributing 0.00s to total wall time
Processed into 182 build config descriptors in 0.62s
RecursiveMake backend executed in 0.22s
  126 total backend files; 126 created; 0 updated; 0 unchanged; 0 deleted; 6 -> 31 Makefile
Total wall time: 1.10s; CPU time: 1.10s; Efficiency: 100%; Untracked: 0.08s
Microsoft (R) C/C++ Optimizing Compiler Version 19.16.27025.1 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
self-hosting-cpp-input.cpp
   Creating library nspr4.lib and object nspr4.exp
   Creating library plds4.lib and object plds4.exp
   Creating library plc4.lib and object plc4.exp
   Creating library mozjs-60.lib and object mozjs-60.exp
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\yvals_core.h:294:5: error: STL1000: Unexpected compiler version, expected Clang 7 or newer.
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\yvals_core.h:294:5: error: STL1000: Unexpected compiler version, expected Clang 7 or newer., err: true
```
This has since occurred on every single appveyor build. https://www.appveyor.com/docs/windows-images-software/#llvm doesn't even mention llvm 6, so I'm confused what's happening here.

  1. 1 Posted by Josh Matthews on 31 Dec, 2018 07:15 PM

    Josh Matthews's Avatar

    We're using "image: Visual Studio 2017"; I tried changing it to the previous image today but it did not make a difference.

  2. Support Staff 2 Posted by Ilya Finkelshte... on 31 Dec, 2018 10:43 PM

    Ilya Finkelshteyn's Avatar

    Hi Josh,

    Can you please try to rebuild last successful commit to exclude the possibility of commit-related issue? For that you can open https://ci.appveyor.com/project/servo/servo/builds/20991465 and press RE-BUILD PR.

    Please let us know the results.

    Ilya.

  3. Support Staff 3 Posted by Ilya Finkelshte... on 31 Dec, 2018 11:22 PM

    Ilya Finkelshteyn's Avatar

    Please disregard my last post. I looked deeper into your last good and first failed builds and realized that one is before and another is right after last Visual Studio 2017 image update.

    Your attempt to use "Previous" failed not because of Clang version issue, but because build hit the 90 minutes timeout. Please try again, we increased that timeout to 100 minutes for you.

    Let us know how it goes.

    Created https://github.com/appveyor/ci/issues/2794 to track this.

  4. 4 Posted by Josh Matthews on 02 Jan, 2019 06:27 AM

    Josh Matthews's Avatar

    You're right, the latest build with the previous image worked correctly. Thanks for pointing that out!

  5. 5 Posted by Josh Matthews on 21 Jan, 2019 07:27 PM

    Josh Matthews's Avatar

    We have investigated and determined that this is an issue in our particular setup, not with the image itself: https://github.com/servo/servo/issues/22636#issuecomment-454218247 .

  6. Support Staff 6 Posted by Ilya Finkelshte... on 21 Jan, 2019 07:55 PM

    Ilya Finkelshteyn's Avatar

    Thank you :)

  7. Ilya Finkelshteyn closed this discussion on 21 Jan, 2019 07:55 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

21 Aug, 2019 11:06 PM
21 Aug, 2019 02:08 PM
21 Aug, 2019 01:37 PM
21 Aug, 2019 10:21 AM
21 Aug, 2019 09:10 AM

 

21 Aug, 2019 05:56 AM
21 Aug, 2019 03:08 AM
20 Aug, 2019 11:33 PM
20 Aug, 2019 08:07 PM
20 Aug, 2019 05:50 PM
20 Aug, 2019 12:35 PM