From owner-freebsd-ports@FreeBSD.ORG Tue Jun 22 19:46:27 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D64316A4CE for ; Tue, 22 Jun 2004 19:46:27 +0000 (GMT) Received: from smtp.rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7218C43D2D for ; Tue, 22 Jun 2004 19:46:25 +0000 (GMT) (envelope-from itetcu@apropo.ro) Received: (qmail 15743 invoked by uid 89); 22 Jun 2004 19:43:45 -0000 Received: from unknown (HELO rdsnet.ro) (62.231.74.131) by 0 with SMTP; 22 Jun 2004 19:43:45 -0000 Received: (qmail 16210 invoked from network); 22 Jun 2004 19:46:09 -0000 Received: from unknown (HELO buh.cameradicommercio.ro) (81.196.25.19) by mail.rdsnet.ro with SMTP; 22 Jun 2004 19:46:09 -0000 Received: from it.buh.cameradicommercio.ro (it.buh.cameradicommercio.ro [192.168.0.10]) by buh.cameradicommercio.ro (Postfix) with ESMTP id 7C425632D; Tue, 22 Jun 2004 22:45:43 +0300 (EEST) Received: from localhost (localhost.buh.cameradicommercio.ro [127.0.0.1]) by it.buh.cameradicommercio.ro (Postfix) with ESMTP id 9976D193; Tue, 22 Jun 2004 22:51:58 +0300 (EEST) Received: from it.buh.cameradicommercio.ro ([127.0.0.1])port 10024) with ESMTP id 34481-01; Tue, 22 Jun 2004 22:51:58 +0300 (EEST) Received: from it.buh.cameradicommercio.ro (localhost.buh.cameradicommercio.ro [127.0.0.1]) by it.buh.cameradicommercio.ro (Postfix) with SMTP id 0C90021; Tue, 22 Jun 2004 22:51:58 +0300 (EEST) Date: Tue, 22 Jun 2004 22:51:57 +0300 From: Ion-Mihai Tetcu To: hans@lambermont.dyndns.org (Hans Lambermont) Message-Id: <20040622225157.7d2becf2@it.buh.cameradicommercio.ro> In-Reply-To: <20040622190124.GC54940@moya.lambermont.dyndns.org> References: <20040621152054.GA51551@moya.lambermont.dyndns.org> <20040622112500.6521cd5f@it.buh.cameradicommercio.ro> <20040622113649.GA78304@moya.lambermont.dyndns.org> <20040622144703.6db88a6e@it.buh.cameradicommercio.ro> <20040622130541.GA79008@moya.lambermont.dyndns.org> <20040622162612.50b22931@it.buh.cameradicommercio.ro> <20040622190124.GC54940@moya.lambermont.dyndns.org> X-Mailer: Sylpheed version 0.9.11claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at it.buh.cameradicommercio.ro cc: freebsd-ports@freebsd.org Subject: Re: portupgrade barfs [was: portdb -Uu fails] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2004 19:46:27 -0000 On Tue, 22 Jun 2004 21:01:24 +0200 hans@lambermont.dyndns.org (Hans Lambermont) wrote: > Ion-Mihai Tetcu wrote: > > > Hans Lambermont wrote: > >> Ion-Mihai Tetcu wrote: > ... > >>> cd /usr/ports/mail/postfix-current && mv Makefile.inc Makefile.inc.old > >> > >> Thanks, that worked. The .inc has : > >> BUILD_DEPENDS+= ${LOCALBASE}/lib/libldap.a:${PORTSDIR}/net/openldap > >> and re-cvsupping keeps it around. Nasty problem. > > > > This happens because the file is not on the cvs server, but is created > > by the configure script on postfix-current and cvsup does not delete > > files that doesn't come from cvs > > Yes, I know. I just didn't expect that ports keep config files around in > their directory ... Postfix* ain't converted to the new OPTIONS, so it use the old method of interactivity ;) Actually the old method is more flexible and powerful so for some ports I don't think it can be replaced by OPTIONS ( the way they are now ). > Next problem ;-) Actually portupgrading something ... something = ? > ---> Session started at: Tue, 22 Jun 2004 20:53:06 +0200 > [Updating the pkgdb in /var/db/pkg ... - 325 packages found (-1 +1) (...). done] > ---> Session ended at: Tue, 22 Jun 2004 20:53:14 +0200 (consumed 00:00:07) > /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:323:in `deorigin': cannot convert nil into String (PkgDB::DBError) > from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:916:in `tsort_build' > from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:915:in `each' > from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:915:in `tsort_build' > from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `each' > from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `tsort_build' > from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:929:in `sort_build' > from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:933:in `sort_build!' > from /usr/local/sbin/portupgrade:674:in `main' > from /usr/local/sbin/portupgrade:207:in `initialize' > from /usr/local/sbin/portupgrade:207:in `new' > from /usr/local/sbin/portupgrade:207:in `main' > from /usr/local/sbin/portupgrade:1845 > > re-cvsupping, cd /usr/ports/sysutils/portupgrade && make deinstall && > make install don't help. Probably a ruby bug. Rebuilding {pkg|ports}.db from scratch will do, I think. -- IOnut Unregistered ;) FreeBSD "user"