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

osx install fails at gpgme error #32

Open
morriswinkler-simple opened this issue Feb 17, 2017 · 2 comments
Open

osx install fails at gpgme error #32

morriswinkler-simple opened this issue Feb 17, 2017 · 2 comments

Comments

@morriswinkler-simple
Copy link

morriswinkler-simple commented Feb 17, 2017

Ok firs fix lime-qml witth this

limetext/qml-go#6

than go ahead and

brew install qt5 pkg-config 

brew link --force qt5

brew install qpgme

to fail at

./keyinfo.go:103: c.Export undefined (type *gpgme.Context has no field or method Export)
./keyinfo.go:124: c.AssuanSend undefined (type *gpgme.Context has no field or method AssuanSend)

any idea how to fix that

gpgme: stable 1.7.0 (bottled)
Library access to GnuPG
https://www.gnupg.org/related_software/gpgme/
/usr/local/Cellar/gpgme/1.7.0 (64 files, 3M) *
  Poured from bottle on 2017-02-17 at 13:23:34
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/gpgme.rb
==> Dependencies
Required: gnupg2 ✔, libgpg-error ✔, libassuan ✔, pth ✔
@kohlerm
Copy link

kohlerm commented Feb 20, 2017

Same problem here, on both Ubuntu 16.04 an RHEL 7

@suedadam
Copy link

Was going to be building this; however, I keep running into dependency errors on my mac (annoyingly because I have to update but I don't want to).

Regardless,
The issue is because of the export() function (first error) not being a function. I'm not sure where he was doing so but I'm assuming he had a local wrapper/fix for this on his dev environment? I can't find it in the history of the gpgme project (Go fork) that has that function. You can probably fix it by changing the code to use FindKeys() instead, shouldn't be too big of a difference. You could also use GetKey() or list through them via KeyListStart and iterating through the list via KeyListNext() until it's at KeyListEnd()
https://godoc.org/github.com/proglottis/gpgme#Context.GetKey

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

No branches or pull requests

3 participants