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

build fails on go >1.15.14 #5

Open
MichaelMraka opened this issue Oct 4, 2021 · 0 comments
Open

build fails on go >1.15.14 #5

MichaelMraka opened this issue Oct 4, 2021 · 0 comments

Comments

@MichaelMraka
Copy link

When building it fails with

rpmbuild.go:36:39: constant -2147483648 overflows RpmBuildFlag

This is because included rpmbuild.h defines
RPMBUILD_NOBUILD = (1 << 31) /*!< Don't execute or package. */
and go interpretes it as a signed int and then can't convert it.

Please merge a fix in #4 .

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

1 participant