maintainer-feedback requested: [Bug 236094] sysutils/beats: fails to build with Go 1.12

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 27 23:27:26 UTC 2019


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-elastic mailing
list <elastic at FreeBSD.org> for maintainer-feedback:
Bug 236094: sysutils/beats: fails to build with Go 1.12
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236094



--- Description ---
Poudriere log shows:

=======================<phase: build	      >============================
===>  Building for beats-6.4.2
gmake[1]: Entering directory
'/wrkdirs/usr/ports/sysutils/beats/work/beats-6.4.2/filebeat'
sh: [[: not found
sh: filebeat: not found
go build 
# github.com/elastic/beats/vendor/github.com/docker/docker/pkg/system
../../src/github.com/elastic/beats/vendor/github.com/docker/docker/pkg/system/m
knod.go:12:22:
cannot use dev (type int) as type uint64 in argument to syscall.Mknod
gmake[1]: *** [../libbeat/scripts/Makefile:99: filebeat] Error 2
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/sysutils/beats/work/beats-6.4.2/filebeat'
*** Error code 2

Stop.
make: stopped in /usr/ports/sysutils/beats
build of sysutils/beats | beats-6.4.2 ended at Wed Feb 27 17:42:31 EST 2019
build time: 00:00:22
!!! build failure encountered !!!

Downgrading Go to the previous version, i.e., 1.11.5,1, worked around the
problem for me.


More information about the freebsd-elastic mailing list