recipe for target failed?

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
Post Reply
sarifriathesylveon
Posts: 19
Joined: March 29th, 2016, 11:54 pm

recipe for target failed?

Post by sarifriathesylveon »

okay so i can't help feeling like i'm missing something here.
all the checks finish, firefox starts building as normal, however after a while i get:
##############################################################################################################
8:21.23 c:/mozilla-source/mozilla-central/config/recurse.mk:32: recipe for target 'compile' failed
8:21.23 mozmake.EXE[3]: *** [compile] Error 2
8:21.23 c:/mozilla-source/mozilla-central/config/rules.mk:523: recipe for target 'default' failed
8:21.23 mozmake.EXE[2]: *** [default] Error 2
8:21.23 c:/mozilla-source/mozilla-central/client.mk:415: recipe for target 'realbuild' failed
8:21.23 mozmake.EXE[1]: *** [realbuild] Error 2
8:21.23 client.mk:170: recipe for target 'build' failed
8:21.23 mozmake.EXE: *** [build] Error 2
##############################################################################################################
looking in the folder i have no executable. however i do notice a few macro redefinitions; a noticeable one being:
##############################################################################################################
8:18.64 c:/mozilla-source/mozilla-central/media/mtransport/third_party/nrappkit/src/registry/registry_local.c(983): warning C4005: 'NRREGSET': macro redefinition
8:18.64 c:/mozilla-source/mozilla-central/media/mtransport/third_party/nrappkit/src/registry/registry.c(174): note: see previous definition of 'NRREGSET'
#############################################################################################################
now on the original file it reads:
#############################################################################################################
#define NRREGSET(func, TYPE, type) \
int \
func(NR_registry name, type data) \
{ \
return nr_reg_set(name, TYPE, &data); \
}

NRREGSET(nr_reg_local_set_char, NR_REG_TYPE_CHAR, char)
NRREGSET(nr_reg_local_set_uchar, NR_REG_TYPE_UCHAR, UCHAR)
NRREGSET(nr_reg_local_set_int2, NR_REG_TYPE_INT2, INT2)
NRREGSET(nr_reg_local_set_uint2, NR_REG_TYPE_UINT2, UINT2)
NRREGSET(nr_reg_local_set_int4, NR_REG_TYPE_INT4, INT4)
NRREGSET(nr_reg_local_set_uint4, NR_REG_TYPE_UINT4, UINT4)
NRREGSET(nr_reg_local_set_int8, NR_REG_TYPE_INT8, INT8)
NRREGSET(nr_reg_local_set_uint8, NR_REG_TYPE_UINT8, UINT8)
NRREGSET(nr_reg_local_set_double, NR_REG_TYPE_DOUBLE, double)
##############################################################################################################
however, on the redefined file it reads as:
##############################################################################################################
#define NRREGSET(func, method, type) \
int \
func(NR_registry name, type data) \
{ \
return reg_vtbl->vtbl->method(name, data); \
}

NRREGSET(NR_reg_set_char, set_char, char)
NRREGSET(NR_reg_set_uchar, set_uchar, UCHAR)
NRREGSET(NR_reg_set_int2, set_int2, INT2)
NRREGSET(NR_reg_set_uint2, set_uint2, UINT2)
NRREGSET(NR_reg_set_int4, set_int4, INT4)
NRREGSET(NR_reg_set_uint4, set_uint4, UINT4)
NRREGSET(NR_reg_set_int8, set_int8, INT8)
NRREGSET(NR_reg_set_uint8, set_uint8, UINT8)
NRREGSET(NR_reg_set_double, set_double, double)
NRREGSET(NR_reg_set_string, set_string, char*)
##############################################################################################################
should this be like that? i'm not sure..... there are other compiler warnings too. do i maybe do something now unsupported in my mozconfig, or do it the wrong way? should they be somewhere else, are there other option files i should pay attention to? my mozconfig is:
##############################################################################################################
ac_add_options --target=x86_64-pc-mingw32
ac_add_options --host=x86_64-pc-mingw32
ac_add_options --enable-update-channel=nightly
ac_add_options --enable-official-branding
ac_add_options --enable-strip
ac_add_options --disable-tests
ac_add_options --enable-default-toolkit=cairo-windows
ac_add_options --enable-eme=adobe,widevine
ac_add_options --enable-jemalloc
ac_add_options --disable-debug
ac_add_options --disable-debug-symbols
ac_add_options --disable-ipdl-tests
ac_add_options --enable-install-strip
ac_add_options --disable-parental-controls
ac_add_options --disable-accessibility
ac_add_options --enable-ctypes
ac_add_options --enable-optimize="-O2 -GA -MP -GL -Gw -favor:INTEL64 -arch:AVX2 -Qfast_transcendentals -Qpar -bigobj -cgthreads8"
mk_add_options AUTOCLOBBER=1
CFLAGS=-O2
export LDFLAGS="-LTCG"
export PATH=c:/Users/Seirra\.cargo\bin:$PATH
mk_add_options LDFLAGS="-LTCG"
##############################################################################################################
please note, build options are intended to be for a fast, fully featured, optimised build. any help would be appreciated, if you need to teach me something i will happily learn
xunxun1982
Posts: 311
Joined: June 20th, 2011, 10:37 am

Re: recipe for target failed?

Post by xunxun1982 »

Please give your all output log, because your given information is not related.
sarifriathesylveon
Posts: 19
Joined: March 29th, 2016, 11:54 pm

Re: recipe for target failed?

Post by sarifriathesylveon »

I've never really had to post the whole output before, how best can I do this? Powershell seems to discard the older output.
xunxun1982
Posts: 311
Joined: June 20th, 2011, 10:37 am

Re: recipe for target failed?

Post by xunxun1982 »

You can use

mach build 2>&1 | tee output.log
sarifriathesylveon
Posts: 19
Joined: March 29th, 2016, 11:54 pm

Re: recipe for target failed?

Post by sarifriathesylveon »

okay; thanks a lot i will post this soon. i'm in college right now but it's 9:47 and we finish 11:30 and might even leave earlier so i can probably get it posted before/around lunch time (my desktop is quick to build et cetera)
sarifriathesylveon
Posts: 19
Joined: March 29th, 2016, 11:54 pm

Re: recipe for target failed?

Post by sarifriathesylveon »

don't know any way to redduce the size but
0:01.36 c:\mozilla-build\mozmake\mozmake.EXE -f client.mk -s
0:04.30 Adding client.mk options from c:/mozilla-source/mozilla-central/mozconfig:
0:04.30 CONFIG_GUESS=x86_64-pc-mingw32
0:04.30 AUTOCLOBBER=1
0:04.30 LDFLAGS=-LTCG
0:04.30 MOZ_OBJDIR=c:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32
0:04.30 OBJDIR=c:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32
0:04.30 FOUND_MOZCONFIG=c:/mozilla-source/mozilla-central/mozconfig
0:05.17 Elapsed: 0.00s; From dist/private: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories.
0:05.17 Elapsed: 0.00s; From dist/public: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories.
0:05.18 Elapsed: 0.00s; From dist/branding: Kept 15 existing; Added/updated 0; Removed 0 files and 0 directories.
0:05.18 Elapsed: 0.02s; From dist/sdk: Kept 10 existing; Added/updated 0; Removed 1 files and 1 directories.
0:05.20 Elapsed: 0.00s; From dist/xpi-stage: Kept 3 existing; Added/updated 0; Removed 0 files and 0 directories.
0:05.25 Elapsed: 0.05s; From _tests: Kept 0 existing; Added/updated 134; Removed 0 files and 0 directories.
0:05.38 Elapsed: 0.22s; From dist/idl: Kept 0 existing; Added/updated 1070; Removed 0 files and 0 directories.
0:05.83 Elapsed: 0.48s; From dist/bin: Kept 0 existing; Added/updated 2143; Removed 7 files and 0 directories.
0:06.05 Elapsed: 0.87s; From dist/include: Kept 0 existing; Added/updated 5099; Removed 1 files and 0 directories.
0:06.17 buildid.h
0:06.17 source-repo.h
0:07.34 application.ini
0:07.59 application.ini.h
0:07.88 Elapsed: 0.18s; From ../../dist/idl: Kept 0 existing; Added/updated 1070; Removed 0 files and 0 directories.
0:08.56 force-cargo-library-build
0:10.19 Fresh nsstring v0.1.0 (file:///C:/mozilla-source/mozilla-central/xpcom/rust/nsstring)
0:10.19 Fresh byteorder v0.5.3
0:10.20 Fresh matches v0.1.3
0:10.20 Fresh unicode-normalization v0.1.2
0:10.20 Fresh libc v0.2.16
0:10.20 Fresh mp4parse-gtest v0.1.0 (file:///C:/mozilla-source/mozilla-central/dom/media/gtest)
0:10.20 Fresh unicode-bidi v0.2.3
0:10.20 Fresh mp4parse v0.6.0 (file:///C:/mozilla-source/mozilla-central/media/libstagefright/binding/mp4parse)
0:10.20 Fresh nsstring-gtest v0.1.0 (file:///C:/mozilla-source/mozilla-central/xpcom/rust/nsstring/gtest)
0:10.20 Fresh idna v0.1.0
0:10.20 Fresh url v1.2.1
0:10.20 Fresh mp4parse_capi v0.6.0 (file:///C:/mozilla-source/mozilla-central/media/libstagefright/binding/mp4parse_capi)
0:10.20 Fresh rust_url_capi v0.0.1 (file:///C:/mozilla-source/mozilla-central/netwerk/base/rust-url-capi)
0:10.20 Fresh gkrust-shared v0.1.0 (file:///C:/mozilla-source/mozilla-central/toolkit/library/rust/shared)
0:10.22 Fresh gkrust-gtest v0.1.0 (file:///C:/mozilla-source/mozilla-central/toolkit/library/gtest/rust)
0:10.22 Finished release [optimized + debuginfo] target(s) in 0.0 secs
0:10.63 IPCMessageTypeName.cpp
0:10.68 Unified_c_webrtc_modules0.c
0:11.24 Unified_cpp_webrtc_trunk_webrtc0.cpp
0:11.31 webrtc_common.lib.desc
0:11.54 Unified_cpp_webrtc_modules0.cpp
0:11.54 Warning: C4312 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\base\criticalsection.h: 'reinterpret_cast': conversion from 'DWORD' to 'HANDLE' of greater size
0:11.54 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/base/criticalsection.h(59): warning C4312: 'reinterpret_cast': conversion from 'DWORD' to 'HANDLE' of greater size
0:11.54 Unified_cpp_webrtc_common_audio0.cpp
0:11.57 Unified_cpp_webrtc_modules0.cpp
0:11.57 Warning: C4312 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\base\criticalsection.h: 'reinterpret_cast': conversion from 'DWORD' to 'HANDLE' of greater size
0:11.57 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/base/criticalsection.h(59): warning C4312: 'reinterpret_cast': conversion from 'DWORD' to 'HANDLE' of greater size
0:11.60 webrtc_i420.lib.desc
0:11.62 common_audio_sse2.lib.desc
0:11.62 Unified_cpp_webrtc_modules0.cpp
0:11.65 video_processing_sse2.lib.desc
0:11.67 bitrate_controller.lib.desc
0:11.85 Unified_cpp_webrtc_modules0.cpp
0:11.90 G711.lib.desc
0:12.78 single_rw_fifo.cc
0:12.83 Unified_cpp_webrtc_modules0.cpp
0:12.88 red.lib.desc
0:13.06 mimd_rate_control.cc
0:13.13 Unified_cpp_webrtc_modules0.cpp
0:13.13 Warning: C4312 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\base\criticalsection.h: 'reinterpret_cast': conversion from 'DWORD' to 'HANDLE' of greater size
0:13.13 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/base/criticalsection.h(59): warning C4312: 'reinterpret_cast': conversion from 'DWORD' to 'HANDLE' of greater size
0:13.13 Warning: C4311 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\base\trace_event.h: 'reinterpret_cast': pointer truncation from 'const void *' to 'unsigned long'
0:13.13 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/base/trace_event.h(704): warning C4311: 'reinterpret_cast': pointer truncation from 'const void *' to 'unsigned long'
0:13.13 Warning: C4302 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\base\trace_event.h: 'reinterpret_cast': truncation from 'const void *' to 'unsigned long'
0:13.13 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/base/trace_event.h(704): warning C4302: 'reinterpret_cast': truncation from 'const void *' to 'unsigned long'
0:13.17 video_capture_module.lib.desc
0:13.48 audio_device_core_win.cc
0:13.55 Unified_cpp_webrtc_modules0.cpp
0:13.55 Warning: C4996 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\modules\audio_device\win\audio_device_utility_win.cc: 'GetVersionExW': was declared deprecated
0:13.55 c:/mozilla-source/mozilla-central/media/webrtc/trunk/webrtc/modules/audio_device/win/audio_device_utility_win.cc(108): warning C4996: 'GetVersionExW': was declared deprecated
0:13.55 C:\Program Files (x86)\Windows Kits\10\include\10.0.14393.0\um\sysinfoapi.h(451): note: see declaration of 'GetVersionExW'
0:13.59 audio_device.lib.desc
0:13.72 Unified_cpp_webrtc_modules0.cpp
0:13.76 audio_decoder_interface.lib.desc
0:14.12 remote_bitrate_estimator_single_stream.cc
0:14.29 Unified_cpp_webrtc_modules0.cpp
0:14.34 remote_bitrate_estimator.lib.desc
0:14.74 overuse_frame_detector.cc
0:14.74 Warning: C4312 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\base\criticalsection.h: 'reinterpret_cast': conversion from 'DWORD' to 'HANDLE' of greater size
0:14.74 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/base/criticalsection.h(59): warning C4312: 'reinterpret_cast': conversion from 'DWORD' to 'HANDLE' of greater size
0:14.84 UnifiedProtocols9.cpp
0:14.84 c:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/dist/include\mozilla/a11y/COMPtrTypes.h(17): error C2371: 'mozilla::a11y::IAccessibleHolder': redefinition; different basic types
0:14.84 c:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/dist/include\mozilla/a11y/IPCTypes.h(41): note: see declaration of 'mozilla::a11y::IAccessibleHolder'
0:14.84
0:14.85 In the directory /c/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/ipc/ipdl
0:14.85 The following command failed to execute properly:
0:14.85 c:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/_virtualenv/Scripts/python.exe -m mozbuild.action.cl cl.EXE -FoUnifiedProtocols9.obj -c -Ic:/mozilla-source/mozilla-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/mozilla-central/ipc/ipdl -Ic:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/ipc/ipdl -Ic:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/ipc/ipdl/_ipdlheaders -Ic:/mozilla-source/mozilla-central/ipc/chromium/src -Ic:/mozilla-source/mozilla-central/ipc/glue -Ic:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/dist/include -Ic:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/dist/include/nspr -Ic:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/dist/include/nss -MD -FI c:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/mozilla-config.h -DMOZILLA_CLIENT -TP -nologo -wd5026 -wd5027 -Zc:sizedDealloc- -Zc:threadSafeInit- -wd4091 -wd4577 -D_HAS_EXCEPTIONS=0 -W3 -Gy -Zc:inline -utf-8 -FS -Gw -wd4251 -wd4244 -wd4267 -wd4800 -wd4595 -we4553 -GR- -O2 -GA -MP -GL -Gw -favor:INTEL64 -arch:AVX2 -Qfast_transcendentals -Qpar -bigobj -cgthreads8 -Oy- -Fdgenerated.pdb c:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/ipc/ipdl/UnifiedProtocols9.cpp
0:14.88 c:/mozilla-source/mozilla-central/config/rules.mk:986: recipe for target 'UnifiedProtocols9.obj' failed
0:14.88 mozmake.EXE[5]: *** [UnifiedProtocols9.obj] Error 1
0:14.88 mozmake.EXE[5]: *** Waiting for unfinished jobs....
0:15.33 Unified_c_webrtc_modules0.c
0:15.44 Unified_cpp_webrtc_modules2.cpp
0:15.91 UnifiedProtocols5.cpp
0:15.91 c:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/dist/include\mozilla/a11y/COMPtrTypes.h(17): error C2371: 'mozilla::a11y::IAccessibleHolder': redefinition; different basic types
0:15.91 c:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/dist/include\mozilla/a11y/IPCTypes.h(41): note: see declaration of 'mozilla::a11y::IAccessibleHolder'
0:15.92
0:15.96 In the directory /c/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/ipc/ipdl
0:15.96 The following command failed to execute properly:
0:15.96 c:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/_virtualenv/Scripts/python.exe -m mozbuild.action.cl cl.EXE -FoUnifiedProtocols5.obj -c -Ic:/mozilla-source/mozilla-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/mozilla-central/ipc/ipdl -Ic:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/ipc/ipdl -Ic:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/ipc/ipdl/_ipdlheaders -Ic:/mozilla-source/mozilla-central/ipc/chromium/src -Ic:/mozilla-source/mozilla-central/ipc/glue -Ic:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/dist/include -Ic:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/dist/include/nspr -Ic:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/dist/include/nss -MD -FI c:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/mozilla-config.h -DMOZILLA_CLIENT -TP -nologo -wd5026 -wd5027 -Zc:sizedDealloc- -Zc:threadSafeInit- -wd4091 -wd4577 -D_HAS_EXCEPTIONS=0 -W3 -Gy -Zc:inline -utf-8 -FS -Gw -wd4251 -wd4244 -wd4267 -wd4800 -wd4595 -we4553 -GR- -O2 -GA -MP -GL -Gw -favor:INTEL64 -arch:AVX2 -Qfast_transcendentals -Qpar -bigobj -cgthreads8 -Oy- -Fdgenerated.pdb c:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/ipc/ipdl/UnifiedProtocols5.cpp
0:16.00 c:/mozilla-source/mozilla-central/config/rules.mk:986: recipe for target 'UnifiedProtocols5.obj' failed
0:16.00 mozmake.EXE[5]: *** [UnifiedProtocols5.obj] Error 1
0:16.00 c:/mozilla-source/mozilla-central/config/recurse.mk:71: recipe for target 'ipc/ipdl/target' failed
0:16.00 mozmake.EXE[4]: *** [ipc/ipdl/target] Error 2
0:16.00 mozmake.EXE[4]: *** Waiting for unfinished jobs....
0:16.11 Unified_cpp_webrtc_modules0.cpp
0:16.11 Warning: C4373 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\modules\rtp_rtcp\source\rtp_sender.h: 'webrtc::RTPSender::BuildRTPheader': virtual function overrides 'webrtc::RTPSenderInterface::BuildRTPheader', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers
0:16.11 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/modules/rtp_rtcp/source/rtp_sender.h(222): warning C4373: 'webrtc::RTPSender::BuildRTPheader': virtual function overrides 'webrtc::RTPSenderInterface::BuildRTPheader', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers
0:16.11 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/modules/rtp_rtcp/source/rtp_sender.h(55): note: see declaration of 'webrtc::RTPSenderInterface::BuildRTPheader'
0:16.11 Warning: C4373 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\modules\rtp_rtcp\source\rtp_rtcp_impl.h: 'webrtc::ModuleRtpRtcpImpl::SendRTCPReferencePictureSelection': virtual function overrides 'webrtc::RtpRtcp::SendRTCPReferencePictureSelection', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers
0:16.11 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h(324): warning C4373: 'webrtc::ModuleRtpRtcpImpl::SendRTCPReferencePictureSelection': virtual function overrides 'webrtc::RtpRtcp::SendRTCPReferencePictureSelection', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers
0:16.11 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/modules/rtp_rtcp/interface/rtp_rtcp.h(413): note: see declaration of 'webrtc::RtpRtcp::SendRTCPReferencePictureSelection'
0:16.11 Warning: C4311 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\base\trace_event.h: 'reinterpret_cast': pointer truncation from 'const void *' to 'unsigned long'
0:16.11 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/base/trace_event.h(704): warning C4311: 'reinterpret_cast': pointer truncation from 'const void *' to 'unsigned long'
0:16.11 Warning: C4302 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\base\trace_event.h: 'reinterpret_cast': truncation from 'const void *' to 'unsigned long'
0:16.11 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/base/trace_event.h(704): warning C4302: 'reinterpret_cast': truncation from 'const void *' to 'unsigned long'
0:16.16 Unified_cpp_webrtc_modules1.cpp
0:16.16 Warning: C4312 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\base\criticalsection.h: 'reinterpret_cast': conversion from 'DWORD' to 'HANDLE' of greater size
0:16.16 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/base/criticalsection.h(59): warning C4312: 'reinterpret_cast': conversion from 'DWORD' to 'HANDLE' of greater size
0:16.16 Warning: C4311 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\base\trace_event.h: 'reinterpret_cast': pointer truncation from 'const void *' to 'unsigned long'
0:16.16 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/base/trace_event.h(704): warning C4311: 'reinterpret_cast': pointer truncation from 'const void *' to 'unsigned long'
0:16.16 Warning: C4302 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\base\trace_event.h: 'reinterpret_cast': truncation from 'const void *' to 'unsigned long'
0:16.16 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/base/trace_event.h(704): warning C4302: 'reinterpret_cast': truncation from 'const void *' to 'unsigned long'
0:16.16 Warning: C4005 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\build\build_config.h: 'ARCH_CPU_LITTLE_ENDIAN': macro redefinition
0:16.16 c:/mozilla-source/mozilla-central/media/webrtc/trunk\build/build_config.h(104): warning C4005: 'ARCH_CPU_LITTLE_ENDIAN': macro redefinition
0:16.16 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/base/basictypes.h(97): note: see previous definition of 'ARCH_CPU_LITTLE_ENDIAN'
0:16.16 Warning: C4373 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\modules\rtp_rtcp\source\rtp_sender.h: 'webrtc::RTPSender::BuildRTPheader': virtual function overrides 'webrtc::RTPSenderInterface::BuildRTPheader', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers
0:16.16 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/modules/rtp_rtcp/source/rtp_sender.h(222): warning C4373: 'webrtc::RTPSender::BuildRTPheader': virtual function overrides 'webrtc::RTPSenderInterface::BuildRTPheader', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers
0:16.16 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/modules/rtp_rtcp/source/rtp_sender.h(55): note: see declaration of 'webrtc::RTPSenderInterface::BuildRTPheader'
0:16.16 Warning: C4373 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\modules\rtp_rtcp\source\rtp_rtcp_impl.h: 'webrtc::ModuleRtpRtcpImpl::SendRTCPReferencePictureSelection': virtual function overrides 'webrtc::RtpRtcp::SendRTCPReferencePictureSelection', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers
0:16.16 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h(324): warning C4373: 'webrtc::ModuleRtpRtcpImpl::SendRTCPReferencePictureSelection': virtual function overrides 'webrtc::RtpRtcp::SendRTCPReferencePictureSelection', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers
0:16.16 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/modules/rtp_rtcp/interface/rtp_rtcp.h(413): note: see declaration of 'webrtc::RtpRtcp::SendRTCPReferencePictureSelection'
0:16.21 rtp_rtcp.lib.desc
0:16.28 Unified_cpp_webrtc_video_engine1.cpp
0:16.28 Warning: C4312 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\base\criticalsection.h: 'reinterpret_cast': conversion from 'DWORD' to 'HANDLE' of greater size
0:16.28 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/base/criticalsection.h(59): warning C4312: 'reinterpret_cast': conversion from 'DWORD' to 'HANDLE' of greater size
0:16.29 Warning: C4373 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\modules\rtp_rtcp\source\rtp_sender.h: 'webrtc::RTPSender::BuildRTPheader': virtual function overrides 'webrtc::RTPSenderInterface::BuildRTPheader', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers
0:16.29 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/modules/rtp_rtcp/source/rtp_sender.h(222): warning C4373: 'webrtc::RTPSender::BuildRTPheader': virtual function overrides 'webrtc::RTPSenderInterface::BuildRTPheader', previous versions of the compiler did not override when parameters only differed by const/volatile qualifiers
0:16.29 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/modules/rtp_rtcp/source/rtp_sender.h(55): note: see declaration of 'webrtc::RTPSenderInterface::BuildRTPheader'
0:16.29 Warning: C4311 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\base\trace_event.h: 'reinterpret_cast': pointer truncation from 'const void *' to 'unsigned long'
0:16.29 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/base/trace_event.h(704): warning C4311: 'reinterpret_cast': pointer truncation from 'const void *' to 'unsigned long'
0:16.29 Warning: C4302 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\base\trace_event.h: 'reinterpret_cast': truncation from 'const void *' to 'unsigned long'
0:16.29 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/base/trace_event.h(704): warning C4302: 'reinterpret_cast': truncation from 'const void *' to 'unsigned long'
0:16.30 Unified_cpp_webrtc_modules0.cpp
0:16.34 CNG.lib.desc
0:16.45 Unified_cpp_webrtc_modules0.cpp
0:16.45 Warning: C4477 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\modules\desktop_capture\desktop_device_info.cc: '_snprintf_s' : format string '%ld' requires an argument of type 'long', but variadic argument 1 has type 'webrtc::ScreenId'
0:16.45 c:/mozilla-source/mozilla-central/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_device_info.cc(288): warning C4477: '_snprintf_s' : format string '%ld' requires an argument of type 'long', but variadic argument 1 has type 'webrtc::ScreenId'
0:16.45 c:/mozilla-source/mozilla-central/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_device_info.cc(288): note: consider using '%Id' in the format string
0:16.45 Warning: C4005 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\build\build_config.h: 'ARCH_CPU_LITTLE_ENDIAN': macro redefinition
0:16.45 c:/mozilla-source/mozilla-central/media/webrtc/trunk\build/build_config.h(104): warning C4005: 'ARCH_CPU_LITTLE_ENDIAN': macro redefinition
0:16.45 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/base/basictypes.h(97): note: see previous definition of 'ARCH_CPU_LITTLE_ENDIAN'
0:16.52 Unified_cpp_webrtc_video_engine0.cpp
0:16.52 Warning: C4312 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\base\criticalsection.h: 'reinterpret_cast': conversion from 'DWORD' to 'HANDLE' of greater size
0:16.52 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/base/criticalsection.h(59): warning C4312: 'reinterpret_cast': conversion from 'DWORD' to 'HANDLE' of greater size
0:16.52 Warning: C4311 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\base\trace_event.h: 'reinterpret_cast': pointer truncation from 'const void *' to 'unsigned long'
0:16.52 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/base/trace_event.h(704): warning C4311: 'reinterpret_cast': pointer truncation from 'const void *' to 'unsigned long'
0:16.52 Warning: C4302 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\base\trace_event.h: 'reinterpret_cast': truncation from 'const void *' to 'unsigned long'
0:16.52 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/base/trace_event.h(704): warning C4302: 'reinterpret_cast': truncation from 'const void *' to 'unsigned long'
0:16.55 video_engine_core.lib.desc
0:16.83 Unified_cpp_webrtc_modules0.cpp
0:16.83 Warning: C4312 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\base\criticalsection.h: 'reinterpret_cast': conversion from 'DWORD' to 'HANDLE' of greater size
0:16.83 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/base/criticalsection.h(59): warning C4312: 'reinterpret_cast': conversion from 'DWORD' to 'HANDLE' of greater size
0:16.87 webrtc_utility.lib.desc
0:17.18 Unified_cpp_webrtc_modules2.cpp
0:17.18 Warning: C4312 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\base\criticalsection.h: 'reinterpret_cast': conversion from 'DWORD' to 'HANDLE' of greater size
0:17.18 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/base/criticalsection.h(59): warning C4312: 'reinterpret_cast': conversion from 'DWORD' to 'HANDLE' of greater size
0:17.18 Warning: C4311 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\base\trace_event.h: 'reinterpret_cast': pointer truncation from 'const void *' to 'unsigned long'
0:17.18 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/base/trace_event.h(704): warning C4311: 'reinterpret_cast': pointer truncation from 'const void *' to 'unsigned long'
0:17.18 Warning: C4302 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\base\trace_event.h: 'reinterpret_cast': truncation from 'const void *' to 'unsigned long'
0:17.18 c:/mozilla-source/mozilla-central/media/webrtc/trunk\webrtc/base/trace_event.h(704): warning C4302: 'reinterpret_cast': truncation from 'const void *' to 'unsigned long'
0:17.20 Unified_cpp_webrtc_modules1.cpp
0:17.20 Warning: C4477 in c:\mozilla-source\mozilla-central\media\webrtc\trunk\webrtc\modules\desktop_capture\win\desktop_device_info_win.cc: '_snprintf_s' : format string '%ld' requires an argument of type 'long', but variadic argument 1 has type 'webrtc::ProcessId'
0:17.20 c:/mozilla-source/mozilla-central/media/webrtc/trunk/webrtc/modules/desktop_capture/win/desktop_device_info_win.cc(167): warning C4477: '_snprintf_s' : format string '%ld' requires an argument of type 'long', but variadic argument 1 has type 'webrtc::ProcessId'
0:17.20 c:/mozilla-source/mozilla-central/media/webrtc/trunk/webrtc/modules/desktop_capture/win/desktop_device_info_win.cc(167): note: consider using '%Id' in the format string
0:17.22 desktop_capture.lib.desc
0:17.38 c:/mozilla-source/mozilla-central/config/recurse.mk:32: recipe for target 'compile' failed
0:17.38 mozmake.EXE[3]: *** [compile] Error 2
0:17.38 c:/mozilla-source/mozilla-central/config/rules.mk:523: recipe for target 'default' failed
0:17.38 mozmake.EXE[2]: *** [default] Error 2
0:17.38 c:/mozilla-source/mozilla-central/client.mk:415: recipe for target 'realbuild' failed
0:17.38 mozmake.EXE[1]: *** [realbuild] Error 2
0:17.41 client.mk:170: recipe for target 'build' failed
0:17.41 mozmake.EXE: *** [build] Error 2
0:17.44 102 compiler warnings present.
2
xunxun1982
Posts: 311
Joined: June 20th, 2011, 10:37 am

Re: recipe for target failed?

Post by xunxun1982 »

The error is

0:15.91 c:/mozilla-source/mozilla-central/obj-x86_64-pc-mingw32/dist/include\mozilla/a11y/COMPtrTypes.h(17): error C2371: 'mozilla::a11y::IAccessibleHolder': redefinition; different basic types

I think it's related with --disable-accessibility

I remember this bug has been fixed in the latest m-c branch, but I forgot which bug fixed it, if you don't hurry, I will check it when I am at home.
xunxun1982
Posts: 311
Joined: June 20th, 2011, 10:37 am

Re: recipe for target failed?

Post by xunxun1982 »

Well, the bug has been fixed by https://bugzilla.mozilla.org/show_bug.cgi?id=1323996, you can use the bug patch.
sarifriathesylveon
Posts: 19
Joined: March 29th, 2016, 11:54 pm

Re: recipe for target failed?

Post by sarifriathesylveon »

Okay thanks I have technical difficulties but once I fix them I'll try it on desktop
Post Reply