unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Paul Garlick <pgarlick@tourbillion-technology.com>
Cc: guix-devel@gnu.org
Subject: Re: Heads-up: New dependency on Guile-Gcrypt
Date: Wed, 05 Sep 2018 22:58:17 +0200	[thread overview]
Message-ID: <87ftynu0eu.fsf@gnu.org> (raw)
In-Reply-To: <1536146344.3092.20.camel@tourbillion-technology.com> (Paul Garlick's message of "Wed, 05 Sep 2018 12:19:04 +0100")

[-- Attachment #1: Type: text/plain, Size: 1074 bytes --]

Hi Paul,

Paul Garlick <pgarlick@tourbillion-technology.com> skribis:

>> ‘guix pull’ will happily perform the transition.
>
> For me, I have an older Guix (16th May) that fails to install guile-
> gcrypt.  As root:
>
> $ guix --version
> guix (GNU Guix) 6f84dc4314cd84550d9fc7e7afa11c495edc45a5
>
> When I try 'guix pull' there is an attempt to build guile-gcrypt
> locally that fails with the message './configure:  No such file or
> directory'.  I can see that the build procedure moves from the 'unpack'
> phase straight to the 'patch-usr-bin-file' phase with no 'bootstrap'
> phase in between.

Hmm…

> Aha, another chicken-and-egg, I thought; my older Guix does not have a
> 'bootstrap' phase.  However, I can see that the commit for adding the
> new phase was made on 11th March, so perhaps 'guix pull' is failing for
> a different reason.

Indeed, that may well be the reason.  Can you try to apply the patch
below in a local branch, and then run “make as-derivation”?

TIA, and apologies for the breakage!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1039 bytes --]

diff --git a/build-aux/build-self.scm b/build-aux/build-self.scm
index f472724f1..f91b43987 100644
--- a/build-aux/build-self.scm
+++ b/build-aux/build-self.scm
@@ -216,6 +216,16 @@ person's version identifier."
                    "1gir7ifknbmbvjlql5j6wzk7bkb5lnmq80q59ngz43hhpclrk5k3"))
                  (file-name (string-append name "-" version ".tar.gz"))))
        (build-system gnu-build-system)
+       (arguments
+        ;; The 'bootstrap' phase appeared in 'core-updates', which was merged
+        ;; into 'master' ca. June 2018.
+        '(#:phases (modify-phases %standard-phases
+                     (delete 'bootstrap)
+                     (add-before 'configure 'bootstrap
+                       (lambda _
+                         (unless (zero? (system* "autoreconf" "-vfi"))
+                           (error "autoreconf failed"))
+                         #t)))))
        (native-inputs
         `(("pkg-config" ,(specification->package "pkg-config"))
           ("autoconf" ,(specification->package "autoconf"))

  reply	other threads:[~2018-09-05 21:11 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-05 11:19 Heads-up: New dependency on Guile-Gcrypt Paul Garlick
2018-09-05 20:58 ` Ludovic Courtès [this message]
2018-09-06  9:24   ` Paul Garlick
2018-09-06 10:06   ` Ludovic Courtès
2018-09-06 11:58     ` Paul Garlick
2018-09-06 21:08       ` Ludovic Courtès
2018-09-10  9:34         ` Pjotr Prins
2018-09-10 11:15           ` Paul Garlick
2018-09-10 20:45             ` Ludovic Courtès
2018-09-11  9:54               ` Paul Garlick
2018-09-12 17:14                 ` Ludovic Courtès
2018-09-14 19:17                   ` Thorsten Wilms
2018-09-27  7:45                     ` Ricardo Wurmus
2018-09-27 11:36                       ` Thorsten Wilms
2018-09-06 21:14     ` Paul Garlick
  -- strict thread matches above, loose matches on Subject: below --
2018-09-02 16:35 Ludovic Courtès
2018-09-03 10:36 ` Christopher Lemmer Webber
2018-09-04 20:07   ` Alex Vong
2018-09-04 20:14     ` Leo Famulari
2018-09-04 21:33     ` Ludovic Courtès
2018-09-05 23:24       ` Alex Vong
2018-09-06  9:21         ` 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=87ftynu0eu.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=pgarlick@tourbillion-technology.com \
    /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).