Skip to content

Conversation

eandersson
Copy link
Contributor

This PR updates the OpenWrt package feed to the latest version for v24.10.2 to fix installation failures caused by Rust 1.85.0 being unpublished and no longer available for download.

@eandersson eandersson marked this pull request as draft August 22, 2025 19:43
@eandersson eandersson marked this pull request as ready for review August 22, 2025 20:41
@eandersson
Copy link
Contributor Author

eandersson commented Aug 22, 2025

Not sure, but I believe this is needed as well chirpstack/chirpstack-openwrt-feed#18

@brocaar
Copy link
Collaborator

brocaar commented Aug 25, 2025

I can not reproduce this issue. If you see a different error message, could you post it?

buildbot@74d1b63d87bd:/workdir/openwrt$ rm -rf dl/rustc*
buildbot@74d1b63d87bd:/workdir/openwrt$ make package/feeds/packages/rust/download V=s
make[2]: Entering directory '/workdir/openwrt/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/workdir/openwrt/scripts/config'
make[1]: Entering directory '/workdir/openwrt'
make[2]: Entering directory '/workdir/openwrt/feeds/packages/lang/rust'
mkdir -p /workdir/openwrt/dl
SHELL= flock /workdir/openwrt/tmp/.rustc-1.85.0-src.tar.gz.flock -c '   /workdir/openwrt/scripts/download.pl "/workdir/openwrt/dl" "rustc-1.85.0-src.tar.gz" "2f4f3142ffb7c8402139cfa0796e24baaac8b9fd3f96b2deec3b94b4045c6a8a" "" "https://static.rust-lang.org/dist/"    '
+ curl -f --connect-timeout 20 --retry 5 --location https://static.rust-lang.org/dist/rustc-1.85.0-src.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
 62  565M   62  355M    0     0  4634k      0  0:02:05  0:01:18  0:00:47 4433k

It is downloading fine for me.

Please note that I am using the same feed hashes as the tagged OpenWrt versions:

https://github.com/openwrt/openwrt/blob/v24.10.2/feeds.conf.default#L1

@eandersson
Copy link
Contributor Author

I can not reproduce this issue. If you see a different error message, could you post it?

buildbot@74d1b63d87bd:/workdir/openwrt$ rm -rf dl/rustc*
buildbot@74d1b63d87bd:/workdir/openwrt$ make package/feeds/packages/rust/download V=s
make[2]: Entering directory '/workdir/openwrt/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/workdir/openwrt/scripts/config'
make[1]: Entering directory '/workdir/openwrt'
make[2]: Entering directory '/workdir/openwrt/feeds/packages/lang/rust'
mkdir -p /workdir/openwrt/dl
SHELL= flock /workdir/openwrt/tmp/.rustc-1.85.0-src.tar.gz.flock -c '   /workdir/openwrt/scripts/download.pl "/workdir/openwrt/dl" "rustc-1.85.0-src.tar.gz" "2f4f3142ffb7c8402139cfa0796e24baaac8b9fd3f96b2deec3b94b4045c6a8a" "" "https://static.rust-lang.org/dist/"    '
+ curl -f --connect-timeout 20 --retry 5 --location https://static.rust-lang.org/dist/rustc-1.85.0-src.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
 62  565M   62  355M    0     0  4634k      0  0:02:05  0:01:18  0:00:47 4433k

It is downloading fine for me.

Please note that I am using the same feed hashes as the tagged OpenWrt versions:

https://github.com/openwrt/openwrt/blob/v24.10.2/feeds.conf.default#L1

Interesting. I keep getting a 404. Maybe a mirror issue?

@eandersson eandersson closed this Aug 25, 2025
@brocaar brocaar reopened this Aug 25, 2025
@brocaar
Copy link
Collaborator

brocaar commented Aug 25, 2025

From an other user, I received the following error:

ERROR: failed to download llvm from ci

    HELP: There could be two reasons behind this:
        1) The host triple is not supported for `download-ci-llvm`.
        2) Old builds get deleted after a certain time.
    HELP: In either case, disable `download-ci-llvm` in your config.toml:

    [llvm]
    download-ci-llvm = false
    
Build completed unsuccessfully in 0:00:08
make[4]: *** [Makefile:109: /workdir/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/host/rustc-1.85.0-src/.built] Error 1
make[4]: Leaving directory '/workdir/openwrt/feeds/packages/lang/rust'
time: package/feeds/packages/rust/host-compile#0.70#0.42#9.07
    ERROR: package/feeds/packages/rust [host] failed to build.

Was this what you were seeing?

@eandersson
Copy link
Contributor Author

eandersson commented Aug 25, 2025

From an other user, I received the following error:

ERROR: failed to download llvm from ci

    HELP: There could be two reasons behind this:
        1) The host triple is not supported for `download-ci-llvm`.
        2) Old builds get deleted after a certain time.
    HELP: In either case, disable `download-ci-llvm` in your config.toml:

    [llvm]
    download-ci-llvm = false
    
Build completed unsuccessfully in 0:00:08
make[4]: *** [Makefile:109: /workdir/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/host/rustc-1.85.0-src/.built] Error 1
make[4]: Leaving directory '/workdir/openwrt/feeds/packages/lang/rust'
time: package/feeds/packages/rust/host-compile#0.70#0.42#9.07
    ERROR: package/feeds/packages/rust [host] failed to build.

Was this what you were seeing?

Yep I think this was it, but I distinctly remembered it failing to download as well. I manually used 1.85.1 instead and that worked, or just bumped the requirement like in this PR.

@brocaar
Copy link
Collaborator

brocaar commented Aug 25, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants