[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-questions
Subject:    Re: portsdb -U fails
From:       r t g tan <rotan () seatle ! demon ! nl>
Date:       2004-01-31 21:03:30
Message-ID: 20040131210329.GA1385 () seatle ! vredesdorp ! nl
[Download RAW message or body]


On Fri, Jan 30, 2004 at 01:28:26PM -0800, Kris Kennaway wrote:
> On Fri, Jan 30, 2004 at 08:51:43PM +0100, r t g tan wrote:
> > Hi,
> > 
> > Have done at least the following:
> >  1 -  fresh ports cvsup for all the ports
> >  2 -  rm /var/db/pkg/pkgdb.db
> >  3 -  pkgdb -F
> >  
> > However portsdb -U fails and generates a lot of
> > error messages like the following:
> > 
> >    *** Error code 2: malformed entry: *** Error code 2
> >    *** Error code 2: malformed entry: *** Error code 2
> >    *** Error code 2: malformed entry: *** Error code 2
> >    cd: can't cd to wmthemeinstall: malformed entry: cd: can't cd to wmthemeinstall
> >    cd: can't cd to wmx: malformed entry: cd: can't cd to wmx
> >    cd: can't cd to xfce: malformed entry: cd: can't cd to xfce
> > 
> > What is corrupted, and how can I fix this?
> 
> portsdb -U is broken - I sent mail to the author the other day, but
> didn't receive a reply yet.  In the meantime, you can edit
> /usr/local/sbin/make_describe_pass1 and change the 'make -j3' to
> 'make'.
> 
> Kris

Hi Kris,

The following line from /usr/local/sbin/make_describe_pass1:
	
	open("|cd #{dir} && make -k -j3 -f -", 'w') do |w|

I changed to:

	open("|cd #{dir} && make -", 'w') do |w|
	
now portsdb -U is running for quite some time.

I have no idea what it is doing though.

robert


[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic