Closed Bug 1446311 Opened 6 years ago Closed 6 years ago

make[2]: *** [compile] Error 2 after Compiling gkrust

Categories

(Firefox Build System :: General, defect)

3 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1445631

People

(Reporter: nataliaCs, Unassigned)

Details

Failure: https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=125203e8a2d59954d765cc3292224eb647c46489&selectedJob=168235681

Failure log: https://taskcluster-artifacts.net/F1KQuwYvQyiKj8kXoBoRRg/1/public/logs/live_backing.log 

[task 2018-03-15T15:40:51.377Z] 15:40:51     INFO -     Compiling gkrust v0.1.0 (file:///builds/worker/workspace/build/src/toolkit/library/rust)
[task 2018-03-15T15:40:51.377Z] 15:40:51     INFO -       Running `/builds/worker/workspace/build/src/sccache2/sccache /builds/worker/workspace/build/src/rustc/bin/rustc --crate-name gkrust toolkit/library/rust/lib.rs --crate-type staticlib --emit=dep-info,link -C opt-level=1 -C panic=abort -C debuginfo=2 -C debug-assertions=on --cfg 'feature="bindgen"' --cfg 'feature="cubeb-remoting"' --cfg 'feature="cubeb_pulse_rust"' --cfg 'feature="gecko_debug"' --cfg 'feature="gkrust-shared"' --cfg 'feature="no-static-ideograph-encoder-tables"' --cfg 'feature="quantum_render"' --cfg 'feature="servo"' --cfg 'feature="simd-accel"' -C metadata=c14e5431d2648a34 -C extra-filename=-c14e5431d2648a34 --out-dir /builds/worker/workspace/build/src/obj-firefox/toolkit/library/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C linker=/builds/worker/workspace/build/src/build/cargo-linker -L dependency=/builds/worker/workspace/build/src/obj-firefox/toolkit/library/x86_64-unknown-linux-gnu/debug/deps -L dependency=/builds/worker/workspace/build/src/obj-firefox/toolkit/library/debug/deps --extern gkrust_shared=/builds/worker/workspace/build/src/obj-firefox/toolkit/library/x86_64-unknown-linux-gnu/debug/deps/libgkrust_shared-afb57b1962ed3ed3.rlib -C opt-level=2 -C debuginfo=2`
[task 2018-03-15T15:40:51.377Z] 15:40:51     INFO -      Finished dev [optimized + debuginfo] target(s) in 3.8 secs
[task 2018-03-15T15:40:51.377Z] 15:40:51     INFO -  make[4]: Leaving directory '/builds/worker/workspace/build/src/obj-firefox/toolkit/library/rust'
[task 2018-03-15T15:40:51.377Z] 15:40:51     INFO -  /builds/worker/workspace/build/src/config/recurse.mk:32: recipe for target 'compile' failed
[task 2018-03-15T15:40:51.377Z] 15:40:51     INFO -  make[2]: *** [compile] Error 2
[task 2018-03-15T15:40:51.377Z] 15:40:51     INFO -  /builds/worker/workspace/build/src/config/rules.mk:434: recipe for target 'default' failed
[task 2018-03-15T15:40:51.377Z] 15:40:51     INFO -  make[1]: *** [default] Error 2
[task 2018-03-15T15:40:51.377Z] 15:40:51     INFO -  client.mk:168: recipe for target 'build' failed
[task 2018-03-15T15:40:51.377Z] 15:40:51     INFO -  make: *** [build] Error 2
[task 2018-03-15T15:40:51.378Z] 15:40:51     INFO -  144 compiler warnings present.
[task 2018-03-15T15:40:51.447Z] 15:40:51    ERROR - Return code: 2
[task 2018-03-15T15:40:51.447Z] 15:40:51  WARNING - setting return code to 2
[task 2018-03-15T15:40:51.447Z] 15:40:51    FATAL - 'mach build' did not run successfully. Please check log for errors.
[task 2018-03-15T15:40:51.447Z] 15:40:51    FATAL - Running post_fatal callback...
[task 2018-03-15T15:40:51.447Z] 15:40:51    FATAL - Exiting -1
[task 2018-03-15T15:40:51.447Z] 15:40:51     INFO - [mozharness: 2018-03-15 15:40:51.447663Z] Finished build step (failed)
[task 2018-03-15T15:40:51.447Z] 15:40:51     INFO - Running post-run listener: _summarize
[task 2018-03-15T15:40:51.447Z] 15:40:51    ERROR - # TBPL FAILURE #
[task 2018-03-15T15:40:51.448Z] 15:40:51     INFO - [mozharness: 2018-03-15 15:40:51.448033Z] FxDesktopBuild summary:
[task 2018-03-15T15:40:51.448Z] 15:40:51    ERROR - # TBPL FAILURE #
[task 2018-03-15T15:40:51.448Z] 15:40:51     INFO - Running post-run listener: copy_logs_to_upload_dir
[task 2018-03-15T15:40:51.448Z] 15:40:51     INFO - Copying logs to upload dir...
[task 2018-03-15T15:40:51.448Z] 15:40:51     INFO - mkdir: /builds/worker/workspace/build/upload/logs
[task 2018-03-15T15:40:51.448Z] 15:40:51    DEBUG - Copying /builds/worker/logs/localconfig.json to /builds/worker/workspace/build/upload/logs/localconfig.json
[task 2018-03-15T15:40:51.449Z] 15:40:51    DEBUG - mkdir_p: /builds/worker/workspace/build/upload/logs Already exists.
[task 2018-03-15T15:40:51.449Z] 15:40:51    DEBUG - Copying /builds/worker/logs/log_info.log to /builds/worker/workspace/build/upload/logs/log_info.log
[task 2018-03-15T15:40:51.453Z] 15:40:51    DEBUG - mkdir_p: /builds/worker/workspace/build/upload/logs Already exists.
[task 2018-03-15T15:40:51.454Z] 15:40:51    DEBUG - Copying /builds/worker/logs/log_raw.log to /builds/worker/workspace/build/upload/logs/log_raw.log
[task 2018-03-15T15:40:51.458Z] 15:40:51    DEBUG - mkdir_p: /builds/worker/workspace/build/upload/logs Already exists.
[task 2018-03-15T15:40:51.458Z] 15:40:51    DEBUG - Copying /builds/worker/logs/log_warning.log to /builds/worker/workspace/build/upload/logs/log_warning.log
[task 2018-03-15T15:40:51.458Z] 15:40:51    DEBUG - mkdir_p: /builds/worker/workspace/build/upload/logs Already exists.
[task 2018-03-15T15:40:51.459Z] 15:40:51    DEBUG - Copying /builds/worker/logs/log_critical.log to /builds/worker/workspace/build/upload/logs/log_critical.log
[task 2018-03-15T15:40:51.459Z] 15:40:51    DEBUG - mkdir_p: /builds/worker/workspace/build/upload/logs Already exists.
[task 2018-03-15T15:40:51.459Z] 15:40:51    DEBUG - Copying /builds/worker/logs/log_error.log to /builds/worker/workspace/build/upload/logs/log_error.log
[task 2018-03-15T15:40:51.459Z] 15:40:51    DEBUG - mkdir_p: /builds/worker/workspace/build/upload/logs Already exists.
[task 2018-03-15T15:40:51.459Z] 15:40:51    DEBUG - Copying /builds/worker/logs/log_debug.log to /builds/worker/workspace/build/upload/logs/log_debug.log
[task 2018-03-15T15:40:51.464Z] 15:40:51    DEBUG - mkdir_p: /builds/worker/workspace/build/upload/logs Already exists.
[task 2018-03-15T15:40:51.464Z] 15:40:51    DEBUG - Copying /builds/worker/logs/log_fatal.log to /builds/worker/workspace/build/upload/logs/log_fatal.log
[task 2018-03-15T15:40:51.471Z] cleanup
[task 2018-03-15T15:40:51.471Z] + cleanup
[task 2018-03-15T15:40:51.471Z] + local rv=255
[task 2018-03-15T15:40:51.471Z] + cleanup_xvfb
[task 2018-03-15T15:40:51.472Z] pidof Xvfb
[task 2018-03-15T15:40:51.472Z] ++ pidof Xvfb
[task 2018-03-15T15:40:51.474Z] + local xvfb_pid=49
[task 2018-03-15T15:40:51.474Z] + local vnc=false
[task 2018-03-15T15:40:51.474Z] + local interactive=false
[task 2018-03-15T15:40:51.474Z] + '[' -n 49 ']'
[task 2018-03-15T15:40:51.474Z] + [[ false == false ]]
[task 2018-03-15T15:40:51.474Z] + [[ false == false ]]
[task 2018-03-15T15:40:51.474Z] + kill 49
[task 2018-03-15T15:40:51.474Z] + screen -XS xvfb quit
[task 2018-03-15T15:40:51.624Z] No screen session found.
[task 2018-03-15T15:40:51.624Z] + true
[task 2018-03-15T15:40:51.624Z] + exit 255
[taskcluster 2018-03-15 15:40:51.991Z] === Task Finished ===
[taskcluster 2018-03-15 15:40:52.806Z] Unsuccessful task run with exit code: 255 completed in 344.067 seconds
I don't know if the Treeherder error parser isn't picking this up properly, but further up in the log you'll find:
[task 2018-03-15T15:39:58.972Z] 15:39:58     INFO -  thread 'main' panicked at 'failed to shut down worker thread', /builds/worker/.cargo/registry/src/github.com-1ecc6299db9ec823/jobserver-0.1.9/src/lib.rs:650:17
[task 2018-03-15T15:39:58.972Z] 15:39:58     INFO -  note: Run with `RUST_BACKTRACE=1` for a backtrace.
[task 2018-03-15T15:39:58.972Z] 15:39:58     INFO -  /builds/worker/workspace/build/src/config/rules.mk:1045: recipe for target 'Unified_cpp_gfx_tests_gtest1.o' failed
[task 2018-03-15T15:39:58.972Z] 15:39:58     INFO -  make[4]: *** [Unified_cpp_gfx_tests_gtest1.o] Error 101

Which is the actual error here.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Version: Version 3 → 3 Branch
You need to log in before you can comment on or make changes to this bug.