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

Repo build failure - unable to check signature of new version #1654

Closed
ajres opened this issue Mar 15, 2016 · 2 comments
Closed

Repo build failure - unable to check signature of new version #1654

ajres opened this issue Mar 15, 2016 · 2 comments

Comments

@ajres
Copy link

ajres commented Mar 15, 2016

I had the following error when trying to build Sync Gateway on OSX using the 'repo' flow via bootstrap.sh.
In addition to the error message the godeps directory did not exist after the bootstrap.sh script completed.

I had checked out and built successfully on previous occasions.

object 203153e7bba61b1b2d782e9e75aef919eab0d54b
type commit
tag v1.12.33
tagger Dan Willemsen <[email protected]> 1456952362 -0800

repo v1.12.33

gpg: keyring `/Users/me/.repoconfig/gnupg/pubring.gpg' created
gpg: Signature made Wed  2 Mar 20:59:22 2016 GMT using DSA key ID 920F5C65
gpg: Can't check signature: public key not found
error: could not verify the tag 'v1.12.33'
@ajres
Copy link
Author

ajres commented Mar 15, 2016

The fix was to recursively remove the directory

~/.repoconfig

Then manually run

repo init

Which regenerated a new set of public keys

gpg: keyring `/Users/me/.repoconfig/gnupg/secring.gpg' created
gpg: /Users/me/.repoconfig/gnupg/trustdb.gpg: trustdb created
gpg: key 920F5C65: public key "Repo Maintainer <[email protected]>" imported
gpg: key 692B382C: public key "Conley Owens <[email protected]>" imported
gpg: Total number processed: 2
gpg:               imported: 2  (RSA: 1)

Running bootstrap.sh again, generated no errors and the godeps directory was created correctly.

Sync Gateway built without error using build.sh

@ajres ajres closed this as completed Mar 15, 2016
@Namburger
Copy link

@ajres Thanks! saved my life lol

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

2 participants