Opened 21 months ago
Closed 20 months ago
#20976 closed enhancement (fixed)
Check Mozilla dependencies on node.js
| Reported by: | Xi Ruoyao | Owned by: | Xi Ruoyao |
|---|---|---|---|
| Priority: | normal | Milestone: | 12.3 |
| Component: | BOOK | Version: | git |
| Severity: | medium | Keywords: | |
| Cc: |
Description
It's said building SeaMonkey does not needs node.js if --disable-nodejs is used. And I just took a look at Gentoo, it does not have --disable-nodejs but it also does not list node.js as a SeaMonkey dependency.
We should check this out. Firefox and Thunderbird also have the --disable-nodejs option but the upstream says it's only intended for l10n teams and building FF/TB with this option will just fail. But maybe we should check them out ourselves anyway.
Attachments (1)
Change History (4)
comment:1 by , 21 months ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 20 months ago
I did a build of firefox without node.js installed and it does fail at the very end. I'll add my build log as an attachment next.
by , 20 months ago
| Attachment: | build-firefox.log added |
|---|
comment:3 by , 20 months ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
For Seamonkey it's demoted to optional.
For Firefox node.js is needed to run Babel which converts the JS files written in the latest ECMAScript standard version into an old ECMAScript standard.
To me spidermonkey can just run ECMAScript 2024 fine so maybe the conversion is not really needed. But this is not a BLFS issue anyway, if you still have doubt please contact with the upstream directly.

I guess I'll do it myself in several days, but if you guys have some spare time feel free to reassign.