Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appveyor build is broken #22476

Closed
CYBAI opened this issue Dec 16, 2018 · 2 comments
Closed

Appveyor build is broken #22476

CYBAI opened this issue Dec 16, 2018 · 2 comments

Comments

@CYBAI
Copy link
Collaborator

@CYBAI CYBAI commented Dec 16, 2018

Currently, clang for Appveyor is 6.0.0 and the error message shows that we need a newer version

TARGET = Some("x86_64-pc-windows-msvc")
running: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX64\\x64\\lib.exe" "/OUT:C:\\projects\\servo\\target\\debug\\build\\mozjs_sys-0c9b40496f94e80f\\out\\libjsglue.a" "/nologo" "C:\\projects\\servo\\target\\debug\\build\\mozjs_sys-0c9b40496f94e80f\\out\\src\\jsglue.o"
exit code: 0
TARGET = Some("x86_64-pc-windows-msvc")
HOST = Some("x86_64-pc-windows-msvc")
TARGET = Some("x86_64-pc-windows-msvc")
TARGET = Some("x86_64-pc-windows-msvc")
HOST = Some("x86_64-pc-windows-msvc")
CXX_x86_64-pc-windows-msvc = None
CXX_x86_64_pc_windows_msvc = None
HOST_CXX = None
CXX = None
cargo:rustc-link-lib=static=jsglue
cargo:rustc-link-search=native=C:\projects\servo\target\debug\build\mozjs_sys-0c9b40496f94e80f\out
TARGET = Some("x86_64-pc-windows-msvc")
HOST = Some("x86_64-pc-windows-msvc")
CXXSTDLIB_x86_64-pc-windows-msvc = None
CXXSTDLIB_x86_64_pc_windows_msvc = None
HOST_CXXSTDLIB = None
CXXSTDLIB = None
TARGET = Some("x86_64-pc-windows-msvc")
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-0c9b40496f94e80f\\out\\dist/include", "-I", "C:\\projects\\servo\\target\\debug\\build\\mozjs_sys-0c9b40496f94e80f\\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-0c9b40496f94e80f\\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.66s
RecursiveMake backend executed in 0.21s
  126 total backend files; 126 created; 0 updated; 0 unchanged; 0 deleted; 6 -> 31 Makefile
Total wall time: 1.13s; CPU time: 1.13s; 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
thread 'main' panicked at 'Should generate JSAPI bindings OK: ()', libcore\result.rs:1009:5
stack backtrace:
   0: <std::sync::barrier::BarrierWaitResult as core::fmt::Debug>::fmt
   1: <std::path::Iter<'a> as core::convert::AsRef<std::path::Path>>::as_ref
   2: std::panicking::take_hook
   3: std::panicking::take_hook
   4: std::panicking::rust_panic_with_hook
   5: std::panicking::begin_panic_fmt
   6: rust_begin_unwind
   7: core::panicking::panic_fmt
   8: core::result::unwrap_failed<()>
             at \libcore\macros.rs:26
   9: core::result::Result<bindgen::Bindings, ()>::expect<bindgen::Bindings,()>
             at \libcore\result.rs:835
  10: build_script_build::build_jsapi_bindings
             at .\build.rs:251
  11: build_script_build::main
             at .\build.rs:22
  12: std::rt::lang_start::{{closure}}<()>
             at \libstd\rt.rs:74
  13: std::panicking::update_panic_count
  14: _rust_maybe_catch_panic
  15: std::rt::lang_start_internal
  16: std::rt::lang_start<()>
             at \libstd\rt.rs:74
  17: main
  18: invoke_main
             at d:\agent\_work\3\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:78
  19: invoke_main
             at d:\agent\_work\3\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:78
  20: BaseThreadInitThunk
  21: RtlUserThreadStart
@jdm
Copy link
Member

@jdm jdm commented Dec 31, 2018

This appears to have changed suddenly ~18 days ago, and not caused by any PR that merged at that time.

bors-servo added a commit that referenced this issue Jan 2, 2019
Fix appveyor build

Attempting to fix #22476.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22582)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Jan 2, 2019
Fix appveyor build

Attempting to fix #22476.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22582)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants
You can’t perform that action at this time.