Bug 1588735

Summary: Modular npm form nodejs:10 runtime requires python2
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: nodejsAssignee: NodeJS Packaging SIG <nodejs-sig>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: alessandro.polidori, athmanem, jamielinux, mrunge, nodejs-sig, piotr1212, sgallagh, tchollingsworth, thrcka, zsvetlik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nodejs-10-20180821201249.9c690d0e Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-31 21:47:38 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 Miro Hrončok 2018-06-07 19:09:12 UTC
$ rpm -qp --requires ./npm-6.1.0-1.10.4.0.1.module_1841+efee801c.x86_64.rpm | grep python
/usr/bin/python2


$ dnf repoquery --requires npm | grep python
(nada)


From the modular build.log:

*** WARNING: mangling shebang in /usr/lib/node/.bundled/npm/node-gyp/gyp/samples/samples from #!/usr/bin/python to #!/usr/bin/python2. This will become an ERROR, fix it manually!

Comment 1 Stephen Gallagher 2018-08-21 13:54:55 UTC
I've got a fix for this and it's building now.

Comment 2 Fedora Update System 2018-08-22 11:37:06 UTC
nodejs-10-20180821201249.9c690d0e has been submitted as an update to Fedora 28 Modular. https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2018-3a4d87bc36

Comment 3 Fedora Update System 2018-08-23 11:00:51 UTC
nodejs-10-20180821201249.9c690d0e has been pushed to the Fedora 28 Modular testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-MODULAR-2018-3a4d87bc36

Comment 4 Fedora Update System 2018-08-31 21:47:38 UTC
nodejs-10-20180821201249.9c690d0e has been pushed to the Fedora 28 Modular stable repository. If problems still persist, please make note of it in this bug report.