[Bug 290829] ports-mgmt/pkg-2.4 fails to create its own package

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 06 Nov 2025 08:57:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290829

            Bug ID: 290829
           Summary: ports-mgmt/pkg-2.4 fails to create its own package
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: sgs@pichove.org

After upgrading to pkg-2.4.x I have the following issue when building packages
for my custom repository:

cd /usr/ports/packages/All && pkg create -a && /usr/sbin/pkg repo
/usr/ports/packages/ /<secure>/repo.key

Creating repository in /usr/ports/packages/:  54%
pkg: /usr/ports/packages/All/pkg-2.4.2_1.pkg is not a valid package: no
manifest found
Creating repository in /usr/ports/packages/: 100%
Packing files for repository: 100%

pkg-2.4.2_1 is then unavailable for the users of the repository.

This was never the case with earlier (< 2.4) versions of pkg.

-- 
You are receiving this mail because:
You are the assignee for the bug.