#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)

build-firefox.log​ (283.3 KB ) - added by Joe Locash 20 months ago.

Download all attachments as: .zip

Change History (4)

comment:1 by Xi Ruoyao, 21 months ago

Owner: changed from blfs-book to Xi Ruoyao
Status: new → assigned

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

comment:2 by Joe Locash, 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 Joe Locash, 20 months ago

Attachment: build-firefox.log​ added

comment:3 by Xi Ruoyao, 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.

Note: See TracTickets for help on using tickets.