Package Details: rua 0.19.10-1

Git Clone URL: https://aur.archlinux.org/rua.git (read-only, click to copy)
Package Base: rua
Description: AUR helper in Rust providing control, review, patch application and safe build options
Upstream URL: https://github.com/vn971/rua
Keywords: aur rust
Licenses: GPL3
Submitter: vasya
Maintainer: vasya
Last Packager: vasya
Votes: 60
Popularity: 0.33
First Submitted: 2018-10-29 14:26 (UTC)
Last Updated: 2024-01-02 23:51 (UTC)

Dependencies (9)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

vasya commented on 2021-06-01 09:25 (UTC)

@vanja_z I've added it to the upgrade notice (pinned message here) now. Thanks! (BTW, it's rustup update)

vanja_z commented on 2021-06-01 08:06 (UTC)

Never mind, I figured out how to fix it, run:

rustup upgrade

Actually I don't know anything about Rust programming lannguage, it sounds like there is a Rust package management system that I had no idea I needed to update until now. Is it possible (if that even makes sense) to add rust upgrade as a build step?

vanja_z commented on 2021-06-01 08:00 (UTC)

@vasya thanks for helping, I still cannot get it to build. I'm getting the same error.

error[E0658]: `match` is not allowed in a `const fn`
   --> /home/vanja/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.0/src/lib.rs:156:9
    |
156 | /         match address {
157 | |             SocketAddr::V4(_) => Domain::IPV4,
158 | |             SocketAddr::V6(_) => Domain::IPV6,
159 | |         }
    | |_________^
    |
    = note: see issue #49146 <https://github.com/rust-lang/rust/issues/49146> for more information

error: aborting due to previous error

For more information about this error, try `rustc --explain E0658`.
error: could not compile `socket2`.

Any ideas?

vasya commented on 2021-06-01 06:39 (UTC) (edited on 2021-06-07 06:04 (UTC) by vasya)

Due to library changes in pacman (5.2.2 -> 6.0.0), rua needs to be re-built from source to work again.

If you see an error message like

rua: error while loading shared libraries: libalpm.so.12: cannot open shared object file: No such file or directory

Then please clone the repo https://aur.archlinux.org/rua.git and install the new version via makepkg -si (if you use rustup, then also rustup update)

vasya commented on 2021-06-01 05:46 (UTC)

@vanja_z, thanks for writing. This is due to a major pacman upgrade (5.2.2-4 -> 6.0.0-2) which did not keep binary compatibility and thus changed the libalpm.so file name. rua needs to change its alpm dependency to work with the new libalpm. I'll try to do that now

vanja_z commented on 2021-06-01 04:19 (UTC)

Hi, I can't build rua anymore since recent updates nor can I run my existing build. Runtime errors with existing build,

rua: error while loading shared libraries: libalpm.so.12: cannot open shared object file: No such file or directory

Build errors,

error[E0658]: `match` is not allowed in a `const fn`
   --> /home/vanja/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.0/src/lib.rs:156:9
    |
156 | /         match address {
157 | |             SocketAddr::V4(_) => Domain::IPV4,
158 | |             SocketAddr::V6(_) => Domain::IPV6,
159 | |         }
    | |_________^
    |
    = note: see issue #49146 <https://github.com/rust-lang/rust/issues/49146> for more information

error: aborting due to previous error

For more information about this error, try `rustc --explain E0658`.
error: could not compile `socket2`.

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

vasya commented on 2020-10-18 12:28 (UTC)

@Subject-17 I think that's a good question though. I've created an issue to change the behavior of rua and clean build garbage automatically upon a successful build: https://github.com/vn971/rua/issues/139

vasya commented on 2020-10-17 21:21 (UTC)

Hey @Subject-17, yes, it is safe to remove ~/.cache/rua. It contains the build cache.

There's also ~/.local/share/rua that stores already built artifacts (in case you want to re-install old versions or temporarily deinstalled ones). And the settings live in ~/.config/rua. Nothing else.

Subject-17 commented on 2020-10-17 20:33 (UTC)

Is there a flag to clear out the rua cache? Is it safe to rm from ./.cache/rua ?