Closed adamcstephens closed 1 month ago
openwrt> Checking 'python3-distutils'... failed. openwrt> Checking 'python3-stdlib'... ok. openwrt> Checking 'file'... ok. openwrt> Checking 'which'... ok. openwrt> Checking 'ldconfig-stub'... ok. openwrt> Build dependency: Please install the Python3 distutils module openwrt> Prerequisite check failed. Use FORCE=1 to override. openwrt> make[1]: *** [Makefile:110: staging_dir/host/.prereq-build] Error 1 openwrt> make: *** [Makefile:262: image] Error 2 error: builder for '/nix/store/lxms0rv8diwa8hc3r1j1jvi688jv093g-openwrt-23.05.3-realtek-rtl838x-hpe_1920-8g.drv' failed with exit code 2; last 10 log lines: > Checking 'python3-stdlib'... ok. > Checking 'file'... ok. > Checking 'which'... ok. > Checking 'ldconfig-stub'... ok. > > Build dependency: Please install the Python3 distutils module > > Prerequisite check failed. Use FORCE=1 to override.
Pinning to python311 here allows the build to succeed.
python311
https://github.com/astro/nix-openwrt-imagebuilder/blob/87a44c140567144b760a01e1cfb429daf8600d31/builder.nix#L134
Thanks!
Pinning to
python311
here allows the build to succeed.https://github.com/astro/nix-openwrt-imagebuilder/blob/87a44c140567144b760a01e1cfb429daf8600d31/builder.nix#L134