"attempting to update a git repository, but --frozen was specified"
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
People
(Reporter: ianburrows_au, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:93.0) Gecko/20100101 Firefox/93.0
Steps to reproduce:
Tried to build firefox using script
cp ../mozconfigff-fnl mozconfig
env MOZCONFIG=/@TOPSRCDIR@/obj-@CONFIG_GUESS@/ff
time hg pull -u
time ./mach build
time ./mach package
config ==>
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@/ff
ac_add_options --enable-application=browser
ac_add_options --with-app-basename=FirefoxNightlyLocal
mk_add_options AUTOCLOBBER=1
ac_add_options --disable-debug
ac_add_options --enable-optimize
ac_add_options --with-ccache=sccache
mk_add_options MOZ_MAKE_FLAGS="-j24"
Actual results:
Fails with error
config/makefiles/xpidl/downloads.xpt
0:24.21 Updating git repository `https://github.com/gfx-rs/naga`
0:24.21 error: failed to get `naga` as a dependency of package `wgpu-core v0.10.0 (https://github.com/gfx-rs/wgpu?rev=37288a6#37288a65)`
0:24.21 ... which satisfies git dependency `wgc` of package `wgpu_bindings v0.1.0 (/home/ian/sourcetrees/programs/mozilla/mozilla/mozilla-central/gfx/wgpu_bindings)`
0:24.21 ... which satisfies path dependency `wgpu_bindings` of package `gkrust-shared v0.1.0 (/home/ian/sourcetrees/programs/mozilla/mozilla/mozilla-central/toolkit/library/rust/shared)`
0:24.21 ... which satisfies path dependency `gkrust-shared` of package `gkrust-gtest v0.1.0 (/home/ian/sourcetrees/programs/mozilla/mozilla/mozilla-central/toolkit/library/gtest/rust)`
0:24.22 Caused by:
0:24.22 failed to load source for dependency `naga`
0:24.22 Caused by:
0:24.22 Unable to update https://github.com/gfx-rs/naga?rev=e226cf3#e226cf3f
0:24.22 Caused by:
0:24.22 failed to fetch into: /home/ian/.cargo/git/db/naga-dbb2b19faed49210
0:24.22 Caused by:
0:24.22 attempting to update a git repository, but --frozen was specified
0:24.23 gmake[3]: *** [backend.mk:107: config/.deps/cbindgen-metadata.json.stub] Error 101
Expected results:
Firefox build should have configured and built
Previously worked until about a month ago
System - debian testing
lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux bookworm/sid
Release: testing
Codename: bookworm
Might be update of testing to Bookworm might have broken something
Have rebuilt virtualenv, clobber, and bootstrapped.
Havn't deleted everything and started again (yet)
Updated•3 years ago
|
Comment 1•3 years ago
|
||
Hmm, I don't quite have enough information to reproduce this yet.
Do you still encounter this if you do a clean/clobbered build with default options (no mozconfig
)?
Comment 2•3 years ago
|
||
Please attach the complete output from mach build after a clobber.
Output after hg upgrade --clean and ./mach clobber
As usual after asking for help it works
Did :mhentges suggestion - hg update --clean, clobber rm mozconfig and it built see attachment: cleanClobber20211105.txt
This built and firefox (./mach run) worked.
Then reran usual script including mozconfig, see clobberWithConfig20211105.txt, and it worked now too.
When switching from Thunderbird build, complains about python virtual env, but not sure that is related.
But all builds now work.
Comment 6•3 years ago
|
||
When switching from Thunderbird build, complains about python virtual env, but not sure that is related.
That's caused by this bug, and should be easily worked around.
But all builds now work.
Nice! That's good to hear 👍
Description
•