openwrt / openwrt/asu

Build fails for FriendlyARM NanoPi R5S

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

Nobody has claimed this yet.

Dominant language
Python
Stars
450
Forks
111
PR merge metrics
No merged PRs in 30d

Description

When building the image on firmware-selector.openwrt.org

with following packages selected:

apk-mbedtls base-files ca-bundle dropbear e2fsprogs firewall4 fstools kmod-gpio-button-hotplug kmod-nft-offload libc libgcc libustream-mbedtls logd mkf2fs mtd netifd nftables odhcp6c odhcpd-ipv6only partx-utils ppp ppp-mod-pppoe procd-ujail uboot-envtools uci uclient-fetch urandom-seed urngd kmod-r8169 luci

luci-ssl-openssl luci-app-attendedsysupgrade

kmod-nf-conntrack-netlink libnfnetlink0 libnetfilter-conntrack3 libgmp10 libnettle8 dnsmasq-full pbr luci-app-pbr

luci-lib-uqr kmod-crypto-lib-chacha20 kmod-crypto-lib-poly1305 kmod-crypto-lib-chacha20poly1305 kmod-crypto-kpp kmod-crypto-lib-curve25519 kmod-udptunnel4 kmod-udptunnel6 kmod-wireguard wireguard-tools luci-proto-wireguard

etherwake luci-app-wol

ethtool iperf3 libatomic1 libiperf3

tailscale 

Got an error:

 Error: Impossible package selection
STDERR

Generate local signing keys...
WARNING: can't open config file: /builder/shared-workdir/build/staging_dir/host/etc/ssl/openssl.cnf
WARNING: can't open config file: /builder/shared-workdir/build/staging_dir/host/etc/ssl/openssl.cnf
read EC key
writing EC key
WARNING: opening /builder/packages/packages.adb: No such file or directory
Package list missing or not up-to-date, generating it.

Building package index...
ERROR: libgcc1-13.3.0-r4: ADB block error
ERROR: fstools-2024.12.02~49d36ba2-r1: ADB block error
ERROR: fwtool-2019.11.12~8f7fe925-r1: ADB block error
ERROR: wget: exited with error 3
ERROR: kmod-nf-conntrack-6.6.87-r1: Input/output error
ERROR: kmod-nfnetlink-6.6.87-r1: ADB block error
ERROR: kmod-nf-conntrack-netlink-6.6.87-r1: ADB block error
ERROR: kmod-crypto-hash-6.6.87-r1: ADB block error
ERROR: kmod-crypto-crc32c-6.6.87-r1: ADB block error
ERROR: kmod-lib-crc32c-6.6.87-r1: ADB block error
ERROR: kmod-nf-conntrack6-6.6.87-r1: ADB block error
ERROR: kmod-nf-log-6.6.87-r1: ADB block error
ERROR: kmod-nf-log6-6.6.87-r1: ADB block error
ERROR: kmod-nf-nat-6.6.87-r1: ADB block error
ERROR: kmod-nf-reject-6.6.87-r1: ADB block error
ERROR: kmod-nf-reject6-6.6.87-r1: ADB block error
ERROR: wget: exited with error 3
ERROR: kmod-nft-core-6.6.87-r1: Input/output error
ERROR: wget: exited with error 3
ERROR: dropbear-2024.86-r1: Input/output error
ERROR: libpthread-1.2.5-r4: ADB block error
ERROR: librt-1.2.5-r4: ADB block error
ERROR: kmod-nft-fib-6.6.87-r1: ADB block error
ERROR: kmod-nft-nat-6.6.87-r1: ADB block error
ERROR: kmod-nf-flow-6.6.87-r1: ADB block error
ERROR: kmod-nft-offload-6.6.87-r1: ADB block error
ERROR: libatomic1-13.3.0-r4: ADB block error
ERROR: kmod-crypto-kpp-6.6.87-r1: ADB block error
ERROR: kmod-crypto-lib-chacha20-6.6.87-r1: ADB block error
ERROR: kmod-crypto-lib-poly1305-6.6.87-r1: ADB block error
ERROR: kmod-crypto-lib-chacha20poly1305-6.6.87-r1: ADB block error
ERROR: kmod-crypto-lib-curve25519-6.6.87-r1: ADB block error
ERROR: kmod-gpio-button-hotplug-6.6.87-r5: ADB block error
ERROR: kmod-libphy-6.6.87-r1: ADB block error
ERROR: kmod-mdio-devres-6.6.87-r1: ADB block error
ERROR: kmod-mii-6.6.87-r1: ADB block error
ERROR: kmod-hwmon-core-6.6.87-r1: ADB block error
ERROR: kmod-phy-realtek-6.6.87-r1: ADB block error
ERROR: kmod-r8169-6.6.87-r1: ADB block error
ERROR: kmod-udptunnel4-6.6.87-r1: ADB block error
ERROR: kmod-udptunnel6-6.6.87-r1: ADB block error
ERROR: kmod-wireguard-6.6.87-r1: ADB block error
ERROR: mtd-26: ADB block error
ERROR: kmod-lib-crc-ccitt-6.6.87-r1: ADB block error
ERROR: kmod-slhc-6.6.87-r1: ADB block error
ERROR: kmod-ppp-6.6.87-r1: ADB block error
ERROR: kmod-pppox-6.6.87-r1: ADB block error
ERROR: kmod-pppoe-6.6.87-r1: ADB block error
ERROR: kmod-tun-6.6.87-r1: ADB block error
make[2]: *** [Makefile:226: package_install] Error 46
make[1]: *** [Makefile:167: _call_manifest] Error 2
make: *** [Makefile:344: manifest] Error 2

STDOUT

The build fails even with standard packages selected (without customizing the build):

apk-mbedtls base-files ca-bundle dnsmasq dropbear e2fsprogs firewall4 fstools kmod-gpio-button-hotplug kmod-nft-offload libc libgcc libustream-mbedtls logd mkf2fs mtd netifd nftables odhcp6c odhcpd-ipv6only partx-utils ppp ppp-mod-pppoe procd-ujail uboot-envtools uci uclient-fetch urandom-seed urngd kmod-r8169 luci

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Reproduce the failure in the firmware-selector.openwrt.org link using both the listed custom packages and the standard package set. Start with the reported Makefile targets package_install and _call_manifest, then trace the ADB block, wget, and input/output errors. Done means the NanoPi R5S image builds successfully.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.