The build fails when doing an OpenWrt build with the latest version in git.
./scripts/morse_setup.sh -i -b ekh-bcm2711
go-1.21.13/$file" ]; then install -m0644 -p "/home/ubuntu/newbuild/openwrt/build_dir/hostpkg/go-1.21.13/$file" "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/share/go-cross/" ; fi ; done
install -d -m0755 "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/lib/go-cross/bin"
install -m0755 -p "/home/ubuntu/newbuild/openwrt/build_dir/hostpkg/go-1.21.13/bin"/* "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/lib/go-cross/bin/"
if [ -d "/home/ubuntu/newbuild/openwrt/build_dir/hostpkg/go-1.21.13/pkg/linux_amd64" ]; then install -d -m0755 "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/lib/go-cross/pkg" ; cp -fpR "/home/ubuntu/newbuild/openwrt/build_dir/hostpkg/go-1.21.13/pkg/linux_amd64" "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/lib/go-cross/pkg/" ; fi
install -d -m0755 "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/lib/go-cross/pkg/tool/linux_amd64"
install -m0755 -p "/home/ubuntu/newbuild/openwrt/build_dir/hostpkg/go-1.21.13/pkg/tool/linux_amd64"/* "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/lib/go-cross/pkg/tool/linux_amd64/"
install -d -m0755 "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/lib/go-cross"
install -d -m0755 "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/share/go-cross"
cp -fpR "/home/ubuntu/newbuild/openwrt/build_dir/hostpkg/go-1.21.13/lib" "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/share/go-cross/"
ln -sf "../../share/go-cross/lib" "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/lib/go-cross/"
cp -fpR "/home/ubuntu/newbuild/openwrt/build_dir/hostpkg/go-1.21.13/misc" "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/share/go-cross/"
ln -sf "../../share/go-cross/misc" "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/lib/go-cross/"
cp -fpR "/home/ubuntu/newbuild/openwrt/build_dir/hostpkg/go-1.21.13/src" "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/share/go-cross/"
ln -sf "../../share/go-cross/src" "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/lib/go-cross/"
cp -fpR "/home/ubuntu/newbuild/openwrt/build_dir/hostpkg/go-1.21.13/test" "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/share/go-cross/"
ln -sf "../../share/go-cross/test" "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/lib/go-cross/"
find "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/share/go-cross/src/" \! -type d -a \( -name "*.bat" -o -name "*.rc" \) -delete
if [ -d "/home/ubuntu/newbuild/openwrt/build_dir/hostpkg/go-1.21.13/pkg/include" ]; then install -d -m0755 "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/lib/go-cross/pkg" ; install -d -m0755 "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/share/go-cross/pkg" ; cp -fpR "/home/ubuntu/newbuild/openwrt/build_dir/hostpkg/go-1.21.13/pkg/include" "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/share/go-cross/pkg/" ; ln -sf "../../../share/go-cross/pkg/include" "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/lib/go-cross/pkg/" ; fi
install -d -m0755 "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/bin"
ln -sf "../lib/go-cross/bin/go" "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/bin/go"
ln -sf "../lib/go-cross/bin/gofmt" "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/bin/gofmt"
rm -rf "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/lib/go-cross/pkg/linux_amd64"
install -d -m0755 "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/lib/go-cross/openwrt"
install -m0755 ./files/go-gcc-helper "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/lib/go-cross/openwrt/"
ln -sf go-gcc-helper "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/lib/go-cross/openwrt/gcc"
ln -sf go-gcc-helper "/home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/lib/go-cross/openwrt/g++"
mkdir -p /home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/stamp
touch /home/ubuntu/newbuild/openwrt/build_dir/hostpkg/go-1.21.13/.built
touch /home/ubuntu/newbuild/openwrt/staging_dir/hostpkg/stamp/.golang_installed
make[3]: Leaving directory '/home/ubuntu/newbuild/openwrt/feeds/packages/lang/golang/golang'
time: package/feeds/packages/golang/host-compile#1110.06#119.07#857.62
make[2]: Leaving directory '/home/ubuntu/newbuild/openwrt'
make[1]: *** [package/Makefile:123: /home/ubuntu/newbuild/openwrt/staging_dir/target-aarch64_cortex-a72_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/ubuntu/newbuild/openwrt'
make: *** [/home/ubuntu/newbuild/openwrt/include/toplevel.mk:233: world] Error 2