Closed Bug 1729689 Opened 4 years ago Closed 4 years ago

Bustage nsHTTPSOnlyUtils.h: error: static_assert failed due to requirement 'std::is_convertible<TestHTTPAnswerRunnable *, nsINamed *>::value' "nsITimerCallback implementations must also implement nsINamed" when Gecko 94 merges to Beta on 2021-10-04

Categories

(Core :: XPCOM, defect)

defect

Tracking

()

VERIFIED FIXED
94 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- unaffected
firefox92 --- unaffected
firefox93 --- unaffected
firefox94 blocking verified

People

(Reporter: nataliaCs, Assigned: florian)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

[Tracking Requested - why for this release]:

[task 2021-09-08T11:08:35.942Z] 11:08:35     INFO -  In file included from /builds/worker/checkouts/gecko/docshell/base/nsDocShell.cpp:87:
[task 2021-09-08T11:08:35.942Z] 11:08:35    ERROR -  /builds/worker/workspace/obj-build/dist/include/mozilla/dom/nsHTTPSOnlyUtils.h:229:3: error: static_assert failed due to requirement 'std::is_convertible<TestHTTPAnswerRunnable *, nsINamed *>::value' "nsITimerCallback implementations must also implement nsINamed"
[task 2021-09-08T11:08:35.942Z] 11:08:35     INFO -    NS_DECL_NSITIMERCALLBACK
[task 2021-09-08T11:08:35.942Z] 11:08:35     INFO -    ^~~~~~~~~~~~~~~~~~~~~~~~
[task 2021-09-08T11:08:35.942Z] 11:08:35     INFO -  /builds/worker/workspace/obj-build/dist/include/nsITimer.h:302:5: note: expanded from macro 'NS_DECL_NSITIMERCALLBACK'
[task 2021-09-08T11:08:35.942Z] 11:08:35     INFO -      static_assert(std::is_convertible<decltype(this), nsINamed*>::value, \
[task 2021-09-08T11:08:35.942Z] 11:08:35     INFO -      ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2021-09-08T11:08:35.943Z] 11:08:35     INFO -  1 error generated.
[task 2021-09-08T11:08:35.943Z] 11:08:35    ERROR -  gmake[4]: *** [/builds/worker/checkouts/gecko/config/rules.mk:676: Unified_cpp_docshell_base0.o] Error 1
[task 2021-09-08T11:08:35.943Z] 11:08:35     INFO -  gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/docshell/base'
[task 2021-09-08T11:08:35.944Z] 11:08:35    ERROR -  gmake[3]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:72: docshell/base/target-objects] Error 2
[task 2021-09-08T11:08:35.944Z] 11:08:35     INFO -  gmake[3]: *** Waiting for unfinished jobs....

This seems to have been caused by Bug 1728760.

Florian, could you help us out please?

Beta-simulation after backing out But 1728760 with all builds passed: https://treeherder.mozilla.org/jobs?repo=try&group_state=expanded&revision=76720bced240de468e44d808ec52f306c7d902be&searchStr=build

Flags: needinfo?(florian)
Regressed by: 1728760
Has Regression Range: --- → yes
Assignee: nobody → florian
Status: NEW → ASSIGNED

Natalia, does this patch help?

Flags: needinfo?(florian) → needinfo?(ncsoregi)

Yes, the patch fixes the bustage (patch is not shown because it was part of an earlier push which got automatically built as artifact build).

Flags: needinfo?(ncsoregi)
Pushed by fqueze@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/68172b4ec39f Do not require nsITimerCallback implementations to implement nsINamed on release or beta, as runnables don't have names there, r=smaug.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 94 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: