From nobody Wed Jan 15 08:47:02 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 4YY03p1GL8z5l7gw for ; Wed, 15 Jan 2025 08:47:02 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YY03p0Mm4z3BxH for ; Wed, 15 Jan 2025 08:47:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736930822; 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=62SHEXKGG+kXvzd+Mwl65gkwVyQNogjB3oOjRmM0eSI=; b=bB6r2RFFAQoKI+uvvMqw/p9zQISDocTJPnaPdKJYc/K6SkMGJdf2Ynf3IAEjl+tkrcKetn ld+VfMQ10uBh3w00Z77ZKRHus+YoG3dpQjDU34e/HaqX5NF3+5/nWGDg5En97YFt/rcRzY RW5QqclkvFXtSKRdU7/WYWW9Q/T0qjwR5H1GK9GgB30yWEVQd6yKOLarPjG2SkzcQrlzuV aL25TX4wPmAn5MBNfsTNGHtfdLJw0+OesbetSTUxISuQm2Q3DkD51HIpi4OF+rBLX4BmdP hMQYPa9YVCAyq8tRvEa4ItVwBzrIYD7iSZWtN8b8lwyjr9EpwXiqtWAx3VfmnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736930822; 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=62SHEXKGG+kXvzd+Mwl65gkwVyQNogjB3oOjRmM0eSI=; b=daAmft3+VxV6p+YjnbFYaCiADo+FCvJS9Jkb04h9eXVm/4W/v5VEkJEVSrwXJoc8AMh0Pe mz6QGn9b9UjKvw9x+jpmoBEs68PvkGJbL5xi/Y4OpHmdyOVWCKeF2F6dT2XvAioCB2soRs Ba3NzlhHKmSQ+vFlV1fBbxlZaNbGGMcH/ER3TF9Wevc2MPFYT3gs1t4X8LK7++0AgDHCIz Jqdav64Bpgl5ZJ+JEu1SmR8LX0jAl8f5YSizSpvRjr1zCFOUaJNOBr6Kpcb64OLMkdkqVd EPiyz4kdtWKCYOoEjJMNGQMP/RFjhH5R5Zoe6BdU8ct/F8YRbYfHSJFVGfST9g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736930822; a=rsa-sha256; cv=none; b=xUYtqmNrE4PMq1tBv0GeMOv+83nRZz046lV2z7/zjXVAsZYvEpRmN3MfLHIHgCOZufhl+0 p1pRRaotO7LmTDNX+JB7zfyIn7w2unCzzLvHhl1GTLd4Uh3gtsu2gh+c+nCaZE80u5hHjR kdKdWVp3tWCwLhSua0wAOBtKtNlJTu88HyHD1RXCIHzKTI9dPnh5CH1zSZk5LlVhgRjveU koOd4IWr+TwDYlfxv3a1MvfyzzhIU+KrXNi9yDD7LKvfYYZT0YaYLvE70u893fmRLOytu9 Ev5fBB+ks0snSanlk00FPQEf436dLOKHnqbVGkqDsMkOWMSx8TJr81KF+j0ADw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YY03n6WZjzgLC for ; Wed, 15 Jan 2025 08:47:01 +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 50F8l1iM093591 for ; Wed, 15 Jan 2025 08:47:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50F8l1W6093590 for pkg@FreeBSD.org; Wed, 15 Jan 2025 08:47:01 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 284054] ports-mgmt/pkg: Does not recognize .pkg as a valid suffix (triggered by portupgrade) Date: Wed, 15 Jan 2025 08:47:02 +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: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: terry-freebsd@glaver.org 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: Message-ID: In-Reply-To: References: 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=3D284054 --- Comment #13 from Terry Kennedy --- (In reply to Mark Millard from comment #12) I'm confused. It seems you are saying that regardless of what compression format is selected, pkg outputs files with a .pkg extension which provides = no clue which format is used. (And that this is confusing.) I agree that it can be confusing, but presumably all of the pkg tools can figure it out. For people wanting to know what compression format was used = to create a given .pkg file, "file .pkg" should report that info. I don't see how that relates to silencing a warning for the specific case of "-f pkg" in portupgrade, since portupgrade will be around for at least near= ly 4 years (remaining life of 14) and perhaps longer if it goes through the norm= al deprecation (15) and removal (16) cycle. Particularly since it will elimina= te a warning that is also confusing 8-} You also raise a valid point that if "txz" is not the default format, then assuming txz would not be be the best case and "tzst" should be assumed instead. That just changes where the .pkg case could be added. But I should point out (as you did in comment 12) that "man pkg-create" (pkg pkg-1.21.3, the current version in the ports tree), under the description of the -f option, says "If an invalid or no format is specified txz is assumed= ." So we seem to also have a manpage-vs-reality discrepancy in pkg here. Regarding your comment that it would not track tools that are not being updated, I think the only thing that (incorrectly) uses "-f pkg" is portupgrade, which is how we got here. If there's no desire to change this on the pkg side, I could submit a patch= for portupgrade if somebody is willing to commit it. --=20 You are receiving this mail because: You are the assignee for the bug.=