Error building the firmware image
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 450
- Forks
- 111
- PR merge metrics
- No merged PRs in 30d
Description
Hi. Using Attended Sysupgrade, I requested the latest official FW for my router.
I got errors and a message that asks to report it here.
Its the first time so I apologize if I reported it uncorrectly..
The following is the report:
{
"url": "https://sysupgrade.openwrt.org",
"revision": "r16847-f8282da11e",
"advanced_mode": "1",
"branch": "21.02",
"efi": null,
"profile": "netgear,r7800",
"target": "ipq806x/generic",
"version": "22.03.5",
"packages": [
"ath10k-firmware-qca9984-ct",
"auc",
"base-files",
"busybox",
"ca-bundle",
"cgi-io",
"curl",
"diffutils",
"dnsmasq-full",
"dropbear",
"firewall",
"fstools",
"fwtool",
"getrandom",
"hostapd-common",
"ip6tables",
"iptables",
"iw",
"iwinfo",
"jshn",
"jsonfilter",
"kernel",
"kmod-ata-ahci",
"kmod-ata-ahci-platform",
"kmod-ata-core",
"kmod-ath",
"kmod-ath10k-ct",
"kmod-cfg80211",
"kmod-gpio-button-hotplug",
"kmod-hwmon-core",
"kmod-ip6tables",
"kmod-ipt-conntrack",
"kmod-ipt-core",
"kmod-ipt-nat",
"kmod-ipt-offload",
"kmod-leds-gpio",
"kmod-lib-crc-ccitt",
"kmod-mac80211",
"kmod-nf-conntrack",
"kmod-nf-conntrack6",
"kmod-nf-flow",
"kmod-nf-ipt",
"kmod-nf-ipt6",
"kmod-nf-nat",
"kmod-nf-reject",
"kmod-nf-reject6",
"kmod-nls-base",
"kmod-phy-qcom-ipq806x-usb",
"kmod-ppp",
"kmod-pppoe",
"kmod-pppox",
"kmod-scsi-core",
"kmod-slhc",
"kmod-usb-core",
"kmod-usb-dwc3",
"kmod-usb-dwc3-qcom",
"kmod-usb-ehci",
"kmod-usb-ledtrig-usbport",
"kmod-usb-ohci",
"kmod-usb2",
"kmod-usb3",
"libatomic",
"libblobmsg-json",
"libc",
"libip4tc",
"libip6tc",
"libiwinfo",
"libiwinfo-data",
"libiwinfo-lua",
"libjson-c",
"libjson-script",
"liblua",
"liblucihttp",
"liblucihttp-lua",
"libnl-tiny",
"libopenssl",
"librt",
"libstdcpp",
"libubox",
"libubus",
"libubus-lua",
"libuci",
"libuclient",
"libustream-wolfssl",
"libwolfssl",
"libxtables",
"logd",
"lua",
"luci",
"luci-app-attendedsysupgrade",
"luci-app-firewall",
"luci-app-openvpn",
"luci-app-opkg",
"luci-app-vpnbypass",
"luci-base",
"luci-lib-base",
"luci-lib-ip",
"luci-lib-jsonc",
"luci-lib-nixio",
"luci-mod-admin-full",
"luci-mod-network",
"luci-mod-status",
"luci-mod-system",
"luci-proto-ipv6",
"luci-proto-ppp",
"luci-ssl",
"luci-theme-bootstrap",
"mtd",
"nano-full",
"netdata",
"netifd",
"odhcp6c",
"odhcpd-ipv6only",
"openssh-sftp-server",
"openvpn-openssl",
"openwrt-keyring",
"opkg",
"ppp",
"ppp-mod-pppoe",
"procd",
"px5g-wolfssl",
"rpcd",
"rpcd-mod-file",
"rpcd-mod-iwinfo",
"rpcd-mod-luci",
"rpcd-mod-rrdns",
"speedtest-netperf",
"swconfig",
"tcpdump",
"ubi-utils",
"uboot-envtools",
"ubox",
"ubus",
"ubusd",
"uci",
"uclient-fetch",
"uhttpd",
"uhttpd-mod-ubus",
"urandom-seed",
"urngd",
"usign",
"wireless-regdb",
"wpad-wolfssl",
"zlib"
],
"diff_packages": true,
"filesystem": "squashfs",
"client": "luci/git-22.210.54423-3b0b325"
}
STDERR:
Package list missing or not up-to-date, generating it.
Building package index...
Downloading https://downloads.openwrt.org/releases/22.03.5/targets/ipq806x/generic/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.5/ipq806x/generic/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.5/ipq806x/generic/dl/openwrt_core
Downloading https://downloads.openwrt.org/releases/22.03.5/targets/ipq806x/generic/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.5/packages/arm_cortex-a15_neon-vfpv4/base/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.5/ipq806x/generic/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.5/ipq806x/generic/dl/openwrt_base
Downloading https://downloads.openwrt.org/releases/22.03.5/packages/arm_cortex-a15_neon-vfpv4/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.5/packages/arm_cortex-a15_neon-vfpv4/luci/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.5/ipq806x/generic/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.5/ipq806x/generic/dl/openwrt_luci
Downloading https://downloads.openwrt.org/releases/22.03.5/packages/arm_cortex-a15_neon-vfpv4/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.5/packages/arm_cortex-a15_neon-vfpv4/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.5/ipq806x/generic/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.5/ipq806x/generic/dl/openwrt_packages
Downloading https://downloads.openwrt.org/releases/22.03.5/packages/arm_cortex-a15_neon-vfpv4/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.5/packages/arm_cortex-a15_neon-vfpv4/routing/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.5/ipq806x/generic/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.5/ipq806x/generic/dl/openwrt_routing
Downloading https://downloads.openwrt.org/releases/22.03.5/packages/arm_cortex-a15_neon-vfpv4/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.5/packages/arm_cortex-a15_neon-vfpv4/telephony/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.5/ipq806x/generic/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.5/ipq806x/generic/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/22.03.5/packages/arm_cortex-a15_neon-vfpv4/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.5/ipq806x/generic/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.5/ipq806x/generic/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check failed.
Remove wrong Signature file.
Collected errors:
* check_data_file_clashes: Package firewall4 wants to install file /home/aparcar/asu/worker1/cache/22.03.5/ipq806x/generic/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/etc/hotplug.d/iface/20-firewall
But that file is already provided by package * firewall
* check_data_file_clashes: Package firewall4 wants to install file /home/aparcar/asu/worker1/cache/22.03.5/ipq806x/generic/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/etc/init.d/firewall
But that file is already provided by package * firewall
* check_data_file_clashes: Package firewall4 wants to install file /home/aparcar/asu/worker1/cache/22.03.5/ipq806x/generic/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/sbin/fw3
But that file is already provided by package * firewall
* opkg_install_cmd: Cannot install package luci-app-vpnbypass.
make[2]: *** [Makefile:170: package_install] Error 255
make[1]: *** [Makefile:135: _call_manifest] Error 2
make: *** [Makefile:255: manifest] Error 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the image build failures reported at Makefile:170, Makefile:135, and Makefile:255, then inspect the package installation step involving luci-app-vpnbypass. Reproduce the OpenWrt 22.03.5 netgear,r7800 request and determine why firewall and firewall4 conflict. Done means the reported package set builds without the installation errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100