Closed Bug 1514323 Opened 5 years ago Closed 5 years ago

Build with Tup yields input dependency errors when building Rust crates

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1511830

People

(Reporter: TYLin, Unassigned)

References

Details

./mach clobber then ./mach build yields errors like the following when compling rust crates on m-c https://hg.mozilla.org/mozilla-central/rev/8641f3fc2eec

 2:36.83 * ~78%  3287) obj-firefox-tup/toolkit/library/rust: RUSTC serde_json v1.0.26 Host -> [libserde_json-0a4afa080162e235.rlib]
 2:36.83  *** tup messages ***
 2:36.83 tup error: Missing input dependency - a file was read from, and was not specified as an input link for the command. This is an issue because the file was created from another command, and without the input link the commands may execute out of order. You should add this file as an input, since it is possible this could randomly break in the future.
 2:36.83  - [2056185] obj-firefox-tup/debug/deps/libserde_derive-1562e992542eac5e.so
 2:36.83  *** Command ran successfully, but failed due to errors processing input dependencies.


FWIW, I have the following in my mozconfig.

ac_add_options --with-ccache
ac_add_options --enable-application=browser
ac_add_options --enable-debug
ac_add_options --disable-optimize
export TUP="$HOME/.mozbuild/tup/tup"
ac_add_options --enable-build-backends=Tup
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-firefox-tup
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.