summaryrefslogtreecommitdiff
path: root/libre/uboot4extlinux-sunxi
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-07-06 15:46:23 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-07-06 15:48:19 +0200
commit9fcc0c4460ac80a3c18a86549aa368bcecf5988c (patch)
treec473dcf3fbd8ae4834c84bb65734c9ac88dad72c /libre/uboot4extlinux-sunxi
parent57c3052cf6b7aab6b295321ac0e9c178b7d70861 (diff)
downloadabslibre-9fcc0c4460ac80a3c18a86549aa368bcecf5988c.tar.gz
abslibre-9fcc0c4460ac80a3c18a86549aa368bcecf5988c.tar.bz2
abslibre-9fcc0c4460ac80a3c18a86549aa368bcecf5988c.zip
libre: uboot4extlinux-sunxi: fix missing python-setuptools
When building uboot4extlinux-sunxi with libremakepkg we have the following error: | BINMAN all | Traceback (most recent call last): | File "/build/uboot4extlinux-sunxi/src/u-boot-2021.07/./tools/binman/binman", line 39, in <module> | from binman import control | File "/build/uboot4extlinux-sunxi/src/u-boot-2021.07/tools/binman/../binman/control.py", line 11, in <module> | import pkg_resources | ModuleNotFoundError: No module named 'pkg_resources' | make: *** [Makefile:1084: all] Error 1 | ==> ERROR: A failure occurred in build(). In u-boot 2021.07 in tools/binman/control.py, line 11 we have: import pkg_resources To find the package having pkg_resources we can use python to find the files implementing it: $ python Python 3.9.5 (default, May 27 2021, 07:33:37) [GCC 11.1.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pkg_resources >>> help(pkg_resources) At the end of the help we see the following: FILE /usr/lib/python3.9/site-packages/pkg_resources/__init__.py And we can finally use pacman to find the package having that file: $ pacman -Q -o /usr/lib/python3.9/site-packages/pkg_resources/__init__.py /usr/lib/python3.9/site-packages/pkg_resources/__init__.py is owned by python-setuptools 1:52.0.0-1.0 Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'libre/uboot4extlinux-sunxi')
-rw-r--r--libre/uboot4extlinux-sunxi/PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/libre/uboot4extlinux-sunxi/PKGBUILD b/libre/uboot4extlinux-sunxi/PKGBUILD
index eb25d282a..78c9ead9e 100644
--- a/libre/uboot4extlinux-sunxi/PKGBUILD
+++ b/libre/uboot4extlinux-sunxi/PKGBUILD
@@ -60,7 +60,7 @@ pkgrel=2
arch=('armv7h' 'i686' 'x86_64')
url="http://git.denx.de/u-boot.git/"
license=('GPL')
-makedepends=('bc' 'dtc' 'python' 'python2' 'swig')
+makedepends=('bc' 'dtc' 'python' 'python-setuptools' 'python2' 'swig')
makedepends_i686+=('arm-none-eabi-gcc')
makedepends_ppc64le+=('arm-none-eabi-gcc')
makedepends_x86_64+=('arm-none-eabi-gcc')