Closed
Bug 1409770
Opened 7 years ago
Closed 7 years ago
Fennec proguard error provides incorrect command to run
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1408643
People
(Reporter: kats, Unassigned)
Details
I tried to do a fennec build, and got this error:
===
ERROR: proguard.jar 5.3.3 or higher is required (looked for /Users/kats/.mozbuild/proguard/lib/proguard.jar). Run |mach artifact install --from-build proguard-jar| or add `export PROGUARD_JAR=/path/to/proguard.jar` to your mozconfig.
===
So I did what the message said and ran the mach command:
===
kats@kgupta-air mozilla-w2$ mach artifact install --from-build proguard-jar
It looks like you passed an unrecognized argument into mach.
The artifact command does not accept the arguments: --from-build
===
According to the mobile-firefox-dev post [1] by nalexander:
===
Assuming this sticks, *you will need to fetch this new Proguard JAR*. You can do so with
|./mach artifact toolchain -v --from-build proguard-jar|
===
This is a different command, and running this *does* work. So presumably the error message needs updating.
[1] Ordinarily I would put a link here, but this mailing list doesn't seem to be archived anywhere which is a problem in and of itself.
Reporter | ||
Comment 1•7 years ago
|
||
Also, sadly, even after running the command from nalexander's email (which did appear to successfully download a thing), I get the same original error while running |mach build|.
Reporter | ||
Comment 2•7 years ago
|
||
The download step ended with this:
...
0:51.66 Downloading... 95.6 %
0:51.67 Downloading... 100.0 %
0:51.67 Downloaded artifact to /Users/kats/.mozbuild/toolchains/cc8b318b8a8f5009-proguard-jar.tar.xz
0:51.68 hashed u'/Users/kats/.mozbuild/toolchains/cc8b318b8a8f5009-proguard-jar.tar.xz' with sha256 to be e00cbe2fa093df3309c5018a423f4a4b13138315551926b03ea227a9edbdc992
0:51.68 untarring "/Users/kats/zspace/mozilla-w2/proguard-jar.tar.xz"
which unpacked the proguard tarball into my mozilla-w2 src dir. However mach build is looking for it in ~/.mozbuild. After re-unpacking the tarball into ~/.mozbuild the build seems to be proceeding (to another error message about not having the Android build-tools version 25.0.3). Guess I need to re-boostrap anyway.
Reporter | ||
Comment 3•7 years ago
|
||
Oh. I should have read the whole email thread.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•