Win10 64 bit Make version too old. Only versions strictly greater than 4.0 are supported.. Stop.
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox100 fixed)
Tracking | Status | |
---|---|---|
firefox100 | --- | fixed |
People
(Reporter: dev.raj.polinovsky, Assigned: glandium)
Details
(Keywords: in-triage)
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36
Steps to reproduce:
- Download and install all soft for create build from source.
- Run hg clone https://hg.mozilla.org/releases/mozilla-release release (last release)
- Create .mozconfig in release folder.
Config:
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-ff
ac_add_options --target=x86_64-pc-mingw32
ac_add_options --host=x86_64-pc-mingw32 - Run start-shell.bat (mozilla-build version 3.2)
- In start console cd to release folder
- Run ./mach build
Actual results:
After same time I have error:
0:00.87 Clobber not needed.
0:00.87 Adding make options from e:\firefox\release.mozconfig
CONFIG_GUESS=x86_64-pc-mingw32
MOZ_OBJDIR=e:/firefox/release/obj-ff
OBJDIR=e:/firefox/release/obj-ff
FOUND_MOZCONFIG=e:/firefox/release/.mozconfig
export FOUND_MOZCONFIG
0:00.96 e:\mozilla-build\bin\mozmake.EXE -f client.mk -s
0:01.27 e:/firefox/release/config/baseconfig.mk:32: *** Make version too old. Only versions strictly greater than 4.0 are supported.. Stop.
0:01.27 mozmake.EXE: *** [client.mk:125: build] Error 2
0:01.34 0 compiler warnings present.
Expected results:
Create build
Updated•6 years ago
|
Reporter | ||
Comment 1•6 years ago
|
||
I changed the steps to build:
./mach bootstrap
./mach build
But error not delete:
$ ./mach build
0:06.66 Clobber not needed.
0:06.70 Adding make options from e:\firefox\release.mozconfig
CONFIG_GUESS=x86_64-pc-mingw32
MOZ_OBJDIR=e:/firefox/release/obj-ff
OBJDIR=e:/firefox/release/obj-ff
FOUND_MOZCONFIG=e:/firefox/release/.mozconfig
export FOUND_MOZCONFIG
0:06.87 e:\mozilla-build\bin\mozmake.EXE -f client.mk -s
0:07.33 e:/firefox/release/config/baseconfig.mk:32: *** Make version too old. Only versions strictly greater than 4.0 are supported.. Stop.
0:07.33 mozmake.EXE: *** [client.mk:125: build] Error 2
0:07.40 0 compiler warnings present.
Comment 2•3 years ago
|
||
We got another report of this in chat today.
Comment 3•3 years ago
•
|
||
The issue in chat was caused by two reasons:
- The user had their own MinGW installation in their
$PATH
- We prioritize several
make
variants (includingmingw32-make
) over our bootstrapped make - (EDIT): MozillaBuild 4.0 also stopped resetting the
%PATH%
like previous MozillaBuild installations, so external tools are once again visible to the build system.
One solution here is to look for make
variants, ignoring any of them that don't meet our make
version requirements. If none match that filter, then bootstrap.
Assignee | ||
Comment 4•3 years ago
|
||
Updated•3 years ago
|
Comment 6•3 years ago
|
||
bugherder |
Description
•