Closed Bug 1490142 Opened 7 years ago Closed 7 years ago

mach build compile fails on windows with cygwin error

Categories

(Firefox Build System :: General, defect)

61 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: johnny, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0 Build ID: 20180704003137 Steps to reproduce: Using a Windows 10 machine with VS 2017. Have Mozilla build tools and source. In start-shell.bat console, running command "./mach build". Actual results: After a few lines of config checks, the following error appears: C:\mozilla-build\msys\bin\sh.exe: *** Couldn't reserve space for cygwin's heap (0x607A0000 <0xB20000>) in child, Win32 error 0 0:34.87 m.AllocationBase 0x0, m.BaseAddress 0x607A0000, m.RegionSize 0x170000, m.State 0x10000 0:34.87 C:\mozilla-build\msys\bin\sh.exe: *** Couldn't reserve space for cygwin's heap (0x607A0000 <0xB20000>) in child, Win32 error 0 0:34.87 0 [main] sh 11460 sync_with_child: child 3828(0x200) died before initialization with status code 0x1 0:34.87 135 [main] sh 11460 sync_with_child: *** child state waiting for longjmp 0:34.87 c:/mozilla-source/mozilla-central/old-configure: fork: Resource temporarily unavailable C:\mozilla-build\msys\bin\sed.exe: *** Couldn't reserve space for cygwin's heap (0x607A0000 <0xC40000>) in child, Win32 error 0 0:36.58 m.AllocationBase 0x0, m.BaseAddress 0x607A0000, m.RegionSize 0x10000, m.State 0x10000 0:36.58 C:\mozilla-build\msys\bin\sed.exe: *** Couldn't reserve space for cygwin's heap (0x607A0000 <0xC40000>) in child, Win32 error 0 C:\mozilla-build\msys\bin\sh.exe: *** Couldn't reserve space for cygwin's heap (0x607A0000 <0xE00000>) in child, Win32 error 0 0:37.14 m.AllocationBase 0x0, m.BaseAddress 0x607A0000, m.RegionSize 0x3B0000, m.State 0x10000 0:37.14 C:\mozilla-build\msys\bin\sh.exe: *** Couldn't reserve space for cygwin's heap (0x607A0000 <0xE00000>) in child, Win32 error 0 0:37.15 0 [main] sh 8344 sync_with_child: child 13140(0x1E8) died before initialization with status code 0x1 0:37.15 114 [main] sh 8344 sync_with_child: *** child state waiting for longjmp 0:37.15 c:/mozilla-source/mozilla-central/old-configure: fork: Resource temporarily unavailable 0:37.16 ERROR: old-configure failed 0:37.22 *** Fix above errors and then restart with\ 0:37.22 "c:/mozilla-build/bin/mozmake.EXE -f client.mk build" 0:37.23 mozmake.EXE: *** [client.mk:127: configure] Error 1 Expected results: Mozilla should have compiled. I built Mozilla successfully a few months ago on this very same pc with no issues. Now, that I am trying again, I keep getting this error.
Component: Untriaged → General
Product: Firefox → Firefox Build System
I just removed all previous build and source directories and started from scratch. Now, I can build and run without errors.
ok, thanks for the feedback.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.