Bug 2026615
| Summary: | Missing execute permissions node-gyp | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Honza Horak <hhorak> |
| Component: | nodejs | Assignee: | NodeJS Packaging SIG <nodejs-sig> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 35 | CC: | mrunge, nodejs-sig, sgallagh, thrcka, zsvetlik |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | nodejs-16.13.0-3.fc35 nodejs-16-3420211129215925.058368ca nodejs-16-3520211129215925.f27b74a8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-12-07 02:06:10 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Honza Horak
2021-11-25 10:23:46 UTC
It results in some gyp-built extensions to fail to install: #> npm install -g node-rdkafka npm notice npm notice New minor version of npm available! 8.0.0 -> 8.1.4 npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.1.4 npm notice Run npm install -g npm.4 to update! npm notice npm ERR! code 126 npm ERR! path /usr/local/lib/node_modules/node-rdkafka npm ERR! command failed npm ERR! command sh -c node-gyp rebuild npm ERR! sh: line 1: /usr/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin/node-gyp: Permission denied npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2021-11-25T10_24_14_089Z-debug.log Modules in Fedora have the same issue it seems, so, please, do not forget to fix them as well. It seems to be fixed in RHEL9/CentOS Stream 9: https://gitlab.com/redhat/centos-stream/rpms/nodejs/-/blob/c9s/nodejs.spec#L570 PR prepared for rawhide: https://src.fedoraproject.org/rpms/nodejs/pull-request/11 Please, apply to other branches as well. FEDORA-MODULAR-2021-9289924978 has been submitted as an update to Fedora 35 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2021-9289924978 FEDORA-2021-c5617f9f9c has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-c5617f9f9c FEDORA-MODULAR-2021-c0be60569a has been submitted as an update to Fedora 34 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2021-c0be60569a FEDORA-2021-c5617f9f9c has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-c5617f9f9c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-c5617f9f9c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-MODULAR-2021-9289924978 has been pushed to the Fedora 35 Modular testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2021-9289924978 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-MODULAR-2021-c0be60569a has been pushed to the Fedora 34 Modular testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2021-c0be60569a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-c5617f9f9c has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-MODULAR-2021-c0be60569a has been pushed to the Fedora 34 Modular stable repository. If problem still persists, please make note of it in this bug report. FEDORA-MODULAR-2021-9289924978 has been pushed to the Fedora 35 Modular stable repository. If problem still persists, please make note of it in this bug report. |