Summary: | pkg2ng always immediately seg faults on converting old package database | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Nick Johnson <freebsd> |
Component: | Individual Port(s) | Assignee: | Bryan Drewery <bdrewery> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | bdrewery, jcfyecrayz |
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Nick Johnson
2014-09-25 17:49:07 UTC
I kept a copy of pkg 1.3.7 around after I, too, noticed this a couple days ago (tracked down to the same issue trying to get PKG_PREFIX in plist_new()). pkg convert from 1.3.7 still works for converting old pkg_* installations. Not a fix, of course, but it might help you move on while a fix is worked. Note, this is easy to reproduce on a /var/db/pkg with just one old style package in it. The 'Component' for this bug could reasonably be considered to be 'ports infrastructure'. I'll have a fix out for this soon. pkg_ports.c changed a lot from 1.3.7 to 1.3.8. Hard to identify a fix if you don't know the code already. bdrewery's on it, though - hopefully with a relatively easy fix. bapt fixed this in r369323. |