error while building a release(official) version on window error: Gecko exception wrapping doesn't understand your your MSVC/SDK. Please file a bug describing this error and your build configuration

Hi,

I'm trying to build the release version of the firefox on the windows host.

The problem is I can easily follow the build instruction for windows provid=
ed (https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_=
Instructions/Windows_Prerequisites) but when I'm trying to compile a releas=
ed version like (https://archive.mozilla.org/pub/firefox/releases/62.0/sour=
ce/firefox-62.0.source.tar.xz) I will get the error in the building process=
..

I'm so frustrated right now I would shake your hand if you tell me what's w=
rong.

here is the error:

 0:41.82 checking for dia2.h... yes
 0:43.66 checking for overridable _RAISE... no
 0:43.66 configure: error: Gecko exception wrapping doesn't understand your=
 your MSVC/SDK.  Please file a bug describing this error and your build con=
figuration.
 0:43.67 DEBUG: <truncated - see config.log for full output>
 0:43.67 DEBUG: configure:2433: checking for ranlib
 0:43.67 DEBUG: configure:2465: checking for ml
 0:43.67 DEBUG: configure:2519: checking for ar
 0:43.67 DEBUG: configure:2554: checking for strip
 0:43.67 DEBUG: configure:2589: checking for windres
 0:43.67 DEBUG: configure:2624: checking for otool
 0:43.67 DEBUG: configure:2726: checking for midl
 0:43.67 DEBUG: configure:2775: cl.exe -c  -TC -nologo  conftest.c 1>&5
 0:43.67 DEBUG: conftest.c
 0:43.67 DEBUG: configure:2800: cl.exe -c  -TP -nologo  conftest.C 1>&5
 0:43.67 DEBUG: conftest.C
 0:43.67 DEBUG: configure:2851: checking for dia2.h
 0:43.67 DEBUG: configure:2864: cl.exe -c  -TC -nologo  conftest.c 1>&5
 0:43.67 DEBUG: conftest.c
 0:43.67 DEBUG: configure:2978: checking for overridable _RAISE
 0:43.67 DEBUG: configure:3005: cl.exe -c  -TP -nologo -w15038 -wd5026 -wd5=
027 -Zc:sizedDealloc- -wd4091 -wd4577 -D_HAS_EXCEPTIONS=3D0  conftest.C 1>&=
5
 0:43.67 DEBUG: conftest.C
 0:43.67 DEBUG: C:\PROGRA~2\MICROS~1\2017\COMMUN~1\VC\Tools\MSVC\1415~1.267=
\include\yvals.h(512): warning C4005: '_RAISE': macro redefinition
 0:43.67 DEBUG: configure(2997): note: see previous definition of '_RAISE'
 0:43.67 DEBUG: configure: error: Gecko exception wrapping doesn't understa=
nd your your MSVC/SDK.  Please file a bug describing this error and your bu=
ild configuration.
 0:43.67 ERROR: old-configure failed
 0:43.75 *** Fix above errors and then restart with\
 0:43.75                "c:/mozilla-build/bin/mozmake.EXE -f client.mk buil=
d"
 0:43.77 mozmake.EXE: *** [client.mk:149: configure] Error 1

0
Amirhossein
11/6/2018 3:28:34 PM
mozilla.dev.platform 6472 articles. 0 followers. Post Follow

2 Replies
15 Views

Similar Articles

[PageSpeed] 58

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--AcPoSPRWeM0FQ6zOpCJSCNBgPr8YIBPnY
Content-Type: multipart/mixed; boundary="C18Jav0o2UvOKD5nLtGlvcytolW9yeToV";
 protected-headers="v1"
From: Gabriele Svelto <gsvelto@mozilla.com>
To: Amirhossein Ghafari <ghafari.ah@gmail.com>, dev-platform@lists.mozilla.org
Message-ID: <a38529f7-fc43-9187-c344-95d41ae74566@mozilla.com>
Subject: Re: error while building a release(official) version on window error:
 Gecko exception wrapping doesn't understand your your MSVC/SDK. Please file a
 bug describing this error and your build configuration.
References: <5ab075e0-318f-4f1b-b9f2-b05ce6238e4f@googlegroups.com>
In-Reply-To: <5ab075e0-318f-4f1b-b9f2-b05ce6238e4f@googlegroups.com>

--C18Jav0o2UvOKD5nLtGlvcytolW9yeToV
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

 Hi Amirhossein,

On 06/11/2018 16.28, Amirhossein Ghafari wrote:
>  0:43.67 DEBUG: configure:3005: cl.exe -c  -TP -nologo -w15038 -wd5026 =
-wd5027 -Zc:sizedDealloc- -wd4091 -wd4577 -D_HAS_EXCEPTIONS=3D0  conftest=
=2EC 1>&5
>  0:43.67 DEBUG: conftest.C
>  0:43.67 DEBUG: C:\PROGRA~2\MICROS~1\2017\COMMUN~1\VC\Tools\MSVC\1415~1=
=2E267\include\yvals.h(512): warning C4005: '_RAISE': macro redefinition
>  0:43.67 DEBUG: configure(2997): note: see previous definition of '_RAI=
SE'
>  0:43.67 DEBUG: configure: error: Gecko exception wrapping doesn't unde=
rstand your your MSVC/SDK.  Please file a bug describing this error and y=
our build configuration.
>  0:43.67 ERROR: old-configure failed
>  0:43.75 *** Fix above errors and then restart with\
>  0:43.75                "c:/mozilla-build/bin/mozmake.EXE -f client.mk =
build"
>  0:43.77 mozmake.EXE: *** [client.mk:149: configure] Error 1

That error usually crops up when something's wrong with the Windows SDK,
the most likely explanation is that you don't have the correct version
installed. IIRC you need either SDK 10.0.15063.0 or 10.0.17134.0.

Additionally I'd suggest you to try building the current mozilla-central
codebase instead of a release version and use ./mach bootstrap to get
all your dependencies installed.

 Gabriele


--C18Jav0o2UvOKD5nLtGlvcytolW9yeToV--

--AcPoSPRWeM0FQ6zOpCJSCNBgPr8YIBPnY
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEZHK8A25dl9PEMZ4xt8O1cNHYZXUFAlviAX4ACgkQt8O1cNHY
ZXVfuwf/QR1+Tz4o8t0Yftgmqh1TiuzYhkYCMwh9w94Idl1VVffM2KdJfPOhkm2G
uxFVuBkEI8ib73ryS3sK5FnoH0H1VQm9QRyy/xrzhGgxaFxAKbFlGOmDv1fCmOhk
vKDPxdQBb/YFb0qCE1zK26glr4W9Vh8u+/XDTYrxG3w7ZMj+uaaT3PdxftgqvQkE
j3/rzvEnBRHZ0AMsk+hiexbPA7wuL8bAeSxRn8jcjXy481Kgk1szS0C4c+7xV8Kw
Jg1iUI6rpDanJCYfdvTnAVQS+wpvoRNNJYZZttQ6ojgxUz95WSJttnrB4+jtW5cH
CQBq2zgzIuY1GDjiBW2PhhSWjRMySA==
=Zh1D
-----END PGP SIGNATURE-----

--AcPoSPRWeM0FQ6zOpCJSCNBgPr8YIBPnY--
0
Gabriele
11/6/2018 9:02:51 PM
You cannot build Firefox 62 or earlier using Visual Studio 2017 Update 8
because of <https://bugzilla.mozilla.org/show_bug.cgi?id=1484184>.

On 2018/11/07 0:28, Amirhossein Ghafari wrote:
> Hi,
> 
> I'm trying to build the release version of the firefox on the windows host.
> 
> The problem is I can easily follow the build instruction for windows provided (https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Windows_Prerequisites) but when I'm trying to compile a released version like (https://archive.mozilla.org/pub/firefox/releases/62.0/source/firefox-62.0.source.tar.xz) I will get the error in the building process.
> 
> I'm so frustrated right now I would shake your hand if you tell me what's wrong.
> 
> here is the error:
> 
>  0:41.82 checking for dia2.h... yes
>  0:43.66 checking for overridable _RAISE... no
>  0:43.66 configure: error: Gecko exception wrapping doesn't understand your your MSVC/SDK.  Please file a bug describing this error and your build configuration.
>  0:43.67 DEBUG: <truncated - see config.log for full output>
>  0:43.67 DEBUG: configure:2433: checking for ranlib
>  0:43.67 DEBUG: configure:2465: checking for ml
>  0:43.67 DEBUG: configure:2519: checking for ar
>  0:43.67 DEBUG: configure:2554: checking for strip
>  0:43.67 DEBUG: configure:2589: checking for windres
>  0:43.67 DEBUG: configure:2624: checking for otool
>  0:43.67 DEBUG: configure:2726: checking for midl
>  0:43.67 DEBUG: configure:2775: cl.exe -c  -TC -nologo  conftest.c 1>&5
>  0:43.67 DEBUG: conftest.c
>  0:43.67 DEBUG: configure:2800: cl.exe -c  -TP -nologo  conftest.C 1>&5
>  0:43.67 DEBUG: conftest.C
>  0:43.67 DEBUG: configure:2851: checking for dia2.h
>  0:43.67 DEBUG: configure:2864: cl.exe -c  -TC -nologo  conftest.c 1>&5
>  0:43.67 DEBUG: conftest.c
>  0:43.67 DEBUG: configure:2978: checking for overridable _RAISE
>  0:43.67 DEBUG: configure:3005: cl.exe -c  -TP -nologo -w15038 -wd5026 -wd5027 -Zc:sizedDealloc- -wd4091 -wd4577 -D_HAS_EXCEPTIONS=0  conftest.C 1>&5
>  0:43.67 DEBUG: conftest.C
>  0:43.67 DEBUG: C:\PROGRA~2\MICROS~1\2017\COMMUN~1\VC\Tools\MSVC\1415~1.267\include\yvals.h(512): warning C4005: '_RAISE': macro redefinition
>  0:43.67 DEBUG: configure(2997): note: see previous definition of '_RAISE'
>  0:43.67 DEBUG: configure: error: Gecko exception wrapping doesn't understand your your MSVC/SDK.  Please file a bug describing this error and your build configuration.
>  0:43.67 ERROR: old-configure failed
>  0:43.75 *** Fix above errors and then restart with\
>  0:43.75                "c:/mozilla-build/bin/mozmake.EXE -f client.mk build"
>  0:43.77 mozmake.EXE: *** [client.mk:149: configure] Error 1
> 
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
> 
0
Masatoshi
11/6/2018 10:12:25 PM
Reply: