From: Marius Bakke <mbakke@fastmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 37506@debbugs.gnu.org
Subject: bug#37506: [core-updates] Inferiors cannot reference master branch
Date: Sun, 29 Sep 2019 13:46:38 +0200 [thread overview]
Message-ID: <87y2y78gv5.fsf@devup.no> (raw)
In-Reply-To: <87a7aop59n.fsf@gnu.org>
[-- Attachment #1.1: Type: text/plain, Size: 2505 bytes --]
Ludovic Courtès <ludo@gnu.org> writes:
> Hi Marius!
>
> Marius Bakke <mbakke@fastmail.com> 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")))
> ^~~~~
> ‘packages->manifest’ expects a list, so I had to remove the call to ‘first’.
Whoops... It still fails in the same way for me without the (first ...).
> But then it works for me on both ‘core-updates’ and ‘master’:
>
> --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="/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".
[-- Attachment #1.2: minimal-vm.scm --]
[-- Type: text/plain, Size: 943 bytes --]
(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))
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2019-09-29 11:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-24 17:00 bug#37506: [core-updates] Inferiors cannot reference master branch Marius Bakke
2019-09-26 21:17 ` Ludovic Courtès
2019-09-27 12:16 ` Marius Bakke
2019-09-28 19:52 ` Ludovic Courtès
2019-09-29 11:46 ` Marius Bakke [this message]
2019-09-29 19:27 ` Ludovic Courtès
[not found] ` <handler.37506.D37506.156978528014320.notifdone@debbugs.gnu.org>
2019-09-30 8:15 ` Ludovic Courtès
2019-10-02 9:40 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y2y78gv5.fsf@devup.no \
--to=mbakke@fastmail.com \
--cc=37506@debbugs.gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).