Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Nov 2005 18:48:33 -0800
From:      "Michael C. Shultz" <ringworm01@gmail.com>
To:        freebsd-questions@freebsd.org
Cc:        Wes Santee <wsantee@gmail.com>
Subject:   Re: Portmanager 0.3.9 asserting
Message-ID:  <200511251848.34267.ringworm01@gmail.com>
In-Reply-To: <4387CD32.4080403@gmail.com>
References:  <4387CD32.4080403@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 25 November 2005 18:49, Wes Santee wrote:
> Just updated to portmanager 0.3.9 from 0.3.7 and now every command
> (except --help) is causing an assert:
>
> $ sudo portmanager --version
>
> rParseCommandLine 0.3.9_1
>
> $ sudo portmanager --status
> MGdbRead error: unable to open file
> /usr/local/share/portmanager/pkgtools.db system message: No such file or
> directory
> Assertion failed: (0), function MGdbRead, file MGdbRead.c, line 65.
> Abort trap: 6 (core dumped)
>
> Sure enough, there is no pkgtools.db.  Since this doesn't get installed
> with the port, I'm assuming it's supposed to be dynamically created.
>
> Just using the default pm-020.conf file installed with the updated port:
>
> $ sudo cp pm-020.conf.SAMPLE pm-020.conf
>
> Anyone else having problems?  I'm on 6.0-RELEASE, BTW.
>
> Cheers,
> -Wes

0.3.9_1 is trying to load pkgtools.conf, its not supposed to if ruby isn't 
installed or pkgtools.conf is missing so looks like you found a bug.
Will check it out and post a patch asap.

-Mike



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511251848.34267.ringworm01>