python plugin munges too many shebangs causing conflicts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The Python plugin munges the shebang lines of all files under the installation directory. This causes conflicts with other parts, which have the unmunged versions of the files pulled in from packages.
Excluding usr/lib/python3.5 would probably fix this.
Parts 'postgresql' and 'pgsnap' have the following file paths in common which have different contents:
usr/
usr/
usr/
usr/
usr/
usr/
usr/
usr/
usr/
usr/
usr/
usr/
usr/
usr/
usr/
usr/
usr/
usr/
usr/
usr/
usr/
usr/
usr/
(the above failure was triggered by having one part using the python plugin, and another part listing 'vim' in its staging-packages. Switching to vim-tiny worked around the issue)