Permissions and #! in extension scripts need fixing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Low
|
jazzynico |
Bug Description
Lintian is spotting a few issues with inkscape trunk. Numerous python extension scripts are being installed as executables, but do not contain #! markers, meaning that they can be directly executed by the user but the system will try to run them as sh scripts and will fail.
We've had a similar issue to this previously. We should add #! markers to everything that is supposed to be directly executable. Everything else should be changed from "extension_SCRIPTS" to "module_DATA". Even better, I guess we should use a _PYTHON automake rule to ensure that the modules are byte-compiled.
W: inkscape-trunk: executable-
N:
N: This executable file is not an ELF format binary, and does not start
N: with the #! sequence that marks interpreted scripts. It might be a sh
N: script that fails to name /bin/sh as its shell, or it may be incorrectly
N: marked as executable. Sometimes upstream files developed on Windows are
N: marked unnecessarily as executable on other systems.
N:
N: If you are using debhelper to build your package, running dh_fixperms
N: will often correct this problem for you.
N:
N: Refer to Debian Policy Manual section 10.4 (Scripts) for details.
N:
N: Severity: normal, Certainty: certain
N:
N: Check: scripts, Type: binary
N:
W: inkscape-trunk: executable-
W: inkscape-trunk: executable-
W: inkscape-trunk: executable-
W: inkscape-trunk: executable-
W: inkscape-trunk: executable-
W: inkscape-trunk: executable-
W: inkscape-trunk: executable-
W: inkscape-trunk: executable-
W: inkscape-trunk: executable-
W: inkscape-trunk: executable-
W: inkscape-trunk: executable-
W: inkscape-trunk: executable-
W: inkscape-trunk: executable-
W: inkscape-trunk: executable-
W: inkscape-trunk: executable-
W: inkscape-trunk: executable-
W: inkscape-trunk: executable-
W: inkscape-trunk: executable-
W: inkscape-trunk: executable-
W: inkscape-trunk: executable-
W: inkscape-trunk: executable-
W: inkscape-trunk: executable-
tags: | added: build extensions-plugins |
tags: | added: linux |
Changed in inkscape: | |
assignee: | nobody → JazzyNico (jazzynico) |
milestone: | none → 0.48.3 |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
[ Follow-up report to bug #602005 ]