[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:01 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207694

            Bug ID: 207694
           Summary: ports-mgmt/pkg: 'pkg version -x' crashes when using
                    /usr/ports which doesn't have INDEX-* files
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg at FreeBSD.org
          Reporter: mt at markoturk.info
             Flags: maintainer-feedback?(pkg at FreeBSD.org)
          Assignee: pkg at FreeBSD.org

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

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


More information about the freebsd-pkg mailing list