Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 2004 22:51:57 +0300
From:      Ion-Mihai Tetcu <itetcu@apropo.ro>
To:        hans@lambermont.dyndns.org (Hans Lambermont)
Cc:        freebsd-ports@freebsd.org
Subject:   Re: portupgrade barfs [was: portdb -Uu fails]
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <format:bdb1_btree> 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"



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