From nobody Thu Mar 6 12:56:51 2025 X-Original-To: pkg@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 4Z7qDz5kmbz5pZ08 for ; Thu, 06 Mar 2025 12:56:51 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Z7qDz16s8z3X4F for ; Thu, 06 Mar 2025 12:56:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1741265811; 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; bh=Xj6nZiBYf1Rz/EHdCQ+Yal+c8FQph3s68Rn5e/9UpHg=; b=ifDJP+jKSX/xPllpnE10z8HOJ+yiG9KyY8xzggPjoVMEqmzjQF3Be7b8wp9zR+4PNUfjmx Pjd0rwxHRy9PfB1hNLV2Gtw0SdhZnd1XCVVS+8VkZeq8G4/jM/fgJ3gftYS8z4lZdhtLy5 3DFaxJPCN8aS5atZCcDLGYJtsBordE3j1CbkoE3SjTZq53vnOKF6JUKq9WEkZEkl3+GU6c wHbS0ZeBtgHPSds/2T4t1bJzRB94FsA6ZqeEhz3Djw0Hhw3tbucBghc1X8RSw091U8hZG3 uQBUU3SE4fOROgqDonD0tnCzuKYZbaCdEpVR0+D1NTVGiCnIlxL8+CODwduvrA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1741265811; a=rsa-sha256; cv=none; b=vbfez3CDK45Vg7A8GbXsVx+lmw0oXbewkgFPsQ7rPRIlXQ7Mqj1MdLmJJLPgZHjbEchh5E DZdL+M5oWahkDyKakSwZjNzk0j9tAAc/q3itZC+HL1d0MW7UPiVUsxEKxADFUF3RsBpOgD 74FZnVCHeYnI4PQQVGUL/s4Af/JxkvwJXKwHWwQpiVKIO981x5giuIXKZ4RB5BBsKlSgFp +PsyZQnzkXDlahi2nRCIyAg+2fiaeX8qnBTeQWS5anQICR/T4RX6b/u+HruayT5Dp35eRk iiizooW4TzNSpiK3qaFVwHiyVhkBkLcNRUPn4w6Sb3T4G+uSpABdiCyS19QYEg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1741265811; 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; bh=Xj6nZiBYf1Rz/EHdCQ+Yal+c8FQph3s68Rn5e/9UpHg=; b=smHg3sYPB3/DtFA5e/qVSPB60HJd2m27gkhQuzU/jtekd4lnHnmva21Ej7M9CWs4vdNP4E rlo9Yjsc4300olDPlpe39ezi2S/xdjJ8lUcNIkoFYix3zmeUps6V0TNwjrOXqPyRmf6AiI M9zEHhAM4NHmkmkmlktxlF9ekJEUKF+qlIbt3SQvhi1iStK4pAedgz9hIER5tN9vkmWf81 Ffz+AqYR3dQ4pM3isjkwY+/b69HrascM4wOLM6KPEO4JqpIBYu0JyYsLkDUYcWhUBHJ0Sm 1yKCpQb1fX+KkzMcYQmn6BCpFVKnhDtbuFCq14lMD0kdhWJEcD0A4Nv/j4l09A== 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 4Z7qDz0VSpzs7N for ; Thu, 06 Mar 2025 12:56:51 +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 526Cup0l039858 for ; Thu, 6 Mar 2025 12:56:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 526Cupe3039857 for pkg@FreeBSD.org; Thu, 6 Mar 2025 12:56:51 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: pkg@FreeBSD.org Subject: [Bug 285194] [patch] ports-mgmt/pkg: IGNORE_OSVERSION inappropriate for minor version mismatch Date: Thu, 06 Mar 2025 12:56:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bugzilla.freebsd@omnilan.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285194 Bug ID: 285194 Summary: [patch] ports-mgmt/pkg: IGNORE_OSVERSION inappropriate for minor version mismatch Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: pkg@FreeBSD.org Reporter: bugzilla.freebsd@omnilan.de Flags: maintainer-feedback?(pkg@FreeBSD.org) Assignee: pkg@FreeBSD.org Created attachment 258349 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D258349&action= =3Dedit Introduce MINOR_OSVER_CONFIRM option If we compile ports on stable branch, packages created by pkg(1) show Annotations : FreeBSD_version: __FreeBSD_version which increases for each base API change, while ABI compatibility is strict= ly maintained throughout the branch (fixed major OS version). pkg(1) checks for th OS version mismatch before installing a package, but currently doesn't allow to catch MAJOR version mismatches only, which is the only necessary check. In my opinion, the default to not install a package with a minor version mismatch is wrong and the IGNORE_OSVERSION=3Dyes option is not an appropria= te setting to allow minor version mismatches. To keep the old behaviour, my proposed patch, introducing the MINOR_OSVER_CONFIRM config option, keeps the confirmation dialog for minor version mismatches, but defaults to install the package. Defining MINOR_OSVER_CONFIRM=3Dno doesn't completely skip the OSVERSION che= ck as IGNORE_OSVERSION=3Dyes does, hence major (thus problematic) mismatch will be catched. I'd prefer to have MINOR_OSVER_CONFIRM=3Dno as the default, contrary to wha= t the patch currently defines! --=20 You are receiving this mail because: You are the assignee for the bug.=