unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* guile-git repository renamed: cannot upgrade
@ 2017-08-05 19:36 Ricardo Wurmus
  2017-08-05 21:17 ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Ricardo Wurmus @ 2017-08-05 19:36 UTC (permalink / raw)
  To: guix-devel

Hi Guix,

I’ve just installed GuixSD from the latest release on a server and
wanted to upgrade, so I ran “guix pull”.

Unfortunately, this fails as it attempts to download “guile-git”, which
has been moved from https://gitlab.com/amirouche/guile-git/ to
https://gitlab.com/guile-git/guile-git/.

The result is this:

--8<---------------cut here---------------start------------->8---
Starting download of /tmp/guix-file.ii1CKK
From https://git.savannah.gnu.org/cgit/guix.git/snapshot/master.tar.gz...
 ?.tar.gz                                   700KiB/s 00:20 | 13.4MiB transferred
unpacking '/gnu/store/7kr7jvwrk37nl7c29kn4kicmf8jl302g-guix-latest.tar.gz'...
Cloning into '/gnu/store/1rdw2svz4pyislan7q67mnk70c13sczm-guile-git-0.0-2.06f9fc3-checkout'...
remote: Project 'amirouche/guile-git' was moved to 'guile-git/guile-git'.
remote:
remote: Please update your Git remote and try again:
remote:
remote:   git remote set-url origin https://gitlab.com/guile-git/guile-git.git
fatal: repository 'https://gitlab.com/amirouche/guile-git/' not found
environment variable `PATH' unset
builder for `/gnu/store/3xp8ca3shq6dz849c0jy6qa3z231bmrw-guile-git-0.0-2.06f9fc3-checkout.drv' failed to produce output path `/gnu/store/1rdw2svz4pyislan7q67mnk70c13sczm-guile-git-0.0-2.06f9fc3-checkout'
cannot build derivation `/gnu/store/rl7ms8rmbywvydy4qf656g1sdfxafb7r-guile-git-0.0-2.06f9fc3.drv': 1 dependencies couldn't be built
guix pull: error: build failed: build of `/gnu/store/rl7ms8rmbywvydy4qf656g1sdfxafb7r-guile-git-0.0-2.06f9fc3.drv' failed
--8<---------------cut here---------------end--------------->8---

I expect that anyone trying to upgrade from 0.13.0 will experience this
problem and be stuck at 0.13.0 unless they use Guix from git.  Can we do
something about this?

Why is guile-git built from source?  Can we download a substitute
instead?

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: guile-git repository renamed: cannot upgrade
  2017-08-05 19:36 guile-git repository renamed: cannot upgrade Ricardo Wurmus
@ 2017-08-05 21:17 ` Ludovic Courtès
  2017-08-06 13:45   ` guile-git trouble (building from source) Pjotr Prins
  2017-08-06 18:31   ` guile-git repository renamed: cannot upgrade Ricardo Wurmus
  0 siblings, 2 replies; 7+ messages in thread
From: Ludovic Courtès @ 2017-08-05 21:17 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

Hi,

Ricardo Wurmus <rekado@elephly.net> skribis:

> I’ve just installed GuixSD from the latest release on a server and
> wanted to upgrade, so I ran “guix pull”.
>
> Unfortunately, this fails as it attempts to download “guile-git”, which
> has been moved from https://gitlab.com/amirouche/guile-git/ to
> https://gitlab.com/guile-git/guile-git/.
>
> The result is this:
>
> Starting download of /tmp/guix-file.ii1CKK
> From https://git.savannah.gnu.org/cgit/guix.git/snapshot/master.tar.gz...
>  ?.tar.gz                                   700KiB/s 00:20 | 13.4MiB transferred
> unpacking '/gnu/store/7kr7jvwrk37nl7c29kn4kicmf8jl302g-guix-latest.tar.gz'...
> Cloning into '/gnu/store/1rdw2svz4pyislan7q67mnk70c13sczm-guile-git-0.0-2.06f9fc3-checkout'...
> remote: Project 'amirouche/guile-git' was moved to 'guile-git/guile-git'.
> remote:
> remote: Please update your Git remote and try again:
> remote:
> remote:   git remote set-url origin https://gitlab.com/guile-git/guile-git.git
> fatal: repository 'https://gitlab.com/amirouche/guile-git/' not found
> environment variable `PATH' unset
> builder for `/gnu/store/3xp8ca3shq6dz849c0jy6qa3z231bmrw-guile-git-0.0-2.06f9fc3-checkout.drv' failed to produce output path `/gnu/store/1rdw2svz4pyislan7q67mnk70c13sczm-guile-git-0.0-2.06f9fc3-checkout'
> cannot build derivation `/gnu/store/rl7ms8rmbywvydy4qf656g1sdfxafb7r-guile-git-0.0-2.06f9fc3.drv': 1 dependencies couldn't be built
> guix pull: error: build failed: build of `/gnu/store/rl7ms8rmbywvydy4qf656g1sdfxafb7r-guile-git-0.0-2.06f9fc3.drv' failed

There should be substitutes, at least for the source:

--8<---------------cut here---------------start------------->8---
$ wget -O - https://hydra.gnu.org/1rdw2svz4pyislan7q67mnk70c13sczm.narinfo
--2017-08-05 23:15:13--  https://hydra.gnu.org/1rdw2svz4pyislan7q67mnk70c13sczm.narinfo
Ni solvigas hydra.gnu.org (hydra.gnu.org)... 18.4.89.46
Konektado al hydra.gnu.org (hydra.gnu.org)|18.4.89.46|:443... konektita.
HTTP peto sendita, ni atendas respondon... 200 OK
Grando: 3469 (3.4K) [application/x-nix-narinfo]
Ni konservas al: 'STDOUT'

-                                              0%[                                                                                               ]       0  --.-KB/s               StorePath: /gnu/store/1rdw2svz4pyislan7q67mnk70c13sczm-guile-git-0.0-2.06f9fc3-checkout
URL: guix/nar/gzip/1rdw2svz4pyislan7q67mnk70c13sczm-guile-git-0.0-2.06f9fc3-checkout
Compression: gzip
NarHash: sha256:0rcq0f8dhl89ia7336bq8y279q5ada0b1kabcqw9zl3125k3cp4v
NarSize: 247560
References: 
FileSize: 70532
System: armhf-linux
Deriver: nw4fg5pp83wqgk9030l0idm09cmgmp7g-guile-git-0.0-2.06f9fc3-checkout.drv
Signature: 1;20121227-hydra.gnu.org;KHNpZ25hdHVyZSAKIChkYXRhIAogIChmbGFncyBwa2NzMSkKICAoaGFzaCBzaGEyNTYgI0VFRkMwOEI5OTEzMTY5RkNDNDQ4QTlBN0I2MkFGOTFEMDBDMjg2RDEzMTA2ODQ2OEUzMEExQjlBQUM0NjdERTkjKQogICkKIChzaWctdmFsIAogIChyc2EgCiAgIChzICM0MDUzQ0QxMjZCNTU0QzUwQ0QzMThDRjcwQjFEQjQ0MDYzNEFEMzEyNEY1NzM3OUU5QjE2REVENDU0QzNFNTg3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Tg2QkE2NTkyQjI5MTZDQTIyQ0YxRTQwRkM4NUY4NUNBQ0E1OTA0NjExNTRGNThGMzU4MEIxNjM5ODkwOEVGMzIwNzZGNDExMjk5QzI4NzI3Qzk0RDg4QjZBNjE4Rjg0REQ3M0FFQkVEODI3MEJDQjY2OTA5MjhDQjFCRjI1MEMzNUUxRjZCRjNCMUIzMEQwNUJBMjQ2RUNFOEY2OUQ5MDY1REUyNkY0QjNFMEQ4MTRENzBBOUMyN0NCNUI3QjA1MEM5MDkwNTkwRDNBOUVGODMzNzRGMjY0M0U1NDQ2RkJEMzlEREIxMjREQkY2REZEQUE2RDE4RTI1NjBBRDBDQkZBMTFDOTU5QzlCNzMxNkJGMTk5NjNBMTkxOTY3MDU0RTlGRDk3REMxNEQ3MTA4MkIzMEIxQzkwQTQ2RTg5OTY2ODI0NzRDM0JDQjUxQkEwODgyOTU4ODk3QjZERDM1RTQxQjUxNzREMEE2QkNERTk3Qjg5MDQzRTk1QkQxQjcwREU2MURBNjY2ODkzQjQxNzE5NkExODAwMDU0NjZCQzNBNzQyRkRGMDRFODlCMDQ0NjBFM0U2QkM3MkU3RjFCNUZFQTVCMzA5MkZFRTU1MUEzQzQ0N0MxMkUxMDRFNjUjKQogICAoZSAjMDEwMDAxIykKICAgKQogICkKICkK
-                                            100%[==============================================================================================>]   3.39K  --.-KB/s    en 0s      

2017-08-05 23:15:14 (184 MB/s) - skribita al ĉefeligujo [3469/3469]
--8<---------------cut here---------------end--------------->8---

(Hmm, this is armhf-linux?)

But yeah, the problem remains for someone building from source.  :-/

Ludo’.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* guile-git trouble (building from source)
  2017-08-05 21:17 ` Ludovic Courtès
@ 2017-08-06 13:45   ` Pjotr Prins
  2017-08-07  0:26     ` Christopher Allan Webber
  2017-08-21 11:02     ` guile-git trouble (building from source) Pjotr Prins
  2017-08-06 18:31   ` guile-git repository renamed: cannot upgrade Ricardo Wurmus
  1 sibling, 2 replies; 7+ messages in thread
From: Pjotr Prins @ 2017-08-06 13:45 UTC (permalink / raw)
  To: Ludovic Court??s; +Cc: guix-devel

> But yeah, the problem remains for someone building from source.  :-/

I am facing issues with guile-git. 

I wish we had a bullet proof way of installing from source. I had it
with guix environment and now that won't work because guile-git is
missing and I can't bootstrap...

Pj.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: guile-git repository renamed: cannot upgrade
  2017-08-05 21:17 ` Ludovic Courtès
  2017-08-06 13:45   ` guile-git trouble (building from source) Pjotr Prins
@ 2017-08-06 18:31   ` Ricardo Wurmus
  1 sibling, 0 replies; 7+ messages in thread
From: Ricardo Wurmus @ 2017-08-06 18:31 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel


Hi Ludo,

Ludovic Courtès <ludo@gnu.org> writes:

> Ricardo Wurmus <rekado@elephly.net> skribis:
>
>> I’ve just installed GuixSD from the latest release on a server and
>> wanted to upgrade, so I ran “guix pull”.
>>
>> Unfortunately, this fails as it attempts to download “guile-git”, which
>> has been moved from https://gitlab.com/amirouche/guile-git/ to
>> https://gitlab.com/guile-git/guile-git/.
>>
>> The result is this:
>>
>> Starting download of /tmp/guix-file.ii1CKK
>> From https://git.savannah.gnu.org/cgit/guix.git/snapshot/master.tar.gz...
>>  ?.tar.gz                                   700KiB/s 00:20 | 13.4MiB transferred
>> unpacking '/gnu/store/7kr7jvwrk37nl7c29kn4kicmf8jl302g-guix-latest.tar.gz'...
>> Cloning into '/gnu/store/1rdw2svz4pyislan7q67mnk70c13sczm-guile-git-0.0-2.06f9fc3-checkout'...
>> remote: Project 'amirouche/guile-git' was moved to 'guile-git/guile-git'.
>> remote:
>> remote: Please update your Git remote and try again:
>> remote:
>> remote:   git remote set-url origin https://gitlab.com/guile-git/guile-git.git
>> fatal: repository 'https://gitlab.com/amirouche/guile-git/' not found
>> environment variable `PATH' unset
>> builder for `/gnu/store/3xp8ca3shq6dz849c0jy6qa3z231bmrw-guile-git-0.0-2.06f9fc3-checkout.drv' failed to produce output path `/gnu/store/1rdw2svz4pyislan7q67mnk70c13sczm-guile-git-0.0-2.06f9fc3-checkout'
>> cannot build derivation `/gnu/store/rl7ms8rmbywvydy4qf656g1sdfxafb7r-guile-git-0.0-2.06f9fc3.drv': 1 dependencies couldn't be built
>> guix pull: error: build failed: build of `/gnu/store/rl7ms8rmbywvydy4qf656g1sdfxafb7r-guile-git-0.0-2.06f9fc3.drv' failed
>
> There should be substitutes, at least for the source:
[…]

Indeed.  I had substitutes disabled in the daemon configuration (this is
a build host).

> (Hmm, this is armhf-linux?)

It should be x86_64.

> But yeah, the problem remains for someone building from source.  :-/

Why does this happen with “guix pull”, though?  Is “guile-git”
absolutely required by “guix pull”?

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: guile-git trouble (building from source)
  2017-08-06 13:45   ` guile-git trouble (building from source) Pjotr Prins
@ 2017-08-07  0:26     ` Christopher Allan Webber
  2017-08-11 14:55       ` guile-git trouble (building from source) - guix archive to the rescue Pjotr Prins
  2017-08-21 11:02     ` guile-git trouble (building from source) Pjotr Prins
  1 sibling, 1 reply; 7+ messages in thread
From: Christopher Allan Webber @ 2017-08-07  0:26 UTC (permalink / raw)
  To: Pjotr Prins; +Cc: guix-devel

Pjotr Prins writes:

>> But yeah, the problem remains for someone building from source.  :-/
>
> I am facing issues with guile-git. 
>
> I wish we had a bullet proof way of installing from source. I had it
> with guix environment and now that won't work because guile-git is
> missing and I can't bootstrap...
>
> Pj.

Save us, content addressed storage! :)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: guile-git trouble (building from source) - guix archive to the rescue
  2017-08-07  0:26     ` Christopher Allan Webber
@ 2017-08-11 14:55       ` Pjotr Prins
  0 siblings, 0 replies; 7+ messages in thread
From: Pjotr Prins @ 2017-08-11 14:55 UTC (permalink / raw)
  To: Christopher Allan Webber; +Cc: guix-devel

On Sun, Aug 06, 2017 at 07:26:25PM -0500, Christopher Allan Webber wrote:
> > I wish we had a bullet proof way of installing from source. I had it
> > with guix environment and now that won't work because guile-git is
> > missing and I can't bootstrap...
> 
> Save us, content addressed storage! :)
> 

How about providing a Guix-archive of guix on the download page? That
is how I rescued myself before by building an archive elsewhere and
installing that.  Version incombatibilities are not likely to be
disruptive and we can provide older versions too.

The alternative is using a Guix binary install in a proot and build
Guix from there. And create an archive that can be installed.

Having a Guix archive on the download page with the latest build would
make it real easy to rescue an existing Guix installation. Besides,
people will be intrigued by what that download is.

Pj.
-- 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: guile-git trouble (building from source)
  2017-08-06 13:45   ` guile-git trouble (building from source) Pjotr Prins
  2017-08-07  0:26     ` Christopher Allan Webber
@ 2017-08-21 11:02     ` Pjotr Prins
  1 sibling, 0 replies; 7+ messages in thread
From: Pjotr Prins @ 2017-08-21 11:02 UTC (permalink / raw)
  To: Pjotr Prins; +Cc: guix-devel

On Sun, Aug 06, 2017 at 03:45:10PM +0200, Pjotr Prins wrote:
> > But yeah, the problem remains for someone building from source.  :-/
> 
> I am facing issues with guile-git. 
> 
> I wish we had a bullet proof way of installing from source. I had it
> with guix environment and now that won't work because guile-git is
> missing and I can't bootstrap...

Today, magically, a 'guix pull' solved it which did not work 3 weeks ago. My
latest 'bullet proof' setup for a clean build from source is:

*** Install the dependencies and build tools using Guix:

The safest route is by using guix environment after starting
a clean shell (note environment does not clutter up your profile!):

#+begin_src sh   :lang bash
screen -S guix-build # I tend to build in screen
env -i /bin/bash --login --noprofile --norc
~/.guix-profile/bin/guix environment guix --ad-hoc help2man git strace \
  pkg-config less vim binutils coreutils grep guile guile-git gcc --no-grafts
bash # you may want this shell
#+end_src sh   :lang bash

In fact pick the most recent guix you have got, see 'ls
/gnu/store/*guix*/bin/guix' and run that command. Use the --no-grafts
switch if you have built packages that way before.

Note that you can start guix by installing the binary tar ball, or
copying it from another machine using the rather useful guix archive
or [[https://www.gnu.org/software/guix/news/creating-bundles-with-guix-pack.html][guix pack]] commands.

You may want to take a note of these running versions

#+begin_src sh   :lang bash
gcc --version
guile --version
#+end_src sh   :lang bash

Next in the source tree

#+begin_src sh   :lang bash
rm -rf autom4te.cache/ # to be sure
make clean
./bootstrap
./configure --localstatedir=/var
make clean    # to be really sure
make clean-go # to be even surer
make -j 32
#+end_src sh   :lang bash

:)

Pj

-- 

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-08-21 11:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-05 19:36 guile-git repository renamed: cannot upgrade Ricardo Wurmus
2017-08-05 21:17 ` Ludovic Courtès
2017-08-06 13:45   ` guile-git trouble (building from source) Pjotr Prins
2017-08-07  0:26     ` Christopher Allan Webber
2017-08-11 14:55       ` guile-git trouble (building from source) - guix archive to the rescue Pjotr Prins
2017-08-21 11:02     ` guile-git trouble (building from source) Pjotr Prins
2017-08-06 18:31   ` guile-git repository renamed: cannot upgrade Ricardo Wurmus

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).