Error building the firmware image- Linksys WRT3200ACM

Open
#1,357 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Domain
build-system

Research direction

Start with the reported package-install failure and inspect the Makefile targets at lines 234, 171, and 349, along with the generated imagebuilder package manifest. Reproduce the Linksys WRT3200ACM request and trace why tcpdump-mini and tcpdump both claim /usr/bin/tcpdump. Done means the requested firmware image builds without the package clash.

Written by the indexing model from the issue text.

Description

Request Data:

{
"url": "https://sysupgrade.openwrt.org",
"branch": "24.10",
"revision": "r28427-6df0e3d02a",
"efi": null,
"advanced_mode": "0",
"request_hash": "",
"sha256_unsigned": "",
"client": "luci/25.037.6833142f464c",
"packages": {
"tcpdump-mini": "4.99.5-r1",
"luci-app-adblock": "25.037.68331
42f464c",
"libc": "1.2.5-r4",
"opkg": "2024.10.1638eccbb1-r1",
"wpad-basic-mbedtls": "2024.09.15
5ace39b0-r2",
"kmod-btmrvl": "6.6.73-r1",
"ip-full": "6.11.0-r1",
"nano-full": "8.3-r1",
"procd-ujail": "2024.12.2242d39376-r1",
"base-files": "1655
6df0e3d02a",
"luci-app-ttyd": "25.037.6833142f464c",
"libustream-mbedtls": "2024.07.28
99bd3d2b-r1",
"firewall4": "2024.12.1818fc0ead-r1",
"adblock": "4.2.4-r1",
"uboot-envtools": "2024.07-r1",
"dnsmasq": "2.90-r4",
"tcpdump": "4.99.5-r1",
"odhcp6c": "2024.09.25
b6ae9ffa-r1",
"uci": "2025.01.2016ff0bad-r1",
"dropbear": "2024.86-r1",
"mwlwifi-firmware-88w8964": "2024.04.19
a737d348-r2",
"mtd": "26",
"odhcpd-ipv6only": "2024.05.08a2988231-r1",
"kmod-mwifiex-sdio": "6.6.73.6.12.6-r1",
"urandom-seed": "3",
"ppp": "2.5.1-r1",
"kmod-gpio-button-hotplug": "6.6.73-r5",
"logd": "2024.04.26
85f10530-r1",
"openvpn-openssl": "2.6.12-r1",
"luci-app-attendedsysupgrade": "25.037.6833142f464c",
"ds-lite": "9",
"kmod-mwlwifi": "6.6.73.2024.04.19
a737d348-r2",
"attendedsysupgrade-common": "9",
"ca-bundle": "20240203-r1",
"luci": "25.037.6833142f464c",
"map": "7",
"kernel": "6.6.73
b4e6dc3c3253bf5b438f90392080acc3-r1",
"urngd": "2023.11.0144365eb1-r1",
"ppp-mod-pppoe": "2.5.1-r1",
"luci-app-openvpn": "25.037.68331
42f464c"
},
"profile": "linksys,wrt3200acm",
"target": "mvebu/cortexa9",
"version": "24.10.0",
"diff_packages": true,
"filesystem": "squashfs"
}

STDERR:
Generate local signing keys...
Generate local certificate...
Package list missing or not up-to-date, generating it.

Building package index...
Downloading http://downloads.openwrt.org/releases/24.10.1/targets/mvebu/cortexa9/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/openwrt_core
Downloading http://downloads.openwrt.org/releases/24.10.1/targets/mvebu/cortexa9/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/arm_cortex-a9_vfpv3-d16/base/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/openwrt_base
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/arm_cortex-a9_vfpv3-d16/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/targets/mvebu/cortexa9/kmods/6.6.86-1-61475e4a70aee1a9b3116d1b382dbe4f/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/openwrt_kmods
Downloading http://downloads.openwrt.org/releases/24.10.1/targets/mvebu/cortexa9/kmods/6.6.86-1-61475e4a70aee1a9b3116d1b382dbe4f/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/arm_cortex-a9_vfpv3-d16/luci/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/openwrt_luci
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/arm_cortex-a9_vfpv3-d16/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/arm_cortex-a9_vfpv3-d16/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/openwrt_packages
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/arm_cortex-a9_vfpv3-d16/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/arm_cortex-a9_vfpv3-d16/routing/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/openwrt_routing
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/arm_cortex-a9_vfpv3-d16/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/arm_cortex-a9_vfpv3-d16/telephony/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/24.10.1/packages/arm_cortex-a9_vfpv3-d16/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.
Collected errors:

  • check_data_file_clashes: Package tcpdump-mini wants to install file /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/usr/bin/tcpdump
    But that file is already provided by package * tcpdump
  • opkg_install_cmd: Cannot install package tcpdump-mini.
    make[2]: *** [Makefile:234: package_install] Error 255
    make[1]: *** [Makefile:171: _call_manifest] Error 2
    make: *** [Makefile:349: manifest] Error 2
Dominant language
Python
Stars
461
Forks
116
Avg merge
8d 30m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openwrt/asu

All issues in openwrt/asu

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.