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

‘struct _gpgme_key’ has no member named ‘fpr’ #329

Closed
Keskebeu opened this issue May 5, 2020 · 3 comments
Closed

‘struct _gpgme_key’ has no member named ‘fpr’ #329

Keskebeu opened this issue May 5, 2020 · 3 comments
Labels

Comments

@Keskebeu
Copy link

Keskebeu commented May 5, 2020

Linnux Mint 18.1 serena

library build fails with the following:

/home/build-tools/gvm-libs/util/gpgmeutils.c: In function ‘create_all_certificates_trustlist’:
/home/build-tools/gvm-libs/util/gpgmeutils.c:437:63: error: ‘struct _gpgme_key’ has no member named ‘fpr’
g_string_append_printf (trustlist_content, "%s S\n", key->fpr);
^
util/CMakeFiles/gvm_util_shared.dir/build.make:134: recipe for target 'util/CMakeFiles/gvm_util_shared.dir/gpgmeutils.c.o' failed
make[2]: *** [util/CMakeFiles/gvm_util_shared.dir/gpgmeutils.c.o] Error 1
CMakeFiles/Makefile2:140: recipe for target 'util/CMakeFiles/gvm_util_shared.dir/all' failed
make[1]: *** [util/CMakeFiles/gvm_util_shared.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2

@Keskebeu Keskebeu added the bug label May 5, 2020
@pkleinert
Copy link

Same error on Ubuntu 16.04 caused by gpg library 1.6.0 while version 1.7.0+ seems to be required according to: https://www.gnupg.org/documentation/manuals/gpgme/Key-objects.html

@Keskebeu
Copy link
Author

Keskebeu commented Jun 2, 2020

@pkleinert thank you for the input. I was able to upgrade the gpg to version 2.1.10 (iwas at 1.4) and it gave me no issues to install. After that I was able to build the library for the openvas 6.0 and I probably can build 11.0 gvm-libs for openvas 7.0. I was trying to build the master branch but it was asking for gvm-libs 20.8 and I was not able to find the library anywhere(unless they are under the gvm-libs master branch which i did not look and tried). But I also found an alternative via a repository I found online. Builds openvas for 8.0 and/or 9.0. So I will close the issue. Take care.

@cfi-gb
Copy link
Member

cfi-gb commented Sep 23, 2020

#403 now raised the gpgme version to 1.7.0 accordingly.

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

No branches or pull requests

3 participants