Closed
Bug 854545
Opened 11 years ago
Closed 11 years ago
mach Exception: Binary expected at objdir-android/dist/bin/fennec does not exist
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox21 unaffected, firefox22 fixed)
RESOLVED
FIXED
mozilla22
Tracking | Status | |
---|---|---|
firefox21 | --- | unaffected |
firefox22 | --- | fixed |
People
(Reporter: cpeterson, Assigned: gps)
References
Details
Attachments
(1 file)
1.45 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
I get the following mach error when I make a clobber build of Firefox for Android from mozilla-central: Exception: Binary expected at /Users/cpeterson/Code/mozilla/central/objdir-android/dist/bin/fennec does not exist. File "/Users/cpeterson/Code/mozilla/central/python/mozbuild/mozbuild/mach_commands.py", line 131, in build app_path = self.get_binary_path('app') File "/Users/cpeterson/Code/mozilla/central/python/mozbuild/mozbuild/base.py", line 159, in get_binary_path raise Exception('Binary expected at %s does not exist.' % path)
Assignee | ||
Comment 1•11 years ago
|
||
I know very little about the Android developer workflow. Is there an expected output of |mach build| for mobile/android that is executable? I /think/ the answer is "no" and that |mach package| is required to obtain anything useful for Android. If so, my first reaction is that we should expose a single command that does useful things. My second is that we could not check for a binary if the xul app is mobile/android.
Comment 2•11 years ago
|
||
There is no desktop-runnable output binary for Fennec. If there were, it probably wouldn't be called `fennec`! The usual useful output is the APK, which is created by packaging.
Assignee | ||
Comment 3•11 years ago
|
||
I think this should do it.
Assignee | ||
Comment 4•11 years ago
|
||
Pretend I uploaded that patch with self.substs['MOZ_BUILD_APP'] not MOZ_APP_NAME...
Comment 5•11 years ago
|
||
Comment on attachment 729941 [details] [diff] [review] Don't print binary info for mobile/android builds, v1 Review of attachment 729941 [details] [diff] [review]: ----------------------------------------------------------------- r=me with your noted fix
Attachment #729941 -
Flags: review?(ted) → review+
Comment 6•11 years ago
|
||
This is a fine work-around. See Bug 854534 for tracking folding some of `make package` into `make libs`. If we pursue that ticket, we could point the user at an APK.
Assignee | ||
Comment 7•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/6c7f9d160488
Target Milestone: --- → mozilla22
Comment 8•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6c7f9d160488
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•