FreeIPA fails to build on rawhide, see logs in the copr repo: https://download.copr.fedorainfracloud.org/results/@freeipa/freeipa-master-nightly/fedora-rawhide-x86_64/10095743-freeipa/builder-live.log.gz
git clone --recurse-submodules https://pagure.io/freeipa.git
cd freeipa sudo dnf install -y rpm-build sudo dnf builddep -y -D "with_wheels 1" -D "with_lint 1" --spec \ freeipa.spec.in --best --allowerasing --setopt=install_weak_deps=False
./makerpms..sh
The build fails because it doesn't find the npm command
npm
Should succeed
Fedora 44 with nodejs22-22.22.0-4.fc44.x86_64
nodejs22-22.22.0-4.fc44.x86_64
There was a recent change in nodejs packaging, see https://fedoraproject.org/wiki/Changes/NodejsAlternativesSystem. The spec file should also list BuildRequires: /usr/bin/node, /usr/bin/npm
BuildRequires: /usr/bin/node, /usr/bin/npm
Metadata Update from @frenaud: - Issue assigned to frenaud
I think we need to add these two:
nodejs-bin nodejs-npm-bin
Notice the missing version. These should be specified through abi version
Relationship between nodejs and npm is explained here: https://nodejs.org/en/download/archive/v22.22.0, although this might not be needed.
For F41+ we use NodeJS LTS v22/Jod.
master:
ipa-4-13:
Metadata Update from @rjeffman: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)