From nobody Sat Jul 16 18:07:20 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 4Llbm84Gtvz4X7T9 for ; Sat, 16 Jul 2022 18:07:20 +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 4Llbm82xchz3vnY for ; Sat, 16 Jul 2022 18:07:20 +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 4Llbm81vzMzWSn for ; Sat, 16 Jul 2022 18:07:20 +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 26GI7Kfu059272 for ; Sat, 16 Jul 2022 18:07:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26GI7KjT059271 for ports-bugs@FreeBSD.org; Sat, 16 Jul 2022 18:07:20 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 18:07:20 +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: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=1657994840; 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=lK1kbjehPjyJXzrLsq0dpL9wUagjBCGGQEHa8Z+GfmE=; b=FYhFZXxq/mrxZ8uhdrBJfAPaArAurCw600thBq7G07CWutc34sazqnc8S0+43Oo3dhQR3x HXuJbZk/sOAZjyt8ZaKrf7vBQNwnSDGdNJ1Jyiu2PkOFsRs8wQ39EjrcYF9SaYVNBkufI2 nMFSb0/YSxxNBXUbM0fDgzjfNrtZKSlmwa6fDUMygi0XLI35wxq2rHZVXq4kRetFeXUXNB vhQDLMlO0US0E402EWTq/j4GvL811qGqLIJgdC3hDXddbqpzhZHe+psaNGNLESeR+J4U/L FIPhnHq/h88M9wME6dQpv/B4TCJBbLcg6D3bqGIrhYqhqWBZenpTip+ZU1AImA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657994840; a=rsa-sha256; cv=none; b=Md28JXMVflLND+8uwYKr763wTTJPgDkEptv4+XpGjPe/8jym8TrxJw/j6kOZ77btGcWNJj bf7d+nbHc+xA7bhdhJ0ag+n/RcjmSeJXRRJgsqNHWbWaG2SeH4s/B9BynwV69szSvjCt6G 4YeBeosVNwT6AvvugiOYPuegwLjahXOGQqD/iIVUKJ0Ewveg+ED/YRDJJo8dAATFSLV+nP 2CreGDnM90Al9xSRQsog6ChLrFSNo9jlD0WVKidqWx/MUdHdYs7HCh0AHBZeRsvBr0MoTi t854VmhyG2aTZKV3rapY7lisIUS6dQ0ako6iW2dKdngjt2dAliSdnaO+kouw8w== 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 ---------------------------------------------------------------------------- Status|New |Open --- Comment #1 from Stefan E=C3=9Fer --- (In reply to Matthias Andree from comment #0) What do you suggest to do if a port cannot be fetched without some programs being present? $ make -C 7usr/ports/sysutils/restic -V FETCH_DEPENDS /usr/local/bin/go118:lang/go118 ca_root_nss>0:security/ca_root_nss In this particular case the use of GO_MODULE requires a matching go binary = to exist: . if defined(GO_MODULE) [...] FETCH_DEPENDS+=3D ${GO_CMD}:${GO_PORT} \ ca_root_nss>0:security/ca_root_nss [...] . endif Please explain how "make fetch" can be executed in this case if no matching= go binary can be found? And since "portmaster -F" executes "make checksum" (which implies "make fet= ch") this is exactly the same behavior as you'd get by directly executing "make fetch" for this port. One difference is that portmaster wants to update outdated ports before they are used as a dependency, and thus might want to update go118 after a PORTREVISON bump, while a plain "make fetch" ignores the outdated go118 por= t. But since there is no algorithmic method that could distinguish the case of= a required port update from a cosmetic one, portmaster has to assume that an update is required. I'm considering this a "works as designed" case and want to close the PR wi= th that status. Feel free to submit a patch that disables the updating of "slightly" outdat= ed FETCH_DEPENDS, but not the installation of missing ones or upgrade of stale fetch dependencies that are installed but do not provide the required level= of run time support for the often complex fetch operation of a port that needs FETCH_DEPENDS. (And no, a solution that is only tested and working for the special case of GO_MODULE does not suffice ...) --=20 You are receiving this mail because: You are the assignee for the bug.=