From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mNPDOYBgCF+0dAAA0tVLHw (envelope-from ) for ; Fri, 10 Jul 2020 12:35:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SCWZNYBgCF9ySwAAB5/wlQ (envelope-from ) for ; Fri, 10 Jul 2020 12:35:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7222A940AD5 for ; Fri, 10 Jul 2020 12:35:12 +0000 (UTC) Received: from localhost ([::1]:33442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtsFC-0004n2-FZ for larch@yhetil.org; Fri, 10 Jul 2020 08:35:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtsF4-0004mM-B0 for bug-guix@gnu.org; Fri, 10 Jul 2020 08:35:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59137) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtsF4-00054i-0F for bug-guix@gnu.org; Fri, 10 Jul 2020 08:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jtsF3-0001eJ-TS for bug-guix@gnu.org; Fri, 10 Jul 2020 08:35:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42151: [PATCH 0/3] offload to Childhurd fails: setting synchronous mode: locking protocol Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 10 Jul 2020 12:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42151 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: Jan Nieuwenhuizen Received: via spool by 42151-submit@debbugs.gnu.org id=B42151.15943844796303 (code B ref 42151); Fri, 10 Jul 2020 12:35:01 +0000 Received: (at 42151) by debbugs.gnu.org; 10 Jul 2020 12:34:39 +0000 Received: from localhost ([127.0.0.1]:42448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtsEg-0001db-Ot for submit@debbugs.gnu.org; Fri, 10 Jul 2020 08:34:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtsEf-0001dN-38 for 42151@debbugs.gnu.org; Fri, 10 Jul 2020 08:34:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33245) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtsEZ-0004y6-RA; Fri, 10 Jul 2020 08:34:31 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=53812 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jtsEY-0005B2-QO; Fri, 10 Jul 2020 08:34:31 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200701142929.26919-1-janneke@gnu.org> <87imf6rsir.fsf@gnu.org> <873668zzip.fsf@gnu.org> <87fta8ogf2.fsf@gnu.org> <87sge8wrdf.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 23 Messidor an 228 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 10 Jul 2020 14:34:28 +0200 In-Reply-To: <87sge8wrdf.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Fri, 03 Jul 2020 17:27:40 +0200") Message-ID: <87sgdzzgyz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 42151@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.49 X-TUID: L84t6+B98c5P Hi, Jan Nieuwenhuizen skribis: > Ludovic Court=C3=A8s writes: > > Hi! > >>> It seems there is a compatibility bug/problem/thing with the db.sqlite >>> that we produce on GNU/Linux. While an unpatched sqlite3 on the Hurd >>> can read it, and work with it, the unpatched sqlite has locking >>> problems. I found a workaround, though: dumping and loading the >>> database file. > > [..] > >>> So...about the compatibility problem. I tried to diff the db.sqlite-or= ig >>> db.sqlite-init binary files: they look completely different. Not sure >>> how to handle this workaround, maybe we can insert a two system* calls >>> somewhere when building the disk image? >> >> Weird, weird! >> >> Could you compare =E2=80=98db.dump=E2=80=99 created on GNU/Hurd with =E2= =80=98db.dump=E2=80=99 created >> from the same =E2=80=98sqlite3 -init=E2=80=99 command on GNU/Linux? > > Yeah, they are identical. The initial dump can only be created atm on > GNU/Linux; the dump can be loaded (obviously) anywhere like so > >>> $ sqlite3 -init db.dump db.sqlite-init .quit > > and the resulting initial db.sqlite is the same. Guess we can do that > by hand for now... > >> (Perhaps loading the dump reorders entries or something.) > > Yes, "or something" certainly! :) I have no clue... Sorry for catching up days later but=E2=80=A6 did disabling WAL mode fix th= is discrepancy? IOW, without WAL mode, is the file produced on GNU/Linux bit-identical to that produced on GNU/Hurd? > If/when we decide to pinpoint this bug, what could be a first step? Who > is creating the database right now, is that the C++ daemon or > guile-sqlite3. IWBN to have that code create/save a smaller version and > see when reading fails. As you found out it=E2=80=99s created by (guix store database) in this case. Thanks, Ludo=E2=80=99.