From owner-freebsd-ports@FreeBSD.ORG Thu Dec 13 11:08:11 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BF7A0F82 for ; Thu, 13 Dec 2012 11:08:11 +0000 (UTC) (envelope-from Mathias.Picker@virtual-earth.de) Received: from www94.your-server.de (www94.your-server.de [213.133.104.94]) by mx1.freebsd.org (Postfix) with ESMTP id 787BA8FC08 for ; Thu, 13 Dec 2012 11:08:11 +0000 (UTC) Received: from [92.230.240.230] (helo=[192.168.178.33]) by www94.your-server.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.74) (envelope-from ) id 1Tj6e4-0006eS-51 for freebsd-ports@freebsd.org; Thu, 13 Dec 2012 12:08:04 +0100 Subject: pkgng: sqlite: database is locked From: Mathias Picker To: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" Organization: virtual earth GmbH Date: Thu, 13 Dec 2012 12:08:00 +0100 Message-ID: <1355396880.5692.7.camel@mp> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Authenticated-Sender: Mathias.Picker@virtual-earth.de X-Virus-Scanned: Clear (ClamAV 0.97.5/15762/Thu Dec 13 10:37:42 2012) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Dec 2012 11:08:11 -0000 (FYI: if I stop responding, I will be in hospital, I'm waiting for an operation...) OK, I can reproduce it now reliably, running portmaster -a, the following is happening three times now: ===> 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