tl;dr I screwed up and accidentally made two critical mistakes:
1) Node.js 22 got into Rawhide as the default early. I'm not sure of
how to back that out safely.
2) A change made in Node.js 20 to split out two libraries
(cjs-module-lexer and undici) that we were bundling in prior releases
has introduced issues with Node.js 22 because it can't find them (and
the ones from Node.js 20 are older). I'll probably re-bundle them in
the short term to unbreak things.
On Tue, May 21, 2024 at 8:55 AM Sérgio Basto <sergio(a)serjux.com> wrote:
Hi,
Since the thread is in top posting, I will top posting too ...
I also saw a "Native stack trace" [1] on Rawhide on nodejs-electron [2]
Best regards,
[2]
https://copr.fedorainfracloud.org/coprs/sergiomb/electrons/build/7462286/
[1]
[432/39358] python3 ../../tools/polymer/html_to_wrapper.py --in_folder
gen/components/flags_ui/resources/preprocessed --out_folder
gen/components/flags_ui/resources/preprocessed --in_files
experiment.html app.html --template native --minify
FAILED:
gen/components/flags_ui/resources/preprocessed/experiment.html.ts
gen/components/flags_ui/resources/preprocessed/app.html.ts
python3 ../../tools/polymer/html_to_wrapper.py --in_folder
gen/components/flags_ui/resources/preprocessed --out_folder
gen/components/flags_ui/resources/preprocessed --in_files
experiment.html app.html --template native --minify
Traceback (most recent call last):
File
"/builddir/build/BUILD/src/out/Release/../../tools/polymer/html_to_wrap
per.py", line 242, in <module>
main(sys.argv[1:])
File
"/builddir/build/BUILD/src/out/Release/../../tools/polymer/html_to_wrap
per.py", line 175, in main
raise err
File
"/builddir/build/BUILD/src/out/Release/../../tools/polymer/html_to_wrap
per.py", line 170, in main
node.RunNode(
File "/builddir/build/BUILD/src/third_party/node/node.py", line 34,
in RunNode
raise RuntimeError('Command \'%s\' failed\n%s' % ('
'.join(cmd),
err))
RuntimeError: Command
'/builddir/build/BUILD/src/third_party/node/linux/node-linux-
x64/bin/node
/builddir/build/BUILD/src/out/Release/../../tools/polymer/html_minifier
.js
/builddir/build/BUILD/src/out/Release/gen/components/flags_ui/resources
/preprocessed
/builddir/build/BUILD/src/out/Release/gen/components/flags_ui/resources
/preprocessed/tmpf1m6ift1 experiment.html app.html' failed
Cannot load externalized builtin: "internal/deps/cjs-module-
lexer/lexer:/usr/lib/node_modules/cjs-module-lexer/lexer.js".
----- Native stack trace -----
1: 0x7f16cd92a585
node::builtins::BuiltinLoader::AddExternalizedBuiltin(char const*, char
const*) [/lib64/libnode.so.127]
2: 0x7f16cd92a763 node::builtins::BuiltinLoader::BuiltinLoader()
[/lib64/libnode.so.127]
3: 0x7f16cd88ee61 node::InitializePrimordials(v8::Local<v8::Context>)
[/lib64/libnode.so.127]
4: 0x7f16cd88efa0 node::GetPerContextExports(v8::Local<v8::Context>)
[/lib64/libnode.so.127]
5: 0x7f16cd88ed68 node::InitializePrimordials(v8::Local<v8::Context>)
[/lib64/libnode.so.127]
6: 0x7f16cd88f080
node::InitializeMainContextForSnapshot(v8::Local<v8::Context>)
[/lib64/libnode.so.127]
7: 0x7f16cd88f0a5 node::InitializeContext(v8::Local<v8::Context>)
[/lib64/libnode.so.127]
8: 0x7f16cd88f109 node::NewContext(v8::Isolate*,
v8::Local<v8::ObjectTemplate>) [/lib64/libnode.so.127]
9: 0x7f16cd9aa564
node::NodeMainInstance::CreateMainEnvironment(node::ExitCode*)
[/lib64/libnode.so.127]
10: 0x7f16cd9aa6bb node::NodeMainInstance::Run()
[/lib64/libnode.so.127]
11: 0x7f16cd90d85f node::Start(int, char**) [/lib64/libnode.so.127]
12: 0x7f16ccbb81c8 [/lib64/libc.so.6]
13: 0x7f16ccbb828b __libc_start_main [/lib64/libc.so.6]
14: 0x55af7f18a035 _start
[/builddir/build/BUILD/src/third_party/node/linux/node-linux-
x64/bin/node]
On Tue, 2024-05-21 at 11:26 +0200, Sandro Mani wrote:
> I also get a crash when running npm install:
>
https://bugzilla.redhat.com/show_bug.cgi?id=2282103
>
> Sandro
>
> On 21.05.24 09:57, Vít Ondruch wrote:
> > It seems that it breaks at least two of my packages unfortunately:
> >
> >
https://koschei.fedoraproject.org/package/rubygem-ejs
> >
> >
https://koschei.fedoraproject.org/package/rubygem-execjs
> >
> > The former is using the latter, so the real issue is likely in the
> > latter. I don't have cycles to investigate more :(
> >
> > BTW these are likely used in some other components of Ruby on
> > Rails,
> > so the potential for breakage is higher. But Koschei is
> > experiencing
> > some issue, so hard to tell.
> >
> >
> > Vít
> >
> >
> >
> > Dne 17. 05. 24 v 14:28 Stephen Gallagher napsal(a):
> > > As of today, I have built Node.js 22.2.0 for Fedora Rawhide. It
> > > is
> > > currently available as a non-default package (Node.js 20 remains
> > > the
> > > default during this short transition period).
> > >
> > > If you maintain a package that depends on Node.js (either runtime
> > > or
> > > build-time), please take some time in the next week or so to
> > > verify
> > > whether it continues to work properly with Node.js 22. I plan to
> > > switch the default in Rawhide over to 22.x as per the
> > > recently-approved Change[1] on or shortly after May 27th.
> > >
> > > If you encounter a significant problem with Node.js 22, please
> > > contact
> > > the nodejs(a)fedoraproject.org mailing list and we will try to help
> > > you.
> > >
> > >
> > > [1]
https://fedoraproject.org/wiki/Changes/Nodejs22
> > > --
> > > _______________________________________________
> > > devel mailing list -- devel(a)lists.fedoraproject.org
> > > To unsubscribe send an email to
> > > devel-leave(a)lists.fedoraproject.org
> > > Fedora Code of Conduct:
> > >
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> > > List Guidelines:
> > >
https://fedoraproject.org/wiki/Mailing_list_guidelines
> > > List Archives:
> > >
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
> > > Do not reply to spam, report it:
> > >
https://pagure.io/fedora-infrastructure/new_issue
> >
> > --
> > _______________________________________________
> > devel mailing list -- devel(a)lists.fedoraproject.org
> > To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org
> > Fedora Code of Conduct:
> >
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> > List Guidelines:
> >
https://fedoraproject.org/wiki/Mailing_list_guidelines
> > List Archives:
> >
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
> > Do not reply to spam, report it:
> >
https://pagure.io/fedora-infrastructure/new_issue
> --
> _______________________________________________
> devel mailing list -- devel(a)lists.fedoraproject.org
> To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct:
>
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:
>
https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
>
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
> Do not reply to spam, report it:
>
https://pagure.io/fedora-infrastructure/new_issue
--
Sérgio M. B.
--
_______________________________________________
devel mailing list -- devel(a)lists.fedoraproject.org
To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue