From owner-freebsd-questions@FreeBSD.ORG Sat Jan 31 13:02:12 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04BA616A4CE for ; Sat, 31 Jan 2004 13:02:12 -0800 (PST) Received: from seatle.demon.nl (seatle.demon.nl [195.173.228.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E2F143D2F for ; Sat, 31 Jan 2004 13:02:09 -0800 (PST) (envelope-from rotan@seatle.demon.nl) Received: from seatle.vredesdorp.nl (localhost [127.0.0.1]) by seatle.demon.nl (8.12.9p2/8.12.9) with ESMTP id i0VL3f8L078248 for ; Sat, 31 Jan 2004 22:03:41 +0100 (CET) (envelope-from rotan@seatle.vredesdorp.nl) Received: (from rotan@localhost) by seatle.vredesdorp.nl (8.12.9p2/8.12.9/Submit) id i0VL3Ubx076533 for freebsd-questions@freebsd.org; Sat, 31 Jan 2004 22:03:30 +0100 (CET) (envelope-from rotan) Date: Sat, 31 Jan 2004 22:03:30 +0100 From: r t g tan To: freebsd-questions@freebsd.org Message-ID: <20040131210329.GA1385@seatle.vredesdorp.nl> Mail-Followup-To: freebsd-questions@freebsd.org References: <20040130195143.GA93830@seatle.vredesdorp.nl> <20040130212826.GA86385@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline In-Reply-To: <20040130212826.GA86385@xor.obsecurity.org> User-Agent: Mutt/1.4.1i Subject: Re: portsdb -U fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2004 21:02:12 -0000 --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--