From nobody Thu Aug 26 09:27:15 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6162A178676B for ; Thu, 26 Aug 2021 09:27:50 +0000 (UTC) (envelope-from pvoigt@uos.de) Received: from mta-out-1-1.rz.uni-osnabrueck.de (mta-out-1-1.rz.uni-osnabrueck.de [131.173.18.148]) (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 4GwHZF1h3bz3qg6; Thu, 26 Aug 2021 09:27:48 +0000 (UTC) (envelope-from pvoigt@uos.de) Received: from vm412.rz.uni-osnabrueck.de (smtp-auth-2.serv.uni-osnabrueck.de [131.173.17.0]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mta-out-1-1.rz.uni-osnabrueck.de (Postfix) with ESMTPS id DDD636E41; Thu, 26 Aug 2021 11:27:40 +0200 (CEST) Received: from spock.drpetervoigt.eu (spock.drpetervoigt.eu [217.91.107.36]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: pvoigt) by vm412.rz.uni-osnabrueck.de (Postfix) with ESMTPSA id BF09916D32A2; Thu, 26 Aug 2021 11:27:19 +0200 (CEST) Received: from laptop2.drpetervoigt.private (laptop2.drpetervoigt.private [192.168.1.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: pvoigt) by spock.drpetervoigt.eu (Postfix) with ESMTPSA id 2FBC945F51; Thu, 26 Aug 2021 11:27:17 +0200 (CEST) Date: Thu, 26 Aug 2021 11:27:15 +0200 From: "Dr. Peter Voigt" To: freebsd-ports@freebsd.org Cc: Palle Girgensohn Subject: Re: Port net-mgmt/telegraf does not build anymore since last version 1.19.3 Message-ID: <20210826112715.7f8403c4@laptop2.drpetervoigt.private> In-Reply-To: <70617_1629906147_612664E3_70617_13169_1_20210825174213.59f03d02@laptop2.drpetervoigt.private> References: <70617_1629906147_612664E3_70617_13169_1_20210825174213.59f03d02@laptop2.drpetervoigt.private> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-PMX-Version: vm412.rz.uni-osnabrueck.de (Univ. Osnabrueck) with PMX 6.4.6.2792898, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2021.8.26.91816, AntiVirus-Engine: 5.85.0, AntiVirus-Data: 2021.8.25.5850003 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report= HTML_00_01 0.05, HTML_00_10 0.05, BODY_SIZE_3000_3999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, FROM_NAME_PHRASE 0, IN_REP_TO 0, MSG_THREAD 0, MULTIPLE_REAL_RCPTS 0, REFERENCES 0, __ANY_URI 0, __BODY_NO_MAILTO 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CC_NAME 0, __CC_NAME_DIFF_FROM_ACC 0, __CC_REAL_NAMES 0, __COURIER_PHRASE 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __FORWARDED_MSG 0, __FROM_DOMAIN_NOT_IN_BODY 0, __HAS_CC_HDR 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_REFERENCES 0, __HAS_X_MAILER 0, __HEADER_ORDER_FROM 0, __HTTPS_URI 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __MSGID_DOMAIN_NOT_IN_HDRS 0, __MULTIPLE_URI_TEXT 0, __REFERENCES 0, __SANE_MSGID 0, __SUBJ_ALPHA_NEGATE 0, __SUBJ_REPLY 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_HAS_HYPHEN_USC 0, __URI_IN_BODY 0, __URI_IN_BODY_HTTP_X10 0, __URI_MAILTO 0, __URI_NOT_IMG 0, __URI_NO_WWW 0, __URI_WITHOUT_PATH 0, __URI_WITH_PATH 0 X-PMX-Spam-Level: IIIIIIII X-Rspamd-Queue-Id: 4GwHZF1h3bz3qg6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of pvoigt@uos.de designates 131.173.18.148 as permitted sender) smtp.mailfrom=pvoigt@uos.de X-Spamd-Result: default: False [-2.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:131.173.16.0/22]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[uos.de]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[4]; RCVD_IN_DNSWL_MED(-0.40)[131.173.18.148:from,131.173.17.0:received]; RCPT_COUNT_TWO(0.00)[2]; FROM_NAME_HAS_TITLE(1.00)[dr]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:680, ipnet:131.173.0.0/16, country:DE]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Wed, 25 Aug 2021 17:42:13 +0200 "Dr. Peter Voigt" wrote: Well, yesterday night I removed packages go and telegraf and removed all corresponding files from /usr/ports/dist. Subsequently, both port lang/go and net-mgmt/telegraf (1.19.3) could be built without any issues. My conclusion so far: Either upgrade of lang/go or of net-mgmt/telegraf could not be performed cleanly for whatever reason. Peter > Version 1.19.2 net-mgmt/telegraf builds just fine on my system with > FreeBSD 12.2-RELEASE-p10 (amd64). > > But version 1.19.3 gives the following error: > > ... > > ===>>> Waiting on fetch & checksum for net-mgmt/telegraf <<<=== > # get > https://proxy.golang.org/sigs.k8s.io/apiserver-network-proxy/konnectivity-client/@v/v0.0.14.zip > # get > https://proxy.golang.org/sigs.k8s.io/apiserver-network-proxy/konnectivity-client/@v/v0.0.14.zip: > 200 OK (0.113s) # get > https://proxy.golang.org/sigs.k8s.io/structured-merge-diff/v3/@v/v3.0.0.zip > # get > https://proxy.golang.org/sigs.k8s.io/structured-merge-diff/v3/@v/v3.0.0.zip: > 200 OK (0.112s) # get > https://proxy.golang.org/sigs.k8s.io/structured-merge-diff/v4/@v/v4.1.0.zip > # get > https://proxy.golang.org/sigs.k8s.io/structured-merge-diff/v4/@v/v4.1.0.zip: > 200 OK (0.124s) # get > https://proxy.golang.org/sigs.k8s.io/yaml/@v/v1.2.0.zip # get > https://proxy.golang.org/sigs.k8s.io/yaml/@v/v1.2.0.zip: 200 OK > (0.112s) # get > https://proxy.golang.org/sourcegraph.com/sourcegraph/appdash/@v/v0.0.0-20190731080439-ebfcffb1b5c0.zip > # get > https://proxy.golang.org/sourcegraph.com/sourcegraph/appdash/@v/v0.0.0-20190731080439-ebfcffb1b5c0.zip: > 200 OK (0.113s) > > > ===> License MIT accepted by the user > ===> telegraf-1.19.3 depends on file: /usr/local/sbin/pkg - found > ===> telegraf-1.19.3 depends on file: /usr/local/bin/go - found > ===> telegraf-1.19.3 depends on package: ca_root_nss>0 - found > ===> Fetching all distfiles required by telegraf-1.19.3 for building > ===> Fetching github.com/influxdata/telegraf dependencies > ===> Extracting for telegraf-1.19.3 > => SHA256 Checksum OK for > go/net-mgmt_telegraf/telegraf-v1.19.3/v1.19.3.mod. => SHA256 Checksum > OK for go/net-mgmt_telegraf/telegraf-v1.19.3/v1.19.3.zip. go: finding > module for package github.com/Azure/go-amqp > github.com/influxdata/telegraf/plugins/inputs/eventhub_consumer > imports github.com/Azure/azure-event-hubs-go/v3 imports > github.com/Azure/go-amqp: cannot find module providing package > github.com/Azure/go-amqp: module lookup disabled by GOPROXY=off *** > Error code 1 > > Stop. > make: stopped in /usr/ports/net-mgmt/telegraf > > ===>>> make build failed for net-mgmt/telegraf > ===>>> Aborting update > > ===>>> Update for net-mgmt/telegraf failed > ===>>> Aborting update > > > ===>>> You can restart from the point of failure with this command > line: portmaster net-mgmt/telegraf > > This command has been saved to ~/portmasterfail.txt > > The message suggests on issue with my GOPROXY settings. I have not > changed any GO settings, e.g. I am using defaults only: > > # env |grep -i proxy > The above command yields no output. > > # go env |grep -i proxy > GONOPROXY="" > GOPROXY="https://proxy.golang.org,direct" > > I have contacted the port maintainer and he suggested to even remove > the GO default setting. I tried: > # go env -w GOPROXY=no > according to https://golang.org/ref/mod#goproxy-protocol but the issue > remains. > > I appreciate any hints into the right direction. > > Peter >