Closed
Bug 1084489
Opened 11 years ago
Closed 11 years ago
Tons of "Warning: missing module: resource://gre/modules/AddonManager.jsm" terminal-spam, at the end of my build. (Also "Warning: missing module: ../../framescript/FrameScriptManager.jsm")
Categories
(Add-on SDK Graveyard :: General, defect, P2)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla37
People
(Reporter: dholbert, Assigned: zombie)
References
Details
Attachments
(2 files)
I just did a (non-clobber) build with up-to-date mozilla-central (cset 51892b39597a).
At the end of my build, I got 12 copies of this line:
> Warning: missing module: resource://gre/modules/AddonManager.jsm
...and 18 copies of this line:
> Warning: missing module: ../../framescript/FrameScriptManager.jsm
These warnings were intermixed with the "Exporting extension to [whatever].xpi" lines, so I guess they're generated by that part of the build process.
I don't know what's causing these, but I think this is a pretty recently-introduced problem -- I haven't noticed this before. Can we fix it whatever's causing this?
(Not sure where this bug belongs. Starting it off in Toolkit|Add-on SDK, since that's where AddonManager.jsm was last touched.)
| Reporter | ||
Comment 1•11 years ago
|
||
I'm attaching the end of my build log, with these warnings in context.
| Reporter | ||
Updated•11 years ago
|
Summary: Tons of "Warning: missing module: resource://gre/modules/AddonManager.jsm" terminal-spam, at the end of my build. (also ../../framescript/FrameScriptManager.jsm) → Tons of "Warning: missing module: resource://gre/modules/AddonManager.jsm" terminal-spam, at the end of my build. (Also "Warning: missing module: ../../framescript/FrameScriptManager.jsm")
Comment 2•11 years ago
|
||
It's outputted as part of cfx building the test add-ons for the SDK.
Erik or Zombie, any reason we can't turn off these warnings in cfx?
Component: Add-ons Manager → General
Flags: needinfo?(tomica+amo)
Flags: needinfo?(evold)
Product: Toolkit → Add-on SDK
Version: Trunk → unspecified
| Assignee | ||
Comment 3•11 years ago
|
||
the warning was intentional as an intermediary step toward jpm, but i think we can safely turn off for .jsm modules..
Assignee: nobody → tomica+amo
Status: NEW → ASSIGNED
Flags: needinfo?(tomica+amo)
Flags: needinfo?(evold)
OS: Linux → All
Hardware: x86_64 → All
Updated•11 years ago
|
Priority: -- → P2
| Assignee | ||
Comment 4•11 years ago
|
||
hey Erik, does it make sense to add JSM modules to `requirements`?
up until sdk 1.16 we didn't (we couldn't), then starting with 1.17 we did (by accident), without any noticeable difference.
so since it doesn't matter, i decided not to..
Attachment #8541865 -
Flags: review?(evold)
Comment 5•11 years ago
|
||
Comment on attachment 8541865 [details] [review]
Link to Github pull-request: https://github.com/mozilla/addon-sdk/pull/1773
We aren't releasing a new version of cfx, but I'm ok with merging this.
Attachment #8541865 -
Flags: review?(evold) → review+
Comment 6•11 years ago
|
||
Commits pushed to master at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/c32cc66d95dd951bbd647c60ad2888a19b430a8f
bug 1084489 - don't warn on JSM modules
https://github.com/mozilla/addon-sdk/commit/37d9388358a913e83828432e19f2534b0e321c50
Merge pull request #1773 from zombie/1084489-jsm-warn
bug 1084489 - don't warn on JSM modules, r=@erikvold
| Assignee | ||
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 7•11 years ago
|
||
I still get a lot of these warnings while building Nightly. zombie, would you like more details? Should we reopen this bug?
Flags: needinfo?(tomica+amo)
Comment 8•11 years ago
|
||
(In reply to Liz Henry :lizzard from comment #7)
> I still get a lot of these warnings while building Nightly. zombie, would
> you like more details? Should we reopen this bug?
The bug is fixed in the Add-on SDK github repo. It will not be fixed in mozilla-central until the next uplift.
Updated•11 years ago
|
Flags: needinfo?(tomica+amo)
| Assignee | ||
Updated•11 years ago
|
Target Milestone: --- → mozilla37
You need to log in
before you can comment on or make changes to this bug.
Description
•