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 8JX/LiVgh184fAAA0tVLHw (envelope-from ) for ; Wed, 14 Oct 2020 20:31:33 +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 +APAKiVgh18VFwAAbx9fmQ (envelope-from ) for ; Wed, 14 Oct 2020 20:31:33 +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 39E0F9402A0 for ; Wed, 14 Oct 2020 20:31:33 +0000 (UTC) Received: from localhost ([::1]:38286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSnQp-0005Fw-UN for larch@yhetil.org; Wed, 14 Oct 2020 16:31:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSnQf-0005Fc-6W for guix-devel@gnu.org; Wed, 14 Oct 2020 16:31:21 -0400 Received: from mail-qt1-x830.google.com ([2607:f8b0:4864:20::830]:39508) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kSnQd-0001zu-Dj; Wed, 14 Oct 2020 16:31:20 -0400 Received: by mail-qt1-x830.google.com with SMTP id c13so272527qtx.6; Wed, 14 Oct 2020 13:31:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=G8iUSsED9yh63f2kG6nvsbSboWdHhdc6N8L8eLnF0nU=; b=khr8qUADsuXhDkT8kNXe/HGLIAPN0CKFM5TGvWR4wJjWWPOIErCWs0VCN6tlBt7dgq LGy0LJfBzjBVydeXr+EFeEggBueJu2eduE2KF7t9CIh82m+oXJitRapKYffPN2g/wReE AfQh+6lYkoNxvGYP6oAga2qNn1GTELFVhF39KiHqCvxDsMPSemuOXGwwbO7F9GrU3Bor xfvYrDYXN74B6Vsr4Y85dMUdnuFbVQJV6EgWhjtPJCbAoouzbRtldvQkFznvgAquTFa7 W74QPPY44CEGGrgDrnHx14red5kGcv9Dsh5vTsLDLCxllfiljYMiqEp9U0cYP6HiOKtW jpaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=G8iUSsED9yh63f2kG6nvsbSboWdHhdc6N8L8eLnF0nU=; b=HMjzOK8qsrIm00/yG+A/Fbe51/WNIAAOujsgs2/B3RMOx1OiC16sgtV9feeS6pzBIz xUlxrfnyZJVHK2YwwKmIMVP1CLAYaCo/7Rhv5tRPp32r0ORURGk758DtdG19W6ZNSp1F b8eZXAe2eY6Fnp6GPcyiIC1Bz3ya/lWXOWNWlouOEBKmIFLq6yyr30mSjMA+jac7QAff mJWP1n5UrtFJcA8eyq91Q0tN0O6mn/zC4WHV1R9ihc4NQJH5latgQjAgD5MAFzqM0xcp WzyO+SyR2BW2SNnEkC5l0Gxrwulhv/B8lCuOGUtektZfmPGFlXySuHPqzc+sw+Uya5i3 VZMw== X-Gm-Message-State: AOAM530Nxnjzp57Tot31aQJR91BxYioAviJnjZxZzls2OC7+3F1rTN/D VBSA8a8JJBwZmoAvNYma5mCcD6LyCeereSZbdhEXq2en2PY= X-Google-Smtp-Source: ABdhPJwtSp500p2PrjLc4JE14HlWw4zDoDArJ+Ue0+ZuQ6twGx86y2Q9pL3UjL2VHyibiAdKRgpyMuflny0dGyw1PQg= X-Received: by 2002:ac8:3663:: with SMTP id n32mr1025478qtb.354.1602707476793; Wed, 14 Oct 2020 13:31:16 -0700 (PDT) MIME-Version: 1.0 References: <87h7r496z1.fsf@gnu.org> <86eem1jg0i.fsf@gmail.com> <87lfg8evx0.fsf@gnu.org> In-Reply-To: <87lfg8evx0.fsf@gnu.org> From: zimoun Date: Wed, 14 Oct 2020 22:31:05 +0200 Message-ID: Subject: Re: [BLOG] Childhurds and GNU/Hurd substitutes To: Jan Nieuwenhuizen Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::830; envelope-from=zimon.toutoune@gmail.com; helo=mail-qt1-x830.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=khr8qUAD; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.71 X-TUID: M19dLwmwjDJ0 Dear Janneke, Thank you for the help! I have fun. :-) On Wed, 14 Oct 2020 at 16:15, Jan Nieuwenhuizen wrote: > > Using this command line (from gnu/system/examples/bare-hurd.tmpl): > > > > guix environment --ad-hoc qemu \ > > -- qemu-system-i386 -enable-kvm -m 512 \ > > -device rtl8139,netdev=3Dnet0 -netdev user,id=3Dnet0,hostfwd= =3Dtcp:127.0.0.1:10022-:2222 \ > > -snapshot -hda \ > > $(guix system disk-image -t hurd-raw bare-hurd.tmpl) > > > > it is telling me that the =E2=80=99ssh=E2=80=99 service is not started.= Therefore, > > > > ssh -p 10022 root@localhost > > ssh: connect to host localhost port 10022: Connection refused > > > > What do I miss? > > I have no idea. This exact command works for me. Maybe you had bad > luck/try again? Does `herd start ssh' work after you login as root? > > It could be that your "bad luck" comes from qemu networking -- maybe you > could try running your foreign distro's qemu instead of guix's? I do not know if it was bad luck or if "herd start ssh" does the trick but here we go! \o/ --8<---------------cut here---------------start------------->8--- $ ssh -p 10022 root@localhost The authenticity of host '[localhost]:10022 ([127.0.0.1]:10022)' can't be established. ECDSA key fingerprint is SHA256:iETZ8thOyFqk+35g02tRW9FRzLqilgYYlxWr/9xn/kI= . Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '[localhost]:10022' (ECDSA) to the list of known hosts. =EE=BC=80=EE=BC=81=EE=BC=82=EE=BC=83=EE=BC=84=EE=BC=85 =EE=BC=86=EE=BC=87=EE=BC=88=EE=BC=89=EE=BC=8A=EE=BC=8B =EE=BC=8C=EE=BC=8D=EE=BC=8E=EE=BC=8F=EE=BC=90=EE=BC=91 This is the GNU Hur= d. Welcome. --8<---------------cut here---------------end--------------->8--- Thank you. > > Last, I am confused: > > > > debian$ guix build hello --target=3Di586-pc-gnu hello > > /gnu/store/09sz4qsqp3zgnbaxhzppspaxihwmfzll-hello-2.10 [..] > It's tricky; --target is !=3D --system: --target is a cross-build. IOW, > --system =3D> (%current-system), --target =3D> (%current-target-system). > > So, > > guix build hello --system=3Di586-gnu hello > > should give the identical hash. What is the target? i586-pc-gnu or i586-gnu? The blog post mentions 'i586-pc-gnu' at the beginning and then 'i586-gnu'. I suppose it is 'i586-gnu' since using this target produces the expected hash. What do I miss? All the best, simon