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 4Z7qDz16W4z5pYsZ 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 4Z7qDy6pgbz3WyV for ; Thu, 06 Mar 2025 12:56:50 +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: in-reply-to:in-reply-to:references:references; bh=SVHF+gMPYxGHIw2Mws9q4sxd37HYQnDMB38VlPZQr5A=; b=fDomlYgbD/Z0kSWFacnarL0b5/1Xj/OI4LENEH+jKIGYHwn1TaIpCmmIHfPb/QC5v8r9Tm dzifTy68Blca+yQj7HHS5BMpo9cdxym4559StCa2WW9IIsdKdrb9rmyMSscIUMjKNJJ8Rz 6k/wCoM/upPKIMlPsaoIBOZHDI4HX+z9uycEELR0FhK1oE9PjxRcMCkavmcQTl2URyWiRm SWAuJxQfW9T+8v+pvDXcgG8Gflav+9Jud0c8OQOAW8a0FkKjBIMUKccPm6p5MNh/tp23UR 120i3SpA76TshPO2Mud4UCM0PwCtkPZ+yS+3OOMKRHz2J5EcezZvUnc2uk0dSQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1741265811; a=rsa-sha256; cv=none; b=KCNTQ/wgFeGIN7F/0Kx8dZcaMmCgCcUjQYdyhvBahJX3vSq8L2GtWgDadw51yplZ8lNxMD K0rNK82JZ8zHpRIshXLZvQ3SyzO5JqhFlZLPs3Mzn3nzmOKaX/OrYndRbqLwwt176Dg9bV ctK+FEbTuH6wUERohMJqBcc4U5cOlLb3yrKrZaikBHaD6Qew/oc/sMxrpZ0Db6W2GcCqm9 hTJr4N7T4j8+Lw62ByBwayMbizje3KwOW8V8QqrF5KJ/fi5gmZuMko3C1S+XGR49kUQGGy Fj/48qfZI0mapfOeTsmRFC1605l5Va31c+qMs1x0KgZvvlmKht/7l3/eV9/Ceg== 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: in-reply-to:in-reply-to:references:references; bh=SVHF+gMPYxGHIw2Mws9q4sxd37HYQnDMB38VlPZQr5A=; b=VozH9QOrFvUbWf2fUx6RTOwRjPjeruScIgwfPzokiW5x/yAeILnzdZcspsbi3kOWcXJuAi 1E+i81Xtg8I9zoHRm2d/ZQX3JvoNfYh/RPXEcVm1McjRa3q3QZAstQhCkbCOIoh+qDNBpB yG5AgpV0Ji82SZ8au4VJLc8k6/PLan5DUmInLLqq9bokU5mBzKvpAc0+/RhBA6eraARWKw F5s3AwHin7RwRP5AW0Z7LyB1oLcwi0c2Sd79140BkyiURvMQ6id88D1BQ5RDYX6uTku8Xz GG9LFbU2gNq8TKOEoZCY2LbNnK0oq4k6E0KlZxteXbbtjVfwCfDcv6tcKHYW7w== 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 4Z7qDy6Ls1zrt2 for ; Thu, 06 Mar 2025 12:56:50 +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 526CuouW039850 for ; Thu, 6 Mar 2025 12:56:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 526Cuob4039848 for pkg@FreeBSD.org; Thu, 6 Mar 2025 12:56:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: maintainer-feedback requested: [Bug 285194] [patch] ports-mgmt/pkg: IGNORE_OSVERSION inappropriate for minor version mismatch Date: Thu, 06 Mar 2025 12:56:51 +0000 X-Bugzilla-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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 Bugzilla Automation has asked freebsd-pkg (Nobody) for maintainer-feedback: Bug 285194: [patch] ports-mgmt/pkg: IGNORE_OSVERSION inappropriate for minor version mismatch https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285194 --- Description --- 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!