Bug 1674073 - Invalid shebangs
Summary: Invalid shebangs
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: nodejs-yarn
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Staněk
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1541318
TreeView+ depends on / blocked
 
Reported: 2019-02-08 23:49 UTC by Miro Hrončok
Modified: 2019-08-20 13:13 UTC (History)
3 users (show)

Fixed In Version: nodejs-yarn-1.13.0-3.fc31
Clone Of:
Environment:
Last Closed: 2019-08-20 13:13:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2019-02-08 23:49:30 UTC
nodejs-yarn-1.13.0-1.fc30

has this in the logs:

mangling shebang in /usr/lib/node_modules/yarn/node_modules/performance-now/test/scripts/delayed-require.coffee from /usr/bin/env ./node_modules/.bin/coffee to #!/usr/bin/./node_modules/.bin/coffee
mangling shebang in /usr/lib/node_modules/yarn/node_modules/performance-now/test/scripts/delayed-call.coffee from /usr/bin/env ./node_modules/.bin/coffee to #!/usr/bin/./node_modules/.bin/coffee
mangling shebang in /usr/lib/node_modules/yarn/node_modules/performance-now/test/scripts/difference.coffee from /usr/bin/env ./node_modules/.bin/coffee to #!/usr/bin/./node_modules/.bin/coffee
mangling shebang in /usr/lib/node_modules/yarn/node_modules/performance-now/test/scripts/initial-value.coffee from /usr/bin/env ./node_modules/.bin/coffee to #!/usr/bin/./node_modules/.bin/coffee


Note thet neither the original or the new shebang is valid.

Comment 1 Jan Staněk 2019-02-13 10:56:42 UTC
I have prepared specfile patch removing the executable bit from these files, and thus disabling the mangling process.
See the pagure PR[1] for details.

[1]: https://src.fedoraproject.org/rpms/nodejs-yarn/pull-request/1

Comment 2 Ben Cotton 2019-08-13 16:52:13 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 3 Ben Cotton 2019-08-13 19:35:09 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.


Note You need to log in before you can comment on or make changes to this bug.