[OpenWrt-Devel] Compilation error switch to pyhon 3

Petr Štetiar ynezz at true.cz
Sun Sep 15 02:13:24 EDT 2019


Rosen Penev <rosenp at gmail.com> [2019-09-14 14:37:50]:

Hi,

> > >>    File "/home/ansuel/openwrt/build_dir/host/scons-3.0.5/setup.py",
> > >> line 26, in <module>
> > >>      import distutils.command.build_scripts
> > >> ModuleNotFoundError: No module named 'distutils.command'
> > >
> > Fresh install of Debian 10 ("Buster") on AMD64 after my usual
> >
> > apt install build-essential git gitk libncurses5-dev gawk unzip wget
> > curl ccache rsync zlib1g-dev
>
> Got this as well. Any way to test for distutils in prereq.mk?

that's a wrong place, proper place is scons Makefile, but please don't try to
send any patches against scons in the master tree, but rather finally merge
that PR which moves scons into the packages feed and improve the scons UX in
there as you wish.

-- ynezz

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list