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 failing on openbsd/armv5 #723

Closed
stuartnelson3 opened this issue Apr 20, 2017 · 4 comments
Closed

build failing on openbsd/armv5 #723

stuartnelson3 opened this issue Apr 20, 2017 · 4 comments
Assignees

Comments

@stuartnelson3
Copy link
Contributor

stuartnelson3 commented Apr 20, 2017

this commit broke the dragonfly build:

golang/sys@9a7256c

check it out and see how to fix it

Currently broken on openbsd/armv5

@stuartnelson3
Copy link
Contributor Author

golang/go#20055

@stuartnelson3
Copy link
Contributor Author

The process to contribute to the go repo is ... prohibitive. I committed the fix directly here and am waiting for someone to do golang/go#20055.

e9cb88e

@stuartnelson3
Copy link
Contributor Author

stuartnelson3 commented Apr 21, 2017

Now it's failing on openbsd-armv5:

# openbsd-armv5

>> building binaries

 >   alertmanager

 >   amtool

# github.com/prometheus/alertmanager/vendor/golang.org/x/sys/unix

/go/src/github.com/prometheus/alertmanager/vendor/golang.org/x/sys/unix/flock.go:18: undefined: Flock_t

/go/src/github.com/prometheus/alertmanager/vendor/golang.org/x/sys/unix/sockcmsg_unix.go:36: undefined: Cmsghdr

/go/src/github.com/prometheus/alertmanager/vendor/golang.org/x/sys/unix/sockcmsg_unix.go:42: undefined: Cmsghdr

!! command failed: build -o .build/openbsd-armv5/amtool -ldflags -X github.com/prometheus/alertmanager/vendor/github.com/prometheus/common/version.Version=0.5.1 -X github.com/prometheus/alertmanager/vendor/github.com/prometheus/common/version.Revision=e9cb88e15a3b28cb6c0afa3f20ef34a1edb12140 -X github.com/prometheus/alertmanager/vendor/github.com/prometheus/common/version.Branch=master -X github.com/prometheus/alertmanager/vendor/github.com/prometheus/common/version.BuildUser=root@d6492630dae2 -X github.com/prometheus/alertmanager/vendor/github.com/prometheus/common/version.BuildDate=20170421-14:39:39  -extldflags '-static' -a -tags netgo github.com/prometheus/alertmanager/cmd/amtool: exit status 2

To reproduce locally:

# make PREFIX=. GOOS=openbsd GOARCH=arm build

@stuartnelson3 stuartnelson3 changed the title build failing on dragonfly build failing on openbsd/armv5 Apr 21, 2017
@stuartnelson3
Copy link
Contributor Author

Fixed by #732

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

No branches or pull requests

1 participant