Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2012 12:56:35 +0100
From:      Mathias Picker <Mathias.Picker@virtual-earth.de>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org, bdrewery@FreeBSD.org
Subject:   Re: pkgng: sqlite: database is locked
Message-ID:  <1355399795.5692.14.camel@mp>
In-Reply-To: <20121213111659.GB97984@ithaqua.etoilebsd.net>
References:  <1355396880.5692.7.camel@mp> <20121213111659.GB97984@ithaqua.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Oh well, after building pkg with debug the error went away... :(

I rebuild pkg just before I started portmaster -a the first time, so
either it's the time it took to rebuild pkg with debug, or the debug
build itself...

Portmaster is still running, so maybe it comes up again

Cheers, Mathias

Am Donnerstag, den 13.12.2012, 12:16 +0100 schrieb Baptiste Daroussin:
> On Thu, Dec 13, 2012 at 12:08:00PM +0100, Mathias Picker wrote:
> > (FYI: if I stop responding, I will be in hospital, I'm waiting for an
> > operation...)
> 
> Take care of yourself, we will continue investigating, health first !
> 
> > 
> > OK, I can reproduce it now reliably, running portmaster -a, the
> > following is happening three times now:
> > 
> > 
> sounds like a pkgng support in portmaster bugs we will investigate
> 
> Thanks.
> 
> regards,
> Bapt
> > 
> > ===>  Building for p5-IO-Socket-SSL-1.81
> > cp lib/IO/Socket/SSL.pm blib/lib/IO/Socket/SSL.pm
> > Manifying blib/man3/IO::Socket::SSL.3
> > pkg: sqlite: database is locked
> > Assertion failed: (db->lock_count == 0), function pkgdb_close, file
> > pkgdb.c, line 842.
> > Abort trap (core dumped)
> > 
> > 
> > No locks active
> > 
> > mp# fstat /var/db/pkg/pkgdb.db /var/db/pkg/local.sqlite
> > USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W
> > NAME
> > mp# sockstat | grep -e local.sqlite -e pkgdb.db        
> > mp# 
> > 
> > So I guess ist's a pkg problem
> > 
> > Which additional information might be needed to debug this?
> > 
> > I just wanted to recompile pkg with debug info, but get
> > 
> > mp# make
> > /usr/ports/ports-mgmt/pkg/work/pkg-1.0.3/pkg-static/pkg-static: not
> > found
> > *** [check-vulnerable] Error code 127
> > 
> > Stop in /usr/ports/ports-mgmt/pkg.
> > mp# make extract
> > /usr/ports/ports-mgmt/pkg/work/pkg-1.0.3/pkg-static/pkg-static: not
> > found
> > *** [check-vulnerable] Error code 127
> > 
> > Stop in /usr/ports/ports-mgmt/pkg.
> > 
> > ?? Never seen this... Will have to investigate before continuing.
> > 
> > / Mathias
> > 
> > _______________________________________________
> > freebsd-ports@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"





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