From owner-freebsd-ports-bugs@freebsd.org Fri Mar 13 13:27:55 2020 Return-Path: Delivered-To: freebsd-ports-bugs@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 4D0452607E5 for ; Fri, 13 Mar 2020 13:27:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48f62M0PWsz4GZm for ; Fri, 13 Mar 2020 13:27:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 0699B2607E2; Fri, 13 Mar 2020 13:27:55 +0000 (UTC) Delivered-To: ports-bugs@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 0630F2607E1 for ; Fri, 13 Mar 2020 13:27:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48f62L5yjWz4GZT for ; Fri, 13 Mar 2020 13:27:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B772E6CE7 for ; Fri, 13 Mar 2020 13:27:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 02DDRslL088051 for ; Fri, 13 Mar 2020 13:27:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 02DDRs50088050 for ports-bugs@FreeBSD.org; Fri, 13 Mar 2020 13:27:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 244783] lang/go: Updating ports to go 1.14 can cause vendor version errors (eg: net-p2p/bitmark) Date: Fri, 13 Mar 2020 13:27:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dmgk@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2020 13:27:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244783 Dmitri Goutnik changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmgk@freebsd.org --- Comment #4 from Dmitri Goutnik --- This looks like it could be a serious issue as more upstreams will be updat= ing go.mod to require go1.14: "When -mod=3Dvendor is set (explicitly or by default), the go command now verifies that the main module's vendor/modules.txt file is consistent with = its go.mod file." [1] Because -mod=3Dvendor is the only mode that works for ports due to restrict= ed network access and there's no way to generate vendor/modules.txt during port build, the options we have seem to be (a) keep generated vendor/modules.txt in files/ and copy it over to ${WRKSRC}/vendor before build (b) patch go.mod go version back to 1.13 (probably could be automated with go.mk) (c) patch lang/go [2] to skip these consistency checks [1] https://golang.org/doc/go1.14#go-command [2] https://github.com/golang/go/blob/9d67a94217c0a46a2b02a1fc67bb3e436dac0c97/= src/cmd/go/internal/modload/vendor.go#L135 --=20 You are receiving this mail because: You are the assignee for the bug.=