Closed Bug 1495314 Opened 6 years ago Closed 6 years ago

error: no such file or directory: '../rust/x86_64-unknown-linux-gnu/release/libjsrust.a' when building with Tup

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox64 fixed)

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: botond, Assigned: chmanchester)

Details

Attachments

(1 file)

When I try to build recent m-c with Tup, I get the following error. Clobbering doesn't help.

The same revision builds fine with a non-Tup build.

28:09.76 * ~98%   16) central/objdir-desktop-clang/js/src/jsapi-tests: LINK ../../../dist/bin/jsapi-tests
28:09.76 clang: error: no such file or directory: '../rust/x86_64-unknown-linux-gnu/release/libjsrust.a'
28:09.76  *** tup messages ***
28:09.77  *** Command ID=6183625 failed with return value 1
28:09.77  ~98%   15) [0.318s] central/objdir-desktop-clang/testing/mochitest/ssltunnel: LINK ../../../dist/bin/ssltunnel
28:09.77  ~99%   14) [0.319s] central/objdir-desktop-clang/security/nss/cmd/shlibsign/shlibsign_shlibsign: LINK ../../../../../dist/bin/shlibsign
28:09.77  ~99%   13) [0.320s] central/objdir-desktop-clang/security/nss/cmd/modutil/modutil_modutil: LINK ../../../../../dist/bin/modutil
28:09.83 * ~99%   12) central/objdir-desktop-clang/js/src/gdb: LINK ../../../dist/bin/gdb-tests
28:09.83 clang: error: no such file or directory: '../rust/x86_64-unknown-linux-gnu/release/libjsrust.a'
28:09.83  *** tup messages ***
28:09.83  *** Command ID=6183636 failed with return value 1
28:09.89  ~99%   11) [0.441s] central/objdir-desktop-clang/js/xpconnect/shell: LINK ../../../dist/bin/xpcshell
28:09.91  ~99%   10) [0.464s] central/objdir-desktop-clang/ipc/app: LINK ../../dist/bin/plugin-container
28:10.29  ~99%    9) [0.841s] central/objdir-desktop-clang/toolkit/library: python /home/botond/dev/mozilla/central/toolkit/library/dependentlibs.py:gen_list -> [dependentlibs.list, dependentlibs.list.gtest, dependentlibs.list.pp]
28:10.29  *** tup: 2 jobs failed.
28:10.29 tup warning: Update resulted in 1 warning
28:16.12 1450 compiler warnings present.
28:16.51 ccache (direct) hit rate: 0.0%; (preprocessed) hit rate: 11.4%; miss rate: 88.6%
This impacts --enable-debug builds... MOZ_DEBUG_RUST isn't set under "js/src" even when it's set at the top level, so we end up with a mismatch between where libjsrust.a gets built and where we expect to find it.
Assignee: nobody → cmanchester
Comment on attachment 9013214 [details]
Bug 1495314 - Use the value of MOZ_DEBUG_RUST from individual objects in the Tup backend.

Michael Shal [:mshal] has approved the revision.
Attachment #9013214 - Flags: review+
Pushed by cmanchester@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c4758f66e313
Use the value of MOZ_DEBUG_RUST from individual objects in the Tup backend. r=firefox-build-system-reviewers,mshal
https://hg.mozilla.org/mozilla-central/rev/c4758f66e313
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: