From nobody Sat Jul 16 19:43:46 2022 X-Original-To: ports-bugs@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 4LldvQ50rsz4T7Lp for ; Sat, 16 Jul 2022 19:43:46 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LldvQ3JM7z44mJ for ; Sat, 16 Jul 2022 19:43:46 +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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LldvQ2LgNzYk7 for ; Sat, 16 Jul 2022 19:43:46 +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 26GJhktQ018408 for ; Sat, 16 Jul 2022 19:43:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26GJhkjp018407 for ports-bugs@FreeBSD.org; Sat, 16 Jul 2022 19:43:46 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 265250] ports-mgmt/portmaster -F does not suppress build of depends (for sysutils/restic, for one) Date: Sat, 16 Jul 2022 19:43:46 +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: security X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: se@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status 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 List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658000626; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=x1xSWafQDb1THif70pXiD0TrzzodkCHWxmwGcNCxaYA=; b=dabuAdhPQImLuescoKa9Hbr7OBQWHAyoYuXRRrSf0nSeykoHvo3NyH8QZKAflAqRPNqdRW sLNydJcxwSqyYTMhS1geym7oCAiRE5trg0smmwo8db2BxqAAMI7DjEHX1LZy6V9JUNs3US Ik4V17c44MNWvJZDG1VHKcTG5CtDlLqOFsTf2LoS7kSnXRY1lLX7XCxKYhTSt2ZIvGQ6UK SrJ6C18wYhRBAPaUkBXnK+LAHgJSjBqK2Ala2kT4NKs5iFDas68k4Hxf+nTSScUBvXMAcn O9qX5nFM9xGzVr4JjtpbVxdDxAbAYFl93aee098JK6l3kP3nlG8u43jWq4GYCg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658000626; a=rsa-sha256; cv=none; b=R2F430NJl7B+HwdpZESj58IngRDyUxN0izcQJonDTJlqsVBbPO4yX2Jc2Gxc5CACIOX2DR nuf/IsRWhaqcF3Qr2TTInX7nzQmBblRdMY44BIqeH4Z2SE8g4XBXXUF1JTWibPZ49NDpMk Sz6DaDlIDNOHtxtuEN1AslCm/+EGrlzCOK47Pb/kOK5+c6FPr6SnvHCnJxiXk1gONXZAm0 88BZtECIxMhLWaP1cxBX708PwPNm8SvYNhFL5MC5iHnwu4fkNcia41FjrlRuAZki/r+cs+ 7bgr4rPjtB6DCSRfm3A6BYx2EsGnJLEBAxIzDastYJR9sH4vGzIeARvOi9fXfQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265250 Stefan E=C3=9Fer changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Works As Intended Status|Open |Closed --- Comment #4 from Stefan E=C3=9Fer --- Full agreement, and while I have seen a number of quite useful programs that have been implemented in Go, I really do not think that the way modules are used will work well in the long run. But we have good support in the ports system, and GO_MODULE=3D... is a simp= le way to deal with a problem that I'd rather want to not exist. We do not have that many ports that use FETCH_DEPENDS, and all ports that u= se GO_MODULE will have the same dependency on Go, causing it to be built just = once (and it will be required to later build the port, anyway). And you could use portmaster -P --local-packages to install the fetch dependency from a locally built package (which could also be moved to other systems to avoid the need to build it from sources there), but portmaster w= ill only use that package as long as the port it has been built from has not be= en updated. The only valid alternative that I see is to ignore ports with FETCH_DEPENDS= if those dependencies are not found when "portmaster -F" is run. But I do not think that this alternative is better than what portmaster does now ... I'm going to close this PR and mark it as "works as intended", since the behavior may be surprising, but I do not see a better way to deal with this situation. (Suggestions are welcome, as long as they are applicable to all ports that = use FETCH_DEPENDS ...) --=20 You are receiving this mail because: You are the assignee for the bug.=