Closed Bug 1116084 Opened 9 years ago Closed 9 years ago

Failed to build Mozilla source after git pull from master

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1115538

People

(Reporter: dev.prashanth, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0
Build ID: 20141127111021

Steps to reproduce:

I use git for source control. On searching exisitng ticket for similar issue I found Bug 942257(https://bugzilla.mozilla.org/show_bug.cgi?id=942257) to match my issue. Work around suggested is not helping me due to the fact that I dont have/use hg. 
Any git alternative to this ? 

Run "git pull"
Run ./mach build


Actual results:

Error running mach:

    ['build']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.

You should consider filing a bug for this issue.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

AttributeError: 'module' object has no attribute 'linux_sysinfo'

  File "/home/prash/Projects/firefox/gecko-dev/python/mozbuild/mozbuild/mach_commands.py", line 290, in build
    monitor.init(warnings_path)
  File "/home/prash/Projects/firefox/gecko-dev/python/mozbuild/mozbuild/controller/building.py", line 164, in init
    self.resources = SystemResourceMonitor(poll_interval=1.0)
  File "/home/prash/Projects/firefox/gecko-dev/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py", line 188, in __init__
    virt = psutil.virtual_memory()
  File "/home/prash/Projects/firefox/gecko-dev/python/psutil/psutil/__init__.py", line 1662, in virtual_memory
    ret = _psplatform.virtual_memory()
  File "/home/prash/Projects/firefox/gecko-dev/python/psutil/psutil/_pslinux.py", line 144, in virtual_memory
    total, free, buffers, shared, _, _ = cext.linux_sysinfo()



Expected results:

Compiled source.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.