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 +N0MOwaqrV9CBQAA0tVLHw (envelope-from ) for ; Thu, 12 Nov 2020 21:32:54 +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 mMHYNgaqrV+XHAAAB5/wlQ (envelope-from ) for ; Thu, 12 Nov 2020 21:32:54 +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 AC7F694011A for ; Thu, 12 Nov 2020 21:32:54 +0000 (UTC) Received: from localhost ([::1]:46852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdKD7-0002ML-KP for larch@yhetil.org; Thu, 12 Nov 2020 16:32:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdKCt-0002Lb-8v for guix-devel@gnu.org; Thu, 12 Nov 2020 16:32:39 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:32897) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdKCr-0001mN-PF; Thu, 12 Nov 2020 16:32:38 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=58706 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kdKCr-0002lF-13; Thu, 12 Nov 2020 16:32:37 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Vagrant Cascadian Subject: Re: Guix now in Debian experimental! References: <875z6atqic.fsf@yucca> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 Brumaire an 229 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: Thu, 12 Nov 2020 22:32:35 +0100 In-Reply-To: <875z6atqic.fsf@yucca> (Vagrant Cascadian's message of "Thu, 12 Nov 2020 09:48:59 -0800") Message-ID: <87d00ifeh8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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.51 X-TUID: vCRAH/dtF75G Hi! Vagrant Cascadian skribis: > It's been a long haul getting all the build dependencies of guix into > Debian, but it has finally paid off: > > https://tracker.debian.org/pkg/guix > > So now you can install guix from Debian's experimental distribution! Yay! Quite an achievement, thumbs up, party time! :-) > There are many tests that make use of bootstrap binaries which attempt > to download them during running the tests, despite networking not being > available. I have patched these tests to also not run when the network > is unreachable: > > https://salsa.debian.org/debian/guix/-/tree/debian/devel/debian/patches > > My guess is these bootstrap binaries are available as inputs during the > guix package builds of guix? Yes, there=E2=80=99s a phase that copies the bootstrap Guile tarball and the bootstrap executables (bash, mkdir, tar, and xz): https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/package-mana= gement.scm#n225 More precisely, it adds them to the temporary store used for the tests, in a way that=E2=80=99s similar to =E2=80=9Cguix download file://$PWD/mkdir= =E2=80=9D etc. That way, running =E2=80=9C./test-env guix build guile-bootstrap=E2=80=9D w= on=E2=80=99t try to download =E2=80=98guile-bootstrap-2.0.tar.xz=E2=80=99 because it=E2=80=99ll= notice that it=E2=80=99s already in store, with the right hash. Those binaries are listed as inputs further below: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/package-mana= gement.scm#n375 On IRC I mentioned that perhaps you could use Debian=E2=80=99s /bin/mkdir e= tc., but I was wrong: the hashes really all have to match those that appear in gnu/packages/bootstrap.scm. > I've also patched out a few tests that seemed non-deterministic, and a > few that were simply inscrutible as to why they failed. Probably need to > file bugs about those at some point... :) Yup. :-) > In all, this ends up disabling about 200 out of 1100 tests in the Debian > packages. I will explore another option to run those tests outside of > the build, where network can be used, against the installed package > using: > > https://ci.debian.net Could be an option! > > It actually builds on both amd64 and i386 with some of the above > mentioned tests disabled: > > https://buildd.debian.org/status/package.php?p=3Dguix&suite=3Dexperimen= tal > > On armhf (ARMv7), it successfully built, but failed some test suites > that passed on amd64/i386. > > On armel (ARMv4t?), where it probably shouldn't even attempt to build, > it failed in the same way it failed on armhf... > > On arm64, guile-gnutls isn't available for guile-3.0, so it cannot > build: > > https://bugs.debian.org/966714 Bah. :-/ > An alternative would be to build guix against guile-2.2, which has > guile-gnutls, although I did manage to find... more test suite failures > on guile-2.2 (tests/lint.scm), including one which seemed to run > indefinitely(tests/swh.scm), an infinitely thorough test! > > If the guile-gnutls issues do not get sorted out soon, building against > guile-2.2 is a plausible backup plan for getting guix 1.2 into the next > Debian release (speculated to be released mid 2021)... Do you think Andreas (or you?) could give us the backtrace of the GnuTLS test that hangs? > For other architectures, it would require considerably more courage, > though there has been work on a few of those architectures in guix > recently (e.g. hurd-i386, mips64el, powerpc, ppc64, ppc64el, and even > talk of riscv64). Would it be interesting to run guix on one of the > more exotic architectures, Debian GNU/kFreeBSD? :) It would! But that=E2=80=99d also meaning porting Guix (the packages) ther= e. :-) > Well, thanks for reading the status update from your entirely unofficial > Debian-Guix or Guix-Debian ambassador. Congrats on your diplomatic efforts, dear ambassador, and a huge thank you! Ludo=E2=80=99.