snap contains python 3.8 and 3.9 libs
Bug #1965814 reported by
Kenneth Loafman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
New
|
High
|
Unassigned | ||
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
Using the attached snapcraft.yaml, snap builds with conflicting libs:
$ find /snap/duplicity
<snip>
/snap/duplicity
/snap/duplicity
/snap/duplicity
<snip>
Since duplicity uses _librsync*.so and that's only installed in python3.8, it fails when python 3.9 is used, as is done on Debian 10. It's only one executable and should only have one version of python supplied in the snap.
Changed in duplicity: | |
importance: | Critical → High |
To post a comment you must log in.
while the folder is of course not needed i don't feel it is a trouble maker. virtual- machine: ~/duplicity- git/build/ duplicity- 0.8.23. dev9$ apt-file find /usr/lib/ python3. 9/distutils/ archive_ util.py python3. 9/distutils/ archive_ util.py virtual- machine: ~/duplicity- git/build/ duplicity- 0.8.23. dev9$ apt-file find /usr/lib/ python3. 9/lib2to3/ btm_matcher. py python3. 9/lib2to3/ btm_matcher. py
as far as i can see some python3-* packages place some python3.9 files there
e.g.
```
user@user-
python3-distutils: /usr/lib/
```
or
```
user@user-
python3-lib2to3: /usr/lib/
```
but for the peace of your mind we can simply just remove it from the snap package. i'll add a line in the yaml.