Ath79 snapshot doesn't compile [solved]

I suspect there is an issue switching to .apk

Signature check passed.
Collected errors:
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/targets/ath79/generic/packages/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/targets/ath79/generic/kmods/6.1.89-1-3de2e6158397f652c6826e71225e501b/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/mips_24kc/luci/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/mips_24kc/packages/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/mips_24kc/routing/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/mips_24kc/telephony/Packages.gz, wget returned 8.

I tried to use CONFIG_USE_APK=1 but then was missing apk binary, so I copied it from mt7621 snapshot, but still got error

# make image PROFILE=tplink_archer-c7-v5 PACKAGES="nano screen iftop kmod-tun openvpn rsync luci kmod-gre kmod-nf-nathelper-extra" FILES=files/ CONFIG_USE_APK=1
Building images for ath79 - TP-Link Archer C7 v5
Packages: nano screen iftop kmod-tun openvpn rsync luci kmod-gre kmod-nf-nathelper-extra apk ath10k-firmware-qca988x-ct base-files busybox ca-bundle dnsmasq dropbear firewall4 fstools kernel kmod-ath10k-ct kmod-ath9k kmod-gpio-button-hotplug kmod-nft-offload kmod-usb-ledtrig-usbport kmod-usb2 libc libgcc libustream-mbedtls logd mtd netifd nftables odhcp6c odhcpd-ipv6only ppp ppp-mod-pppoe procd procd-seccomp procd-ujail swconfig uboot-envtools uci uclient-fetch urandom-seed urngd wpad-basic-mbedtls

Package list missing or not up-to-date, generating it.

Building package index...
ERROR: *.apk: No such file or directory
ERROR: 1 errors, not creating index
make[3]: *** [Makefile:172: package_index] Error 99
make[2]: *** [Makefile:196: package_reload] Error 2
make[1]: *** [Makefile:150: _call_image] Error 2
make: *** [Makefile:310: image] Error 2
#

MT7621 compiles normally, so probably something not correct with Makefile, or not fully implemented pulling down apk, though I see this architecture is freshly updated with all compiled images..

this is long gone (assuming it ever existed), and pre 24.10 (which uses opkg).
there were no apk repos pre 24.10 snapshots.

1 Like

so it's not supported anymore? I'm surprised how all binaries are freshly created, so I assume those are created with opkg? But strangely all packages are .apk in snapshot repository, so then probably precompiled firmware should also be ready for .apk

AFAIK this combo was never supported, apk switch only happened for current snapshots, not the ones preceding 24.10.

which binaries, where ?

they are, but your snapshot isn't among those.


an URL would have sufficed ... :wink:

1 Like

imagebuilder also seemed to be fresh. strange, kmods folder also shows kernels 6.6+ so probably newer. is it than just Makefile to be outdated?
But you are right most files in snapshot folder have modification date Jun.2024.
I presumed that precompiled firmware binaries are actually created from that imagebuilder

if you're referring to openwrt-imagebuilder-ath79-generic.Linux-x86_64.tar.zst, it (probably, never checked) updates on a daily basis.

1 Like

So do you think it won't be updated any more this architecture?

Quite the contrary, and this is your problem: The build environment you are using is outdated and it tries to fetch old OPKG information. You need to update your build environment (the openwrt-imagebuilder-ath79-generic.Linux-x86_64.tar.zst that @frollic referred to).

The old packages in snapshot are deleted very frequently.

2 Likes

I'm not sure if I follow you. I've downloaded latest openwrt-imagebuilder-ath79-generic.Linux-x86_64.tar.zst today and unpacked it. But files inside are actually from June 4 2024

I'm afraid, you must have downloaded something different or are using an outdated version.

I just downloaded this and all files are from yesterday. The kernel config refers to 6.6 as it should and apk is included.

2 Likes

Yes you are right, I was using my last downloaded snapshot from 2024 (and it was strange when I went to that folder files were with the same date as the current) , as I have script to rename old one and download and unpack latest one, but for some reason didn't and it unpacked the old one.
All solved, now it compiles good.
Thanks!!

2 Likes

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