Package Details: auth-cli 0.2.0-1

Git Clone URL: https://aur.archlinux.org/auth-cli.git (read-only, click to copy)
Package Base: auth-cli
Description: Authenticator CLI, generate totps on the fly
Upstream URL: https://github.com/nnyyxxxx/auth
Keywords: cli cpp totp
Licenses: BSD-3-Clause
Submitter: adamperkowski
Maintainer: adamperkowski
Last Packager: adamperkowski
Votes: 2
Popularity: 1.86
First Submitted: 2025-04-15 11:48 (UTC)
Last Updated: 2025-04-15 11:48 (UTC)

Required by (0)

Sources (3)

Latest Comments

nnyyxxxx commented on 2025-04-18 16:59 (UTC) (edited on 2025-04-18 17:00 (UTC) by nnyyxxxx)

that is not an error, it is related to:

check() {
  cd "$pkgname-$pkgver"
  ./build/AuthTests
}

For reasons unknown, this is included in the pkgbuild; it is the test suite I made for the application.

Randomness seeded to: 932139166
Error parsing TOML: Error while parsing key-value pair: expected '=', saw 'i'
       (error occurred at line 1, column 6 of '/tmp/auth_test_dir/>auth_test_db.toml')
===============================================================================
All tests passed (127 assertions in 27 test cases)

"Error parsing TOML" refers to a case in the test where it's testing invalid toml data.

building version 0.3.0 still outputs the same error

That is version 0.2.0, not 0.3.0; this pkgbuild hasn't been updated to 0.3.0 yet. Since it's building from the tagged releases and not the latest commit.

m040601 commented on 2025-04-16 00:01 (UTC) (edited on 2025-04-18 15:27 (UTC) by m040601)

Thanks for the PKGBUILD. Interesting new and usefull TOTP cli tool.

Just want to report that the PKGBUILD seems to build fine and everything gets nicely installed, man page, readme. And the tool seems to work perfectly.

Except this annoying error message during installation. The color is always "green". No "red" makefile errors. I'm not 100% sure whether it can be ignored or not.

So just to let you know,

everything going fine and then,
....
....
[100%] Built target AuthTests
make[1]: Leaving directory '/dev/shm/aurydesty/auth-cli/src/auth-cli-0.2.0/build'
==> Starting check()...
Randomness seeded to: 2657935920
Error parsing TOML: Error while parsing key-value pair: expected '=', saw 'i'
        (error occurred at line 1, column 6 of '/tmp/auth_test_dir/auth_test_db.toml')
===============================================================================
All tests passed (127 assertions in 27 test cases)
....
....
everything continues and ends fine
....
....

==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "auth-cli"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: auth-cli 0.2.0-1 (Wed 16 Apr 2025 12:51:34 AM WEST)

I assume this is some "internal" Makefile error, not a PKGBUILD error. Am I correct ?

UPDATE: 2025-04-18

building version 0.3.0 still outputs the same error

[100%] Built target AuthTests
make[1]: Leaving directory '/dev/shm/aurydesty/auth-cli/src/auth-cli-0.2.0/build'
==> Starting check()...
Randomness seeded to: 932139166
Error parsing TOML: Error while parsing key-value pair: expected '=', saw 'i'
        (error occurred at line 1, column 6 of '/tmp/auth_test_dir/auth_test_db.toml')
===============================================================================
All tests passed (127 assertions in 27 test cases)

==> Entering fakeroot environment...