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

Project build fails on clean CentOS 8 host #937

Closed
aushacker opened this issue Sep 24, 2021 · 2 comments · Fixed by #944
Closed

Project build fails on clean CentOS 8 host #937

aushacker opened this issue Sep 24, 2021 · 2 comments · Fixed by #944

Comments

@aushacker
Copy link
Contributor

aushacker commented Sep 24, 2021

Created a clean VM from CentOS 8 stream (server with GUI).

Forked repo and checked out main branch.

Attempting to run make verify got this error:

Running `gofmt -s -l` on 584 file(s).
go vet -mod=vendor ./...
# github.com/mtrmac/gpgme
vendor/github.com/mtrmac/gpgme/data.go:4:11: fatal error: gpgme.h: No such file or directory
 // #include <gpgme.h>
           ^~~~~~~~~
compilation terminated.
make: *** [vendor/github.com/openshift/build-machinery-go/make/targets/golang/verify-update.mk:26: verify-govet] Error 2
@aushacker
Copy link
Contributor Author

The solution is to install package gpgme-devel (powertools).

@aushacker
Copy link
Contributor Author

aushacker commented Sep 24, 2021

Continuing on, there was a second problem where /bin/ld could not find -lassuan.

Solution was to install package libassuan-devel (power tools).

Once this dependency was installed make verify and make test run to completion.

aushacker added a commit to aushacker/oc that referenced this issue Sep 24, 2021
aushacker added a commit to aushacker/oc that referenced this issue Sep 29, 2021
openshift-merge-robot added a commit that referenced this issue Dec 3, 2021
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

Successfully merging a pull request may close this issue.

1 participant