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>

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

--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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,
> >=20
> > Have done at least the following:
> >  1 -  fresh ports cvsup for all the ports
> >  2 -  rm /var/db/pkg/pkgdb.db
> >  3 -  pkgdb -F
> > =20
> > However portsdb -U fails and generates a lot of
> > error messages like the following:
> >=20
> >    *** 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 wmt=
hemeinstall
> >    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
> >=20
> > What is corrupted, and how can I fix this?
>=20
> 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'.
>=20
> Kris

Hi Kris,

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

I changed to:

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

I have no idea what it is doing though.

robert


--IJpNTDwzlM2Ie8A6
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

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

--IJpNTDwzlM2Ie8A6--



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