From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: bug#37506: [core-updates] Inferiors cannot reference master branch Date: Sun, 29 Sep 2019 13:46:38 +0200 Message-ID: <87y2y78gv5.fsf@devup.no> References: <87muetaau0.fsf@devup.no> <87v9tehi4u.fsf@gnu.org> <87d0fm9bno.fsf@devup.no> <87a7aop59n.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:49430) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEXfL-0002hr-Vs for bug-guix@gnu.org; Sun, 29 Sep 2019 07:47:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iEXfK-0007Rd-JI for bug-guix@gnu.org; Sun, 29 Sep 2019 07:47:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43629) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iEXfK-0007RW-Fx for bug-guix@gnu.org; Sun, 29 Sep 2019 07:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iEXfK-0002Bk-CO for bug-guix@gnu.org; Sun, 29 Sep 2019 07:47:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87a7aop59n.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 37506@debbugs.gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hi Marius! > > Marius Bakke skribis: > >> Here is a manifest that reproduces this failure: >> >> (use-modules (guix channels) >> (guix inferior) >> (srfi srfi-1)) >> >> (define channels >> (list (channel >> (name 'guix) >> (url "https://git.savannah.gnu.org/git/guix.git") >> (commit "dec845606d2d184da31065fa26cd951b84b3ce2d")))) >> >> (define inferior >> (inferior-for-channels channels)) >> >> (packages->manifest (first (lookup-inferior-packages inferior "hello"))) > ^~~~~ > =E2=80=98packages->manifest=E2=80=99 expects a list, so I had to remove t= he call to =E2=80=98first=E2=80=99. Whoops... It still fails in the same way for me without the (first ...). > But then it works for me on both =E2=80=98core-updates=E2=80=99 and =E2= =80=98master=E2=80=99: > > --8<---------------cut here---------------start------------->8--- > $ ./pre-inst-env guix package -m /tmp/t.scm -p /tmp/prof > Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.= org/git/guix.git'... > installing new manifest from '/tmp/t.scm' with 1 entries > substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% > The following derivation will be built: > /gnu/store/4h0y9413i4nvdwccz5svv1m5y36l384v-profile.drv > The following profile hooks will be built: > /gnu/store/8rp1mzhlscri2ipx9xszld9sli79ywpn-ca-certificate-bundle.drv > /gnu/store/g2cvc48yn91igp7bvsv6bw5cz47gzgzs-fonts-dir.drv > /gnu/store/p5m0rag6q73qisrcnp0l79fdrp1hj2rv-manual-database.drv > /gnu/store/pvhkcys50sz2apq1pb05fgva2hky91ap-info-dir.drv > building CA certificate bundle... > building fonts directory... > building directory of Info manuals... > building database for manual pages... > building /gnu/store/4h0y9413i4nvdwccz5svv1m5y36l384v-profile.drv... > 1 package in profile > hint: Consider setting the necessary environment variables by running: > > GUIX_PROFILE=3D"/tmp/prof" > . "$GUIX_PROFILE/etc/profile" > > Alternately, see `guix package --search-paths -p "/tmp/prof"'. > > $ git log|head -1 > commit 3128d6a16a80d40d927c41f530dd48ebbb8a036d > --8<---------------cut here---------------end--------------->8--- > > Am I missing something? I have included a system configuration that works fine on 'master' but not on 'core-updates'. It consistently fails to `guix system build` across multiple machines, including "berlin". --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=minimal-vm.scm (use-modules (gnu) (gnu system nss) (guix inferior) (guix channels) (srfi srfi-1)) (use-service-modules base) (define channels (list (channel (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") (commit "9b983086345557ac0a6a40c8cb3a2afd5250d3ee")))) (define inferior (inferior-for-channels channels)) (operating-system (host-name "antelope") (timezone "Europe/Paris") (locale "en_US.utf8") (kernel (first (lookup-inferior-packages "linux-libre"))) (bootloader (bootloader-configuration (bootloader grub-bootloader) (target "/dev/sda"))) (file-systems (cons (file-system (device "/dev/sda1") (mount-point "/") (type "ext4")) %base-file-systems)) (users %base-user-accounts) (packages %base-packages) (services %base-services)) --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl2QmZ4ACgkQoqBt8qM6 VPqIIAgAzwkBwnRlTf36DYG5UcEDMgcbutUDwg+Doz9l7FGoI9OVaf3VB3JDG4UM juDYUIn93TUb64LoZRkKg7aMiBRWWox1mW/JIwdoBg22II9sAOOTeqoFXzfoUd2p GfjTfDTFMnBv+CuExUXeoimVOjLKqU5lEtbNdVlq0yidP5EWmleRNDo9oftpGwLp SZtAV139XoEjE7mqkZCYULtlnSDpftuM0fULChVPeMYxYA+0T4jl55Pci6vk8pPX 0hCSL8R7bhCN7P/7FXrWkzSKnF0NMaibzwdKwBZbe9UEh31b2vlzsf3DEF0u1Bms fYZQWhTG9Wsp2nOmKrh66tP3UURjuw== =0Zii -----END PGP SIGNATURE----- --==-=-=--