Bug 1811698
| Summary: | [abrt] npm: ExpandVariables(): input.py:914:ExpandVariables:TypeError: write() argument must be str, not bytes while trying to load binding.gyp | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | kb1000 <fedora> | ||||||||||||||
| 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: | 31 | CC: | matthias.andree, mrunge, nodejs-sig, sgallagh, tchollingsworth, thrcka, zsvetlik | ||||||||||||||
| Target Milestone: | --- | ||||||||||||||||
| Target Release: | --- | ||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||
| OS: | Unspecified | ||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/8a0a83d884e0789270c9bafb3d6228b7856c0546 | ||||||||||||||||
| Whiteboard: | abrt_hash:cbc1581276d570d4309c9050d657bad4753e9343;VARIANT_ID=workstation; | ||||||||||||||||
| Fixed In Version: | nodejs-12.16.1-3.fc32 | Doc Type: | If docs needed, set a value | ||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||
| Last Closed: | 2020-03-27 08:00:15 UTC | Type: | --- | ||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||
| Embargoed: | |||||||||||||||||
| Attachments: |
|
||||||||||||||||
|
Description
kb1000
2020-03-09 15:03:18 UTC
Created attachment 1668674 [details]
File: backtrace
Created attachment 1668675 [details]
File: cpuinfo
Created attachment 1668676 [details]
File: environ
Created attachment 1668677 [details]
File: mountinfo
Created attachment 1668678 [details]
File: namespaces
Created attachment 1668679 [details]
File: open_fds
Can you please provide some additional details around what you were attempting to do here? It appears that you were trying to build npm itself and hit a bug with its support for Python 3 to build. *** Bug 1813652 has been marked as a duplicate of this bug. *** OK, I'm making a bit of a guess here, but I think what's happening is that node-gyp is incorrectly assuming that if python is invoked from /usr/bin/python, it must be python 2 (but on F31+ it's actually python 3). I'm adding a patch to /etc/npmrc that will set the default python interpreter explicitly to /usr/bin/python3 to hopefully work around this. I'm sorry for not responding earlier, but I didn't try to build npm itself, but try to install node-sass 4.13.1 using yarn from https://classic.yarnpkg.com/en/docs/install/#centos-stable . It pulled in deasync 0.1.19, this happened during the build of that package. Would yarn be fixed too by that patch? nodejs-12.16.1-3.fc32 has been pushed to the Fedora 32 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-2020-7a79b4da6a FEDORA-2020-7a79b4da6a has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report. |