Closed Bug 1180356 Opened 8 years ago Closed 8 years ago

Cannot find wrl.h : No such file or directory when building WindowsUIUtils.obj


(MailNews Core :: Build Config, defect)

Windows Server 2008
Not set


(thunderbird40 fixed, thunderbird41 fixed)

Thunderbird 42.0
Tracking Status
thunderbird40 --- fixed
thunderbird41 --- fixed


(Reporter: ewong, Assigned: ewong)



(Keywords: dogfood)


(1 file, 1 obsolete file)

while building Win32 trunk nightly, came across this bustage:

c:/builds/slave3/c-c/build/objdir/_virtualenv/Scripts/python.exe -m  cl -FonsTextStore.obj -c -I../../dist/stl_wrappers  -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 -DNOMINMAX -D_WINDOWS -D_SECURE_ATL -DCOMPILER_MSVC -DMOZ_UNICODE -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DAB_CD=en-US -DNO_NSPR_10_SUPPORT -Ic:/builds/slave4/c-c/build/mozilla/widget/windows -I. -Ic:/builds/slave3/c-c/build/objdir/ipc/ipdl/_ipdlheaders -Ic:/builds/slave4/c-c/build/mozilla/ipc/chromium/src -Ic:/builds/slave4/c-c/build/mozilla/ipc/glue -Ic:/builds/slave4/c-c/build/mozilla/layout/generic -Ic:/builds/slave4/c-c/build/mozilla/layout/xul -Ic:/builds/slave4/c-c/build/mozilla/toolkit/xre -Ic:/builds/slave4/c-c/build/mozilla/widget -Ic:/builds/slave4/c-c/build/mozilla/xpcom/base -I../../dist/include   -Ic:/builds/slave3/c-c/build/objdir/dist/include/nspr -Ic:/builds/slave3/c-c/build/objdir/dist/include/nss        -MD            -FI ../../dist/include/mozilla-config.h -DMOZILLA_CLIENT  -TP -nologo -D_HAS_EXCEPTIONS=0 -W3 -Gy -arch:IA32 -FS -wd4251 -wd4244 -wd4267 -wd4345 -wd4351 -wd4482 -wd4800 -wd4819 -we4553 -GR-  -DNDEBUG -DTRIMMED -Zi -UDEBUG -DNDEBUG -O1 -Oi -Oy-  -Ic:/builds/slave3/c-c/build/objdir/dist/include/cairo -Fdgenerated.pdb   c:/builds/slave4/c-c/build/mozilla/widget/windows/nsTextStore.cpp
c:\builds\slave4\c-c\build\mozilla\widget\windows\mozwrlbase.h(77) : fatal error C1083: Cannot open include file: 'wrl.h': No such file or directory
c:/builds/slave4/c-c/build/mozilla/config/ recipe for target 'WindowsUIUtils.obj' failed
mozmake.exe[4]: *** [WindowsUIUtils.obj] Error 2
mozmake.exe[4]: *** Waiting for unfinished jobs....
mozmake.exe[4]: Entering directory 'c:/builds/slave3/c-c/build/objdir/gfx/layers'
OS: Unspecified → Windows Server 2008
Hardware: Unspecified → x86_64
This WindowsUIUtils.cpp file was added in

Gijs, what libraries are required to build this?
Product: SeaMonkey → MailNews Core
Flags: needinfo?(gijskruitbosch+bugs)
Actually.. I believe I know where the problem lies. Mailnews Core isn't including
the 8.1 winrt include directory in the mozconfig.vs2013-win64.
Attached patch proposed patch(v1) (obsolete) — Splinter Review
Assignee: nobody → ewong
Attachment #8629550 - Flags: review?(Pidgeot18)
Testing that patch on try-comm-central, and locally.
Attachment #8629550 - Attachment is obsolete: true
Attachment #8629550 - Flags: review?(Pidgeot18)
Attachment #8629585 - Flags: review?(Pidgeot18)
(In reply to Edmund Wong (:ewong) from comment #8)
> Created attachment 8629585 [details] [diff] [review]
> fixed proposed patch (v2)
Flags: needinfo?(gijskruitbosch+bugs)
This is the corresponding build error from the Linux and Mac builders:
> TEST-INFO | | file(s) found in: /builds/slave/tb-c-cen-lx-ntly-0000000000000/build/build
> TEST-INFO | | differ from their originals in: /builds/slave/tb-c-cen-lx-ntly-0000000000000/build/mozilla/build 
> TEST-INFO | | differing file: ./win64/mozconfig.vs2013
> TEST-INFO | | differing file: ./win32/mozconfig.vs2013-win64
Keywords: dogfood
Comment on attachment 8629585 [details] [diff] [review]
fixed proposed patch (v2)

Review of attachment 8629585 [details] [diff] [review]:

Stealing this copy-paste review.
Attachment #8629585 - Flags: review?(Pidgeot18) → review+ -> FIXED

Thx Edmund!
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 42.0
Late to this particular party, but it seems like this part of the mozconfig stuff should just be reused from m-c. That would avoid this kind of breakage in future.
Comment on attachment 8629585 [details] [diff] [review]
fixed proposed patch (v2)

[Approval Request Comment]
Regression caused by (bug #): Bug 1170522 was uplifted to mozilla-aurora and mozilla-aurora, see Bug 1170522 Comment 49 and Bug 1170522 Comment 50.
User impact if declined: Build error Windows platform, no nightly builds available for testing.
Testing completed (on c-c, etc.): 
Risk to taking this patch (and alternatives if risky):
Attachment #8629585 - Flags: approval-comm-beta?
Attachment #8629585 - Flags: approval-comm-aurora?
Depends on: 1170522
Attachment #8629585 - Flags: approval-comm-beta?
Attachment #8629585 - Flags: approval-comm-beta+
Attachment #8629585 - Flags: approval-comm-aurora?
Attachment #8629585 - Flags: approval-comm-aurora+
Thank you very much, comm-aurora and comm-beta builds are building again and are green.
You need to log in before you can comment on or make changes to this bug.