Closed wzzrd closed 4 years ago
Looking (very) quickly at this, can you try adding extern to the definitions of usage and optstring in the ykpers-args.h header?
I'm not immediately able to reproduce this so no verification if this works or not.
That seems to work!
Build is successful: https://koji.fedoraproject.org/koji/taskinfo?taskID=41494412
Only change I made was
#include "ykpers.h"
-const char *usage;
-const char *optstring;
+extern const char *usage;
+extern const char *optstring;
int args_to_config(int argc, char **argv, YKP_CONFIG *cfg, char *oathid,
size_t oathid_len, const char **infname,
Thanks!
Is it possible to base a 1.20.1 release on this patch?
I'll start with fixing that on master, no promises on release.
Fair enough. I'll carry a patch in the Fedora SRPM for now.
Fedora 32 is switching to gcc 10. During the last rebuild, ykpers, the Fedora package for yubikey-personalization failed to build successfully, which might have / probably has to do with the switch to gcc 10.
Here's a snippet of the error during build. More build logs are here and here
I'm sorry, I lack the skills to fix this myself :/