Thunderbird build fails on win64

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Thunderbird build fails on win64

isabel.cage
Hi everybody!
My Thunderbird build fails on windows:

OS: windows 10 LTSB Enterprise, x86_64
M$ VS 2015 Update 3

ac_add_options --enable-optimize=-O2
ac_add_options --target=x86_64-pc-mingw32
ac_add_options --host=x86_64-pc-mingw32
ac_add_options --enable-application=mail
ac_add_options --enable-calendar
ac_add_options --disable-tests
# ac_add_options --enable-artifact-builds
#ac_add_options --enable-extensions=default
#ac_add_options --enable-strip
#ac_add_options --enable-install-strip
ac_add_options --enable-official-branding
ac_add_options --disable-updater
# ac_add_options --enable-crashreporter
ac_add_options --disable-accessibility
ac_add_options --disable-parental-controls
ac_add_options --disable-maintenance-service
mk_add_options  WIN32_REDIST_DIR="$VCINSTALLDIR\redist\x64\Microsoft.VC140.CRT"

This is the log:

1:15.27 Unified_cpp_ipc_mscom0.cpp
 1:15.27 c:/mozilla-source/comm-central/mozilla/ipc/mscom/ProxyStream.cpp(78): error C2065: 'nsPrintfCString': undeclared identifier
 1:15.27 c:/mozilla-source/comm-central/mozilla/ipc/mscom/ProxyStream.cpp(78): error C2146: syntax error: missing ';' before identifier 'hrAsStr'
 1:15.27 c:/mozilla-source/comm-central/mozilla/ipc/mscom/ProxyStream.cpp(78): error C3861: 'hrAsStr': identifier not found
 1:15.27 c:/mozilla-source/comm-central/mozilla/ipc/mscom/ProxyStream.cpp(80): error C2065: 'hrAsStr': undeclared identifier
 1:15.27 c:/mozilla-source/comm-central/mozilla/ipc/mscom/ProxyStream.cpp(271): error C2065: 'nsPrintfCString': undeclared identifier
 1:15.27 c:/mozilla-source/comm-central/mozilla/ipc/mscom/ProxyStream.cpp(271): error C2146: syntax error: missing ';' before identifier 'hrAsStr'
 1:15.27 c:/mozilla-source/comm-central/mozilla/ipc/mscom/ProxyStream.cpp(271): error C3861: 'hrAsStr': identifier not found
 1:15.27 c:/mozilla-source/comm-central/mozilla/ipc/mscom/ProxyStream.cpp(273): error C2065: 'hrAsStr': undeclared identifier
 1:15.27
 1:15.33 In the directory  /c/mozilla-source/comm-central/obj-x86_64-pc-mingw32/ipc/mscom
 1:15.33 The following command failed to execute properly:
 1:15.33 c:/mozilla-source/comm-central/obj-x86_64-pc-mingw32/_virtualenv/Scripts/python.exe -m mozbuild.action.cl cl.exe -FoUnified_cpp_ipc_mscom0.obj -c -Ic:/mozilla-source/comm-central/obj-x86_64-pc-mingw32/dist/stl_wrappers -DNDEBUG=1 -DTRIMMED=1 -DWIN32_LEAN_AND_MEAN -D_WIN32 -DWIN32 -D_CRT_RAND_S -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DOS_WIN=1 -D_UNICODE -DCHROMIUM_BUILD -DU_STATIC_IMPLEMENTATION -DUNICODE -D_WINDOWS -D_SECURE_ATL -DCOMPILER_MSVC -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -Ic:/mozilla-source/comm-central/mozilla/ipc/mscom -Ic:/mozilla-source/comm-central/obj-x86_64-pc-mingw32/ipc/mscom -Ic:/mozilla-source/comm-central/mozilla/xpcom/base -Ic:/mozilla-source/comm-central/mozilla/xpcom/build -Ic:/mozilla-source/comm-central/obj-x86_64-pc-mingw32/ipc/ipdl/_ipdlheaders -Ic:/mozilla-source/comm-central/mozilla/ipc/chromium/src -Ic:/mozilla-source/comm-central/mozilla/ipc/glue -Ic:/mozilla-source/comm-central/obj-x86_64-pc-
 mingw32/dist/include -Ic:/mozilla-source/comm-central/obj-x86_64-pc-mingw32/dist/include/nspr -Ic:/mozilla-source/comm-central/obj-x86_64-pc-mingw32/dist/include/nss -MD -FI c:/mozilla-source/comm-central/obj-x86_64-pc-mingw32/mozilla-config.h -DMOZILLA_CLIENT -TP -nologo -wd5026 -wd5027 -Zc:sizedDealloc- -wd4091 -wd4577 -D_HAS_EXCEPTIONS=0 -W3 -Gy -Zc:inline -utf-8 -Gw -wd4251 -wd4244 -wd4267 -wd4800 -wd4595 -we4553 -GR- -Zi -O2 -Oy- -Fdgenerated.pdb -FS c:/mozilla-source/comm-central/obj-x86_64-pc-mingw32/ipc/mscom/Unified_cpp_ipc_mscom0.cpp
 1:15.41 c:/mozilla-source/comm-central/mozilla/config/rules.mk:1011: recipe for target 'Unified_cpp_ipc_mscom0.obj' failed
 1:15.41 mozmake.EXE[4]: *** [Unified_cpp_ipc_mscom0.obj] Error 1
 1:15.41 c:/mozilla-source/comm-central/mozilla/config/recurse.mk:71: recipe for target 'ipc/mscom/target' failed
 1:15.42 mozmake.EXE[3]: *** [ipc/mscom/target] Error 2
 1:15.42 mozmake.EXE[3]: *** Waiting for unfinished jobs....
 1:24.08 Unified_cpp_dom_media_encoder0.cpp
 1:24.09 dom_media_encoder.lib.desc
 1:24.44 c:/mozilla-source/comm-central/mozilla/config/recurse.mk:32: recipe for target 'compile' failed
 1:24.44 mozmake.EXE[2]: *** [compile] Error 2
 1:24.44 c:/mozilla-source/comm-central/mozilla/config/rules.mk:519: recipe for target 'default' failed
 1:24.44 mozmake.EXE[1]: *** [default] Error 2
 1:24.44 client.mk:397: recipe for target 'build' failed
 1:24.44 mozmake.EXE: *** [build] Error 2
 1:24.45 219 compiler warnings present.

Is it a bug?
Thanks in advance
Nikki
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Thunderbird build fails on win64

Stefan Sitter-2
Hi,

the official Thunderbird builds on Windows 7 are currently building
fine: https://treeherder.mozilla.org/#/jobs?repo=comm-central therefore
problem might be related to your configuration.

ProxyStream.cpp was last modified by e.g. Bug 1325834 and Bug 1344187
that were filed in the Accessibility APIs component. You build with
--disable-accessibility. Maybe try without it to check if this changes
anything?

To report it as a bug it would be useful to reproduce the problem when
building Firefox with a mozconfig as small as possible.

/Stefan

On 3/28/17 12:13 AM, [hidden email] wrote:

> Hi everybody!
> My Thunderbird build fails on windows:
>
> OS: windows 10 LTSB Enterprise, x86_64
> M$ VS 2015 Update 3
>
> ac_add_options --enable-optimize=-O2
> ac_add_options --target=x86_64-pc-mingw32
> ac_add_options --host=x86_64-pc-mingw32
> ac_add_options --enable-application=mail
> ac_add_options --enable-calendar
> ac_add_options --disable-tests
> # ac_add_options --enable-artifact-builds
> #ac_add_options --enable-extensions=default
> #ac_add_options --enable-strip
> #ac_add_options --enable-install-strip
> ac_add_options --enable-official-branding
> ac_add_options --disable-updater
> # ac_add_options --enable-crashreporter
> ac_add_options --disable-accessibility
> ac_add_options --disable-parental-controls
> ac_add_options --disable-maintenance-service
> mk_add_options  WIN32_REDIST_DIR="$VCINSTALLDIR\redist\x64\Microsoft.VC140.CRT"
>
> This is the log:
>
> 1:15.27 Unified_cpp_ipc_mscom0.cpp
>   1:15.27 c:/mozilla-source/comm-central/mozilla/ipc/mscom/ProxyStream.cpp(78): error C2065: 'nsPrintfCString': undeclared identifier
>   1:15.27 c:/mozilla-source/comm-central/mozilla/ipc/mscom/ProxyStream.cpp(78): error C2146: syntax error: missing ';' before identifier 'hrAsStr'
>   1:15.27 c:/mozilla-source/comm-central/mozilla/ipc/mscom/ProxyStream.cpp(78): error C3861: 'hrAsStr': identifier not found
>   1:15.27 c:/mozilla-source/comm-central/mozilla/ipc/mscom/ProxyStream.cpp(80): error C2065: 'hrAsStr': undeclared identifier
>   1:15.27 c:/mozilla-source/comm-central/mozilla/ipc/mscom/ProxyStream.cpp(271): error C2065: 'nsPrintfCString': undeclared identifier
>   1:15.27 c:/mozilla-source/comm-central/mozilla/ipc/mscom/ProxyStream.cpp(271): error C2146: syntax error: missing ';' before identifier 'hrAsStr'
>   1:15.27 c:/mozilla-source/comm-central/mozilla/ipc/mscom/ProxyStream.cpp(271): error C3861: 'hrAsStr': identifier not found
>   1:15.27 c:/mozilla-source/comm-central/mozilla/ipc/mscom/ProxyStream.cpp(273): error C2065: 'hrAsStr': undeclared identifier
>   1:15.27
>   1:15.33 In the directory  /c/mozilla-source/comm-central/obj-x86_64-pc-mingw32/ipc/mscom
>   1:15.33 The following command failed to execute properly:
>   1:15.33 c:/mozilla-source/comm-central/obj-x86_64-pc-mingw32/_virtualenv/Scripts/python.exe -m mozbuild.action.cl cl.exe -FoUnified_cpp_ipc_mscom0.obj -c -Ic:/mozilla-source/comm-central/obj-x86_64-pc-mingw32/dist/stl_wrappers -DNDEBUG=1 -DTRIMMED=1 -DWIN32_LEAN_AND_MEAN -D_WIN32 -DWIN32 -D_CRT_RAND_S -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DOS_WIN=1 -D_UNICODE -DCHROMIUM_BUILD -DU_STATIC_IMPLEMENTATION -DUNICODE -D_WINDOWS -D_SECURE_ATL -DCOMPILER_MSVC -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -Ic:/mozilla-source/comm-central/mozilla/ipc/mscom -Ic:/mozilla-source/comm-central/obj-x86_64-pc-mingw32/ipc/mscom -Ic:/mozilla-source/comm-central/mozilla/xpcom/base -Ic:/mozilla-source/comm-central/mozilla/xpcom/build -Ic:/mozilla-source/comm-central/obj-x86_64-pc-mingw32/ipc/ipdl/_ipdlheaders -Ic:/mozilla-source/comm-central/mozilla/ipc/chromium/src -Ic:/mozilla-source/comm-central/mozilla/ipc/glue -Ic:/mozilla-source/comm-central/obj-x86_64-
 pc-mingw32/dist/include -Ic:/mozilla-source/comm-central/obj-x86_64-pc-mingw32/dist/include/nspr -Ic:/mozilla-source/comm-central/obj-x86_64-pc-mingw32/dist/include/nss -MD -FI c:/mozilla-source/comm-central/obj-x86_64-pc-mingw32/mozilla-config.h -DMOZILLA_CLIENT -TP -nologo -wd5026 -wd5027 -Zc:sizedDealloc- -wd4091 -wd4577 -D_HAS_EXCEPTIONS=0 -W3 -Gy -Zc:inline -utf-8 -Gw -wd4251 -wd4244 -wd4267 -wd4800 -wd4595 -we4553 -GR- -Zi -O2 -Oy- -Fdgenerated.pdb -FS c:/mozilla-source/comm-central/obj-x86_64-pc-mingw32/ipc/mscom/Unified_cpp_ipc_mscom0.cpp

>   1:15.41 c:/mozilla-source/comm-central/mozilla/config/rules.mk:1011: recipe for target 'Unified_cpp_ipc_mscom0.obj' failed
>   1:15.41 mozmake.EXE[4]: *** [Unified_cpp_ipc_mscom0.obj] Error 1
>   1:15.41 c:/mozilla-source/comm-central/mozilla/config/recurse.mk:71: recipe for target 'ipc/mscom/target' failed
>   1:15.42 mozmake.EXE[3]: *** [ipc/mscom/target] Error 2
>   1:15.42 mozmake.EXE[3]: *** Waiting for unfinished jobs....
>   1:24.08 Unified_cpp_dom_media_encoder0.cpp
>   1:24.09 dom_media_encoder.lib.desc
>   1:24.44 c:/mozilla-source/comm-central/mozilla/config/recurse.mk:32: recipe for target 'compile' failed
>   1:24.44 mozmake.EXE[2]: *** [compile] Error 2
>   1:24.44 c:/mozilla-source/comm-central/mozilla/config/rules.mk:519: recipe for target 'default' failed
>   1:24.44 mozmake.EXE[1]: *** [default] Error 2
>   1:24.44 client.mk:397: recipe for target 'build' failed
>   1:24.44 mozmake.EXE: *** [build] Error 2
>   1:24.45 219 compiler warnings present.
>
> Is it a bug?
> Thanks in advance
> Nikki
>

_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Thunderbird build fails on win64

isabel.cage
On Tuesday, March 28, 2017 at 6:06:25 PM UTC+2, Stefan Sitter wrote:

> ProxyStream.cpp was last modified by e.g. Bug 1325834 and Bug 1344187
> that were filed in the Accessibility APIs component. You build with
> --disable-accessibility. Maybe try without it to check if this changes
> anything?
>
> To report it as a bug it would be useful to reproduce the problem when
> building Firefox with a mozconfig as small as possible.
>
> /Stefan
>

Great! Thanks!
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds