From owner-freebsd-elastic@freebsd.org Tue Mar 31 11:13:53 2020 Return-Path: Delivered-To: freebsd-elastic@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DEF4227FF9A for ; Tue, 31 Mar 2020 11:13:53 +0000 (UTC) (envelope-from SRS0=hrTG=5Q=quip.cz=000.fbsd@elsa.codelab.cz) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48s6CD0Bq6z4JLj for ; Tue, 31 Mar 2020 11:13:43 +0000 (UTC) (envelope-from SRS0=hrTG=5Q=quip.cz=000.fbsd@elsa.codelab.cz) Received: by mailman.nyi.freebsd.org (Postfix) id A89DA27FF98; Tue, 31 Mar 2020 11:13:36 +0000 (UTC) Delivered-To: elastic@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A7B2827FF97 for ; Tue, 31 Mar 2020 11:13:36 +0000 (UTC) (envelope-from SRS0=hrTG=5Q=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48s6Bw05Gdz4JGy for ; Tue, 31 Mar 2020 11:13:27 +0000 (UTC) (envelope-from SRS0=hrTG=5Q=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id B8A7B28423; Tue, 31 Mar 2020 13:13:16 +0200 (CEST) Received: from illbsd.quip.test (ip-62-24-92-232.net.upcbroadband.cz [62.24.92.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 92CC728417; Tue, 31 Mar 2020 13:13:15 +0200 (CEST) Subject: Re: FreeBSD ports package To: Degra@protonmail.com Cc: "elastic@FreeBSD.org" References: From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <1ff7817c-26d9-f936-041d-3a4f8d880557@quip.cz> Date: Tue, 31 Mar 2020 13:13:15 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48s6Bw05Gdz4JGy X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of SRS0=hrTG=5Q=quip.cz=000.fbsd@elsa.codelab.cz has no SPF policy when checking 94.124.105.4) smtp.mailfrom=SRS0=hrTG=5Q=quip.cz=000.fbsd@elsa.codelab.cz X-Spamd-Result: default: False [4.02 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; IP_SCORE(0.83)[ip: (0.29), ipnet: 94.124.104.0/21(0.15), asn: 42000(3.63), country: CZ(0.09)]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[quip.cz]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.99)[0.995,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[4.105.124.94.list.dnswl.org : 127.0.10.0]; NEURAL_SPAM_LONG(1.00)[0.997,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[000.fbsd@quip.cz,SRS0=hrTG=5Q=quip.cz=000.fbsd@elsa.codelab.cz]; FREEMAIL_TO(0.00)[protonmail.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ]; FROM_NEQ_ENVFROM(0.00)[000.fbsd@quip.cz,SRS0=hrTG=5Q=quip.cz=000.fbsd@elsa.codelab.cz]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-elastic@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Support of ElasticSearch-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2020 11:13:54 -0000 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