FreeBSD ports package
Miroslav Lachman
000.fbsd at quip.cz
Tue Mar 31 11:13:54 UTC 2020
Degra at protonmail.com wrote on 2020/03/31 12:55:
> Hi Miroslav,
>
> Thank you I was able to build file, heart, & metricbeat without any issues but Packetbeat (The second most important module I'm trying to build) fails with the error:
>
> gmake[2]: Entering directory '/usr/ports/sysutils/beats7/work/beats-7.6.1/packetbeat'
> go build
> # github.com/elastic/beats/vendor/github.com/insomniacslk/dhcp/dhcpv4
> ../../src/github.com/elastic/beats/vendor/github.com/insomniacslk/dhcp/dhcpv4/client.go:93:8: undefined: BindToInterface
> ../../src/github.com/elastic/beats/vendor/github.com/insomniacslk/dhcp/dhcpv4/client.go:116:8: undefined: BindToInterface
> gmake[2]: *** [../libbeat/scripts/Makefile:121: packetbeat] Error 2
> gmake[2]: Leaving directory '/usr/ports/sysutils/beats7/work/beats-7.6.1/packetbeat'
> *** Error code 2
>
> Stop.
>
>
> Do you have any idea what could be the problem here ?
Unfortunately packetbeat is broken and cannot be build on FreeBSD for a
long time. It was reported to upstream the last year.
https://github.com/elastic/beats/issues/15256
I think only some good Go person can fix it.
Miroslav Lachman
More information about the freebsd-elastic
mailing list