Skip to content

Python 'pc-ble-driver-py' version incompatibility #134

@EskoDijk

Description

@EskoDijk

When building the reference OTBR, Nordic , below error appeared.

nrfutil 6.0.1 has requirement pc-ble-driver-py>=0.14.1, but you'll have pc-ble-driver-py 0.11.4 which is incompatible.

Build steps:

export ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb
REFERENCE_PLATFORM=ncs REFERENCE_RELEASE_TYPE=1.4 ./script/make-reference-release.bash

Full context:

Need to get 7538 kB of archives.
After this operation, 32.6 MB of additional disk space will be used.
Get:1 http://mirror.netzwerge.de/raspbian/raspbian buster/main armhf vim-tiny armhf 2:8.1.0875-5+deb10u6 [505 kB]
Get:3 http://archive.raspberrypi.org/debian buster/main armhf wiringpi armhf 2.50 [52.9 kB]
Get:2 http://ftp.gwdg.de/pub/linux/debian/raspbian/raspbian buster/main armhf vim-common all 2:8.1.0875-5+deb10u6 [196 kB]
Get:4 http://mirror.netzwerge.de/raspbian/raspbian buster/main armhf vim-runtime all 2:8.1.0875-5+deb10u6 [5777 kB]
Get:5 http://ftp.gwdg.de/pub/linux/debian/raspbian/raspbian buster/main armhf vim armhf 2:8.1.0875-5+deb10u6 [1008 kB]
Fetched 7538 kB in 1s (10.2 MB/s)
apt-listchanges: Reading changelogs...
(Reading database ... 47713 files and directories currently installed.)
Preparing to unpack .../vim-tiny_2%3a8.1.0875-5+deb10u6_armhf.deb ...
Unpacking vim-tiny (2:8.1.0875-5+deb10u6) over (2:8.1.0875-5) ...
Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u6_all.deb ...
Unpacking vim-common (2:8.1.0875-5+deb10u6) over (2:8.1.0875-5) ...
Selecting previously unselected package vim-runtime.
Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u6_all.deb ...
Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime'
Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime'
Unpacking vim-runtime (2:8.1.0875-5+deb10u6) ...
Selecting previously unselected package vim.
Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u6_armhf.deb ...
Unpacking vim (2:8.1.0875-5+deb10u6) ...
Selecting previously unselected package wiringpi.
Preparing to unpack .../wiringpi_2.50_armhf.deb ...
Unpacking wiringpi (2.50) ...
Setting up vim-common (2:8.1.0875-5+deb10u6) ...
Setting up vim-runtime (2:8.1.0875-5+deb10u6) ...
Setting up wiringpi (2.50) ...
Setting up vim (2:8.1.0875-5+deb10u6) ...
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode
Setting up vim-tiny (2:8.1.0875-5+deb10u6) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for man-db (2.8.5-2) ...
+ pip3 install wrapt==1.12.1
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting wrapt==1.12.1
  Downloading https://archive1.piwheels.org/simple/wrapt/wrapt-1.12.1-cp37-cp37m-linux_armv7l.whl (68kB)
    100% |████████████████████████████████| 71kB 1.6MB/s
nrfutil 6.0.1 has requirement pc-ble-driver-py>=0.14.1, but you'll have pc-ble-driver-py 0.11.4 which is incompatible.
Installing collected packages: wrapt
  Found existing installation: wrapt 1.16.0
    Uninstalling wrapt-1.16.0:
      Successfully uninstalled wrapt-1.16.0
Successfully installed wrapt-1.12.1
+ sed -i '/exit 0/d' /etc/rc.local
+ grep -qxF 'sudo systemctl restart otbr-agent.service' /etc/rc.local
+ echo 'sudo systemctl restart otbr-agent.service'
+ echo 'exit 0'
+ '[' 1.4 = 1.2 ']'
+ sed -i s/OpenThread_BR/OTNCS13_BR/g /usr/sbin/testharness-discovery
+ sync
+ sudo chroot /home/eskod/ot-reference-release/mnt-rpi /bin/bash /home/pi/repo/script/otbr-cleanup.bash

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions