Bug 264841 - ports-mgmt/pkg: Fails to create packages since update to 1.18.0
Summary: ports-mgmt/pkg: Fails to create packages since update to 1.18.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-pkg (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-23 08:14 UTC by Simeon Simeonov
Modified: 2022-06-23 10:26 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simeon Simeonov 2022-06-23 08:14:06 UTC
[root@SagaBOX /usr/ports/packages/All]# pkg create -a
Loading the package list...
Child process pid=90425 terminated abnormally: Segmentation fault

pkg.core.xz
https://simeon.simeonov.no/files/pkg.core.xz
Comment 1 Baptiste Daroussin freebsd_committer freebsd_triage 2022-06-23 09:28:02 UTC
I can reproduce, I am fixing.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-06-23 10:21:35 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3e8236085199a7aa24fe60fadf8a9777612b54d2

commit 3e8236085199a7aa24fe60fadf8a9777612b54d2
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2022-06-23 10:18:49 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2022-06-23 10:20:39 +0000

    ports-mgmt/pkg: update to 1.18.1

    Fix a crash in pkg create [1]
    Fix a plist issue [2]

    PR:             264841 [1]
    Reported by:    many [2], Simeon Simeonov <sgs@pichove.org> [1]

 ports-mgmt/pkg/Makefile  | 2 +-
 ports-mgmt/pkg/distinfo  | 6 +++---
 ports-mgmt/pkg/pkg-plist | 1 +
 3 files changed, 5 insertions(+), 4 deletions(-)