Frequent red on builders: error RC2135 : file not found: address-book.ico

RESOLVED FIXED in Thunderbird 19.0

Status

Thunderbird
Build Config
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: standard8, Assigned: standard8)

Tracking

Trunk
Thunderbird 19.0
All
Windows 7
Bug Flags:
in-testsuite -

Thunderbird Tracking Flags

(thunderbird18 fixed)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Assignee)

Description

5 years ago
This failure is frequently turning the Windows builders red, I think someone had originally proposed a fix for it, but I'm not sure it went anywhere. We should try and fix this if we can:

nsMailApp.cpp
e:\builds\moz2_slave\tb-c-cen-w32-dbg\build\config\rules.mk:1195:0$ e:/builds/moz2_slave/tb-c-cen-w32-dbg/build/objdir-tb/_virtualenv/Scripts/python.exe -O e:/builds/moz2_slave/tb-c-cen-w32-dbg/build/mozilla/build/cl.py cl -FonsMailApp.obj -c   -DMOZ_SOURCE_STAMP="8285f35f9fd5" -DMOZ_SOURCE_REPO="http://hg.mozilla.org/comm-central" -DMOZILLA_OFFICIAL -DAB_CD=en-US -DAPP_VERSION="19.0a1" -DTHUNDERBIRD_ICO=\"../../mozilla/dist/branding/thunderbird.ico\" -DGRE_MILESTONE=19.0a1 -DGRE_BUILDID=20121101003454  -DXPCOM_GLUE -DMOZ_THUNDERBIRD=1 -DOSTYPE=\"WINNT6.1\" -DOSARCH=WINNT -Ie:/builds/moz2_slave/tb-c-cen-w32-dbg/build/mozilla/toolkit/xre -Ie:/builds/moz2_slave/tb-c-cen-w32-dbg/build/mozilla/xpcom/base -Ie:/builds/moz2_slave/tb-c-cen-w32-dbg/build/mozilla/xpcom/build  -Ie:/builds/moz2_slave/tb-c-cen-w32-dbg/build/mail/app -I. -I../../mozilla/dist/include -I../../mozilla/dist/include/nsprpub  -Ie:/builds/moz2_slave/tb-c-cen-w32-dbg/build/objdir-tb/mozilla/dist/include/nspr -Ie:/builds/moz2_slave/tb-c-cen-w32-dbg/build/objdir-tb/mozilla/dist/include/nss        -TP -nologo -W3 -Gy -Fdgenerated.pdb -wd4800 -GR-  -DDEBUG -D_DEBUG -DTRACING -Zi -O1 -Oy- -MDd           -FI ../../comm-config.h -DMOZILLA_CLIENT e:/builds/moz2_slave/tb-c-cen-w32-dbg/build/mail/app/nsMailApp.cpp
e:\builds\moz2_slave\tb-c-cen-w32-dbg\build\config\version.mk:49:0$ /bin/sh /e/builds/moz2_slave/tb-c-cen-w32-dbg/build/mozilla/build/msys-perl-wrapper e:/builds/moz2_slave/tb-c-cen-w32-dbg/build/mozilla/config/version_win.pl -QUIET 1 -DEPTH ../../mozilla -TOPSRCDIR e:/builds/moz2_slave/tb-c-cen-w32-dbg/build/mozilla -OBJDIR . -SRCDIR e:/builds/moz2_slave/tb-c-cen-w32-dbg/build/mail/app -DISPNAME Daily -APPVERSION 19.0a1 -OFFICIAL 1 -DEBUG 1 -BINARY thunderbird.exe -RCINCLUDE e:/builds/moz2_slave/tb-c-cen-w32-dbg/build/mail/app/splash.rc
e:\builds\moz2_slave\tb-c-cen-w32-dbg\build\objdir-tb\mail\app\Makefile:102:0$ e:/builds/moz2_slave/tb-c-cen-w32-dbg/build/objdir-tb/_virtualenv/Scripts/python.exe e:/builds/moz2_slave/tb-c-cen-w32-dbg/build/mozilla/config/pythonpath.py -Ie:/builds/moz2_slave/tb-c-cen-w32-dbg/build/build/pypng e:/builds/moz2_slave/tb-c-cen-w32-dbg/build/build/png2ico.py e:/builds/moz2_slave/tb-c-cen-w32-dbg/build/mail/themes/qute/mail/icons/mail-toolbar-aero.png 37 1 16 address-book.ico
Creating Resource file: module.res
e:\builds\moz2_slave\tb-c-cen-w32-dbg\build\config\rules.mk:1237:0$ rc.exe  -DMOZ_THUNDERBIRD -Ie:/builds/moz2_slave/tb-c-cen-w32-dbg/build/mail/app -r -DMOZ_SOURCE_STAMP="8285f35f9fd5" -DMOZ_SOURCE_REPO="http://hg.mozilla.org/comm-central" -DMOZILLA_OFFICIAL -DAB_CD=en-US -DAPP_VERSION="19.0a1" -DTHUNDERBIRD_ICO=\"../../mozilla/dist/branding/thunderbird.ico\" -DGRE_MILESTONE=19.0a1 -DGRE_BUILDID=20121101003454  -DXPCOM_GLUE -DMOZ_THUNDERBIRD=1 -DOSTYPE=\"WINNT6.1\" -DOSARCH=WINNT -Ie:/builds/moz2_slave/tb-c-cen-w32-dbg/build/mozilla/toolkit/xre -Ie:/builds/moz2_slave/tb-c-cen-w32-dbg/build/mozilla/xpcom/base -Ie:/builds/moz2_slave/tb-c-cen-w32-dbg/build/mozilla/xpcom/build  -Ie:/builds/moz2_slave/tb-c-cen-w32-dbg/build/mail/app -I. -I../../mozilla/dist/include -I../../mozilla/dist/include/nsprpub  -Ie:/builds/moz2_slave/tb-c-cen-w32-dbg/build/objdir-tb/mozilla/dist/include/nspr -Ie:/builds/moz2_slave/tb-c-cen-w32-dbg/build/objdir-tb/mozilla/dist/include/nss     -Fomodule.res e:/builds/moz2_slave/tb-c-cen-w32-dbg/build/objdir-tb/mail/app/module.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385

Copyright (C) Microsoft Corporation.  All rights reserved.



e:/builds/moz2_slave/tb-c-cen-w32-dbg/build/objdir-tb/mail/app/module.rc(40) : error RC2135 : file not found: address-book.ico

e:\builds\moz2_slave\tb-c-cen-w32-dbg\build\config\rules.mk:1237:0: command 'rc.exe  -DMOZ_THUNDERBIRD -Ie:/builds/moz2_slave/tb-c-cen-w32-dbg/build/mail/app -r -DMOZ_SOURCE_STAMP="8285f35f9fd5" -DMOZ_SOURCE_REPO="http://hg.mozilla.org/comm-central" -DMOZILLA_OFFICIAL -DAB_CD=en-US -DAPP_VERSION="19.0a1" -DTHUNDERBIRD_ICO=\"../../mozilla/dist/branding/thunderbird.ico\" -DGRE_MILESTONE=19.0a1 -DGRE_BUILDID=20121101003454  -DXPCOM_GLUE -DMOZ_THUNDERBIRD=1 -DOSTYPE=\"WINNT6.1\" -DOSARCH=WINNT -Ie:/builds/moz2_slave/tb-c-cen-w32-dbg/build/mozilla/toolkit/xre -Ie:/builds/moz2_slave/tb-c-cen-w32-dbg/build/mozilla/xpcom/base -Ie:/builds/moz2_slave/tb-c-cen-w32-dbg/build/mozilla/xpcom/build  -Ie:/builds/moz2_slave/tb-c-cen-w32-dbg/build/mail/app -I. -I../../mozilla/dist/include -I../../mozilla/dist/include/nsprpub  -Ie:/builds/moz2_slave/tb-c-cen-w32-dbg/build/objdir-tb/mozilla/dist/include/nspr -Ie:/builds/moz2_slave/tb-c-cen-w32-dbg/build/objdir-tb/mozilla/dist/include/nss     -Fomodule.res e:/builds/moz2_slave/tb-c-cen-w32-dbg/build/objdir-tb/mail/app/module.rc' failed, return code 1
<thunderbird.exe>: Found error
Created attachment 677370 [details] [diff] [review]
Untested fix

This is the completely untested fix I proposed at the time.
(Assignee)

Comment 2

5 years ago
Comment on attachment 677370 [details] [diff] [review]
Untested fix

Sid, do you think this might work?
Attachment #677370 - Flags: review?(sid.bugzilla)
Comment on attachment 677370 [details] [diff] [review]
Untested fix

No, you want to make $(RESFILE) (please don't hardcode it) dependent on the two ico files, and have separate rules to make the two. Or maybe one "embedded-icons" target.
Attachment #677370 - Flags: review?(sid.bugzilla) → review-
(Assignee)

Comment 4

5 years ago
Created attachment 682394 [details] [diff] [review]
Possible fix

Ok, I've taken Sid's suggestions and applied them here. I've run this through try server once and it passed, I'll run it a couple of more times as well.
Attachment #677370 - Attachment is obsolete: true
Attachment #682394 - Flags: review?(sid.bugzilla)
Comment on attachment 682394 [details] [diff] [review]
Possible fix

Thanks.
Attachment #682394 - Flags: review?(sid.bugzilla) → review+
(Assignee)

Comment 6

5 years ago
Checked in:

https://hg.mozilla.org/comm-central/rev/eb6026dff0b8
Assignee: nobody → mbanner
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 19.0
(Assignee)

Comment 7

5 years ago
Comment on attachment 682394 [details] [diff] [review]
Possible fix

[Triage Comment]
This has been good on trunk so far (no more instances seen), so taking it onto aurora where we also have pymake.
Attachment #682394 - Flags: approval-comm-aurora+
(Assignee)

Comment 8

5 years ago
https://hg.mozilla.org/releases/comm-aurora/rev/305b7bcca6eb
status-thunderbird18: --- → fixed
You need to log in before you can comment on or make changes to this bug.