Closed Bug 746590 Opened 12 years ago Closed 12 years ago

Fix in-tree mozconfigs to specify correct gcc location for Firefox Automation, and add missing mozconfig files

Categories

(Thunderbird :: Build Config, defect)

x86
macOS
defect
Not set
normal

Tracking

(thunderbird12 fixed, thunderbird13 fixed, thunderbird-esr1012+ fixed)

RESOLVED FIXED
Thunderbird 14.0
Tracking Status
thunderbird12 --- fixed
thunderbird13 --- fixed
thunderbird-esr10 12+ fixed

People

(Reporter: standard8, Assigned: jhopkins)

References

Details

Attachments

(3 files, 1 obsolete file)

Attached patch The fix (obsolete) — Splinter Review
In testing moving over to the Firefox automation, we've discovered a couple of issues:

- The mozconfigs are specifying an old gcc location. We should sync up with the FF one to minimise the risk of issues.

- The Mac mozconfig has an old check to see if mozconfig.common exists, this is something that we had for 1.9.2 and we can just drop now.

- We're not specifying the REDIST_DIR in the mozconfig for the win32 nightly. Not a big issue as I think there's something that specifies it anyway, but it'll remind us to swap that file to VS 2010 when we get that far.
Attachment #616151 - Flags: review?(jhopkins)
Blocks: 698843
Attached patch The fix v2Splinter Review
Updated patch to include what I think is necessary for debug builds on Mac to run properly.
Attachment #616151 - Attachment is obsolete: true
Attachment #616151 - Flags: review?(jhopkins)
Attachment #616159 - Flags: review?(jhopkins)
Attachment #616159 - Flags: review?(jhopkins) → review+
Checked in:

http://hg.mozilla.org/comm-central/rev/9ab332464c5e
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Of course, I used endif rather than fi, so I've pushed a bustage fix for the staging builds for that:

http://hg.mozilla.org/comm-central/rev/6e7dfba5f1af
Undo portion of previous patch and update CC,CXX variables.  mozconfig.linux not available as mozilla-central hasn't been pulled yet, and there's no mozconfig.linux in comm-central, either.
Assignee: mbanner → jhopkins
Status: RESOLVED → REOPENED
Attachment #616844 - Flags: review?(mconley)
Resolution: FIXED → ---
Comment on attachment 616844 [details] [diff] [review]
set CC,CXX inline

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

John:

Hey, so, again, I'm not really privy to the details of our build stuff - but I think I understand what's going on here, and I approve.

Looks good.

-Mike
Attachment #616844 - Flags: review?(mconley) → review+
Comment on attachment 616844 [details] [diff] [review]
set CC,CXX inline

As an official build peer, r+=me

However john, IF YOU WANT you can have rs+=me to not land this patch and instead land an exact replica of mozilla/build/unix/mozconfig.linux in the corresponding cc directory.

SeaMonkey will be (soon) using gcc-4.5-0moz3 as well (right now we have 0moz2 installed) so we'd have a similar desire.

(which then even allows you to do away with the if test ... lines ;-) )
Attachment #616844 - Flags: review+
callek: sounds reasonable - let's revisit that idea.

For now, I've landed the patch in http://hg.mozilla.org/comm-central/rev/63e28f44e8e6
Ok, I didn't realise that we already had a check for build/ differing from mozilla/build otherwise I might have done this first time around.

Anyway, here's a patch to add the relevant file and use it.
Attachment #616913 - Flags: review?(jhopkins)
Attachment #616913 - Flags: review?(bugspam.Callek)
(for the other OS I'll look later once we've got TB stuff running on FF hardware, as certainly the Windows stuff needs upgrading to 2010, but we don't want to do that before getting it running).
Target Milestone: --- → Thunderbird 14.0
Attachment #616913 - Flags: review?(jhopkins) → review+
Attachment #616913 - Flags: review?(bugspam.Callek)
Checked in: http://hg.mozilla.org/comm-central/rev/950133af840f
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Comment on attachment 616159 [details] [diff] [review]
The fix v2

[Triage Comment]
Currently these are effectively NPOTB and don't yet affect our production builders, however we need to get them to all places for our work on moving across the build systems. Hence I'm landing these on all the active branches.
Attachment #616159 - Flags: approval-comm-esr10+
Attachment #616159 - Flags: approval-comm-beta+
Attachment #616159 - Flags: approval-comm-aurora+
Comment on attachment 616844 [details] [diff] [review]
set CC,CXX inline

[Triage Comment]
Attachment #616844 - Flags: approval-comm-esr10+
Attachment #616844 - Flags: approval-comm-beta+
Attachment #616844 - Flags: approval-comm-aurora+
Attachment #616913 - Flags: approval-comm-esr10+
Attachment #616913 - Flags: approval-comm-beta+
Attachment #616913 - Flags: approval-comm-aurora+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: