Package Details: rate-mirrors-git 0.29.0-1

Git Clone URL: https://aur.archlinux.org/rate-mirrors-git.git (read-only, click to copy)
Package Base: rate-mirrors-git
Description: Everyday-use client-side map-aware mirror ranking tool
Upstream URL: https://github.com/westandskif/rate-mirrors
Licenses: cc-by-nc-sa-3.0
Conflicts: rate-mirrors
Provides: rate-mirrors
Submitter: westandskif
Maintainer: westandskif
Last Packager: westandskif
Votes: 52
Popularity: 0.48
First Submitted: 2026-02-08 18:44 (UTC)
Last Updated: 2026-05-17 10:42 (UTC)

Dependencies (2)

Required by (5)

Sources (1)

Latest Comments

1 2 3 Next › Last »

westandskif commented on 2026-02-08 20:24 (UTC)

JFYI: since rate-mirrors is now in official extra repository (kudos to carsme), I submitted a request to merge this building-from-source package into rate-mirrors-git

westandskif commented on 2026-02-07 19:01 (UTC)

hi @carsme, thank you, I appreciate it a lot! I just pushed the updates.

carsme commented on 2026-02-07 12:35 (UTC)

Hi @westandskif, thank you for creating this tool - I think it would be a great addition to the official repositories.

In order to base the official package on your PKGBUILD, we'll need you to license it under 0BSD, see https://rfc.archlinux.page/0040-license-package-sources/. Would you mind adding 0BSD license file to the repository? Alternatively, run pkgctl license setup and it will do it for you.

Nikolai508 commented on 2025-07-07 20:34 (UTC)

@D3vil0p3r Do you have base-devel installed?

base-devel and everything that comes with it is considered an implicit dependency not needing to be listed here, though you could argue since its a dependency of a dependency you should.

https://wiki.archlinux.org/title/Makepkg#Usage

D3vil0p3r commented on 2025-07-07 20:13 (UTC)

Hey @westandskif I think that perl is a build dependency. If it is not installed, the building of the package fails by:

  cargo:rerun-if-env-changed=RANLIBFLAGS_aarch64-unknown-linux-gnu
  RANLIBFLAGS_aarch64-unknown-linux-gnu = None
  running cd "/builddir/build/BUILD/rate-mirrors-0.20.0-build/rate-mirrors-0.20.0/target/release/build/openssl-sys-4be067112b408651/out/openssl-build/build/src" && env -u CROSS_COMPILE AR="ar" CC="gcc" RANLIB="ranlib" "perl" "./Configure" "--prefix=/builddir/build/BUILD/rate-mirrors-0.20.0-build/rate-mirrors-0.20.0/target/release/build/openssl-sys-4be067112b408651/out/openssl-build/install" "--openssldir=/usr/local/ssl" "no-shared" "no-module" "no-ssl3" "no-tests" "no-comp" "no-zlib" "no-zlib-dynamic" "--libdir=lib" "no-md2" "no-rc5" "no-weak-ssl-ciphers" "no-camellia" "no-idea" "no-seed" "linux-aarch64" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-omit-frame-pointer" "-O2" "-flto=auto" "-ffat-lto-objects" "-fexceptions" "-g" "-grecord-gcc-switches" "-pipe" "-Wall" "-Werror=format-security" "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" "-Wp,-D_GLIBCXX_ASSERTIONS" "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" "-fstack-protector-strong" "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" "-mbranch-protection=standard" "-fasynchronous-unwind-tables" "-fstack-clash-protection" "-fno-omit-frame-pointer" "-mno-omit-leaf-frame-pointer"
  cargo:warning=configuring OpenSSL build: Command 'perl' not found. Is perl installed?
  cargo:warning=openssl-src: failed to build OpenSSL from source

  --- stderr



  Error configuring OpenSSL build:
      Command 'perl' not found. Is perl installed?
      Command failed: cd "/builddir/build/BUILD/rate-mirrors-0.20.0-build/rate-mirrors-0.20.0/target/release/build/openssl-sys-4be067112b408651/out/openssl-build/build/src" && env -u CROSS_COMPILE AR="ar" CC="gcc" RANLIB="ranlib" "perl" "./Configure" "--prefix=/builddir/build/BUILD/rate-mirrors-0.20.0-build/rate-mirrors-0.20.0/target/release/build/openssl-sys-4be067112b408651/out/openssl-build/install" "--openssldir=/usr/local/ssl" "no-shared" "no-module" "no-ssl3" "no-tests" "no-comp" "no-zlib" "no-zlib-dynamic" "--libdir=lib" "no-md2" "no-rc5" "no-weak-ssl-ciphers" "no-camellia" "no-idea" "no-seed" "linux-aarch64" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-fno-omit-frame-pointer" "-O2" "-flto=auto" "-ffat-lto-objects" "-fexceptions" "-g" "-grecord-gcc-switches" "-pipe" "-Wall" "-Werror=format-security" "-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3" "-Wp,-D_GLIBCXX_ASSERTIONS" "-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1" "-fstack-protector-strong" "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" "-mbranch-protection=standard" "-fasynchronous-unwind-tables" "-fstack-clash-protection" "-fno-omit-frame-pointer" "-mno-omit-leaf-frame-pointer"

westandskif commented on 2025-05-02 19:27 (UTC)

my fault :/ bad testing I just pushed the fix, hope this time I tested better

username227 commented on 2025-05-02 19:05 (UTC)

i corrected it like this:

package() {
  cd "$srcdir"

  install -Dm755 "target/release/rate_mirrors" "$pkgdir/usr/bin/${pkgname}"
  install -Dm644 "$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}

username227 commented on 2025-05-02 18:27 (UTC)

I am getting a 'no such file or directory' error in the package function.

westandskif commented on 2025-05-02 17:10 (UTC)

I hope I got the point right. if so, then it's done

Nikolai508 commented on 2025-04-14 09:59 (UTC)

Can I please request that an export of CARGO_HOME into the srcdir is added to the PKGBUILD, as this prevents cluttering people's ~/ with a ~/.cargo directory that the may not be aware to clean up if they are not a Rust user, basically similar to how you've done the export of CARGO_TARGET_DIR, but also for the cargo files.