Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2019 23:27:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        elastic@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 236094] sysutils/beats: fails to build with Go 1.12
Message-ID:  <bug-236094-37421-zMv2L5oN1r@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236094-37421@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236094-37421@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-elastic mailing
list <elastic@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=3D236094



--- Description ---
Poudriere log shows:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: build	      >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>  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=20
# github.com/elastic/beats/vendor/github.com/docker/docker/pkg/system
../../src/github.com/elastic/beats/vendor/github.com/docker/docker/pkg/syst=
em/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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236094-37421-zMv2L5oN1r>