Once I’ve acquired the R3 Mini, I tried to build it locally and got an error on Arch Linux, trying to avoid environment problems, I’ve created a Docker container based on Debian to isolate the issue.
Installed packages on container(using debian:stable-slim):
Packages
build-essential
clang
flex
bison
g++
gawk
gcc-multilib
g++-multilib
gettext
git
libncurses5-dev
libssl-dev
python3
python3-setuptools
rsync
swig
unzip
zlib1g-dev
file
wget
acl
ca-certificates
I’ve created a .config file using ‘make menuconfig’:
Menu Options
Base:
block-mountsqm-scriptszram-swap
Kernel Modules:
- Block Devices:
kmod-nvme - Filesystems:
kmod-fs-f2fskmod-fs-ext4kmod-fs-vfatkmod-fs-exfat
Network Support: kmod-batman-adv
Other Modules:
kmod-mmckmod-sdhci
USB Support:
kmod-usb2kmod-usb-storagekmod-usb-storage-uaskmod-usb3
LuCI: luci-ssl
Network: iftop
- WirelessAPD:
wpad-mesh-mbedtls- Removed
wpad-mbedtls
- Removed
Utilities: irqbalance
Using that .config file this is the procedure I followed:
umask 022
git clone 'https://github.com/openwrt/openwrt.git’
setfacl -d --set u::rwx,g::rx,o::rx .
git checkout v24.10.4
./scripts/feeds update -a
./scripts/feeds install -a
Then build:
make defconfig
make -j5 download world
That procedure failed,
I purged my container, re-built it
then tried running the following:
make dirclean
# copied the .config file back in
./scripts/feeds update -a
./scripts/feeds install -a
Then build:
make defconfig
make -j1 V=sc download world
NOTE: Important to say that the container builds the image on a volume on the host system, just in case using 'make clean' commands didn't make any sense.
The error I got:
I'm now trying to run make distclean and retry, I will update when I'm done.
Update: Same error