* hydra.gnu.org migrates to /gnu/store!
@ 2014-02-28 22:28 Ludovic Courtès
2014-03-04 9:45 ` Sree Harsha Totakura
` (2 more replies)
0 siblings, 3 replies; 25+ messages in thread
From: Ludovic Courtès @ 2014-02-28 22:28 UTC (permalink / raw)
To: guix-devel
Hello!
hydra.gnu.org is under maintenance for a couple of days; the web
front-end remains available, but builds don’t get queued.
Among other things, it’s migrating from /nix/store to /gnu/store.
Stay tuned! :-)
Ludo’.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: hydra.gnu.org migrates to /gnu/store!
2014-02-28 22:28 hydra.gnu.org migrates to /gnu/store! Ludovic Courtès
@ 2014-03-04 9:45 ` Sree Harsha Totakura
2014-03-04 17:11 ` Ludovic Courtès
2014-03-04 16:03 ` Mark H Weaver
2014-03-09 23:13 ` hydra.gnu.org migrates to /gnu/store! Ludovic Courtès
2 siblings, 1 reply; 25+ messages in thread
From: Sree Harsha Totakura @ 2014-03-04 9:45 UTC (permalink / raw)
To: guix-devel
On 02/28/2014 11:28 PM, Ludovic Courtès wrote:
> Among other things, it’s migrating from /nix/store to /gnu/store.
Is this already present in the master branch? If so, will the store be
rebuilt when I update master?
Sree
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: hydra.gnu.org migrates to /gnu/store!
2014-02-28 22:28 hydra.gnu.org migrates to /gnu/store! Ludovic Courtès
2014-03-04 9:45 ` Sree Harsha Totakura
@ 2014-03-04 16:03 ` Mark H Weaver
2014-03-04 17:07 ` Transition to /gnu/store Ludovic Courtès
2014-03-09 23:13 ` hydra.gnu.org migrates to /gnu/store! Ludovic Courtès
2 siblings, 1 reply; 25+ messages in thread
From: Mark H Weaver @ 2014-03-04 16:03 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
Hi Ludovic,
ludo@gnu.org (Ludovic Courtès) writes:
> Among other things, it’s migrating from /nix/store to /gnu/store.
> Stay tuned! :-)
Can you give some advice on how best to transition from /nix/store to
/gnu/store on an existing Guix system? Can $PREFIX/var/nix and the
sqlite database be shared, or do I have to start with a clean slate?
Any other suggestions?
Thanks,
Mark
^ permalink raw reply [flat|nested] 25+ messages in thread
* Transition to /gnu/store
2014-03-04 16:03 ` Mark H Weaver
@ 2014-03-04 17:07 ` Ludovic Courtès
2014-03-09 23:09 ` Ludovic Courtès
0 siblings, 1 reply; 25+ messages in thread
From: Ludovic Courtès @ 2014-03-04 17:07 UTC (permalink / raw)
To: Mark H Weaver; +Cc: guix-devel
Mark H Weaver <mhw@netris.org> skribis:
> Can you give some advice on how best to transition from /nix/store to
> /gnu/store on an existing Guix system? Can $PREFIX/var/nix and the
> sqlite database be shared, or do I have to start with a clean slate?
> Any other suggestions?
Sorry, I was planning to mention that eventually.
(I have not yet changed the default store directory that ./configure
chooses, but will do so in the near future.)
You don’t have to migrate to /gnu/store now. You can keep using
/nix/store on your machine.
The only possible downside is that hydra.gnu.org will no longer provide
binaries for /nix/store, so everything will have to be built locally.
Also, if you re-configure Guix, you’ll have to make sure to pass
--with-store-dir=/nix/store when the default has changed to /gnu/store.
Since moving to /gnu/store involves a full re-build or re-download, I
recommend doing that once we’ve merged core-updates (hopefully within a
couple of weeks.)
I would also like to change the database directory to $PREFIX/var/guix.
This change is more intrusive: if you want to keep using the store
database that’s under $PREFIX/var/nix, you’ll have to manually change
the value in Makefile.am.
HTH,
Ludo’.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Transition to /gnu/store
2014-03-04 17:07 ` Transition to /gnu/store Ludovic Courtès
@ 2014-03-09 23:09 ` Ludovic Courtès
2014-03-10 14:17 ` Andreas Enge
` (2 more replies)
0 siblings, 3 replies; 25+ messages in thread
From: Ludovic Courtès @ 2014-03-09 23:09 UTC (permalink / raw)
To: guix-devel
So! Commit 834129e changes the default store directory to /gnu/store.
Again, if you don’t plan to change right now, make sure to configure
with --with-store-dir=/nix/store next time!
The other change is commit f5768af, which changes the place where the
store’s database and build logs are stored. If you don’t plan to switch
to /gnu/store right now, then do something like:
cd $localstatedir && ln -s nix guix
cd $localstatedir/log && ln -s nix guix
If you do plan to switch to /gnu/store now, then just run ./configure
and forget about the rest.
Ludo’.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Transition to /gnu/store
2014-03-09 23:09 ` Ludovic Courtès
@ 2014-03-10 14:17 ` Andreas Enge
2014-03-10 14:18 ` Andreas Enge
2014-03-19 20:50 ` Ludovic Courtès
2 siblings, 0 replies; 25+ messages in thread
From: Andreas Enge @ 2014-03-10 14:17 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
On Mon, Mar 10, 2014 at 12:09:25AM +0100, Ludovic Courtès wrote:
> If you do plan to switch to /gnu/store now, then just run ./configure
> and forget about the rest.
Just a quick comment, you will also have to restart the guix daemon.
For instance, if you installed Sree's init script:
/etc/init.d/guixd restart
as root.
Andreas
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Transition to /gnu/store
2014-03-09 23:09 ` Ludovic Courtès
2014-03-10 14:17 ` Andreas Enge
@ 2014-03-10 14:18 ` Andreas Enge
2014-03-10 14:48 ` Cyril Roelandt
` (2 more replies)
2014-03-19 20:50 ` Ludovic Courtès
2 siblings, 3 replies; 25+ messages in thread
From: Andreas Enge @ 2014-03-10 14:18 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
Would it not be the time now to merge core-updates back into master, as
anyway everything will be rebuilt?
Andreas
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Transition to /gnu/store
2014-03-10 14:18 ` Andreas Enge
@ 2014-03-10 14:48 ` Cyril Roelandt
2014-03-10 14:59 ` Thompson, David
2014-03-10 20:14 ` Ludovic Courtès
2 siblings, 0 replies; 25+ messages in thread
From: Cyril Roelandt @ 2014-03-10 14:48 UTC (permalink / raw)
To: guix-devel
On 03/10/2014 03:18 PM, Andreas Enge wrote:
> Would it not be the time now to merge core-updates back into master, as
> anyway everything will be rebuilt?
>
It would be nice to know that a bit in advance, so we have time to push
pending patches to core-updates before it's merged into master :)
Cyril.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Transition to /gnu/store
2014-03-10 14:18 ` Andreas Enge
2014-03-10 14:48 ` Cyril Roelandt
@ 2014-03-10 14:59 ` Thompson, David
2014-03-10 20:14 ` Ludovic Courtès
2 siblings, 0 replies; 25+ messages in thread
From: Thompson, David @ 2014-03-10 14:59 UTC (permalink / raw)
To: Andreas Enge; +Cc: guix-devel
On Mon, Mar 10, 2014 at 10:18 AM, Andreas Enge <andreas@enge.fr> wrote:
> Would it not be the time now to merge core-updates back into master, as
> anyway everything will be rebuilt?
>
> Andreas
>
I think that we want to wait to merge core-updates until Guile 2.0.10
is released.
- Dave
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Transition to /gnu/store
2014-03-10 14:18 ` Andreas Enge
2014-03-10 14:48 ` Cyril Roelandt
2014-03-10 14:59 ` Thompson, David
@ 2014-03-10 20:14 ` Ludovic Courtès
2014-03-10 20:11 ` Cyril Roelandt
2 siblings, 1 reply; 25+ messages in thread
From: Ludovic Courtès @ 2014-03-10 20:14 UTC (permalink / raw)
To: Andreas Enge; +Cc: guix-devel
Andreas Enge <andreas@enge.fr> skribis:
> Would it not be the time now to merge core-updates back into master, as
> anyway everything will be rebuilt?
We need to discuss with Mark whether to release Guile 2.0.10, or just
patch it the way Cyril proposed a while back. But that’s basically the
only thing left to figure out, yes.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Transition to /gnu/store
2014-03-10 20:14 ` Ludovic Courtès
@ 2014-03-10 20:11 ` Cyril Roelandt
2014-03-10 21:10 ` Ludovic Courtès
0 siblings, 1 reply; 25+ messages in thread
From: Cyril Roelandt @ 2014-03-10 20:11 UTC (permalink / raw)
To: guix-devel
On 03/10/2014 09:14 PM, Ludovic Courtès wrote:
> Andreas Enge <andreas@enge.fr> skribis:
>
>> Would it not be the time now to merge core-updates back into master, as
>> anyway everything will be rebuilt?
>
> We need to discuss with Mark whether to release Guile 2.0.10, or just
> patch it the way Cyril proposed a while back. But that’s basically the
> only thing left to figure out, yes.
>
I'd sort of want my Python patches in the next merge, too, and they are
currently being discussed with upstream.
Cyril.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Transition to /gnu/store
2014-03-10 20:11 ` Cyril Roelandt
@ 2014-03-10 21:10 ` Ludovic Courtès
2014-03-12 8:35 ` Andreas Enge
0 siblings, 1 reply; 25+ messages in thread
From: Ludovic Courtès @ 2014-03-10 21:10 UTC (permalink / raw)
To: Cyril Roelandt; +Cc: guix-devel
Cyril Roelandt <tipecaml@gmail.com> skribis:
> On 03/10/2014 09:14 PM, Ludovic Courtès wrote:
>> Andreas Enge <andreas@enge.fr> skribis:
>>
>>> Would it not be the time now to merge core-updates back into master, as
>>> anyway everything will be rebuilt?
>>
>> We need to discuss with Mark whether to release Guile 2.0.10, or just
>> patch it the way Cyril proposed a while back. But that’s basically the
>> only thing left to figure out, yes.
>>
>
> I'd sort of want my Python patches in the next merge, too, and they
> are currently being discussed with upstream.
Right, good point.
Ludo’.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Transition to /gnu/store
2014-03-10 21:10 ` Ludovic Courtès
@ 2014-03-12 8:35 ` Andreas Enge
2014-03-12 11:06 ` Ludovic Courtès
0 siblings, 1 reply; 25+ messages in thread
From: Andreas Enge @ 2014-03-12 8:35 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
Nothing prevents us from merging core-updates several times before a release.
As I see it, core-updates is there so that people tracking git master are not
forced to recompile too often. But a change to master that forces recompilat-
ion should be linked with a merge of core-updates into master, which comes
"for free" at this moment.
Andreas
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Transition to /gnu/store
2014-03-12 8:35 ` Andreas Enge
@ 2014-03-12 11:06 ` Ludovic Courtès
2014-03-13 9:44 ` Andreas Enge
0 siblings, 1 reply; 25+ messages in thread
From: Ludovic Courtès @ 2014-03-12 11:06 UTC (permalink / raw)
To: Andreas Enge; +Cc: guix-devel
Andreas Enge <andreas@enge.fr> skribis:
> Nothing prevents us from merging core-updates several times before a release.
> As I see it, core-updates is there so that people tracking git master are not
> forced to recompile too often.
Too often and too much. Also, changes in core-updates can potentially
break more stuff.
> But a change to master that forces recompilat- ion should be linked
> with a merge of core-updates into master, which comes "for free" at
> this moment.
Right, but in master we don’t change “core” stuff like build/utils.scm,
glibc, etc. Sometimes there are changes that trigger a lot of rebuild,
but never as much as what we do in core-updates.
Now, I agree we must find a way to avoid core-updates to last for too
long. That probably means we need to agree on a time-based policy.
Ideally, we’d make a new release every two months (we’re late this
time), and thus have a core-updates branch living in between two
releases.
How does that sound?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Transition to /gnu/store
2014-03-12 11:06 ` Ludovic Courtès
@ 2014-03-13 9:44 ` Andreas Enge
2014-03-13 13:40 ` Ludovic Courtès
0 siblings, 1 reply; 25+ messages in thread
From: Andreas Enge @ 2014-03-13 9:44 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
On Wed, Mar 12, 2014 at 12:06:10PM +0100, Ludovic Courtès wrote:
> Right, but in master we don’t change “core” stuff like build/utils.scm,
> glibc, etc. Sometimes there are changes that trigger a lot of rebuild,
> but never as much as what we do in core-updates.
Sorry, but I am still lost; we just moved to /gnu/store, which forces a
complete rebuild, (with hydra not being available, which implies full
rebuilds on all guix machines individually), no? So why not merge core-updates
at the same time?
Andreas
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Transition to /gnu/store
2014-03-13 9:44 ` Andreas Enge
@ 2014-03-13 13:40 ` Ludovic Courtès
0 siblings, 0 replies; 25+ messages in thread
From: Ludovic Courtès @ 2014-03-13 13:40 UTC (permalink / raw)
To: Andreas Enge; +Cc: guix-devel
Andreas Enge <andreas@enge.fr> skribis:
> On Wed, Mar 12, 2014 at 12:06:10PM +0100, Ludovic Courtès wrote:
>> Right, but in master we don’t change “core” stuff like build/utils.scm,
>> glibc, etc. Sometimes there are changes that trigger a lot of rebuild,
>> but never as much as what we do in core-updates.
>
> Sorry, but I am still lost; we just moved to /gnu/store, which forces a
> complete rebuild, (with hydra not being available, which implies full
> rebuilds on all guix machines individually), no? So why not merge core-updates
> at the same time?
Because you don’t have to move to /gnu/store right now; you can do that
any time. And also because there are still a couple changes pending for
core-updates anyway.
Does that clarify things?
Ludo’.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Transition to /gnu/store
2014-03-09 23:09 ` Ludovic Courtès
2014-03-10 14:17 ` Andreas Enge
2014-03-10 14:18 ` Andreas Enge
@ 2014-03-19 20:50 ` Ludovic Courtès
2014-03-20 14:26 ` Andreas Enge
2 siblings, 1 reply; 25+ messages in thread
From: Ludovic Courtès @ 2014-03-19 20:50 UTC (permalink / raw)
To: guix-devel
FWIW I’ve migrated my laptop to /gnu/store, and also switched to a
different $localstatedir (meaning that the store’s DB, build log
directory, profiles, etc. are stored in a different place.)
After that, I ended up starting from an empty profile (because the old
one was elsewhere.) So I recreated my profile with:
guix package -i $(guix package -I . \
-p /nix/var/nix/profiles/per-user/ludo/guix-profile | \
cut -f1,3 | sed -e's/\t/:/g')
where /nix/var/../guix-profile is the old profile.
Ludo’.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Transition to /gnu/store
2014-03-19 20:50 ` Ludovic Courtès
@ 2014-03-20 14:26 ` Andreas Enge
2014-03-20 18:05 ` Ludovic Courtès
0 siblings, 1 reply; 25+ messages in thread
From: Andreas Enge @ 2014-03-20 14:26 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
Currently, the substituter fails for me. For instance,
guix build pari-gp -n
yields the following message:
download-using-manifests.pl: error: executing `/usr/local/guix-git/libexec/nix/substituters/download-using-manifests.pl': No such file or directory
guix build: error: build failed: substituter `download-using-manifests.pl' died unexpectedly
In fact, the directory /usr/local/guix-git/libexec/nix/ does not exist
(any more?). There is /usr/local/guix-git/libexec/guix/, which does not
contain the perl script.
The culprit seems to be nix/libstore/globals.cc; or the script would have
to be installed.
Andreas
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Transition to /gnu/store
2014-03-20 14:26 ` Andreas Enge
@ 2014-03-20 18:05 ` Ludovic Courtès
2014-03-20 21:09 ` Andreas Enge
0 siblings, 1 reply; 25+ messages in thread
From: Ludovic Courtès @ 2014-03-20 18:05 UTC (permalink / raw)
To: Andreas Enge; +Cc: guix-devel
Andreas Enge <andreas@enge.fr> skribis:
> Currently, the substituter fails for me. For instance,
> guix build pari-gp -n
> yields the following message:
> download-using-manifests.pl: error: executing `/usr/local/guix-git/libexec/nix/substituters/download-using-manifests.pl': No such file or directory
> guix build: error: build failed: substituter `download-using-manifests.pl' died unexpectedly
download-using-manifests.pl is a Nix thing; the equivalent in Guix in
‘guix substitute-binary’ (no .pl here ;-)).
Normally guix-daemon.cc sets the NIX_SUBSTITUTERS environment variable
so that the daemon’s code uses our substituter.
Could you make sure guix build is talking to guix-daemon (and not
nix-daemon)?
Otherwise, can you run guix build with --verbosity=20? Here the first
line I get is:
starting substituter program `/home/ludo/src/guix/nix/scripts/substitute-binary'
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Transition to /gnu/store
2014-03-20 18:05 ` Ludovic Courtès
@ 2014-03-20 21:09 ` Andreas Enge
2014-03-20 22:07 ` Ludovic Courtès
0 siblings, 1 reply; 25+ messages in thread
From: Andreas Enge @ 2014-03-20 21:09 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
On Thu, Mar 20, 2014 at 07:05:35PM +0100, Ludovic Courtès wrote:
> download-using-manifests.pl is a Nix thing; the equivalent in Guix in
> ‘guix substitute-binary’ (no .pl here ;-)).
>
> Normally guix-daemon.cc sets the NIX_SUBSTITUTERS environment variable
> so that the daemon’s code uses our substituter.
>
> Could you make sure guix build is talking to guix-daemon (and not
> nix-daemon)?
There is no nix-daemon on my machine.
> Otherwise, can you run guix build with --verbosity=20? Here the first
> line I get is:
> starting substituter program `/home/ludo/src/guix/nix/scripts/substitute-binary'
I get:
starting substituter program `/usr/local/guix-git/libexec/nix/substituters/download-using-manifests.pl'
download-using-manifests.pl: error: executing `/usr/local/guix-git/libexec/nix/substituters/download-using-manifests.pl': No such file or directory
"strings guix-daemon" contains /nix/substituters/download-using-manifests.pl.
I just did a "git pull; ./sync-with-upstream" in the nix subdirectory, then a
"make distclean", bootstrap, configure and make. The result is the same, there
is still a reference to
/usr/local/guix-git/libexec/nix/substituters/download-using-manifests.pl
Andreas
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: Transition to /gnu/store
2014-03-20 21:09 ` Andreas Enge
@ 2014-03-20 22:07 ` Ludovic Courtès
2014-03-20 22:21 ` Andreas Enge
0 siblings, 1 reply; 25+ messages in thread
From: Ludovic Courtès @ 2014-03-20 22:07 UTC (permalink / raw)
To: Andreas Enge; +Cc: guix-devel
Andreas Enge <andreas@enge.fr> skribis:
> I get:
> starting substituter program `/usr/local/guix-git/libexec/nix/substituters/download-using-manifests.pl'
> download-using-manifests.pl: error: executing `/usr/local/guix-git/libexec/nix/substituters/download-using-manifests.pl': No such file or directory
OK, I believe this is fixed with 89faa5c.
Can you confirm?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 25+ messages in thread
* Re: hydra.gnu.org migrates to /gnu/store!
2014-02-28 22:28 hydra.gnu.org migrates to /gnu/store! Ludovic Courtès
2014-03-04 9:45 ` Sree Harsha Totakura
2014-03-04 16:03 ` Mark H Weaver
@ 2014-03-09 23:13 ` Ludovic Courtès
2014-03-13 13:54 ` Ludovic Courtès
2 siblings, 1 reply; 25+ messages in thread
From: Ludovic Courtès @ 2014-03-09 23:13 UTC (permalink / raw)
To: guix-devel
I’ve restarted Hydra but it’ll be some time before it catches up.
It now builds for /gnu/store, and offloads builds to hydra.gnunet.org
(the other new build machine will come next.) There were networking
issue with that machine so we may still get transient errors. I’ll keep
monitoring and I hope we can fix that.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 25+ messages in thread
end of thread, other threads:[~2014-03-20 22:21 UTC | newest]
Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-28 22:28 hydra.gnu.org migrates to /gnu/store! Ludovic Courtès
2014-03-04 9:45 ` Sree Harsha Totakura
2014-03-04 17:11 ` Ludovic Courtès
2014-03-04 16:03 ` Mark H Weaver
2014-03-04 17:07 ` Transition to /gnu/store Ludovic Courtès
2014-03-09 23:09 ` Ludovic Courtès
2014-03-10 14:17 ` Andreas Enge
2014-03-10 14:18 ` Andreas Enge
2014-03-10 14:48 ` Cyril Roelandt
2014-03-10 14:59 ` Thompson, David
2014-03-10 20:14 ` Ludovic Courtès
2014-03-10 20:11 ` Cyril Roelandt
2014-03-10 21:10 ` Ludovic Courtès
2014-03-12 8:35 ` Andreas Enge
2014-03-12 11:06 ` Ludovic Courtès
2014-03-13 9:44 ` Andreas Enge
2014-03-13 13:40 ` Ludovic Courtès
2014-03-19 20:50 ` Ludovic Courtès
2014-03-20 14:26 ` Andreas Enge
2014-03-20 18:05 ` Ludovic Courtès
2014-03-20 21:09 ` Andreas Enge
2014-03-20 22:07 ` Ludovic Courtès
2014-03-20 22:21 ` Andreas Enge
2014-03-09 23:13 ` hydra.gnu.org migrates to /gnu/store! Ludovic Courtès
2014-03-13 13:54 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.