nodejs22 has been released on f39 and f40 and freeipa fails to build with this version.
The build is calling the command "node" but nodejs22 ships "node-22" instead
./makerpm.sh [...] PYTHON=/usr/bin/python3 ./../../util/make-ui.sh /root/freeipa/rpmbuild/BUILD/freeipa-4.13.0.dev202407300849+git708ef88a9/install/ui/util/build.sh: line 35: node: command not found make[7]: *** [Makefile:638: app.js] Error 127 make[7]: Leaving directory '/root/freeipa/rpmbuild/BUILD/freeipa-4.13.0.dev202407300849+git708ef88a9/install/ui/build/freeipa' make[6]: *** [Makefile:485: all-recursive] Error 1 make[6]: Leaving directory '/root/freeipa/rpmbuild/BUILD/freeipa-4.13.0.dev202407300849+git708ef88a9/install/ui/build' make[5]: *** [Makefile:555: all-recursive] Error 1 make[5]: Leaving directory '/root/freeipa/rpmbuild/BUILD/freeipa-4.13.0.dev202407300849+git708ef88a9/install/ui' make[4]: *** [Makefile:495: all-recursive] Error 1 make[4]: Leaving directory '/root/freeipa/rpmbuild/BUILD/freeipa-4.13.0.dev202407300849+git708ef88a9/install' make[3]: *** [Makefile:698: all-recursive] Error 1 make[3]: Leaving directory '/root/freeipa/rpmbuild/BUILD/freeipa-4.13.0.dev202407300849+git708ef88a9' make[2]: *** [Makefile:594: all] Error 2 make[2]: Leaving directory '/root/freeipa/rpmbuild/BUILD/freeipa-4.13.0.dev202407300849+git708ef88a9' error: Bad exit status from /var/tmp/rpm-tmp.gi4LD5 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.gi4LD5 (%build) make[1]: *** [Makefile:1201: _rpms-body] Error 1 make[1]: Leaving directory '/root/freeipa' make: *** [Makefile:1198: rpms] Error 2
Should build successfully
The spec file requires nodejs(abi) for building. On fedora 39 and fedora 40, the latest package is nodejs22, which provides /usr/bin/node-22. On fedora 41+, nodejs22 provides /usr/bin/node (as it will be the default version, there is a symlink from /usr/bin/node to /usr/bin/node-22).
Metadata Update from @frenaud: - Issue assigned to frenaud
Metadata Update from @frenaud: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/7466
master:
ipa-4-11:
ipa-4-12:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.