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)
Toolkit
Application Update
Tracking
()
RESOLVED
FIXED
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: robert.strong.bugs, Assigned: glandium)
References
Details
Attachments
(1 file, 3 obsolete files)
1.75 KB,
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
This is essentially the same issue that bug 934070 is attempting to fix but has not as of yet fixed.
![]() |
Reporter | |
Comment 1•10 years ago
|
||
Assignee: nobody → robert.strong.bugs
Status: NEW → ASSIGNED
![]() |
Reporter | |
Comment 2•10 years ago
|
||
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)
Assignee | ||
Comment 3•10 years ago
|
||
(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.
![]() |
Reporter | |
Comment 4•10 years ago
|
||
(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?
![]() |
Reporter | |
Comment 5•10 years ago
|
||
Note: this is on Windows but I have also seen this on Mac OS X when my MacBook was still working.
![]() |
Reporter | |
Comment 6•10 years ago
|
||
Perhaps I could use PROGRAMS_DEST to get around this?
Assignee | ||
Comment 7•10 years ago
|
||
(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.
Assignee | ||
Comment 8•10 years ago
|
||
(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.
![]() |
Reporter | |
Updated•10 years ago
|
Attachment #8610316 -
Attachment is obsolete: true
Attachment #8610316 -
Flags: review?(mh+mozilla)
![]() |
Reporter | |
Comment 9•10 years ago
|
||
(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.
![]() |
Reporter | |
Comment 10•10 years ago
|
||
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)
![]() |
Reporter | |
Comment 11•10 years ago
|
||
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)
Assignee | ||
Updated•10 years ago
|
Attachment #8610348 -
Flags: review?(mh+mozilla) → review-
Assignee | ||
Updated•10 years ago
|
Attachment #8610375 -
Flags: review?(mh+mozilla) → review-
Assignee | ||
Comment 12•10 years ago
|
||
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
Assignee | ||
Updated•10 years ago
|
Attachment #8610348 -
Attachment is obsolete: true
Assignee | ||
Updated•10 years ago
|
Attachment #8610375 -
Attachment is obsolete: true
Assignee | ||
Comment 13•10 years ago
|
||
Attachment #8610417 -
Flags: review?(gps)
Comment 14•10 years ago
|
||
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+
Comment 15•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
![]() |
Reporter | |
Comment 17•10 years ago
|
||
That fixed this. Thanks!
Assignee | ||
Updated•10 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•