Closed Bug 1135336 Opened 9 years ago Closed 9 years ago

convert makefile rules in MailNews with props2arrays.py to use moz.build GENERATED_FILES

Categories

(MailNews Core :: Build Config, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 38.0

People

(Reporter: philip.chee, Assigned: ewong)

References

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

https://treeherder.mozilla.org/logviewer.html#?job_id=10567&repo=comm-central

> make[5]: Entering directory `/builds/slave/tb-c-cen-lx-000000000000000000/build/objdir-tb/mailnews/intl'
> mkdir -p '.deps/'
> Unified_cpp_mailnews_intl0.o
> /usr/bin/ccache /tools/gcc-4.7.3-0moz1/bin/g++ -m32 -march=pentiumpro -o Unified_cpp_mailnews_intl0.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include /builds/slave/tb-c-cen-lx-000000000000000000/build/mozilla/config/gcc_hidden.h -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DMOZ_GLUE_IN_PROGRAM -DAB_CD=en-US -DNO_NSPR_10_SUPPORT -I/builds/slave/tb-c-cen-lx-000000000000000000/build/mailnews/intl -I. -I/builds/slave/tb-c-cen-lx-000000000000000000/build/mozilla/intl/locale -I../../dist/include -I/builds/slave/tb-c-cen-lx-000000000000000000/build/objdir-tb/dist/include/nspr -I/builds/slave/tb-c-cen-lx-000000000000000000/build/objdir-tb/dist/include/nss -fPIC -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MP -MF .deps/Unified_cpp_mailnews_intl0.o.pp -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -freorder-blocks -Os -fno-omit-frame-pointer /builds/slave/tb-c-cen-lx-000000000000000000/build/objdir-tb/mailnews/intl/Unified_cpp_mailnews_intl0.cpp
> In file included from /builds/slave/tb-c-cen-lx-000000000000000000/build/objdir-tb/mailnews/intl/Unified_cpp_mailnews_intl0.cpp:2:0:
> /builds/slave/tb-c-cen-lx-000000000000000000/build/mailnews/intl/nsCharsetAlias.cpp:21:37: fatal error: charsetalias.properties.h: No such file or directory
> compilation terminated.
> make[5]: *** [Unified_cpp_mailnews_intl0.o] Error 1
> make[5]: Leaving directory `/builds/slave/tb-c-cen-lx-000000000000000000/build/objdir-tb/mailnews/intl'
Attached patch Fix moz.build in mailnews/intl. (obsolete) — Splinter Review
proposed patch.
Attachment #8567462 - Flags: review?(Pidgeot18)
Attachment #8567462 - Flags: review?(Pidgeot18)
Attachment #8567462 - Attachment is obsolete: true
Attachment #8567468 - Flags: review?(Pidgeot18)
Keywords: regression
Comment on attachment 8567468 [details] [diff] [review]
proposed patch (v2)

Review of attachment 8567468 [details] [diff] [review]:
-----------------------------------------------------------------

I'll steal this, just confirmed it works. Thx Edmund!
Attachment #8567468 - Flags: review?(Pidgeot18) → review+
https://hg.mozilla.org/comm-central/rev/d8219513e01f -> FIXED
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 38.0
Currently experiencing build failures involving this commit - a TypeError from this line:

charsetalias = GENERATED_FILES['charsetalias.properties.h']

Commenting out that line (and the two following lines, which depend on it) appears to give a successful build, but presumably without that file.
(In reply to rosuav from comment #16)
> Currently experiencing build failures involving this commit - a TypeError
> from this line:
> 
> charsetalias = GENERATED_FILES['charsetalias.properties.h']
> 
> Commenting out that line (and the two following lines, which depend on it)
> appears to give a successful build, but presumably without that file.

You probably need to update your mozilla-central checkout as well.
Ah, thanks. It's a complicated setup and I invariably forget something. Have reverted the commenting-out, grabbed the latest mozilla-central, and started the build over. Hopefully this will work now!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: