Package Details: rate-mirrors 0.17.1-1

Git Clone URL: https://aur.archlinux.org/rate-mirrors.git (read-only, click to copy)
Package Base: rate-mirrors
Description: Everyday-use client-side map-aware mirror ranking tool
Upstream URL: https://github.com/westandskif/rate-mirrors
Licenses: custom
Submitter: westandskif
Maintainer: westandskif
Last Packager: westandskif
Votes: 27
Popularity: 1.14
First Submitted: 2021-06-24 09:55 (UTC)
Last Updated: 2024-01-24 08:07 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

westandskif commented on 2023-07-07 20:37 (UTC)

Thank you! I will be able to take care of this on Sunday, for the time being, please, consider installing rate-mirrors-bin.

spacekobold commented on 2023-07-07 18:53 (UTC)

Commenting out export RUSTUP_TOOLCHAIN=nightly appears to resolve the issue.

spacekobold commented on 2023-07-07 18:46 (UTC)

Package fails to build:

==> Starting build()...
   Compiling autocfg v1.1.0
   Compiling proc-macro2 v1.0.50
   Compiling unicode-ident v1.0.6
   Compiling quote v1.0.23
   Compiling syn v1.0.107
   Compiling libc v0.2.139
   Compiling cfg-if v1.0.0
   Compiling log v0.4.17
   Compiling once_cell v1.17.0
   Compiling parking_lot_core v0.9.6
   Compiling memchr v2.5.0
   Compiling scopeguard v1.1.0
   Compiling smallvec v1.10.0
   Compiling serde_derive v1.0.152
   Compiling serde v1.0.152
   Compiling ppv-lite86 v0.2.17
   Compiling pin-project-lite v0.2.9
   Compiling futures-core v0.3.25
   Compiling siphasher v0.3.10
   Compiling cc v1.0.78
   Compiling lock_api v0.4.9
error[E0635]: unknown feature `proc_macro_span_shrink`
  --> /home/qynn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.50/src/lib.rs:92:30
   |
92 |     feature(proc_macro_span, proc_macro_span_shrink)
   |                              ^^^^^^^^^^^^^^^^^^^^^^

   Compiling phf_shared v0.10.0
   Compiling pkg-config v0.3.26
   Compiling slab v0.4.7
For more information about this error, try `rustc --explain E0635`.
error: could not compile `proc-macro2` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: rate-mirrors-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
rate-mirrors - exit status 4

Building directly from source off of GitHub does work, so must just be a configuration issue with the PKGBUILD.

westandskif commented on 2022-09-05 19:55 (UTC)

jghodd, there's a chance that you locally compiled rust, then your libllvm-13 got updated and now you have to recompile your rust to make it working again.

jghodd commented on 2022-09-04 18:30 (UTC) (edited on 2022-09-04 18:31 (UTC) by jghodd)

Getting a build error immediately after starting complaining about not finding libLLVM-13. We're now on libLLVM-14. What needs to be changed to correct this.


==> Extracting sources...
  -> Extracting rate-mirrors-0.11.1.tar.gz with bsdtar
==> Starting build()...
error: process didn't exit successfully: `rustc -vV` (exit status: 127)
--- stderr
rustc: error while loading shared libraries: libLLVM-13.so: cannot open shared object file: No such file or directory

==> ERROR: A failure occurred in build().
    Aborting...

westandskif commented on 2021-11-19 09:05 (UTC)

Thank you! I explicitly set the target dir

TheRawMeatball commented on 2021-11-18 17:10 (UTC) (edited on 2021-11-18 17:18 (UTC) by TheRawMeatball)

The current build script fails when using a custom target directory. Please update the script to procedurally get the target directory path using cargo metadata. Relevant link: https://github.com/rust-lang/cargo/issues/7895

EDIT: Alternatively, explicitly set the target dir to the expected position in accordance with the rust package guidelines

westandskif commented on 2021-06-24 16:00 (UTC)

v0.4.0 and forward are here - https://aur.archlinux.org/packages/rate-mirrors/

westandskif commented on 2021-06-08 15:24 (UTC)

"do not run rate-arch-mirrors with root permissions" -- the tool doesn't need root permissions, so it doesn't allow you to run it with sudo. In the next version I'll add an option like "--allow-root"