PKGBUILD was updated to take account of changes from yochananmarqos. Thanks to him for his work on the package!
Search Criteria
Package Details: authenticator 4.3.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/authenticator.git (read-only, click to copy) |
---|---|
Package Base: | authenticator |
Description: | 2FA code generator for GNOME |
Upstream URL: | https://gitlab.gnome.org/World/Authenticator |
Keywords: | 2FA authentication gnome |
Licenses: | GPL3 |
Submitter: | lll2yu |
Maintainer: | stalone (Stetsed) |
Last Packager: | stalone |
Votes: | 28 |
Popularity: | 0.73 |
First Submitted: | 2018-03-23 18:23 (UTC) |
Last Updated: | 2023-06-16 14:51 (UTC) |
Dependencies (10)
- gst-plugins-bad (gst-plugins-bad-git)
- libadwaita (libadwaita-without-adwaita-git, libadwaita-git, libadwaita-testing)
- libsecret
- pipewire (pipewire-full-git, pipewire-common-git, pipewire-git)
- zbar (zbar-git)
- cargo (rust-nightly-bin, cargo-git, rustup-git, rust, rustup) (make)
- clang (clang8, clang-git, llvm-git, clang-minimal-git) (make)
- git (git-vfs, git-run-command-patch-git, git-git, git-fc) (make)
- meson (meson-git) (make)
- appstream-glib (appstream-glib-git) (check)
Required by (0)
Sources (1)
stalone commented on 2023-04-14 09:00 (UTC)
yochananmarqos commented on 2023-03-30 00:19 (UTC)
Improved PKGBUILD with a build fix (paste expires in one year)
carlosal1015 commented on 2023-03-26 17:35 (UTC)
Hi, I have the following message error
error[E0425]: cannot find value `PW_KEY_NODE_TARGET` in crate `pw_sys`
--> /tmp/makepkg/authenticator/src/build/cargo-home/registry/src/github.com-1ecc6299db9ec823/pipewire-0.5.0/src/auto/keys.rs:164:28
|
164 | key_constant!(NODE_TARGET, PW_KEY_NODE_TARGET,
| ^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `PW_KEY_NODE_NAME`
|
::: /tmp/makepkg/authenticator/src/build/src/release/build/pipewire-sys-a95810244dd5092d/out/bindings.rs:151:1
|
151 | pub const PW_KEY_NODE_NAME: &[u8; 10usize] = b"node.name\0";
| ------------------------------------------ similarly named constant `PW_KEY_NODE_NAME` defined here
For more information about this error, try `rustc --explain E0425`.
error: could not compile `pipewire` due to previous error
warning: build failed, waiting for other jobs to finish...
[43/44] Generating data/com.belmoussaoui.Authenticator.metainfo.xml with a custom command
FAILED: src/authenticator
/usr/bin/env CARGO_HOME=/tmp/makepkg/authenticator/src/build/cargo-home /usr/bin/cargo build --manifest-path /tmp/makepkg/authenticator/src/Authenticator-4.1.6/Cargo.toml --target-dir /tmp/makepkg/authenticator/src/build/src --release && cp src/release/authenticator src/authenticator
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
reclusivesage commented on 2023-02-11 18:39 (UTC) (edited on 2023-02-11 18:40 (UTC) by reclusivesage)
I received an error about Pipewire, as described here:
Compiling pipewire v0.5.0
error[E0425]: cannot find value `PW_KEY_NODE_TARGET` in crate `pw_sys`
--> /home/user/AUR/authenticator/src/build/cargo-home/registry/src/github.com-1ecc6299db9ec823/pipewire-0.5.0/src/auto/keys.rs:164:28
|
164 | key_constant!(NODE_TARGET, PW_KEY_NODE_TARGET,
| ^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `PW_KEY_NODE_NAME`
|
::: /home/user/AUR/authenticator/src/build/src/release/build/pipewire-sys-b390998c8ac0e561/out/bindings.rs:151:1
|
151 | pub const PW_KEY_NODE_NAME: &[u8; 10usize] = b"node.name\0";
| ------------------------------------------ similarly named constant `PW_KEY_NODE_NAME` defined here
Compiling enum-ordinalize v3.1.11
For more information about this error, try `rustc --explain E0425`.
error: could not compile `pipewire` due to previous error
warning: build failed, waiting for other jobs to finish...
[43/44] Generating data/com.belmoussaoui.Authenticator.metainfo.xml with a custom command
FAILED: src/authenticator
/usr/bin/env CARGO_HOME=/home/user/AUR/authenticator/src/build/cargo-home /usr/bin/cargo build --manifest-path /home/user/AUR/authenticator/src/Authenticator-4.1.6/Cargo.toml --target-dir /home/user/AUR/authenticator/src/build/src --release && cp src/release/authenticator src/authenticator
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
yochananmarqos commented on 2023-01-23 17:08 (UTC)
Just FYI, 4.2.0 requires gtk4
>=4.9:
cargo:warning=`"pkg-config" "--libs" "--cflags" "gtk4" "gtk4 >= 4.9"` did not exit successfully: exit status: 1
error: could not find system library 'gtk4' required by the 'gtk4-sys' crate
--- stderr
Package dependency requirement 'gtk4 >= 4.9' could not be satisfied.
Package 'gtk4' has version '4.8.3', required version is '>= 4.9'
clodio commented on 2022-11-08 15:11 (UTC)
openssl-1.1 should be a dependency
patlefort commented on 2022-10-23 20:23 (UTC)
Build fails with lto enabled. It might be a good idea to add options=(!lto)
.
txomon commented on 2022-05-19 08:29 (UTC)
The build also depends on clang
for libspa-sys
:
--- stderr
thread 'main' panicked at 'Unable to find libclang: "couldn't find any valid shared libraries matching: ['libclang.so', 'libclang-*.so', 'libclang.so.*', 'libclang-*.so.*'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"', /.../authe
nticator/src/build/cargo-home/registry/src/github.com-1ecc6299db9ec823/bindgen-0.59.2/src/lib.rs:2144:31
note: run with `RUST_BACKTRACE=1` environment variab
rafaelff commented on 2022-05-05 14:18 (UTC)
pipewire
is required, otherwise the dependency libspa-sys v0.5.0
fails. See full build output: https://0x0.st/oAda.txt
stalone commented on 2022-05-03 19:11 (UTC)
@igor-dyatlov: Done, thanks for offering to maintain the package! Feel free to change things as you like ;)
Pinned Comments