Package Details: fido2-token2-git r150.c1423e8-2

Git Clone URL: https://aur.archlinux.org/fido2-token2-git.git (read-only, click to copy)
Package Base: fido2-token2-git
Description: TOKEN2 FIDO2 management CLI with wrapper and GUI
Upstream URL: https://github.com/Token2/fido2-manage
Licenses: BSD-2-Clause
Conflicts: fido2-token2
Provides: fido2-token2
Submitter: hawara
Maintainer: hawara
Last Packager: hawara
Votes: 0
Popularity: 0.000000
First Submitted: 2026-03-03 21:45 (UTC)
Last Updated: 2026-04-16 03:21 (UTC)

Latest Comments

hawara commented on 2026-04-16 03:22 (UTC)

sorry guys, didn't notice the comments.

hopefully,should be fixed now

zebulon commented on 2026-04-13 09:11 (UTC) (edited on 2026-04-13 09:45 (UTC) by zebulon)

@micleh: I see the same issue. Searching for the error, I found this: https://github.com/neovim/neovim/issues/2557 or https://gitlab.archlinux.org/archlinux/packaging/packages/pacman/-/work_items/26 which suggest to undefine _FORTIFY_SOURCE: -U_FORTIFY_SOURCE. I guess this sould be done in the build() section of the PKGBUILD.

So I searched the sources and indeed: /tmp/makepkg/fido2-token2-git/src/build/CMakeCache.txt:CMAKE_C_FLAGS:STRING=-march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -flto=auto -falign-functions=32 Here it redefines FORTIFY_SOURCE, which is bad practice. If you remove "-D_FORTIFY_SOURCE=3 " the it compiles correctly, using Archlinux defaults.

micleh commented on 2026-03-24 10:59 (UTC)

My build fails. I get:

<command-line>: error: ‘_FORTIFY_SOURCE’ redefined <command-line>: note: this is the location of the previous definition

Can you help me fix that?

Thanks.