Closed
Bug 1074956
Opened 11 years ago
Closed 11 years ago
Canot compile SeaMonkey - MSYS make is not supported
Categories
(SeaMonkey :: Build Config, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: vlposta, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32a1
Build ID: 20140917135317
Steps to reproduce:
I Canot compile SeaMonkey 64Bit - after run "./mozilla/mach build"
Actual results:
Error:
Vlada@PC1 ~/comm-central
$ ./mozilla/mach build
0:00.45 C:\mozilla-build\msys\local\bin\make.EXE -f client.mk MOZ_PARALLEL_BUILD=4 -s
0:01.51 Adding client.mk options from /c/Users/Vlada/comm-central/.mozconfig:
0:01.51 MOZ_MAKE_FLAGS=-j4
0:01.51 CONFIG_GUESS=x86_64-pc-mingw32
0:01.51 MOZ_OPTIMIZE_LDFLAGS=-MACHINE:X64
0:01.52 FOUND_MOZCONFIG := /c/Users/Vlada/comm-central/.mozconfig
0:01.56 c:/Users/Vlada/comm-central/mozilla/config/baseconfig.mk:35: *** MSYS make is not supported. Stop.
0:01.56 make: *** [build] Error 2
0:01.57 0 compiler warnings present.
2
Vlada@PC1 ~/comm-central
Expected results:
Compile SeaMonkey (before two weeks i compile with this configuration sucesfully)
| Reporter | ||
Updated•11 years ago
|
Hardware: x86 → x86_64
This will have been caused by the fix (https://hg.mozilla.org/comm-central/rev/d9ef713a866e) from bug 1074034 which brings c-c inline with m-c in not supporting MSYS make (from bug 944569), so see bug 944569 for more details.
I suspect this will be marked as WONTFIX.
Depends on: 1074034
Version: SeaMonkey 2.32 Branch → Trunk
Comment 2•11 years ago
|
||
I think this is a regression, similar to Bug 1074711.
I got the same error when re-building Thunderbird without clobber in advance.
Without Bug 1074034 Patch 3:
> $ ./mozilla/mach build
> 0:03.33 c:\mozilla-build\mozmake\mozmake.EXE -f client.mk -s
> 0:04.01 client.mk:205: d:/dev/comm-central/src/obj-i686-pc-mingw32/.mozconfig.mk: No such file or directory
> 0:05.35 Adding client.mk options from d:/dev/comm-central/src/.mozconfig:
> 0:05.35 FOUND_MOZCONFIG := d:/dev/comm-central/src/.mozconfig
> 0:05.56 Generating d:/dev/comm-central/src/configure using autoconf
> ...
With Bug 1074034 Patch 3:
> $ ./mozilla/mach build
> 0:00.60 C:\mozilla-build\msys\local\bin\make.EXE -f client.mk -s
> 0:01.30 Adding client.mk options from /d/dev/comm-central/src/.mozconfig:
> 0:01.30 FOUND_MOZCONFIG := /d/dev/comm-central/src/.mozconfig
> 0:01.42 d:/dev/comm-central/src/mozilla/config/baseconfig.mk:35: *** MSYS make is not supported. Stop.
> 0:01.42 make: *** [build] Error 2
Previously |mach build| would invoke |mozmake| but now it invokes |make| and fails. Why?
| Reporter | ||
Comment 3•11 years ago
|
||
Which patch please need apply and how to specifically ???
I have always same error (baseconfig.mk:35: *** MSYS make is not supported),
and my latest successfully compiled build is 20140917
My english is very bad and thank you for patience ... :-(
Comment 4•11 years ago
|
||
Unfortunately no patch available yet, see discussion in Bug 1074711. I worked around the problem by creating the environment variable 'MAKE' and setting it to 'C:/mozilla-build/mozmake/mozmake.exe'. Maybe this works for you too.
| Reporter | ||
Comment 5•11 years ago
|
||
Thank you - i need wait after you veriable "MAKE" functional please ???
Not suscess if i (temporary) try:
"C:\mozilla-build\mozmake\mozmake.exe" -f client.mk -s configure
./mozilla/mach build
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:
Exception: Could not find a suitable make implementation.
Please use MozillaBuild 1.9 or newer
File "c:\Users\Vlada\comm-central\mozilla\python/mozbuild/mozbuild/mach_commands.py", line 368, in build
silent=not verbose)
File "c:\Users\Vlada\comm-central\mozilla\python/mozbuild\mozbuild\base.py", line 419, in _run_make
args = self._make_path()
File "c:\Users\Vlada\comm-central\mozilla\python/mozbuild\mozbuild\base.py", line 535, in _make_path
raise Exception('Could not find a suitable make implementation.\n'
Process Process-1:
Traceback (most recent call last):
File "c:\mozilla-build\python\lib\multiprocessing\process.py", line 258, in _bootstrap
self.run()
Vlada@PC1 File "c:\mozilla-build\python\lib\multiprocessing\process.py", line 114, in run
~/comm-central self._target(*self._args, **self._kwargs)
File "c:\Users\Vlada\comm-central\mozilla\testing/mozbase/mozsystemmonitor\mozsystemmonitor\resourcemonitor.py", line 55, in _collect
$ ./mozilla/mach build while not pipe.poll(sleep_interval):
KeyboardInterrupt
Comment 6•11 years ago
|
||
in MSYS Bash prompt, before running `./mozilla/mach build` run:
export MAKE=mozmake
then run ./mozilla/mach build
and you *should* be good. If that fails, test that mozmake works for you
mozmake --version
If it can't find mozmake please upgrade your mozilla-build:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Windows_Prerequisites
| Reporter | ||
Comment 7•11 years ago
|
||
Always error after run:
"C:\mozilla-build\mozmake\mozmake.exe" -f client.mk -s configure
export MAKE=mozmake
./mozilla/mach build
__________________________________________________________________________________
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:
Exception: Could not find a suitable make implementation.
Please use MozillaBuild 1.9 or newer
File "c:\Users\Vlada\comm-central\mozilla\python/mozbuild/mozbuild/mach_commands.py", line 368, in build
silent=not verbose)
File "c:\Users\Vlada\comm-central\mozilla\python/mozbuild\mozbuild\base.py", line 419, in _run_make
args = self._make_path()
File "c:\Users\Vlada\comm-central\mozilla\python/mozbuild\mozbuild\base.py", line 535, in _make_path
raise Exception('Could not find a suitable make implementation.\n'
__________________________________________________________________________________
$ mozmake --version
GNU Make 4.0-43-g8411528
Built for Windows32
Copyright (C) 1988-2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Comment 8•11 years ago
|
||
> Exception: Could not find a suitable make implementation.
> Please use MozillaBuild 1.9 or newer
Maybe your installed version is too old? Have you tried to install the latest release? I'm using MozillaBuild 1.10 and don't get this error.
| Reporter | ||
Comment 9•11 years ago
|
||
My MozillaBuild is not old, i use latest 1.10 on Windows 8.1 64Bit and my (now old) SM build 20140917 compiled with same configuration and with this commands only sucessfuly:
./build/pymake/make.py -f client.mk configure
./mozilla/mach build
Comment 10•11 years ago
|
||
Maybe SeaMonkey there is another problem. I'm only building 32-bit Thunderbird using
./mozilla/mach configure
./mozilla/mach build
I set MAKE environment variable to C:/mozilla-build/mozmake/mozmake.exe before starting C:\mozilla-build\start-shell-msvc2010.bat.
| Reporter | ||
Comment 11•11 years ago
|
||
I always compile 64Bit SeaMonkey optimized for my AMD64 (because i compile itself) and use
C:\mozilla-build\start-shell-msvc2013-x64.bat
and with this .mozconfig :
ac_add_options --enable-application=suite
mk_add_options MOZ_MAKE_FLAGS="-j4"
ac_add_options --target=x86_64-pc-mingw32
ac_add_options --host=x86_64-pc-mingw32
ac_add_options --enable-64bit
ac_add_options --enable-optimize='-O2 -GR- -GS- -favor:AMD64 -arch:AVX'
mk_add_options MOZ_OPTIMIZE_LDFLAGS=-MACHINE:X64
ac_add_options --with-windows-version=602
export MOZ_PSEUDO_DERECURSE=no-pymake
ac_add_options --disable-maintenance-service
ac_add_options --disable-updater
ac_add_options --disable-update-channel
ac_add_options --disable-update-packaging
ac_add_options --disable-installer
ac_add_options --disable-tests
ac_add_options --disable-ipdl-tests
ac_add_options --disable-ldap
ac_add_options --enable-extensions=default
ac_add_options --enable-jemalloc
WIN32_REDIST_DIR='C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist\x64\Microsoft.VC120.CRT\'
| Reporter | ||
Comment 12•11 years ago
|
||
With "C:\mozilla-build\mozmake\mozmake.exe" -f client.mk -s configure
i now become conscious of:
configure: updating cache c:/Users/Vlada/comm-central/obj-x86_64-pc-mingw32/js/src/ctypes/libffi/config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating include/ffi.h
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating man/Makefile
config.status: creating libffi.pc
config.status: creating fficonfig.h
config.status: linking c:/Users/Vlada/comm-central/mozilla/js/src/ctypes/libffi/src/x86/ffitarget.h to include/ffitarget.h
config.status: executing buildir commands
config.status: skipping top_srcdir/Makefile - not created
| Reporter | ||
Comment 13•11 years ago
|
||
Is please any news ??? I always canot compile... :-(
Thank You
| Reporter | ||
Comment 14•11 years ago
|
||
Now i compile if i download full new sources with:
hg clone http://hg.mozilla.org/comm-central/
"C:\mozilla-build\mozmake\mozmake.exe" -f client.mk -s configure
export MAKE=mozmake
./mozilla/mach build
But at end i have now this error :-(
36:18.86 Embedding manifest from c:/Users/Vlada/comm-central/mozilla/js/xpconnect/shell/xpcshell.exe.manifest
36:19.64 nsSuiteModule.cpp
36:20.54 Executing: link -NOLOGO -DLL -OUT:suite.dll -PDB:suite.pdb -SUBSYSTEM:WINDOWS,5.02 -MACHINE:X64 @c:\Users\Vlada\comm-central\obj-x86_64-pc-mingw32\suite\build\tmpmythjk.list module.res -LARGEADDRESSAWARE -NXCOMPAT -DYNAMICBASE -DEBUG -DEBUGTYPE:CV -DEBUG -OPT:REF -IMPLIB:fake.lib ../../xpcom/glue/xpcomglue_s.lib ../../memory/mozalloc/mozalloc.lib ../../config/external/nss/nss3.lib ../../toolkit/library/xul.lib ../../js/src/mozjs.lib -LIBPATH:../../dist/lib -NODEFAULTLIB:msvcrt -NODEFAULTLIB:msvcprt -DEFAULTLIB:mozcrt kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib secur32.lib netapi32.lib ole32.lib version.lib uuid.lib shell32.lib
36:20.54 c:\Users\Vlada\comm-central\obj-x86_64-pc-mingw32\suite\build\tmpmythjk.list:
36:20.54 nsSuiteModule.obj
36:20.54 ..\feeds\src\nsFeedSniffer.obj
36:20.54 ..\profile\nsSuiteDirectoryProvider.obj
36:20.55 ..\profile\migration\src\nsNetscapeProfileMigratorBase.obj
36:20.55 ..\profile\migration\src\nsSuiteProfileMigratorUtils.obj
36:20.55 ..\profile\migration\src\nsThunderbirdProfileMigrator.obj
36:20.55 ..\shell\src\nsWindowsShellService.obj
36:20.55 ..\..\intl\unicharutil\util\Unified_cpp_unicharutil_util0.obj
36:20.55
36:20.55 Unified_cpp_unicharutil_util0.obj : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in nsSuiteModule.obj
36:20.55
36:20.55 Creating library fake.lib and object fake.exp
36:20.55
36:20.55 suite.dll : fatal error LNK1319: 1 mismatches detected
36:20.55
36:20.55 c:/Users/Vlada/comm-central/config/rules.mk:859: recipe for target 'suite.dll' failed
36:20.55 mozmake[4]: *** [suite.dll] Error 1319
36:20.55 c:/Users/Vlada/comm-central/mozilla/config/recurse.mk:74: recipe for target 'suite/build/target' failed
36:20.55 mozmake[3]: *** [suite/build/target] Error 2
36:20.55 mozmake[3]: *** Waiting for unfinished jobs....
36:23.16 Creating library plugin-container.lib and object plugin-container.exp
36:23.16
36:23.16 MozillaRuntimeMain.obj : warning LNK4217: locally defined symbol ?ProvideLogFunction@warnonlysandbox@mozilla@@YAXP6AXPEBD00_NI@Z@Z (void __cdecl mozilla::warnonlysandbox::ProvideLogFunction(void (__cdecl*)(char const *,char const *,char const *,bool,unsigned int))) imported in function "void __cdecl mozilla::warnonlysandbox::PrepareForInit(void)" (?PrepareForInit@warnonlysandbox@mozilla@@YAXXZ)
36:23.16
36:23.20 Embedding manifest from c:/Users/Vlada/comm-central/mozilla/ipc/app/plugin-container.exe.manifest
36:23.34 c:/Users/Vlada/comm-central/mozilla/config/recurse.mk:36: recipe for target 'compile' failed
36:23.34 mozmake[2]: *** [compile] Error 2
36:23.34 c:/Users/Vlada/comm-central/mozilla/config/rules.mk:551: recipe for target 'default' failed
36:23.34 mozmake[1]: *** [default] Error 2
36:23.35 client.mk:404: recipe for target 'build' failed
36:23.35 mozmake.EXE: *** [build] Error 2
36:23.36 1219 compiler warnings present.
2
Vlada@PC1 ~/comm-central
$
Comment 15•11 years ago
|
||
> 36:20.55 Unified_cpp_unicharutil_util0.obj : error LNK2038: mismatch detected for
> 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in
> nsSuiteModule.obj
This is Bug 1081519 which is fixed yesterday. You need to pull from comm-central again.
| Reporter | ||
Comment 16•11 years ago
|
||
Thank You - now sucessfully compiled and all problems solved !!! ... :-)
Updated•11 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•