On 1/28/26 10:26, Jan Stanek wrote:
Hi all, as an unfortunate side effect (one we failed to foresee, sorry!) of https://fedoraproject.org/wiki/Changes/NodejsAlternativesSystem that recently landed in rawhide, you might need to adjust your BuildRequires if you depend on the un-versioned `node` and/or `npm` commands. The suggested way is to add `%{_bindir}/node` and/or `%{_bindir}/npm` to your existing build deps:``` BuildRequires: nodejs-devel, %{_bindir}/node, %{_bindir}/npm ``` The change to packaging guidelines along the above lines is now proposed: https://pagure.io/packaging-committee/pull-request/1521
Please be aware that installation path macros MUST NOT be used for file dependencies:
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_and_directory_dependencies
The rough list of likely affected packages, according to mass-prebuild, is as follows: binaryen cef chromium cjdns cockpit cockpit-files cockpit-podman csslint firefox golang-github-evanw-esbuild icecat jowl js-d3-flame-graph js-jquery js-jquery-ui jupyterlab libmysofa linux-sgx magicmirror magicmirror-module-onthisday mathjax3 mozilla-noscript mozilla-ublock-origin nodejs-aw-webui nodejs-buble nodejs-cjs-module-lexer nodejs-colors nodejs-cssnano nodejs-cssnano-preset-advanced nodejs-pnpm nodejs-postcss-url nodejs-undici pcs postcss-cli python-furo python-jupytext python-nbdime python-pydata-sphinx-theme python-sphinx-book-theme qt5-qtwebengine qt6-qtwebengine R-V8 thunderbird tinygo typescript uglify-js yarnpkg I'll be going over the packages, and opening PRs when appropriate; but if you run into FTBFS in the meantime, hopefully you'll know what to do. Sorry about the noise.
-- Yaakov Selkowitz Principal Software Engineer, Emerging RHEL Red Hat, Inc. -- _______________________________________________ devel mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
