Error when make port sysutils/beats 6.6.0

Aleksandr Y Ovchinnikov AYOvchinnikov at yanao.ru
Tue Mar 5 10:54:53 UTC 2019


# make
===>  License APACHE20 accepted by the user
===>   beats-6.6.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by beats-6.6.0 for building
===>  Extracting for beats-6.6.0
=> SHA256 Checksum OK for elastic-beats-v6.6.0_GH0.tar.gz.
===>  Patching for beats-6.6.0
===>  Applying FreeBSD patches for beats-6.6.0
===>   beats-6.6.0 depends on executable: gmake - found
===>   beats-6.6.0 depends on file: /usr/local/bin/go - found
===>  Configuring for beats-6.6.0
===>  Building for beats-6.6.0
gmake[2]: Entering directory 
'/usr/ports/sysutils/beats/work/beats-6.6.0/filebeat'
sh: [[: not found
sh: [[: not found
Error: unknown command "==" for "filebeat"
Run 'filebeat --help' for usage.
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[2]: *** [../libbeat/scripts/Makefile:100: filebeat] Error 2
gmake[2]: Leaving directory 
'/usr/ports/sysutils/beats/work/beats-6.6.0/filebeat'
*** Error code 2

Stop.
make[1]: stopped in /usr/ports/sysutils/beats
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/beats


More information about the freebsd-elastic mailing list