Under a stock and prepped-for-purpose Debian 10 (Buster) system, target RPI3 should compile without error.
The build seems to near completing, reaching the stage of installing & configuring built package-items, only to fail over something to do with wireguard, specifically a dependency on wireguard-tools (see below). I've watched RAM consumption as the failure point approaches, but it remains low, so that shouldn't be the issue. Also dmesg shows nothing suspicious.
Hoping you all can diagnose the issue so I can bring this further. Else I'll be struggling to figure out how to adjust the environment to get the build to complete.
Note: I have no form of wireguard installed on the build system.
OMR_TARGET="rpi3" ./build.sh -j1 V=sConfiguring luci-proto-ncm.
Configuring luci-i18n-https-dns-proxy-hi.
Configuring luci-i18n-shadowsocks-libev-it.
Configuring kmod-net-rtl8192su.
Collected errors:
make[2]: * [package/Makefile:68: package/install] Error 255
make[2]: Leaving directory '/home/admin/openmptcprouter/rpi3/source'
make[1]: [package/Makefile:108: /home/admin/openmptcprouter/rpi3/source/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_install] Error 2
make[1]: Leaving directory '/home/admin/openmptcprouter/rpi3/source'
make: ** [/home/admin/openmptcprouter/rpi3/source/include/toplevel.mk:235: world] Error 2
I am looking to get a baseline OMR build environment working before trying to extend it for another, yet unsupported device.
You are building from develop branch, it's not 0.55.3, not stable and sometimes can't be compiled directly.
To solve the issue, you can remove wireguard.
You are building from develop branch, it's not 0.55.3 <<
Ah, so what version should I have put there? I thought it must be right because it was the output of
git tag --sort=committerdate | tail -1
which I found in build.sh.
I do see now that I missed the OMR_FEED_SRC="master" input to the build as noted on the "Create image for unsupported platform" page. I will try again starting from there and report back.
My build now completes as expected. Thank you! It is perhaps worth noting for posterity that on the t2.small AWS instance described the build takes over four hours to complete.
I will leave this open in anticipation of an answer to my question above about how I should have specified the OMR version when building from the develop branch. Should have just named it "develop"?
Specifing OpenMPTCProuter feeds based version is done via OMR_FEED_SRC, this can be master, develop or a tag like v0.55.3