* bug#19318: %guix-version is incorrect in the presence of 'guix pull'
@ 2014-12-08 21:57 Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2014-12-08 21:57 UTC (permalink / raw)
To: 19318
Running ‘guix pull’ doesn’t change (@ (guix config) %guix-version),
which gives a wrong impression about the version being (‘guix --version’
will keep showing the same old version number because (guix config) is
never overridden.)
The solution may be to add a (guix version) module, that will itself be
overridden by ‘guix pull’.
(Reported by Tsutsukakushi on #guix.)
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#19278: guix needs to be installed for guix pull
@ 2014-12-05 16:47 Tomas Cech
2014-12-06 22:56 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Tomas Cech @ 2014-12-05 16:47 UTC (permalink / raw)
To: 19278
package: guix
version: 0.9
`guix pull' requires to have guix among installed packages (`guix
package -i guix'), but this fact is not documented in manual and not
mentioned by `guix pull --help' message.
It is valid at least in my case - running Guix on top of Gentoo
distribution.
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#19278: guix needs to be installed for guix pull
2014-12-05 16:47 bug#19278: guix needs to be installed for guix pull Tomas Cech
@ 2014-12-06 22:56 ` Ludovic Courtès
2014-12-12 10:57 ` Tomas Cech
0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Courtès @ 2014-12-06 22:56 UTC (permalink / raw)
To: Tomas Cech; +Cc: 19278
Tomas Cech <tcech@suse.cz> skribis:
> `guix pull' requires to have guix among installed packages (`guix
> package -i guix')
That shouldn’t be the case.
Do you still have the error handy, or can you reproduce it?
TIA,
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#19278: guix needs to be installed for guix pull
2014-12-06 22:56 ` Ludovic Courtès
@ 2014-12-12 10:57 ` Tomas Cech
2014-12-12 20:01 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Tomas Cech @ 2014-12-12 10:57 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: Tomas Cech, 19278
At Sat, 06 Dec 2014 23:56:48 +0100,
Ludovic Courtès wrote:
>
> Tomas Cech <tcech@suse.cz> skribis:
>
> > `guix pull' requires to have guix among installed packages (`guix
> > package -i guix')
>
> That shouldn’t be the case.
>
> Do you still have the error handy, or can you reproduce it?
Yes, I just reproduced it. It can bee seen on version:
tcech@venom ~ $ LC_ALL=C LANG=C guix --version
guix (GNU Guix) 0.9
Copyright (C) 2014 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
tcech@venom ~ $ LC_ALL=C LANG=C guix package -r guix
The following package will be removed:
guix 0.8.3b09332 /gnu/store/nr7yppxdwb8gz8j323124bp06j9n6nz6-guix-0.8.3b09332
The following derivations will be built:
/gnu/store/bc6fnvrf4h2k2m8b9w5ypgyadcyllqjp-profile.drv
/gnu/store/fi05mwsgaabbg0xdg5s4r9s0sv9jwamq-info-dir.drv
5 packages in profile
;;; note: source file /home/tcech/.config/guix/latest/gnu/packages/dwm.scm
;;; newer than compiled /home/tcech/.config/guix/latest/gnu/packages/dwm.go
tcech@venom ~ $ LC_ALL=C LANG=C /usr/bin/guix --version
guix (GNU Guix) 0.8
Copyright (C) 2014 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
At least, that is how I understand the problem.
S_W
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#19278: guix needs to be installed for guix pull
2014-12-12 10:57 ` Tomas Cech
@ 2014-12-12 20:01 ` Ludovic Courtès
2014-12-12 20:45 ` Tomas Cech
0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Courtès @ 2014-12-12 20:01 UTC (permalink / raw)
To: Tomas Cech; +Cc: 19278
Tomas Cech <tcech@suse.cz> skribis:
> At Sat, 06 Dec 2014 23:56:48 +0100,
> Ludovic Courtès wrote:
>>
>> Tomas Cech <tcech@suse.cz> skribis:
>>
>> > `guix pull' requires to have guix among installed packages (`guix
>> > package -i guix')
>>
>> That shouldn’t be the case.
>>
>> Do you still have the error handy, or can you reproduce it?
>
> Yes, I just reproduced it. It can bee seen on version:
>
> tcech@venom ~ $ LC_ALL=C LANG=C guix --version
> guix (GNU Guix) 0.9
> Copyright (C) 2014 the Guix authors
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> tcech@venom ~ $ LC_ALL=C LANG=C guix package -r guix
> The following package will be removed:
> guix 0.8.3b09332 /gnu/store/nr7yppxdwb8gz8j323124bp06j9n6nz6-guix-0.8.3b09332
>
> The following derivations will be built:
> /gnu/store/bc6fnvrf4h2k2m8b9w5ypgyadcyllqjp-profile.drv
> /gnu/store/fi05mwsgaabbg0xdg5s4r9s0sv9jwamq-info-dir.drv
> 5 packages in profile
> ;;; note: source file /home/tcech/.config/guix/latest/gnu/packages/dwm.scm
> ;;; newer than compiled /home/tcech/.config/guix/latest/gnu/packages/dwm.go
>
> tcech@venom ~ $ LC_ALL=C LANG=C /usr/bin/guix --version
> guix (GNU Guix) 0.8
> Copyright (C) 2014 the Guix authors
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
But ‘guix pull’ is not used here. I thought the problem had to do with
‘guix pull’, no?
AFAICS, in the example above, it’s just that at the beginning,
~/.guix-profile/bin/guix is being used (marked as “0.9”), and then
/usr/bin/guix is used instead (marked as “0.8”.) Nothing special.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#19278: guix needs to be installed for guix pull
2014-12-12 20:01 ` Ludovic Courtès
@ 2014-12-12 20:45 ` Tomas Cech
2014-12-12 21:55 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Tomas Cech @ 2014-12-12 20:45 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: Tomas Cech, 19278
At Fri, 12 Dec 2014 21:01:15 +0100,
Ludovic Courtès wrote:
>
> Tomas Cech <tcech@suse.cz> skribis:
>
> > At Sat, 06 Dec 2014 23:56:48 +0100,
> > Ludovic Courtès wrote:
> >>
> >> Tomas Cech <tcech@suse.cz> skribis:
> >>
> >> > `guix pull' requires to have guix among installed packages (`guix
> >> > package -i guix')
> >>
> >> That shouldn’t be the case.
> >>
> >> Do you still have the error handy, or can you reproduce it?
> >
> > Yes, I just reproduced it. It can bee seen on version:
> >
> > tcech@venom ~ $ LC_ALL=C LANG=C guix --version
> > guix (GNU Guix) 0.9
> > Copyright (C) 2014 the Guix authors
> > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> > This is free software: you are free to change and redistribute it.
> > There is NO WARRANTY, to the extent permitted by law.
> >
> > tcech@venom ~ $ LC_ALL=C LANG=C guix package -r guix
> > The following package will be removed:
> > guix 0.8.3b09332 /gnu/store/nr7yppxdwb8gz8j323124bp06j9n6nz6-guix-0.8.3b09332
> >
> > The following derivations will be built:
> > /gnu/store/bc6fnvrf4h2k2m8b9w5ypgyadcyllqjp-profile.drv
> > /gnu/store/fi05mwsgaabbg0xdg5s4r9s0sv9jwamq-info-dir.drv
> > 5 packages in profile
> > ;;; note: source file /home/tcech/.config/guix/latest/gnu/packages/dwm.scm
> > ;;; newer than compiled /home/tcech/.config/guix/latest/gnu/packages/dwm.go
> >
> > tcech@venom ~ $ LC_ALL=C LANG=C /usr/bin/guix --version
> > guix (GNU Guix) 0.8
> > Copyright (C) 2014 the Guix authors
> > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> > This is free software: you are free to change and redistribute it.
> > There is NO WARRANTY, to the extent permitted by law.
>
> But ‘guix pull’ is not used here. I thought the problem had to do with
> ‘guix pull’, no?
>
> AFAICS, in the example above, it’s just that at the beginning,
> ~/.guix-profile/bin/guix is being used (marked as “0.9”), and then
> /usr/bin/guix is used instead (marked as “0.8”.) Nothing special.
I'm afraid that I
1] poorly worded the report
2] misunderstood
OK, let me retry.
I have Gentoo installation, guix 0.8 built using my ebuild and installed into system.
According to this part of documentation
http://www.gnu.org/software/guix/manual/guix.html#Invoking-guix-pull
I should be able to call `guix pull' and my guix will be updated.
It's not written there that it will be installed to
~/.config/guix/latest but guix prints it in the end.
So, when I call it:
tcech@venom ~ $ LC_ALL=C LANG=C /usr/bin/guix pull
starting download of `/tmp/guix-file.cSPiQM' from `http://git.savannah.gnu.org/cgit/guix.git/snapshot/guix-master.tar.gz'...
http://git.savannah.gnu.org/.../guix-master.tar.gz 6836.6 KiB transferred
unpacking '/gnu/store/6z3z7lfk7a52l6pd28qz0qzq9q4mpfjq-guix-latest.tar.gz'...
;;; note: source file /home/tcech/.config/guix/latest/gnu/packages/dwm.scm
;;; newer than compiled /home/tcech/.config/guix/latest/gnu/packages/dwm.go
substitute-binary: guix substitute-binary: warning: while fetching http://hydra.gnu.org/nix-cache-info: server is unresponsive
substitute-binary: guix substitute-binary: warning: try `--no-substitutes' if the problem persists
substitute-binary: guix substitute-binary: warning: while fetching http://hydra.gnu.org/hkc3fkchhwsan4g6f6hyvcja2i9xzwhs.narinfo: server is unresponsive
substitute-binary: guix substitute-binary: warning: try `--no-substitutes' if the problem persists
The following derivation will be built:
/gnu/store/0nygspjlcxh0p1wijdlpia8qda0qnbby-guix-latest.drv
waiting for locks or build slots...
updated GNU Guix successfully deployed under `/home/tcech/.config/guix/latest'
and then ask for version:
tcech@venom ~ $ LC_ALL=C LANG=C /usr/bin/guix --version
guix (GNU Guix) 0.8
Copyright (C) 2014 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
I can see that still old version is used.
The problem is
- documentation is missing some important part that I need to set up
environment so new version will be used (adjusting PATH and
GUIX_PACKAGE_PATH?)
or
- guix should check for installation in ~/.config/guix/latest by
itself and does not
Please, ignore the part with `guix package -i guix' - it will just
cause installation of third instance of guix and this one will show
higher version as environment is set for installed packages
correctly. And this part confused me before.
I hope I made it more clear now.
Thanks,
S_W
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#19278: guix needs to be installed for guix pull
2014-12-12 20:45 ` Tomas Cech
@ 2014-12-12 21:55 ` Ludovic Courtès
2016-07-20 21:00 ` bug#19318: %guix-version is incorrect in the presence of 'guix pull' Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Courtès @ 2014-12-12 21:55 UTC (permalink / raw)
To: Tomas Cech; +Cc: 19278, request
merge 19278 19318
thanks
Tomas Cech <tcech@suse.cz> skribis:
> I have Gentoo installation, guix 0.8 built using my ebuild and installed into system.
>
> According to this part of documentation
> http://www.gnu.org/software/guix/manual/guix.html#Invoking-guix-pull
>
> I should be able to call `guix pull' and my guix will be updated.
Correct.
> So, when I call it:
>
> tcech@venom ~ $ LC_ALL=C LANG=C /usr/bin/guix pull
> starting download of `/tmp/guix-file.cSPiQM' from `http://git.savannah.gnu.org/cgit/guix.git/snapshot/guix-master.tar.gz'...
> http://git.savannah.gnu.org/.../guix-master.tar.gz 6836.6 KiB transferred
> unpacking '/gnu/store/6z3z7lfk7a52l6pd28qz0qzq9q4mpfjq-guix-latest.tar.gz'...
> ;;; note: source file /home/tcech/.config/guix/latest/gnu/packages/dwm.scm
> ;;; newer than compiled /home/tcech/.config/guix/latest/gnu/packages/dwm.go
> substitute-binary: guix substitute-binary: warning: while fetching http://hydra.gnu.org/nix-cache-info: server is unresponsive
> substitute-binary: guix substitute-binary: warning: try `--no-substitutes' if the problem persists
> substitute-binary: guix substitute-binary: warning: while fetching http://hydra.gnu.org/hkc3fkchhwsan4g6f6hyvcja2i9xzwhs.narinfo: server is unresponsive
> substitute-binary: guix substitute-binary: warning: try `--no-substitutes' if the problem persists
> The following derivation will be built:
> /gnu/store/0nygspjlcxh0p1wijdlpia8qda0qnbby-guix-latest.drv
> waiting for locks or build slots...
> updated GNU Guix successfully deployed under `/home/tcech/.config/guix/latest'
>
> and then ask for version:
>
> tcech@venom ~ $ LC_ALL=C LANG=C /usr/bin/guix --version
> guix (GNU Guix) 0.8
> Copyright (C) 2014 the Guix authors
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> I can see that still old version is used.
Actually it’s another bug: the version reported is static, which is
misleading at best. See <http://bugs.gnu.org/19318>.
> I hope I made it more clear now.
Yes, thank you!
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#19318: %guix-version is incorrect in the presence of 'guix pull'
2014-12-12 21:55 ` Ludovic Courtès
@ 2016-07-20 21:00 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2016-07-20 21:00 UTC (permalink / raw)
To: Tomas Cech; +Cc: 19278-done, 19318-done
Hello!
ludo@gnu.org (Ludovic Courtès) skribis:
> Actually it’s another bug: the version reported is static, which is
> misleading at best. See <http://bugs.gnu.org/19318>.
I’m happy to report that this bug is finally fixed, in commit
b006ba50384f9cb517fa881299160adba0aaca9e. :-)
It should take effect immediately: “guix pull && guix --version” should
display a version string other than “0.10.0” or similar.
Eventually the version string will include the Git commit id, à la “git
describe”.
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-20 21:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-08 21:57 bug#19318: %guix-version is incorrect in the presence of 'guix pull' Ludovic Courtès
-- strict thread matches above, loose matches on Subject: below --
2014-12-05 16:47 bug#19278: guix needs to be installed for guix pull Tomas Cech
2014-12-06 22:56 ` Ludovic Courtès
2014-12-12 10:57 ` Tomas Cech
2014-12-12 20:01 ` Ludovic Courtès
2014-12-12 20:45 ` Tomas Cech
2014-12-12 21:55 ` Ludovic Courtès
2016-07-20 21:00 ` bug#19318: %guix-version is incorrect in the presence of 'guix pull' 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.