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:   [Bug 236094] sysutils/beats: fails to build with Go 1.12
Message-ID:  <bug-236094-37421@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236094

            Bug ID: 236094
           Summary: sysutils/beats: fails to build with Go 1.12
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: elastic@FreeBSD.org
          Reporter: jkim@FreeBSD.org
          Assignee: elastic@FreeBSD.org
             Flags: maintainer-feedback?(elastic@FreeBSD.org)

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/mknod.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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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