[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:27 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236094

            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 at FreeBSD.org
          Reporter: jkim at FreeBSD.org
          Assignee: elastic at FreeBSD.org
             Flags: maintainer-feedback?(elastic at FreeBSD.org)

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

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


More information about the freebsd-elastic mailing list