Package Details: topgrade 9.0.1-1

Git Clone URL: https://aur.archlinux.org/topgrade.git (read-only, click to copy)
Package Base: topgrade
Description: Invoke the upgrade procedure of multiple package managers
Upstream URL: https://github.com/r-darwish/topgrade
Keywords: ugprade
Licenses: GPL3
Submitter: darwish
Maintainer: darwish (idanski)
Last Packager: darwish
Votes: 42
Popularity: 0.79
First Submitted: 2018-06-10 09:51 (UTC)
Last Updated: 2022-05-28 17:13 (UTC)

Required by (0)

Sources (1)

Latest Comments

Moo-Crumpus commented on 2022-05-11 11:01 (UTC)

compiling error with:

error: rustc -vV didn't have a line for host:, got:

randomnerd commented on 2022-04-17 05:29 (UTC) (edited on 2022-04-18 15:31 (UTC) by randomnerd)

diff --git a/PKGBUILD b/PKGBUILD
index 7bf945b..0fac5ed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Roey Darwish Dror <roey.ghost@gmail.com>

 pkgname=topgrade
-pkgver=8.3.0
+pkgver=8.3.1
 pkgrel=1
 pkgdesc='Invoke the upgrade procedure of multiple package managers'
 arch=('x86_64' 'aarch64' 'armv7')
@@ -9,7 +9,7 @@ url='https://github.com/r-darwish/topgrade'
 license=('GPL3')
 makedepends=('rust')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('a818cbdc64aafe77a589299d5717988fd5e5403af0998a9945b9d17a5b6f499b')
+sha256sums=('f90f25b1701e544ca1eb935b552065c0eca584eaff659920148f278aa36ee10b')

 build() {
   cd "$pkgname-$pkgver"

haawda commented on 2022-03-24 18:27 (UTC)

Okay, it builds in a clean chroot. I guess, it is a rust vs. rustup thingy. But namcap tells me, gcc-libs is a dependency.

haawda commented on 2022-03-24 06:32 (UTC)

8.3.0 does not build:

   Compiling futures-task v0.3.21
   Compiling atty v0.2.14
   Compiling dirs-sys-next v0.1.2
   Compiling terminal_size v0.1.17
error[E0599]: no function or associated item named `as_ptr` found for type `std::sync::Arc<_>` in the current scope
  --> /home/haawda/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-task-0.3.21/src/waker_ref.rs:58:20
   |
58 |     let ptr = Arc::as_ptr(wake).cast::<()>();
   |                    ^^^^^^ function or associated item not found in `std::sync::Arc<_>`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0599`.
error: could not compile `futures-task`.
warning: build failed, waiting for other jobs to finish...
error: build failed
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...

focusaurus commented on 2022-03-07 14:07 (UTC)

Having rust compiler errors trying to build topgrade recently. Most are "not allowed in a const fn" flavors.

error[E0658]: `match` is not allowed in a `const fn`
    --> /home/plyons/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.23.1/src/errno.rs:936:9
     |
936  | /         match e {
937  | |             libc::EPERM => EPERM,
938  | |             libc::ENOENT => ENOENT,
939  | |             libc::ESRCH => ESRCH,
...    |
1070 | |             _   => UnknownErrno,
1071 | |         }
     | |_________^
     |
     = note: see issue #49146 <https://github.com/rust-lang/rust/issues/49146> for more information

error[E0658]: `if` is not allowed in a `const fn`
  --> /home/plyons/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.23.1/src/fcntl.rs:28:1
   |
28 | / libc_bitflags! {
29 | |     pub struct AtFlags: c_int {
30 | |         AT_REMOVEDIR;
31 | |         AT_SYMLINK_FOLLOW;
...  |
39 | |     }
40 | | }
   | |_^
   |
   = note: see issue #49146 <https://github.com/rust-lang/rust/issues/49146> for more information
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

I had to manually install a binary from github as a workaround.

Superjolly002 commented on 2021-01-18 13:54 (UTC)

How can I fix it?

==> Starting build () ...
error: no override and no default toolchain set
==> ERROR: An error occurred in build ().
     The operation is about to be stopped ...
error making: topgrade

idanski commented on 2020-07-06 12:08 (UTC)

@yochananmarqos - Topgrade is not meant to be compiled with --all-features. We will add --locked. Thank you for your comment!

yochananmarqos commented on 2020-02-27 22:56 (UTC)

Please follow Rust package guidelines:

build() {
    cd "$pkgname-$pkgver"
    cargo build --release --locked --all-features
}

check() {
    cd "$pkgname-$pkgver"
    cargo test --release --locked
}

yochananmarqos commented on 2020-01-28 22:19 (UTC)

It appears armv8 64-bit (aarch64) is also supported.

dano5 commented on 2019-09-19 14:30 (UTC)

latest update:

fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). :: Pulling AUR changes: topgrade fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). :: topgrade not found. :: topgrade has NOT been upgraded!