From: zimoun <zimon.toutoune@gmail.com>
To: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
Cc: Julien Lepiller <julien@lepiller.eu>, 57581@debbugs.gnu.org
Subject: bug#57581: Failing to build the website
Date: Mon, 05 Sep 2022 14:04:10 +0200 [thread overview]
Message-ID: <874jxmrps5.fsf@gmail.com> (raw)
In-Reply-To: <87a67ew0gp.fsf@pelzflorian.de>
Hi,
On lun., 05 sept. 2022 at 12:59, "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> wrote:
> zimoun <zimon.toutoune@gmail.com> writes:
>> $ LANG=en_US.UTF-8 GUIX_WEB_SITE_LOCAL=yes guix environment -C -m manifest.scm \
>> -E LANG -E GUIX_WEB_SITE_LOCAL --share=/tmp \
>> -- haunt build
>
> Yes but `guix build -f .guix.scm` fails for me too, perhaps because it
> uses latest-guix from %default-channels. It’s not fixed by using old
> haunt, so I guess a change in guix makes the difference, but I have not
> found the commit and will not continue looking for it immediately.
The file manifest.scm contains:
--8<---------------cut here---------------start------------->8---
(define the-good-guile
(car (assoc-ref (package-native-inputs guix) "guile")))
(define haunt-the-ghost
(package
(inherit haunt)
(name "haunt-for-guix-website")
(inputs
`(("guile" ,the-good-guile)
,@(alist-delete "guile" (package-inputs haunt))))))
--8<---------------cut here---------------end--------------->8---
and the file .guix.scm contains
--8<---------------cut here---------------start------------->8---
(define latest-guix
;; The latest Guix. Using it rather than the 'guix' package ensures we
;; build the latest package list.
(latest-channels %default-channels))
(define (inferior-package spec)
(first (lookup-inferior-packages
(inferior-for-channels
(latest-channels-channels latest-guix))
spec)))
;; Make sure that Haunt uses the same Guile as the one from
;; "latest-guix". Otherwise there could be a mismatch between the Guile
;; revision used by Haunt and the one from the latest Guix modules used by
;; Haunt.
(define haunt-with-latest-guile
(package
(inherit haunt)
(inputs
`(("guile" ,(inferior-package "guile"))
,@(package-inputs haunt)))))
--8<---------------cut here---------------end--------------->8---
so it should be the same Haunt. I mean, there is no gap between the
version of Guile of latest-guix and the package guix. But, I am missing
something because the failure comes from:
--8<---------------cut here---------------start------------->8---
(invoke #+(file-append haunt-with-latest-guile
"/bin/haunt")
"build")
--8<---------------cut here---------------end--------------->8---
It requires some investigations. :-)
Cheers,
simon
next prev parent reply other threads:[~2022-09-05 12:39 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-04 15:18 bug#57581: Failing to build the website Julien Lepiller
2022-09-05 8:35 ` zimoun
2022-09-05 10:27 ` Julien Lepiller
2022-09-05 11:57 ` zimoun
2022-09-05 10:59 ` pelzflorian (Florian Pelz)
2022-09-05 12:04 ` zimoun [this message]
2022-09-05 12:50 ` Julien Lepiller
2022-09-05 14:35 ` zimoun
2022-09-07 16:31 ` pelzflorian (Florian Pelz)
2022-09-07 17:07 ` zimoun
2022-09-07 17:14 ` Julien Lepiller
2022-09-08 8:00 ` zimoun
2022-09-13 14:41 ` Ludovic Courtès
2022-09-14 6:37 ` zimoun
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=874jxmrps5.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=57581@debbugs.gnu.org \
--cc=julien@lepiller.eu \
--cc=pelzflorian@pelzflorian.de \
/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).