Closed Bug 1139100 Opened 9 years ago Closed 9 years ago

mach.base.MachError: Command referenced by sub-command does not exist: file-info

Categories

(Firefox Build System :: Mach Core, enhancement)

x86
macOS
enhancement
Not set
normal

Tracking

(firefox39 fixed)

RESOLVED FIXED
mozilla39
Tracking Status
firefox39 --- fixed

People

(Reporter: kats, Assigned: gps)

References

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

In my B2G repositories (both emulator and flame-kk) when I run ./mach I get this error now:

kats@kgupta-pc B2G-flame-kk$ ./mach
Traceback (most recent call last):
  File "./mach", line 28, in <module>
    mach = load_mach(dir_path)
  File "./mach", line 21, in load_mach
    return mach_b2g_bootstrap.bootstrap(b2g_home)
  File "/home/kats/zspace/B2G-flame-kk/tools/mach_b2g_bootstrap.py", line 276, in bootstrap
    mach.load_commands_from_file(os.path.join(b2g_home, path))
  File "/home/kats/zspace/B2G-flame-kk/gecko/python/mach/mach/main.py", line 266, in load_commands_from_file
    imp.load_source(module_name, path)
  File "/home/kats/zspace/B2G-flame-kk/gecko/python/mozbuild/mozbuild/frontend/mach_commands.py", line 21, in <module>
    class MozbuildFileCommands(MachCommandBase):
  File "/home/kats/zspace/B2G-flame-kk/gecko/python/mach/mach/decorators.py", line 111, in CommandProvider
    'exist: %s' % command)
mach.base.MachError: Command referenced by sub-command does not exist: file-info


This used to work a couple of days ago.
Backing out git sha 370a324bcab1549feb1f3d908f9561b69484d408 from the gecko/ tree fixes it locally.
I need a repo URL and commit to reproduce this with.
Flags: needinfo?(bugmail.mozilla)
Full STR:
git clone git://github.com/mozilla-b2g/B2G.git
cd B2G
BRANCH=master ./config.sh emulator

However if you don't have a B2G repo this will probably take you till tomorrow to check out everything. You can try this instead (no guarantees it will work though):

git clone git://github.com/mozilla-b2g/B2G.git
cd B2G
git reset --hard 73a8a50fc96
git clone https://git.mozilla.org/releases/gecko.git   # or use an existing copy
cd gecko
git reset --hard e8beb2e4be5
cd ..
./mach help
Flags: needinfo?(bugmail.mozilla)
Attached file MozReview Request: bz://1139100/gps (obsolete) —
/r/4571 - Bug 1139100 - Apply proper checking for command existence

Pull down this commit:

hg pull review -r acd0ed9f409deb942cc2712550e2f13e6f01e112
Attachment #8572175 - Flags: review?(ahalberstadt)
Comment on attachment 8572175 [details]
MozReview Request: bz://1139100/gps

https://reviewboard.mozilla.org/r/4569/#review3797

Ship It!
Attachment #8572175 - Flags: review?(ahalberstadt) → review+
https://hg.mozilla.org/mozilla-central/rev/28c30b4e6b84
Assignee: nobody → gps
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
Attachment #8572175 - Attachment is obsolete: true
Attachment #8619652 - Flags: review+
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: