Package Details: helvum 0.2.1-1

Git Clone URL: https://aur.archlinux.org/helvum.git (read-only, click to copy)
Package Base: helvum
Description: GTK-based patchbay for pipewire, inspired by the JACK tool catia
Upstream URL: https://gitlab.freedesktop.org/ryuukyu/helvum
Licenses: GPL3
Conflicts: helvum-git
Submitter: imp0
Maintainer: imp0 (sorcix, karel_louwagie)
Last Packager: imp0
Votes: 8
Popularity: 4.10
First Submitted: 2021-05-18 13:25
Last Updated: 2021-06-08 17:11

Latest Comments

imp0 commented on 2021-07-31 01:41

@eduardosm: build problems have started since pipewire 0.3.32 was released.

Not much I can do right now, except wait for an upstream fix in pipewire-rs. In the meanwhile, you could try building against a previous version of pipewire.

As my rust experience is limited, other suggestions are welcome.

Also see https://gitlab.freedesktop.org/ryuukyu/helvum/-/issues/21

NickGeek commented on 2021-07-30 11:17

I ge the following error:

    helvum-0.2.1.tar.gz ... Passed
    helvum.desktop ... Passed
    helvum-0.2.1.tar.gz ... Passed
    helvum.desktop ... Passed
==> WARNING: Using existing $srcdir/ tree
   Compiling proc-macro2 v1.0.27
   Compiling unicode-xid v0.2.2
   Compiling syn v1.0.72
   Compiling serde v1.0.126
   Compiling anyhow v1.0.40
   Compiling unicode-segmentation v1.7.1
   Compiling either v1.6.1
   Compiling smallvec v1.6.1
   Compiling version-compare v0.0.11
   Compiling pkg-config v0.3.19
   Compiling strum v0.20.0
   Compiling libc v0.2.95
   Compiling version_check v0.9.3
   Compiling bitflags v1.2.1
   Compiling memchr v2.4.0
   Compiling autocfg v1.0.1
   Compiling log v0.4.14
   Compiling cfg-if v1.0.0
   Compiling glob v0.3.0
   Compiling futures-core v0.3.15
   Compiling futures-task v0.3.15
   Compiling regex-syntax v0.6.25
   Compiling unicode-width v0.1.8
   Compiling pin-project-lite v0.2.6
   Compiling ansi_term v0.11.0
   Compiling slab v0.4.3
   Compiling strsim v0.8.0
   Compiling humantime v2.1.0
   Compiling pin-utils v0.1.0
   Compiling futures-channel v0.3.15
   Compiling termcolor v1.1.2
   Compiling bindgen v0.58.1
   Compiling vec_map v0.8.2
   Compiling once_cell v1.7.2
   Compiling lazy_static v1.4.0
   Compiling lazycell v1.3.0
error[E0412]: cannot find type `Lazy` in this scope
   --> /home/nick/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:971:43
    |
966 |     pub struct azy<T, F = fn() -> T> {
    |     -------------------------------- similarly named struct `azy` defined here
...
971 |     impl<T: fmt::Debug, F> fmt::Debug for Lazy<T, F> {
    |                                           ^^^^
    |
help: a struct with a similar name exists
    |
971 |     impl<T: fmt::Debug, F> fmt::Debug for azy<T, F> {
    |                                           ^^^
help: consider importing one of these items
    |
662 |     use core::lazy::Lazy;
    |
662 |     use crate::unsync::Lazy;
    |
662 |     use std::lazy::Lazy;
    |

error[E0412]: cannot find type `Lazy` in this scope
   --> /home/nick/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:982:38
    |
966 |     pub struct azy<T, F = fn() -> T> {
    |     -------------------------------- similarly named struct `azy` defined here
...
982 |     unsafe impl<T, F: Send> Sync for Lazy<T, F> where OnceCell<T>: Sync {}
    |                                      ^^^^
    |
help: a struct with a similar name exists
    |
982 |     unsafe impl<T, F: Send> Sync for azy<T, F> where OnceCell<T>: Sync {}
    |                                      ^^^
help: consider importing one of these items
    |
662 |     use core::lazy::Lazy;
    |
662 |     use crate::unsync::Lazy;
    |
662 |     use std::lazy::Lazy;
    |

error[E0412]: cannot find type `Lazy` in this scope
   --> /home/nick/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:986:49
    |
966 |     pub struct azy<T, F = fn() -> T> {
    |     -------------------------------- similarly named struct `azy` defined here
...
986 |     impl<T, F: RefUnwindSafe> RefUnwindSafe for Lazy<T, F> where OnceCell<T>: RefUnwindSafe {}
    |                                                 ^^^^
    |
help: a struct with a similar name exists
    |
986 |     impl<T, F: RefUnwindSafe> RefUnwindSafe for azy<T, F> where OnceCell<T>: RefUnwindSafe {}
    |                                                 ^^^
help: consider importing one of these items
    |
662 |     use core::lazy::Lazy;
    |
662 |     use crate::unsync::Lazy;
    |
662 |     use std::lazy::Lazy;
    |

error[E0412]: cannot find type `Lazy` in this scope
   --> /home/nick/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:988:16
    |
966 |     pub struct azy<T, F = fn() -> T> {
    |     -------------------------------- similarly named struct `azy` defined here
...
988 |     impl<T, F> Lazy<T, F> {
    |                ^^^^
    |
help: a struct with a similar name exists
    |
988 |     impl<T, F> azy<T, F> {
    |                ^^^
help: consider importing one of these items
    |
662 |     use core::lazy::Lazy;
    |
662 |     use crate::unsync::Lazy;
    |
662 |     use std::lazy::Lazy;
    |

error[E0412]: cannot find type `Lazy` in this scope
   --> /home/nick/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:991:35
    |
966 |     pub struct azy<T, F = fn() -> T> {
    |     -------------------------------- similarly named struct `azy` defined here
...
991 |         pub const fn new(f: F) -> Lazy<T, F> {
    |                                   ^^^^
    |
help: a struct with a similar name exists
    |
991 |         pub const fn new(f: F) -> azy<T, F> {
    |                                   ^^^
help: consider importing one of these items
    |
662 |     use core::lazy::Lazy;
    |
662 |     use crate::unsync::Lazy;
    |
662 |     use std::lazy::Lazy;
    |

error[E0422]: cannot find struct, variant or union type `Lazy` in this scope
   --> /home/nick/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:992:13
    |
966 |     pub struct azy<T, F = fn() -> T> {
    |     -------------------------------- similarly named struct `azy` defined here
...
992 |             Lazy { cell: OnceCell::new(), init: Cell::new(Some(f)) }
    |             ^^^^
    |
help: a struct with a similar name exists
    |
992 |             azy { cell: OnceCell::new(), init: Cell::new(Some(f)) }
    |             ^^^
help: consider importing one of these items
    |
662 |     use core::lazy::Lazy;
    |
662 |     use crate::unsync::Lazy;
    |
662 |     use std::lazy::Lazy;
    |

error[E0412]: cannot find type `Lazy` in this scope
   --> /home/nick/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:998:33
    |
966 |     pub struct azy<T, F = fn() -> T> {
    |     -------------------------------- similarly named struct `azy` defined here
...
998 |         pub fn into_value(this: Lazy<T, F>) -> Result<T, F> {
    |                                 ^^^^
    |
help: a struct with a similar name exists
    |
998 |         pub fn into_value(this: azy<T, F>) -> Result<T, F> {
    |                                 ^^^
help: consider importing one of these items
    |
662 |     use core::lazy::Lazy;
    |
662 |     use crate::unsync::Lazy;
    |
662 |     use std::lazy::Lazy;
    |

error[E0412]: cannot find type `Lazy` in this scope
    --> /home/nick/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:1007:31
     |
966  |     pub struct azy<T, F = fn() -> T> {
     |     -------------------------------- similarly named struct `azy` defined here
...
1007 |     impl<T, F: FnOnce() -> T> Lazy<T, F> {
     |                               ^^^^
     |
help: a struct with a similar name exists
     |
1007 |     impl<T, F: FnOnce() -> T> azy<T, F> {
     |                               ^^^
help: consider importing one of these items
     |
662  |     use core::lazy::Lazy;
     |
662  |     use crate::unsync::Lazy;
     |
662  |     use std::lazy::Lazy;
     |

error[E0412]: cannot find type `Lazy` in this scope
    --> /home/nick/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:1021:29
     |
966  |     pub struct azy<T, F = fn() -> T> {
     |     -------------------------------- similarly named struct `azy` defined here
...
1021 |         pub fn force(this: &Lazy<T, F>) -> &T {
     |                             ^^^^
     |
help: a struct with a similar name exists
     |
1021 |         pub fn force(this: &azy<T, F>) -> &T {
     |                             ^^^
help: consider importing one of these items
     |
662  |     use core::lazy::Lazy;
     |
662  |     use crate::unsync::Lazy;
     |
662  |     use std::lazy::Lazy;
     |

error[E0412]: cannot find type `Lazy` in this scope
    --> /home/nick/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:1029:41
     |
966  |     pub struct azy<T, F = fn() -> T> {
     |     -------------------------------- similarly named struct `azy` defined here
...
1029 |     impl<T, F: FnOnce() -> T> Deref for Lazy<T, F> {
     |                                         ^^^^
     |
help: a struct with a similar name exists
     |
1029 |     impl<T, F: FnOnce() -> T> Deref for azy<T, F> {
     |                                         ^^^
help: consider importing one of these items
     |
662  |     use core::lazy::Lazy;
     |
662  |     use crate::unsync::Lazy;
     |
662  |     use std::lazy::Lazy;
     |

error[E0433]: failed to resolve: use of undeclared type `Lazy`
    --> /home/nick/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:1032:13
     |
966  |     pub struct azy<T, F = fn() -> T> {
     |     -------------------------------- similarly named struct `azy` defined here
...
1032 |             Lazy::force(self)
     |             ^^^^
     |
help: a struct with a similar name exists
     |
1032 |             azy::force(self)
     |             ^^^
help: consider importing one of these items
     |
662  |     use core::lazy::Lazy;
     |
662  |     use crate::unsync::Lazy;
     |
662  |     use std::lazy::Lazy;
     |

error[E0412]: cannot find type `Lazy` in this scope
    --> /home/nick/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:1036:44
     |
966  |     pub struct azy<T, F = fn() -> T> {
     |     -------------------------------- similarly named struct `azy` defined here
...
1036 |     impl<T, F: FnOnce() -> T> DerefMut for Lazy<T, F> {
     |                                            ^^^^
     |
help: a struct with a similar name exists
     |
1036 |     impl<T, F: FnOnce() -> T> DerefMut for azy<T, F> {
     |                                            ^^^
help: consider importing one of these items
     |
662  |     use core::lazy::Lazy;
     |
662  |     use crate::unsync::Lazy;
     |
662  |     use std::lazy::Lazy;
     |

error[E0433]: failed to resolve: use of undeclared type `Lazy`
    --> /home/nick/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:1038:13
     |
966  |     pub struct azy<T, F = fn() -> T> {
     |     -------------------------------- similarly named struct `azy` defined here
...
1038 |             Lazy::force(self);
     |             ^^^^
     |
help: a struct with a similar name exists
     |
1038 |             azy::force(self);
     |             ^^^
help: consider importing one of these items
     |
662  |     use core::lazy::Lazy;
     |
662  |     use crate::unsync::Lazy;
     |
662  |     use std::lazy::Lazy;
     |

error[E0412]: cannot find type `Lazy` in this scope
    --> /home/nick/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:1043:34
     |
966  |     pub struct azy<T, F = fn() -> T> {
     |     -------------------------------- similarly named struct `azy` defined here
...
1043 |     impl<T: Default> Default for Lazy<T> {
     |                                  ^^^^
     |
help: a struct with a similar name exists
     |
1043 |     impl<T: Default> Default for azy<T> {
     |                                  ^^^
help: consider importing one of these items
     |
662  |     use core::lazy::Lazy;
     |
662  |     use crate::unsync::Lazy;
     |
662  |     use std::lazy::Lazy;
     |

error[E0412]: cannot find type `Lazy` in this scope
    --> /home/nick/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:1045:25
     |
966  |     pub struct azy<T, F = fn() -> T> {
     |     -------------------------------- similarly named struct `azy` defined here
...
1045 |         fn default() -> Lazy<T> {
     |                         ^^^^
     |
help: a struct with a similar name exists
     |
1045 |         fn default() -> azy<T> {
     |                         ^^^
help: consider importing one of these items
     |
662  |     use core::lazy::Lazy;
     |
662  |     use crate::unsync::Lazy;
     |
662  |     use std::lazy::Lazy;
     |

error[E0433]: failed to resolve: use of undeclared type `Lazy`
    --> /home/nick/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:1046:13
     |
966  |     pub struct azy<T, F = fn() -> T> {
     |     -------------------------------- similarly named struct `azy` defined here
...
1046 |             Lazy::new(T::default)
     |             ^^^^
     |
help: a struct with a similar name exists
     |
1046 |             azy::new(T::default)
     |             ^^^
help: consider importing one of these items
     |
662  |     use core::lazy::Lazy;
     |
662  |     use crate::unsync::Lazy;
     |
662  |     use std::lazy::Lazy;
     |

   Compiling rustc-hash v1.1.0
   Compiling peeking_take_while v0.1.2
error[E0321]: cross-crate traits with a default impl, like `Sync`, can only be implemented for a struct/enum type, not `[type error]`
   --> /home/nick/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:982:5
    |
982 |     unsafe impl<T, F: Send> Sync for Lazy<T, F> where OnceCell<T>: Sync {}
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't implement cross-crate trait with a default impl for non-struct/enum type

error[E0321]: cross-crate traits with a default impl, like `RefUnwindSafe`, can only be implemented for a struct/enum type, not `[type error]`
   --> /home/nick/.cargo/registry/src/github.com-1ecc6299db9ec823/once_cell-1.7.2/src/lib.rs:986:5
    |
986 |     impl<T, F: RefUnwindSafe> RefUnwindSafe for Lazy<T, F> where OnceCell<T>: RefUnwindSafe {}
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't implement cross-crate trait with a default impl for non-struct/enum type

error: aborting due to 18 previous errors

Some errors have detailed explanations: E0321, E0412, E0422, E0433.
For more information about an error, try `rustc --explain E0321`.
error: could not compile `once_cell`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
==> ERROR: A failure occurred in build().
    Aborting...
error making: helvum

eduardosm commented on 2021-07-27 23:36

Fails to build

error[E0412]: cannot find type `spa_thread` in this scope
    --> helvum-0.2.1/target/release/build/pipewire-sys-f4aed70266363d61/out/bindings.rs:7047:70
     |
7047 |     pub fn pw_data_loop_get_thread(loop_: *mut pw_data_loop) -> *mut spa_thread;
     |                                                                      ^^^^^^^^^^ not found in this scope

error: aborting due to previous error

Related: https://gitlab.freedesktop.org/pipewire/pipewire-rs/-/issues/24

fridtjof commented on 2021-06-24 14:54

The minimum rust version check does not work with rust nightly:

semver -r ">=1.51" "1.55.0-nightly" returns exit code 1;

semver -r ">=1.51" "1.55.0" works correctly

A simple | sed 's/-nightly//' should do the trick.

imp0 commented on 2021-05-25 19:37

As rust has multiple providers, I've removed the package version check.

I don't feel a version check should be necessary though, it just means you're building in an outdated environment.

To be a bit more friendly I've added a custom version check, as rust provides no method yet to achieve this afaik. As I'm not a rust developer, suggestions are welcome how to do this in a better way.

pdf commented on 2021-05-25 14:41

Adding the minimum rust version appears to have created a conflict with rustup, so this cannot be installed without replacing rustup with rust.

imp0 commented on 2021-05-21 15:31

Minimal rust version requirement added, thx!

ryuukyu commented on 2021-05-21 10:18

Please change the required rust version in makedepends to >=1.51 (the minimum required version for compilation), otherwise the build may fail for people that haven't updated their rust compiler in a while, thank you.

I will add the minimum required rust version to the release notes for future releases if it changes.

thatyou commented on 2021-05-20 12:10

edit: rust needed update

I am getting this error error[E0599]: no function or associated item named increment_strong_count found for struct Arc<_> in the current scope --> /home/usera/.cargo/git/checkouts/gtk-rs-48ef14c1f17c79fb/74a02cd/glib/src/subclass/shared.rs:29:25 | 29 | std::sync::Arc::increment_strong_count(this); | ^^^^^^^^^^^^^^^^^^^^^^ | | | function or associated item not found in Arc<_> | help: there is an associated function with a similar name: incr_strong_count