Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 2020 13:13:15 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Degra@protonmail.com
Cc:        "elastic@FreeBSD.org" <elastic@FreeBSD.org>
Subject:   Re: FreeBSD ports package
Message-ID:  <1ff7817c-26d9-f936-041d-3a4f8d880557@quip.cz>
In-Reply-To: <VVlyjiyuUSNxWVg4IlbicFAPmlMTMy5DZCrvX-pVQdo3vXdoM9RkwjnFCGkBgdv09wPxbtJj6_qV97CiZHrDYI_f2rhX2-qXbr0KvlsDbtY=@protonmail.com>
References:  <ZojLnXRPO4Nfsx0Y-23BsbPclVxj9__vw0WB1KvNv6lmfA2_cnjxpEkyHL5Q8QUc4AgxYec51SBpBeDGKPh0qB7k9GoMwF9Yxszd5YZIcJE=@protonmail.com> <b9316684-7c4f-07aa-bccd-0cfb67ad64d4@quip.cz> <VVlyjiyuUSNxWVg4IlbicFAPmlMTMy5DZCrvX-pVQdo3vXdoM9RkwjnFCGkBgdv09wPxbtJj6_qV97CiZHrDYI_f2rhX2-qXbr0KvlsDbtY=@protonmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Degra@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1ff7817c-26d9-f936-041d-3a4f8d880557>