Error build image for my old router MR3220

Hi im using ubuntu LTS 20.04
i plan to build image LEDE 17 for my old router
but i got this error when building image
someone can help what should i do to fix it?
already googling and try install some package but still no luck

bagus@presario-cq43-notebook-pc:~/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64$ sudo make image PROFILE=tl-mr3220-v1 PACKAGES="uhttpd uhttpd-mod-ubus libiwinfo-lua luci-base luci-app-firewall luci-mod-admin-full luci-theme-bootstrap luci-app-sqm nodogsplash iperf -ppp -ppp-mod-pppoe -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables -odhcpd-ipv6only -opkg -kmod-usb-core -kmod-usb2 -kmod-usb-ledtrig-usbport" "CONFIG_IPV6=n"
Building images for ar71xx - TP-LINK TL-MR3220
Packages: uhttpd uhttpd-mod-ubus libiwinfo-lua luci-base luci-app-firewall luci-mod-admin-full luci-theme-bootstrap luci-app-sqm nodogsplash iperf base-files busybox dnsmasq dropbear firewall fstools iptables kernel kmod-ath9k kmod-gpio-button-hotplug libc libgcc logd mtd netifd odhcpd swconfig uboot-envtools uci uclient-fetch wpad-mini

Downloading http://downloads.lede-project.org/releases/17.01.5/targets/ar71xx/generic/packages/Packages.gz
Updated list of available packages in /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_core
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/Packages.gz
Updated list of available packages in /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_base
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/luci/Packages.gz
Updated list of available packages in /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_luci
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/packages/Packages.gz
Updated list of available packages in /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_packages
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/routing/Packages.gz
Updated list of available packages in /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_routing
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/telephony/Packages.gz
Updated list of available packages in /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_telephony
Downloading file:packages/Packages
Updated list of available packages in /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/imagebuilder

Installing packages...
Installing libc (1.1.16-1) to root...
Installing libgcc (5.4.0-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/libgcc_5.4.0-1_mips_24kc.ipk.
Configuring libgcc.
Configuring libc.
Installing kernel (4.4.140-1-33d452ad71ac13bc6dc71df37efa5ec7) to root...
Configuring kernel.
Installing uhttpd (2018-11-28-cdfc902a-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/uhttpd_2018-11-28-cdfc902a-1_mips_24kc.ipk.
Installing libubox (2018-11-16-4382c76d-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/libubox_2018-11-16-4382c76d-1_mips_24kc.ipk.
Installing libjson-c (0.12.1-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/libjson-c_0.12.1-1_mips_24kc.ipk.
Installing libblobmsg-json (2018-11-16-4382c76d-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/libblobmsg-json_2018-11-16-4382c76d-1_mips_24kc.ipk.
Installing libjson-script (2018-11-16-4382c76d-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/libjson-script_2018-11-16-4382c76d-1_mips_24kc.ipk.
Installing uhttpd-mod-ubus (2018-11-28-cdfc902a-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/uhttpd-mod-ubus_2018-11-28-cdfc902a-1_mips_24kc.ipk.
Installing libubus (2017-02-18-34c6e818-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/libubus_2017-02-18-34c6e818-1_mips_24kc.ipk.
Installing libiwinfo-lua (2016-09-21-fd9e17be-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/libiwinfo-lua_2016-09-21-fd9e17be-1_mips_24kc.ipk.
Installing libnl-tiny (0.1-5) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/libnl-tiny_0.1-5_mips_24kc.ipk.
Installing libuci (2018-01-01-141b64ef-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/libuci_2018-01-01-141b64ef-1_mips_24kc.ipk.
Installing libiwinfo (2016-09-21-fd9e17be-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/libiwinfo_2016-09-21-fd9e17be-1_mips_24kc.ipk.
Installing liblua (5.1.5-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/liblua_5.1.5-1_mips_24kc.ipk.
Installing luci-base (git-19.271.72080-7b230b0-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/luci-base_git-19.271.72080-7b230b0-1_mips_24kc.ipk.
Installing lua (5.1.5-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/lua_5.1.5-1_mips_24kc.ipk.
Installing libuci-lua (2018-01-01-141b64ef-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/libuci-lua_2018-01-01-141b64ef-1_mips_24kc.ipk.
Installing luci-lib-nixio (git-19.271.72080-7b230b0-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/luci-lib-nixio_git-19.271.72080-7b230b0-1_mips_24kc.ipk.
Installing luci-lib-ip (git-19.271.72080-7b230b0-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/luci-lib-ip_git-19.271.72080-7b230b0-1_mips_24kc.ipk.
Installing rpcd (2018-11-28-3aa81d0d-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/rpcd_2018-11-28-3aa81d0d-1_mips_24kc.ipk.
Installing libubus-lua (2017-02-18-34c6e818-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/libubus-lua_2017-02-18-34c6e818-1_mips_24kc.ipk.
Installing luci-lib-jsonc (git-19.271.72080-7b230b0-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/luci-lib-jsonc_git-19.271.72080-7b230b0-1_mips_24kc.ipk.
Installing luci-app-firewall (git-19.271.72080-7b230b0-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/luci-app-firewall_git-19.271.72080-7b230b0-1_all.ipk.
Installing libxtables (1.4.21-3) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/libxtables_1.4.21-3_mips_24kc.ipk.
Installing libip4tc (1.4.21-3) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/libip4tc_1.4.21-3_mips_24kc.ipk.
Installing libip6tc (1.4.21-3) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/libip6tc_1.4.21-3_mips_24kc.ipk.
Installing kmod-nf-ipt (4.4.140-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/kmod-nf-ipt_4.4.140-1_mips_24kc.ipk.
Installing kmod-ipt-core (4.4.140-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/kmod-ipt-core_4.4.140-1_mips_24kc.ipk.
Installing kmod-nf-conntrack (4.4.140-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/kmod-nf-conntrack_4.4.140-1_mips_24kc.ipk.
Installing kmod-ipt-conntrack (4.4.140-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/kmod-ipt-conntrack_4.4.140-1_mips_24kc.ipk.
Installing kmod-nf-nat (4.4.140-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/kmod-nf-nat_4.4.140-1_mips_24kc.ipk.
Installing kmod-ipt-nat (4.4.140-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/kmod-ipt-nat_4.4.140-1_mips_24kc.ipk.
Installing firewall (2017-05-27-a4d98aea-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/firewall_2017-05-27-a4d98aea-1_mips_24kc.ipk.
Installing luci-mod-admin-full (git-19.271.72080-7b230b0-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/luci-mod-admin-full_git-19.271.72080-7b230b0-1_mips_24kc.ipk.
Installing luci-theme-bootstrap (git-19.271.72080-7b230b0-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/luci-theme-bootstrap_git-19.271.72080-7b230b0-1_all.ipk.
Installing luci-app-sqm (1.1.3-2) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/luci-app-sqm_1.1.3-2_all.ipk.
Installing kmod-sched-core (4.4.140-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/kmod-sched-core_4.4.140-1_mips_24kc.ipk.
Installing tc (4.4.0-10-cake-legacy) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/tc_4.4.0-10-cake-legacy_mips_24kc.ipk.
Installing kmod-sched-cake (4.4.140+2018-01-07-568ed964-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/kmod-sched-cake_4.4.140+2018-01-07-568ed964-1_mips_24kc.ipk.
Installing kmod-ifb (4.4.140-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/kmod-ifb_4.4.140-1_mips_24kc.ipk.
Installing iptables (1.4.21-3) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/iptables_1.4.21-3_mips_24kc.ipk.
Installing kmod-ipt-ipopt (4.4.140-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/kmod-ipt-ipopt_4.4.140-1_mips_24kc.ipk.
Installing iptables-mod-ipopt (1.4.21-3) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/iptables-mod-ipopt_1.4.21-3_mips_24kc.ipk.
Installing kmod-ipt-conntrack-extra (4.4.140-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/kmod-ipt-conntrack-extra_4.4.140-1_mips_24kc.ipk.
Installing iptables-mod-conntrack-extra (1.4.21-3) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/iptables-mod-conntrack-extra_1.4.21-3_mips_24kc.ipk.
Installing sqm-scripts (1.1.3-2) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/sqm-scripts_1.1.3-2_all.ipk.
Installing nodogsplash (1.0.1-2) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/nodogsplash_1.0.1-2_mips_24kc.ipk.
Installing libpthread (1.1.16-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/libpthread_1.1.16-1_mips_24kc.ipk.
Installing iperf (2.0.9-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/iperf_2.0.9-1_mips_24kc.ipk.
Installing uclibcxx (0.2.4-3) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/uclibcxx_0.2.4-3_mips_24kc.ipk.
Installing base-files (173.6-r3919-38e704be71) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/base-files_173.6-r3919-38e704be71_mips_24kc.ipk.
Installing ubusd (2017-02-18-34c6e818-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/ubusd_2017-02-18-34c6e818-1_mips_24kc.ipk.
Installing ubus (2017-02-18-34c6e818-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/ubus_2017-02-18-34c6e818-1_mips_24kc.ipk.
Installing jshn (2018-11-16-4382c76d-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/jshn_2018-11-16-4382c76d-1_mips_24kc.ipk.
Installing netifd (2017-01-25-650758b1-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/netifd_2017-01-25-650758b1-1_mips_24kc.ipk.
Installing ubox (2017-03-10-16f7e161-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/ubox_2017-03-10-16f7e161-1_mips_24kc.ipk.
Installing procd (2018-01-22-9a4036fb-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/procd_2018-01-22-9a4036fb-1_mips_24kc.ipk.
Installing jsonfilter (2016-07-02-dea067ad-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/jsonfilter_2016-07-02-dea067ad-1_mips_24kc.ipk.
Installing usign (2019-08-06-5a52b379-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/usign_2019-08-06-5a52b379-1_mips_24kc.ipk.
Installing lede-keyring (2017-01-20-a50b7529-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/lede-keyring_2017-01-20-a50b7529-1_mips_24kc.ipk.
Installing fstools (2018-04-16-6609e98a-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/fstools_2018-04-16-6609e98a-1_mips_24kc.ipk.
Installing fwtool (1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/fwtool_1_mips_24kc.ipk.
Installing busybox (1.25.1-4) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/busybox_1.25.1-4_mips_24kc.ipk.
Installing dnsmasq (2.78-6) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/dnsmasq_2.78-6_mips_24kc.ipk.
Installing dropbear (2017.75-5) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/dropbear_2017.75-5_mips_24kc.ipk.
Package firewall (2017-05-27-a4d98aea-1) installed in root is up to date.
Package fstools (2018-04-16-6609e98a-1) installed in root is up to date.
Package iptables (1.4.21-3) installed in root is up to date.
Package kernel (4.4.140-1-33d452ad71ac13bc6dc71df37efa5ec7) installed in root is up to date.
Installing kmod-ath9k (4.4.140+2017-01-31-5) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/kmod-ath9k_4.4.140+2017-01-31-5_mips_24kc.ipk.
Installing iw (4.9-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/iw_4.9-1_mips_24kc.ipk.
Installing kmod-cfg80211 (4.4.140+2017-01-31-5) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/kmod-cfg80211_4.4.140+2017-01-31-5_mips_24kc.ipk.
Installing hostapd-common (2016-12-19-ad02e79d-7) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/hostapd-common_2016-12-19-ad02e79d-7_mips_24kc.ipk.
Installing kmod-mac80211 (4.4.140+2017-01-31-5) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/kmod-mac80211_4.4.140+2017-01-31-5_mips_24kc.ipk.
Installing kmod-ath (4.4.140+2017-01-31-5) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/kmod-ath_4.4.140+2017-01-31-5_mips_24kc.ipk.
Installing kmod-ath9k-common (4.4.140+2017-01-31-5) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/kmod-ath9k-common_4.4.140+2017-01-31-5_mips_24kc.ipk.
Installing kmod-gpio-button-hotplug (4.4.140-2) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/kmod-gpio-button-hotplug_4.4.140-2_mips_24kc.ipk.
Package libc (1.1.16-1) installed in root is up to date.
Package libgcc (5.4.0-1) installed in root is up to date.
Installing logd (2017-03-10-16f7e161-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/logd_2017-03-10-16f7e161-1_mips_24kc.ipk.
Installing mtd (23) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/mtd_23_mips_24kc.ipk.
Package netifd (2017-01-25-650758b1-1) installed in root is up to date.
Installing odhcpd (2018-05-27-59339a76-4) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/odhcpd_2018-05-27-59339a76-4_mips_24kc.ipk.
Installing swconfig (11) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/swconfig_11_mips_24kc.ipk.
Installing uboot-envtools (2015.10-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/uboot-envtools_2015.10-1_mips_24kc.ipk.
Installing uci (2018-01-01-141b64ef-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/uci_2018-01-01-141b64ef-1_mips_24kc.ipk.
Installing uclient-fetch (2018-11-24-3ba74ebc-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/uclient-fetch_2018-11-24-3ba74ebc-1_mips_24kc.ipk.
Installing libuclient (2018-11-24-3ba74ebc-1) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/libuclient_2018-11-24-3ba74ebc-1_mips_24kc.ipk.
Installing wpad-mini (2016-12-19-ad02e79d-7) to root...
Copying /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/wpad-mini_2016-12-19-ad02e79d-7_mips_24kc.ipk.
Configuring libubox.
Configuring libuci.
Configuring liblua.
Configuring libuci-lua.
Configuring uclibcxx.
Configuring libpthread.
Configuring iperf.
Configuring libubus.
Configuring libjson-c.
Configuring libblobmsg-json.
Configuring ubusd.
Configuring ubus.
Configuring libnl-tiny.
Configuring iw.
Configuring kmod-nf-ipt.
Configuring kmod-ipt-core.
Configuring libxtables.
Configuring libip4tc.
Configuring libip6tc.
Configuring iptables.
Configuring kmod-ipt-ipopt.
Configuring iptables-mod-ipopt.
Configuring nodogsplash.
Configuring rpcd.
Configuring busybox.
Configuring odhcpd.
Configuring luci-lib-ip.
Configuring libubus-lua.
Configuring libiwinfo.
Configuring libiwinfo-lua.
Configuring swconfig.
Configuring luci-theme-bootstrap.
Configuring kmod-nf-conntrack.
Configuring kmod-ipt-conntrack.
Configuring jshn.
Configuring netifd.
Configuring libjson-script.
Configuring ubox.
Configuring procd.
Configuring jsonfilter.
Configuring usign.
Configuring lede-keyring.
Configuring fstools.
Configuring fwtool.
Configuring base-files.
Configuring kmod-nf-nat.
Configuring uboot-envtools.
Configuring dnsmasq.
Configuring kmod-ipt-nat.
Configuring firewall.
Configuring luci-app-firewall.
Configuring kmod-ipt-conntrack-extra.
Configuring kmod-sched-core.
Configuring tc.
Configuring libuclient.
Configuring uclient-fetch.
Configuring kmod-cfg80211.
Configuring hostapd-common.
Configuring kmod-mac80211.
Configuring kmod-ath.
Configuring kmod-ath9k-common.
Configuring kmod-ath9k.
Configuring uci.
Configuring lua.
Configuring wpad-mini.
Configuring dropbear.
Configuring mtd.
Configuring luci-lib-nixio.
Configuring luci-lib-jsonc.
Configuring luci-base.
Configuring kmod-sched-cake.
Configuring kmod-ifb.
Configuring iptables-mod-conntrack-extra.
Configuring sqm-scripts.
Configuring luci-app-sqm.
Configuring luci-mod-admin-full.
Configuring kmod-gpio-button-hotplug.
Configuring logd.
Configuring uhttpd.
Configuring uhttpd-mod-ubus.

Cleaning up

Activating init scripts

Building images...
19+1 records in
20+0 records out
1310720 bytes (1.3 MB, 1.2 MiB) copied, 0.00276161 s, 475 MB/s
Image Name:   MIPS OpenWrt Linux-4.4.140
Created:      Sun May 24 19:34:50 2020
Image Type:   MIPS Linux Kernel Image (lzma compressed)
Data Size:    1272581 Bytes = 1242.75 kB = 1.21 MB
Load Address: 80060000
Entry Point:  80060000
Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/linux-ar71xx_generic/root.squashfs, block size 262144.
Pseudo file "/dev" exists in source filesystem "/home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/dev".
Ignoring, exclude it (-e/-ef) to override.
[=====================================================================================================================================-] 858/858 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
	compressed data, compressed metadata, compressed fragments, no xattrs
	duplicates are removed
Filesystem size 2243.18 Kbytes (2.19 Mbytes)
	32.93% of uncompressed filesystem size (6811.44 Kbytes)
Inode table size 8670 bytes (8.47 Kbytes)
	23.11% of uncompressed inode table size (37520 bytes)
Directory table size 11466 bytes (11.20 Kbytes)
	48.49% of uncompressed directory table size (23645 bytes)
Number of duplicate files found 88
Number of inodes 1139
Number of files 855
Number of fragments 19
Number of symbolic links  180
Number of device nodes 1
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 103
Number of ids (unique uids + gids) 1
Number of uids 1
/home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/staging_dir/host/bin/mksquashfs4: relocation error: /lib/x86_64-linux-gnu/libnss_compat.so.2: symbol __nss_database_lookup2, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
make[3]: *** [/home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/include/image.mk:310: /home/bagus/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/linux-ar71xx_generic/root.squashfs] Error 127
make[2]: *** [Makefile:178: build_image] Error 2
make[1]: *** [Makefile:118: _call_image] Error 2
make: *** [Makefile:203: image] Error 2

LEDE isn't supported anymore.

If you must build LEDE, try on Ubuntu 16.04 (you can probably spin up a VM on your Ubuntu 20.04 installation).

1 Like

really?
thats so bad
thanks for the info
ill try install ubuntu 16 in vm
will give update when it success

What’s so bad? That version of OpenWrt LEDE is 3 years old. Nobody is maintaining it anymore or trying to fix issues with compiling it on newer versions of Ubuntu than was available when LEDE was the current version. Not to mention that LEDE has potential security vulnerabilities since it has not been updated in 3 years. OpenWrt 18.06.8 and 19.07.3 are up-to-date with security patches.

1 Like

It's a 4/32 device.

2 Likes

just wanna report
i success build with vm ubuntu 16👍

hi i need 1 more help
i want to add custom config for firewall

i add port forwarding from wan with port 1111 to default gateway with port 22.so i can access my router from wan after i flash it. how the config files looks like? i read wiki but still cant understand how it will be

my topologi is main router (fiber) -> openwrt router. i need this port forwarding so i dont need to take out my openwrt router from wall to plug it to my laptop :slight_smile:

I don't understand why you need access from the WAN, and why you would have to remove the router from 'the wall' to access the router's LAN so that you can configure your router after a fresh flash or reset.

It is a very bad idea to expose a freshly reset/flashed router's configuration (ssh and/or web) to the WAN in general, but even more so if there is no password configured (the default state after a reset or flash). A rare exception is if the device in question is already connected via its WAN port behind another firewall (i.e. already part of a trusted LAN), but there may be better ways to configure your router.

That said, if you want to do this, you would create your custom configurations and integrate them into an image you build yourself. There are instructions on how to do that here. Keep in mind that any errors or security issues introduced into the UCI defaults as a result of this process will exist anytime the router is flashed with that image or reset to defaults, and it could cause difficulties.

In general, the process of building your own custom image must be repeated for each new OpenWrt release. However, In your case, the good news is that you're working with an old device that will probably never be upgraded beyond LEDE (and LEDE is no longer being updated), so you can do this once and be done with it. But I will stress again that you should not do this unless there is a really good reason for doing so.

1 Like

i have 2 reason

  1. thats my topology now
  2. im abroad and my router is in my house. im trying to flash it remotely. so this is my only options :slight_smile:

okay i wanna make it sure first before i build the image
so i need to create this files /etc/uci-defaults/xx_customizations
then fill the file like this

uci add dhcp host
uci set dhcp.@host[0].name='bellerophon'
uci set network.@host[0].ip='192.168.2.100'
uci set network.@host[0].mac='a1:b2:c3:d4:e5:f6'

and it will add dhcp host when flashing ?
like that @psherman?

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.