From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CD9eHkGe/F58bAAA0tVLHw (envelope-from ) for ; Wed, 01 Jul 2020 14:31:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oBE0GkGe/F5AFAAAbx9fmQ (envelope-from ) for ; Wed, 01 Jul 2020 14:31:29 +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 B7ECA940220 for ; Wed, 1 Jul 2020 14:31:28 +0000 (UTC) Received: from localhost ([::1]:45140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqdln-0008Rw-Hn for larch@yhetil.org; Wed, 01 Jul 2020 10:31:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqdkQ-0006v2-Ej for bug-guix@gnu.org; Wed, 01 Jul 2020 10:30:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41992) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jqdkQ-0002su-1H for bug-guix@gnu.org; Wed, 01 Jul 2020 10:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jqdkP-0003Na-Tu for bug-guix@gnu.org; Wed, 01 Jul 2020 10:30: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: "Jan (janneke) Nieuwenhuizen" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 01 Jul 2020 14:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42151 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: 42151@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159361378712946 (code B ref -1); Wed, 01 Jul 2020 14:30:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Jul 2020 14:29:47 +0000 Received: from localhost ([127.0.0.1]:53538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jqdk6-0003Mg-IM for submit@debbugs.gnu.org; Wed, 01 Jul 2020 10:29:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:39342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jqdk2-0003MV-Kz for submit@debbugs.gnu.org; Wed, 01 Jul 2020 10:29:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39864) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqdk2-0006Uy-Cr for bug-guix@gnu.org; Wed, 01 Jul 2020 10:29:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39939) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqdk1-0002qH-CU; Wed, 01 Jul 2020 10:29:37 -0400 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=54982 helo=dundal.fritz.box) by fencepost.gnu.org with esmtpa (Exim 4.82) (envelope-from ) id 1jqdjy-0000n6-U0; Wed, 01 Jul 2020 10:29:35 -0400 From: "Jan (janneke) Nieuwenhuizen" Date: Wed, 1 Jul 2020 16:29:29 +0200 Message-Id: <20200701142929.26919-1-janneke@gnu.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: , 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.01 X-TUID: nYBAuQjJxZWh Hello Guix! I configured my system with a childhurd service and added --8<---------------cut here---------------start------------->8--- (build-machine (name "childhurd") (system "i586-gnu") (host-key "ssh-ed25519 ... root@childhurd") (user "root") (private-key "/home/janneke/.ssh/id_rsa_childhurd")) --8<---------------cut here---------------end--------------->8--- to /etc/guix/machines. Sadly, running guix offload test gives --8<---------------cut here---------------start------------->8--- $ guix offload test guix offload: testing 1 build machines defined in '/etc/guix/machines.scm'... guix offload: Guix is usable on 'childhurd' (test returned "/gnu/store/883yjkl46dxw9mzykykmbs0yzwyxm17z-test") guix offload: 'childhurd' is running GNU Guile 3.0.4 guix offload: error: exception occurred on remote host 'localhost': (%exception #>) --8<---------------cut here---------------end--------------->8--- So, I looked into the Debian/Hurd sqlite3 package for inspiration and found debian/patches/20-hurd-locking-style.patch...well, that should fix it, right? Sadly, this patch seems to break sqlite3 altogether. --8<---------------cut here---------------start------------->8--- $ guix offload test guix offload: testing 1 build machines defined in '/etc/guix/machines.scm'... Backtrace: In ice-9/boot-9.scm: 1736:10 11 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In unknown file: 10 (apply-smob/0 #) In ice-9/boot-9.scm: 718:2 9 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 8 (_ #(#(#))) In guix/ui.scm: 1949:12 7 (run-guix-command _ . _) 663:2 6 (call-with-error-handling _) In ice-9/boot-9.scm: 1736:10 5 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) 1731:15 4 (with-exception-handler # _ #:unwind? _ # …) In guix/scripts/offload.scm: 647:6 3 (check-machine-availability _ _) In srfi/srfi-1.scm: 650:11 2 (for-each # (#< pid: pipe socket: #) …) In guix/scripts/offload.scm: 582:2 1 (assert-node-has-guix #< pid: pipe socket: # …) In ice-9/boot-9.scm: 1669:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1669:16: In procedure raise-exception: ERROR: 1. &inferior-exception: arguments: (%exception #>) inferior: #< pid: pipe socket: # close: # version: (0 1 1) packages: #> table: #>> stack: ((#f ("ice-9/boot-9.scm" 1763 13)) (raise-exception ("ice-9/boot-9.scm" 1666 16)) (raise-exception ("ice-9/boot-9.scm" 1668 16)) (#f ("guix/store.scm" 582 42)) (with-exception-handler ("ice-9/boot-9.scm" 1735 10)) (open-connection ("guix/store.scm" 545 2)) (call-with-store ("guix/store.scm" 626 15)) (#f (#f #f #f)) (#f ("guix/repl.scm" 92 21)) (with-exception-handler ("ice-9/boot-9.scm" 1735 10)) (with-exception-handler ("ice-9/boot-9.scm" 1730 15)) (#f ("guix/repl.scm" 119 7))) --8<---------------cut here---------------end--------------->8--- Maybe we're missing some file_lock patch that Debian has? Where to look, glibc, hurd, ...? Ideas? Greetings, Janneke Jan (janneke) Nieuwenhuizen (3): gnu: Add sqlite/hurd with locking fix. gnu: guile-sqlite3: Use sqlite/hurd for locking on the Hurd. gnu: guix: Use sqlite/hurd for locking on the Hurd. gnu/local.mk | 1 + gnu/packages/guile.scm | 2 +- gnu/packages/package-management.scm | 2 +- gnu/packages/patches/sqlite3-hurd.patch | 51 +++++++++++++++++++++++++ gnu/packages/sqlite.scm | 9 +++++ 5 files changed, 63 insertions(+), 2 deletions(-) create mode 100644 gnu/packages/patches/sqlite3-hurd.patch -- Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com