Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3525 - ImageBuilder script can't detected installed Python3 on Arch linux #6682

Closed
openwrt-bot opened this issue Dec 21, 2020 · 2 comments
Labels

Comments

@openwrt-bot
Copy link

sinancetinkaya:

ImageBuilder script fails despite Python3 is installed.
Tested on/with:
Snapshot: openwrt-imagebuilder-ramips-mt7621.Linux-x86_64 Mon Dec 21 09:11:07 2020
OS: Linux archlabs 5.9.11-arch2-1 #1 SMP PREEMPT Sat, 28 Nov 2020 02:07:22 +0000 x86_64 GNU/Linux

Checking 'getopt'... ok.
Checking 'stat'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'perl'... ok.
Checking 'python2-cleanup'... ok.
Checking 'python'... failed.
Checking 'python3'... failed.
Checking 'git'... ok.
Checking 'file'... ok.
Checking 'rsync'... ok.
Checking 'ldconfig-stub'... ok.

Build dependency: Please install Python >= 3.5
Build dependency: Please install Python >= 3.5

Prerequisite check failed. Use FORCE=1 to override.
make[1]: *** [Makefile:90: staging_dir/host/.prereq-build] Error 1
make: *** [Makefile:239: image] Error 2

sinan@archlabs ~/Desktop/openwrt/openwrt-imagebuilder-ramips-mt7621.Linux-x86_64
% where python
/usr/bin/python
/bin/python

sinan@archlabs ~/Desktop/openwrt/openwrt-imagebuilder-ramips-mt7621.Linux-x86_64
% where python3
/usr/bin/python3
/bin/python3

sinan@archlabs ~/Desktop/openwrt/openwrt-imagebuilder-ramips-mt7621.Linux-x86_64
% python3
Python 3.9.0 (default, Oct 7 2020, 23:09:01)
[GCC 10.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

@openwrt-bot
Copy link
Author

ynezz:

Can you try to install which command with:

pacman -S which

and try again?

@openwrt-bot
Copy link
Author

ynezz:

I've proposed following patch which should fix this issue https://patchwork.ozlabs.org/project/openwrt/patch/20201222094648.32579-1-ynezz@true.cz/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant