Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authenticator: Add package #3716

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Kiri2002
Copy link
Contributor

tested in extra-x86_64-build:

cat authenticator-4.3.1-1-x86_64.pkg.tar.zst-namcap.log
 
authenticator W: ELF file ('usr/bin/authenticator') lacks GNU_PROPERTY_X86_FEATURE_1_SHSTK.
authenticator W: Unused shared library '/usr/lib/libpango-1.0.so.0' by file ('usr/bin/authenticator')
authenticator W: Unused shared library '/usr/lib/libcairo.so.2' by file ('usr/bin/authenticator')

Comment on lines +57 to +59
check() {
meson test -C build --print-errorlogs || :
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4/4 Cargo tests            FAIL             0.02s   exit status 101
>>> CARGO_HOME=/build/authenticator/src/build/target/cargo-home ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 CARGO_TARGET_DIR=/build/authenticator/src/build/target UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=175 /usr/bin/cargo test --bin authenticator
――――――――――――――――――――――――――――――――――――― ―――――――――――――――――――――――――――――――――――――
stderr:
error: could not find `Cargo.toml` in `/build/authenticator/src/build` or any parent directory

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

|| : : This is a shell idiom. The || is a logical OR operator, and : is a no-operation command (it does nothing). This combination ensures that if meson test fails (returns a non-zero exit code), the function doesn’t return an error itself.

Copy link
Contributor Author

@Kiri2002 Kiri2002 Mar 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to find a solution, I asked upstream at:
https://gitlab.gnome.org/World/Authenticator/-/issues/414
Maybe will give an answer latter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants