Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 2004 22:03:30 +0100
From:      r t g tan <rotan@seatle.demon.nl>
To:        freebsd-questions@freebsd.org
Subject:   Re: portsdb -U fails
Message-ID:  <20040131210329.GA1385@seatle.vredesdorp.nl>
In-Reply-To: <20040130212826.GA86385@xor.obsecurity.org>
References:  <20040130195143.GA93830@seatle.vredesdorp.nl> <20040130212826.GA86385@xor.obsecurity.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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 #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFAHBgePrUa+3sy+FMRAvYoAJ9AEa3/WUqhhl6P2v9eUb5krWAl7QCfUlYc
g8TwR56IrrT7ogQmKgcPTLo=
=zOu/
-----END PGP SIGNATURE-----
help

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