Bug 233865 - devel/global ports removes shebang of /usr/local/share/gtags/script/pygments_parser.py
Summary: devel/global ports removes shebang of /usr/local/share/gtags/script/pygments_...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Po-Chuan Hsieh
Depends on:
Reported: 2018-12-08 10:58 UTC by Shuichi KITAGUCHI
Modified: 2021-07-27 23:38 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Note You need to log in before you can comment on or make changes to this bug.
Description Shuichi KITAGUCHI 2018-12-08 10:58:31 UTC
devel/global ports removes 1st line (=shebang) of /usr/local/share/gtags/script/pygments_parser.py
So when gtags is executed, following error messages are shown.

  /usr/local/share/gtags/script/pygments_parser.py: import: not found

This remove is caused following line in Makefile.

         @${REINPLACE_CMD} -e '1d' ${WRKSRC}/plugin-factory/pygments_parser.py.in

I think this is not need that removing shebang, but why is removed?
Comment 1 Shuichi KITAGUCHI 2021-07-27 23:38:54 UTC
This problem is caused by file 'patch-plugin-factory-pygments_parser.py.in' for now.