Image building fails with many "collected errors" [19.07.8 ib]

I am trying to create a custom image for my TP-Link C7 v5 with the image builder downloaded from this page and following the instructions on this page.

Preparatory to creating an image with extra packages or files, I tried building a "no extra" image with:

$ make image PROFILE=tplink_archer-c7-v5

The image creation process failed.

Could anyone tell me what may have gone wrong? What I should try next?

The shell output is long, but I am pasting the whole thing. So I am reporting only what follows the line Collected errors. I can provide the whole thing if needs be.

Shell output:

luna@ub18-em:~/a/openwrt/ib$ make image PROFILE=tplink_archer-c7-v5
Generate local signing keys...
Generate local certificate...
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'perl-data-dumper'... ok.
Checking 'perl-findbin'... ok.
Checking 'perl-file-copy'... ok.
Checking 'perl-file-compare'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'xargs'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'egrep'... ok.
Checking 'getopt'... ok.
Checking 'stat'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'install'... ok.
Checking 'perl'... ok.
Checking 'python2-cleanup'... ok.
Checking 'python'... ok.
Checking 'python3'... ok.
Checking 'git'... ok.
Checking 'file'... ok.
Checking 'rsync'... ok.
Checking 'which'... ok.
Checking 'ldconfig-stub'... ok.
Building images for ath79 - TP-Link Archer C7 v5
Packages: ath10k-firmware-qca988x-ct base-files busybox ca-bundle dnsmasq dropbear firewall fstools ip6tables iptables kernel kmod-ath10k-ct kmod-ath9k kmod-gpio-button-hotplug kmod-ipt-offload kmod-usb-ledtrig-usbport kmod-usb2 libc libgcc libustream-wolfssl logd mtd netifd odhcp6c odhcpd-ipv6only opkg ppp ppp-mod-pppoe procd swconfig uboot-envtools uci uclient-fetch urandom-seed urngd wpad-basic-wolfssl

Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/packages/Packages.gz
Updated list of available packages in /home/luna/a/openwrt/ib/build_dir/target-mips_24kc_musl/root-ath79/../../../../../../../../home/luna/a/openwrt/ib/dl/openwrt_core
Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/Packages.gz
Updated list of available packages in /home/luna/a/openwrt/ib/build_dir/target-mips_24kc_musl/root-ath79/../../../../../../../../home/luna/a/openwrt/ib/dl/openwrt_base
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/kmods/5.4.140-1-84d074180fc41ac57ff71ecbf6f96618/Packages.gz
Updated list of available packages in /home/luna/a/openwrt/ib/build_dir/target-mips_24kc_musl/root-ath79/../../../../../../../../home/luna/a/openwrt/ib/dl/openwrt_kmods
Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/kmods/5.4.140-1-84d074180fc41ac57ff71ecbf6f96618/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/luci/Packages.gz
Updated list of available packages in /home/luna/a/openwrt/ib/build_dir/target-mips_24kc_musl/root-ath79/../../../../../../../../home/luna/a/openwrt/ib/dl/openwrt_luci
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/packages/Packages.gz
Updated list of available packages in /home/luna/a/openwrt/ib/build_dir/target-mips_24kc_musl/root-ath79/../../../../../../../../home/luna/a/openwrt/ib/dl/openwrt_packages
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/routing/Packages.gz
Updated list of available packages in /home/luna/a/openwrt/ib/build_dir/target-mips_24kc_musl/root-ath79/../../../../../../../../home/luna/a/openwrt/ib/dl/openwrt_routing
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/telephony/Packages.gz
Updated list of available packages in /home/luna/a/openwrt/ib/build_dir/target-mips_24kc_musl/root-ath79/../../../../../../../../home/luna/a/openwrt/ib/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/telephony/Packages.sig
Signature check passed.

Installing packages...
Installing libc (1.1.24-3) to root...
Installing libgcc1 (10.3.0-3) to root...
Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/packages/libgcc1_10.3.0-3_mips_24kc.ipk
Configuring libgcc1.
Configuring libc.
Installing kernel (5.4.140-1-84d074180fc41ac57ff71ecbf6f96618) to root...
Configuring kernel.
Installing ath10k-firmware-qca988x-ct (2020-11-08-1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/ath10k-firmware-qca988x-ct_2020-11-08-1_mips_24kc.ipk
Installing ath10k-board-qca988x (20210511-1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/ath10k-board-qca988x_20210511-1_mips_24kc.ipk
Installing base-files (1451-r17436-cf40141b51) to root...
Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/packages/base-files_1451-r17436-cf40141b51_mips_24kc.ipk
Installing libubox20210819 (2021-08-19-d716ac4b-2) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libubox20210819_2021-08-19-d716ac4b-2_mips_24kc.ipk
Installing libuci20130104 (2021-04-14-4b3db117-6) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libuci20130104_2021-04-14-4b3db117-6_mips_24kc.ipk
Installing libnl-tiny1 (2020-08-05-c291088f-2) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libnl-tiny1_2020-08-05-c291088f-2_mips_24kc.ipk
Installing libubus20210630 (2021-06-30-4fc532c8-2) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libubus20210630_2021-06-30-4fc532c8-2_mips_24kc.ipk
Installing libjson-c5 (0.15-2) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libjson-c5_0.15-2_mips_24kc.ipk
Installing libblobmsg-json20210819 (2021-08-19-d716ac4b-2) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libblobmsg-json20210819_2021-08-19-d716ac4b-2_mips_24kc.ipk
Installing ubusd (2021-06-30-4fc532c8-2) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/ubusd_2021-06-30-4fc532c8-2_mips_24kc.ipk
Installing ubus (2021-06-30-4fc532c8-2) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/ubus_2021-06-30-4fc532c8-2_mips_24kc.ipk
Installing jshn (2021-08-19-d716ac4b-2) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/jshn_2021-08-19-d716ac4b-2_mips_24kc.ipk
Installing netifd (2021-08-24-454e9c33-1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/netifd_2021-08-24-454e9c33-1_mips_24kc.ipk
Installing jsonfilter (2018-02-04-c7e938d6-1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/jsonfilter_2018-02-04-c7e938d6-1_mips_24kc.ipk
Installing usign (2020-05-23-f1f65026-1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/usign_2020-05-23-f1f65026-1_mips_24kc.ipk
Installing openwrt-keyring (2021-02-20-49283916-2) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/openwrt-keyring_2021-02-20-49283916-2_mips_24kc.ipk
Installing ubox (2021-08-03-205defb5-2) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/ubox_2021-08-03-205defb5-2_mips_24kc.ipk
Installing fstools (2021-08-25-e1b68111-1) to root...
Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/packages/fstools_2021-08-25-e1b68111-1_mips_24kc.ipk
Installing fwtool (2019-11-12-8f7fe925-1) to root...
Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/packages/fwtool_2019-11-12-8f7fe925-1_mips_24kc.ipk
Installing busybox (1.33.1-12) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/busybox_1.33.1-12_mips_24kc.ipk
Installing ca-bundle (20210119-1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/ca-bundle_20210119-1_all.ipk
Installing dnsmasq (2.85-7) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/dnsmasq_2.85-7_mips_24kc.ipk
Installing dropbear (2020.81-2) to root...
Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/packages/dropbear_2020.81-2_mips_24kc.ipk
Installing firewall (2021-08-14-40e5f6a2-1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/firewall_2021-08-14-40e5f6a2-1_mips_24kc.ipk
Package fstools (2021-08-25-e1b68111-1) installed in root is up to date.
Installing ip6tables (1.8.7-1) to root...
Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/packages/ip6tables_1.8.7-1_mips_24kc.ipk
Installing iptables (1.8.7-1) to root...
Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/packages/iptables_1.8.7-1_mips_24kc.ipk
Package kernel (5.4.140-1-84d074180fc41ac57ff71ecbf6f96618) installed in root is up to date.
Installing kmod-ath10k-ct (5.4.140+2021-06-03-b44cd7b2-5) to root...
Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/kmods/5.4.140-1-84d074180fc41ac57ff71ecbf6f96618/kmod-ath10k-ct_5.4.140%2b2021-06-03-b44cd7b2-5_mips_24kc.ipk
Installing kmod-ath9k (5.4.140+5.10.42-1-1) to root...
Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/kmods/5.4.140-1-84d074180fc41ac57ff71ecbf6f96618/kmod-ath9k_5.4.140%2b5.10.42-1-1_mips_24kc.ipk
Installing kmod-gpio-button-hotplug (5.4.140-3) to root...
Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/kmods/5.4.140-1-84d074180fc41ac57ff71ecbf6f96618/kmod-gpio-button-hotplug_5.4.140-3_mips_24kc.ipk
Installing kmod-ipt-offload (5.4.140-1) to root...
Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/kmods/5.4.140-1-84d074180fc41ac57ff71ecbf6f96618/kmod-ipt-offload_5.4.140-1_mips_24kc.ipk
Installing kmod-usb-ledtrig-usbport (5.4.140-1) to root...
Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/kmods/5.4.140-1-84d074180fc41ac57ff71ecbf6f96618/kmod-usb-ledtrig-usbport_5.4.140-1_mips_24kc.ipk
Installing kmod-usb2 (5.4.140-1) to root...
Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/kmods/5.4.140-1-84d074180fc41ac57ff71ecbf6f96618/kmod-usb2_5.4.140-1_mips_24kc.ipk
Package libc (1.1.24-3) installed in root is up to date.
Package libgcc1 (10.3.0-3) installed in root is up to date.
Installing libustream-wolfssl20201210 (2020-12-10-68d09243-2) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libustream-wolfssl20201210_2020-12-10-68d09243-2_mips_24kc.ipk
Installing libwolfssl4.7.0.ba20a816 (4.7.0-stable-2) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libwolfssl4.7.0.ba20a816_4.7.0-stable-2_mips_24kc.ipk
Installing logd (2021-08-03-205defb5-2) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/logd_2021-08-03-205defb5-2_mips_24kc.ipk
Installing mtd (26) to root...
Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/packages/mtd_26_mips_24kc.ipk
Package netifd (2021-08-24-454e9c33-1) installed in root is up to date.
Installing odhcp6c (2021-07-14-94adc8bb-18) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/odhcp6c_2021-07-14-94adc8bb-18_mips_24kc.ipk
Installing odhcpd-ipv6only (2021-08-11-01b4e604-1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/odhcpd-ipv6only_2021-08-11-01b4e604-1_mips_24kc.ipk
Installing opkg (2021-06-13-1bf042dd-3) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/opkg_2021-06-13-1bf042dd-3_mips_24kc.ipk
Installing libuclient20201210 (2021-05-14-6a6011df-1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libuclient20201210_2021-05-14-6a6011df-1_mips_24kc.ipk
Installing uclient-fetch (2021-05-14-6a6011df-1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/uclient-fetch_2021-05-14-6a6011df-1_mips_24kc.ipk
Installing libpthread (1.1.24-3) to root...
Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/packages/libpthread_1.1.24-3_mips_24kc.ipk
Installing ppp (2.4.9.git-2021-01-04-3) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/ppp_2.4.9.git-2021-01-04-3_mips_24kc.ipk
Installing ppp-mod-pppoe (2.4.9.git-2021-01-04-3) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/ppp-mod-pppoe_2.4.9.git-2021-01-04-3_mips_24kc.ipk
Installing procd (2021-08-23-167dc249-1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/procd_2021-08-23-167dc249-1_mips_24kc.ipk
Installing libjson-script20210819 (2021-08-19-d716ac4b-2) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libjson-script20210819_2021-08-19-d716ac4b-2_mips_24kc.ipk
Installing swconfig (12) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/swconfig_12_mips_24kc.ipk
Installing uboot-envtools (2021.01-38) to root...
Downloading https://downloads.openwrt.org/snapshots/targets/ath79/generic/packages/uboot-envtools_2021.01-38_mips_24kc.ipk
Installing uci (2021-04-14-4b3db117-6) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/uci_2021-04-14-4b3db117-6_mips_24kc.ipk
Package uclient-fetch (2021-05-14-6a6011df-1) installed in root is up to date.
Installing urandom-seed (3) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/urandom-seed_3_mips_24kc.ipk
Installing getrandom (2021-08-03-205defb5-2) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/getrandom_2021-08-03-205defb5-2_mips_24kc.ipk
Installing urngd (2020-01-21-c7f7b6b6-1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/urngd_2020-01-21-c7f7b6b6-1_mips_24kc.ipk
Installing wpad-basic-wolfssl (2021-05-22-b102f19b-32) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/wpad-basic-wolfssl_2021-05-22-b102f19b-32_mips_24kc.ipk
Installing hostapd-common (2021-05-22-b102f19b-32) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/hostapd-common_2021-05-22-b102f19b-32_mips_24kc.ipk
Configuring libubox20210819.
Configuring libuclient20201210.
Configuring uclient-fetch.
Configuring libpthread.
Configuring opkg.
Configuring libubus20210630.
Configuring libjson-c5.
Configuring libblobmsg-json20210819.
Configuring ubusd.
Configuring ubus.
Configuring libuci20130104.
Configuring busybox.
Configuring libwolfssl4.7.0.ba20a816.
Configuring libnl-tiny1.
Configuring swconfig.
Configuring libustream-wolfssl20201210.
Configuring getrandom.
Configuring hostapd-common.
Configuring wpad-basic-wolfssl.
Configuring jshn.
Configuring netifd.
Configuring jsonfilter.
Configuring usign.
Configuring openwrt-keyring.
Configuring ubox.
Configuring fstools.
Configuring fwtool.
Configuring base-files.
Configuring uboot-envtools.
Configuring dnsmasq.
Configuring libjson-script20210819.
Configuring procd.
Configuring odhcp6c.
Configuring uci.
Configuring dropbear.
Configuring mtd.
Configuring odhcpd-ipv6only.
Configuring ath10k-board-qca988x.
Configuring ath10k-firmware-qca988x-ct.
Configuring urandom-seed.
Configuring kmod-gpio-button-hotplug.
Configuring logd.
Configuring iptables.
Configuring ca-bundle.
Configuring urngd.
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618) for kmod-nf-reject
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618) for kmod-nf-ipt
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618) for kmod-ipt-core
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for firewall:
 * 	kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618)
 * opkg_install_cmd: Cannot install package firewall.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618) for kmod-nf-reject6
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618) for kmod-nf-ipt6
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618) for kmod-ip6tables
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for ip6tables:
 * 	kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618)
 * opkg_install_cmd: Cannot install package ip6tables.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618) for kmod-crypto-aead
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618) for kmod-crypto-sha256
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618) for kmod-crypto-rng
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618) for kmod-crypto-gf128
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618) for kmod-mac80211
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618) for kmod-ath
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618) for kmod-hwmon-core
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618) for kmod-ath10k-ct
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ath10k-ct:
 * 	kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618)
 * opkg_install_cmd: Cannot install package kmod-ath10k-ct.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618) for kmod-ath9k
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ath9k:
 * 	kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618)
 * opkg_install_cmd: Cannot install package kmod-ath9k.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618) for kmod-gpio-button-hotplug
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618) for kmod-nf-flow
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618) for kmod-ipt-offload
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ipt-offload:
 * 	kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618)
 * opkg_install_cmd: Cannot install package kmod-ipt-offload.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618) for kmod-usb-core
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618) for kmod-usb-ledtrig-usbport
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-ledtrig-usbport:
 * 	kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618)
 * opkg_install_cmd: Cannot install package kmod-usb-ledtrig-usbport.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618) for kmod-usb2
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb2:
 * 	kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618)
 * opkg_install_cmd: Cannot install package kmod-usb2.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618) for kmod-lib-crc-ccitt
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for ppp:
 * 	kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618)
 * opkg_install_cmd: Cannot install package ppp.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for ppp-mod-pppoe:
 * 	kernel (= 5.4.142-1-84d074180fc41ac57ff71ecbf6f96618)
 * opkg_install_cmd: Cannot install package ppp-mod-pppoe.
Makefile:163: recipe for target 'package_install' failed
make[2]: *** [package_install] Error 255
Makefile:116: recipe for target '_call_image' failed
make[1]: *** [_call_image] Error 2
Makefile:238: recipe for target 'image' failed
make: *** [image] Error 2
luna@ub18-em:~/a/openwrt/ib$ 

see the wiki guide...

wait an hour or so and try again...

(edit: the page you linked was 19.07.08 i'd assumed master/snapshot... let us know the result after the wait)

2 Likes

19.07 uses kernel 4.14, so there should be no references to kernel 5.4 dependencies...

You have likely tried to modify the package feeds sources and have mixed either 21.02 or master into build build. Based on the second "this page",
(annoying to hide the link from readers... I needed to click it to find out. Why?)

Modifying the additional feeds is usually unnecessary, and will only work with packages built for the specific release.

Can I have accidentally done that (modify the packages feeds sources) that by running this

make image PROFILE=tplink_archer-c7-v5

for that is the only command I ran (after downloading and decompressing the tar.xz)?

How can I make sure I leave the package feeds sources as should be?

Sounds unlikely.

Make sure that you downloaded the imagebuilder into an empty dir, so that you do not have there any leftovers e.g. from previous master builds or so.

You might show the early part of the log so that we can see what happens with the feeds. Pastebin?

The tar.xz was put into and decompressed in a brand new directory made specifically for the purpose. In any event, it was my first time ever trying to create an image. I've included the whole shell output in the OP. Thanks!

Are you sure that you have downloaded the imagebuilder from https://downloads.openwrt.org/releases/19.07.8/targets/ath79/generic/, and not from https://downloads.openwrt.org/snapshots/targets/ath79/generic/?

2 Likes

That looks like master snapshot, not 19.07.8.

Ps
@anon50098793 deleted comment seems quite relevant, if it is actually master.

1 Like

Thank you. I messed up (burning with shame and gratitude). The image builder file I used has this name, quite the wrong thing.

openwrt-imagebuilder-ath79-generic.Linux-x86_64.tar.xz

I will try with the correct file. And will always spell out my links.

I'd used the wrong image builder. The correct one (from the "release" page) worked. In the ../bin/targets/ath79/generic/ folder I got:

openwrt-19.07.8-ath79-generic-device-tplink-archer-c7-v5.manifest
openwrt-19.07.8-ath79-generic-tplink_archer-c7-v5-squashfs-factory.bin
openwrt-19.07.8-ath79-generic-tplink_archer-c7-v5-squashfs-factory.bin
profiles.json
sha256sums

I wonder why the snapshot page's image builder should not have worked especially when it listed my model of router as one of the profiles (on make info), but I am not going to worry about it for now (not a practical issue for me at this time).

1 Like

Likely for the reason that wulfy23 implicated:
Core images and add-on packages are built separately, with different buildbots. Likely you tried building at a moment when the kernel image was already rebuilt after the version bump, but packages were not yet built with the new kernel SDK. (Or vice versa, packages were already built with a shared updated toolchain, while your specific kernel target was still waiting for rebuild.)

Waiting a few hours before a retry would likely have fixed it.

1 Like

Understood. I am glad I caught the "system" at the wrong time. If not for that, my error (thinking that I'd downloaded from the "release" page when actually I'd got the "snapshot") would have gone uncorrected and come back later to confound me.

Thanks to everyone!

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