python based package created using snapcraft fails review checks due to external symlink
Bug #1511440 reported by
Ricardo Kirkner
on 2015-10-29
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | ||
|---|---|---|---|---|---|---|
| Snapcraft | Status tracked in Trunk | |||||
| | 1.x |
High
|
Kyle Fazzari | |||
| | Trunk |
High
|
Kyle Fazzari | |||
Bug Description
When creating a snap package based on python2, the package is successfully built, but upon uploading it to the store, the review checks fail with
package contains external symlinks: /tmp/clickrevie
Attached are the files necessary to reproduce the build
| Ricardo Kirkner (ricardokirkner) wrote : | #1 |
| Ricardo Kirkner (ricardokirkner) wrote : | #2 |
| Ricardo Kirkner (ricardokirkner) wrote : | #3 |
| summary: |
- python based package created using external symlink + python based package created using external symlink fails review checks |
| summary: |
- python based package created using external symlink fails review checks + python based package created using snapcraft fails review checks due to + external symlink |
| Leo Arias (elopio) wrote : | #4 |
| Changed in snapcraft: | |
| status: | New → Invalid |
Sergio Schvezov (sergiusens)
on 2015-11-05
| Changed in snapcraft: | |
| status: | Invalid → Triaged |
| Sergio Schvezov (sergiusens) wrote : | #5 |
With curdir /tmp/tmp.o6gXji4fP4
lrwxrwxrwx 3 sergiusens sergiusens 39 nov 26 13:19 snap/usr/
lrwxrwxrwx 3 sergiusens sergiusens 73 nov 26 13:20 snap/usr/
t/install/
| Changed in snapcraft: | |
| importance: | Undecided → High |
| assignee: | nobody → Sergio Schvezov (sergiusens) |
| Kyle Fazzari (kyrofa) wrote : | #6 |
To post a comment you must log in.


As suggested by Sergio, adding the following to the snapcraft.yaml file produces a package that passes the review checks
parts: python2. 7/site- packages python2. 7/sitecustomize .py
flexget:
...
snap:
- -usr/lib/
- -usr/lib/