Closed Bug 1168251 Opened 10 years ago Closed 10 years ago

updater binary is not copied to the test dir until after invoking build a 2nd time

Categories

(Toolkit :: Application Update, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: robert.strong.bugs, Assigned: glandium)

References

Details

Attachments

(1 file, 3 obsolete files)

This is essentially the same issue that bug 934070 is attempting to fix but has not as of yet fixed.
Attached patch patch rev1 (obsolete) — Splinter Review
Assignee: nobody → robert.strong.bugs
Status: NEW → ASSIGNED
Comment on attachment 8610316 [details] [diff] [review] patch rev1 glandium, I saw your input in bug 934070... do you know of a better way of dealing with this?
Attachment #8610316 - Flags: review?(mh+mozilla)
(In reply to Robert Strong [:rstrong] (use needinfo to contact me) from comment #0) > This is essentially the same issue that bug 934070 is attempting to fix but > has not as of yet fixed. I don't think it is the same issue at all. My guess is (since you didn't file with much information) that you're trying to fix bug 1162326.
(In reply to Mike Hommey [:glandium] from comment #3) > (In reply to Robert Strong [:rstrong] (use needinfo to contact me) from > comment #0) > > This is essentially the same issue that bug 934070 is attempting to fix but > > has not as of yet fixed. > > I don't think it is the same issue at all. My guess is (since you didn't > file with much information) that you're trying to fix bug 1162326. I verified that the patch does in fact fix the issue of the updater binary not being copied until the 2nd invocation of mach build toolkit/mozapps/update/. Why don't you think it is the same issue? Wouldn't that bug be easily fixed by just doing things in libs then?
Note: this is on Windows but I have also seen this on Mac OS X when my MacBook was still working.
Perhaps I could use PROGRAMS_DEST to get around this?
(In reply to Robert Strong [:rstrong] (use needinfo to contact me) from comment #4) > Why don't you think it is the same issue? Because bug 934070 is exclusively about the rules in browser/app/Makefile.in for mac builds, which are not the same as those in toolkit/mozapps/update.
(In reply to Robert Strong [:rstrong] (use needinfo to contact me) from comment #5) > Note: this is on Windows Please provide the error you're trying to fix, then. Because bug 1162326 and bug 934070 are exclusively mac issues.
Attachment #8610316 - Attachment is obsolete: true
Attachment #8610316 - Flags: review?(mh+mozilla)
(In reply to Mike Hommey [:glandium] from comment #8) > (In reply to Robert Strong [:rstrong] (use needinfo to contact me) from > comment #5) > > Note: this is on Windows > > Please provide the error you're trying to fix, then. Because bug 1162326 and > bug 934070 are exclusively mac issues. The error or more precisely the issue is the "updater binary is not copied to the test dir until after invoking build a 2nd time". I'll try to figure out the best approach to solve this with my limited knowledge of the build system and re-submit. I suspect though I'm not entirely sure with my limited knowledge of the build system that the reason that bug 934070 is Mac only is because that code block only applies to Mac. As I said previously, I have seen this before on Mac and specifically with the Mac only updater libs section. This has to do with Windows because these are test files that need to be copied after they are compiled similar to how on Mac the bundle needs to be created as in bug 934070.
Attached patch patch (obsolete) — Splinter Review
This fixes it for me. If you prefer I can do this in the tools tier since this file is used for tests and the tools tier is for "installing tests and other support tools."
Attachment #8610348 - Flags: review?(mh+mozilla)
Attached patch patch - use tools tier (obsolete) — Splinter Review
In case you'd prefer going with the tools tier per the docs. On Windows I verified that this bug exists without either of these patches and that both of these patches fix this bug.
Attachment #8610375 - Flags: review?(mh+mozilla)
Attachment #8610348 - Flags: review?(mh+mozilla) → review-
Attachment #8610375 - Flags: review?(mh+mozilla) → review-
This all stems from the fact that we don't recurse on non-toplevel compile, and kinda sorta rely on libs doing it, but that's more or less botched. So let's fix that instead.
Assignee: robert.strong.bugs → mh+mozilla
Attachment #8610348 - Attachment is obsolete: true
Attachment #8610375 - Attachment is obsolete: true
Comment on attachment 8610417 [details] [diff] [review] 0001-Bug-1168251-Do-a-partial-recursion-when-doing-make-C.patch Review of attachment 8610417 [details] [diff] [review]: ----------------------------------------------------------------- I bet this breaks someone's workflow. Let's land it.
Attachment #8610417 - Flags: review?(gps) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
That fixed this. Thanks!
Depends on: 1169769
Depends on: 1169937
Depends on: 1172318
No longer depends on: 1172318
Blocks: 1169769
No longer depends on: 1169769
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: