Two python parts in the same snapcraft.yaml result in not installing the python correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
I have a snapcraft.yaml file like:
name: sensortag
version: "1.0"
summary: SensorTag Python Bluetooth LE implementation
description: API and command line tools for Python Bluetooth Low Energy access
confinement: devmode
apps:
sensortag:
command: usr/bin/sensortag
sensordata:
command: usr/bin/sensordata
blescan:
command: usr/bin/blescan
# mosquito server
mosquitto:
command: usr/sbin/mosquitto -c $SNAP/mosquitto
daemon: simple
plugs: [network, network-bind]
# mosquitto subscriber
subscribe:
command: bin/subscribe
plugs: [network, network-bind]
parts:
bluepy:
plugin: python3
source: https:/
source-type: git
build-packages: [libglib2.0-dev]
# snap:
# - -usr/bin
mosquitto:
plugin: copy
stage-packages: [mosquitto]
files:
mosquitto
mqtt-client:
plugin: copy
files:
subscribe.py: bin/subscribe
after: [mqtt-paho/python3]
In this project, there are two python3 parts:
- mqtt-client
- bluepy
When I try to build the project, and I get the following error:
Writing /home/liuxg/
Parts 'mqtt-paho/python3' and 'bluepy' have the following file paths in common which have different contents:
usr/bin/2to3-3.5
usr/bin/
usr/bin/py3clean
usr/bin/py3compile
usr/bin/pydoc3.5
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/lib/
usr/share/
usr/share/
usr/share/
usr/share/
usr/share/
usr/share/
usr/share/
It can be found at http://
Basically, I need to find a way to avoid the conflicts between the two parts since they both have the same common component: python
liuxg@liuxg:
2.14
Thanks!
Is this the same as bug 1531570?