maintainer-feedback requested: [Bug 207694] ports-mgmt/pkg: 'pkg version -x' crashes when using /usr/ports which doesn't have INDEX-* files

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 4 08:11:00 UTC 2016


mt at markoturk.info has reassigned Bugzilla Automation <bugzilla at FreeBSD.org>'s
request for maintainer-feedback to pkg at FreeBSD.org:
Bug 207694: ports-mgmt/pkg: 'pkg version -x' crashes when using /usr/ports
which doesn't have INDEX-* files
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207694



--- Description ---
Hi,

if you populate /usr/ports but remove INDEX-* files from it (or checkout it
from svn, then INDEX-* files are not there), then 'pkg version -x
not-existing-package' crashes:
Child process pid=5172 terminated abnormally: Segmentation fault

This only happens when /usr/ports is populated but /usr/ports/INDEX-* files are
NOT present.

BR,
Marko


More information about the freebsd-pkg mailing list