From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:47448) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyvJO-0002tb-2H for guix-patches@gnu.org; Tue, 04 Feb 2020 05:20:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iyvJK-0008JA-8O for guix-patches@gnu.org; Tue, 04 Feb 2020 05:20:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36662) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iyvJK-0008IB-2s for guix-patches@gnu.org; Tue, 04 Feb 2020 05:20:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iyvJJ-0000uG-T2 for guix-patches@gnu.org; Tue, 04 Feb 2020 05:20:01 -0500 Subject: [bug#39258] Faster guix search using an sqlite cache Resent-Message-ID: MIME-Version: 1.0 References: In-Reply-To: From: zimoun Date: Tue, 4 Feb 2020 11:19:13 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Arun Isaac Cc: 39258@debbugs.gnu.org Hi, On Sun, 2 Feb 2020 at 22:16, Arun Isaac wrote: > Thank you, this was useful. I was able to catch and report the error. I Where have you reported the error? > also found the log file for the guix-package-cache profile hook. It says > > (repl-version 0 0) > Generating package cache for '/gnu/store/b6f9b5qbcn4r932whrr6m15rdimbgrhs-profile'... > (exception sqlite-error (value sqlite-open) (value 14) (value "Unable to open the database file")) > > This could be a permission error, or something to do with the existence > or lack thereof of certain directories (such as /var) in the chroot of > the build daemon. I'm still figuring it out. Hum? And this should explain why it is working with the REPL and not with the CLI, right? > I'm also in half a mind to get some guile xapian bindings ready so we > can just do that instead of messing with sqlite here. But, let's > see. :-P Cool! Let me know if you push something somewhere. Cheers, simon