bug report upgrading Guix from 1.0.1 to 1.3

  • Open
  • quality assurance status badge
Details
3 participants
  • Maxime Devos
  • Timothée Flutre
  • zimoun
Owner
unassigned
Submitted by
Timothée Flutre
Severity
normal
Merged with
T
T
Timothée Flutre wrote on 14 Oct 2022 20:08
(address . bug-guix@gnu.org)
CAGJVmuJFmaBHpHw7xD7HxnfErOY+0p_x6aUWRFnxQCan5b=6nA@mail.gmail.com
Hello,

I have a computer with Ubuntu 22.04.1 LTS". Some time ago, I installed Guix
to try it out, which I finally did not for various reasons. But hearing the
talk of K. Hinsen last month convinced me of giving it another try.

I hence started by upgrading Guix, like this:
sudo -i guix pull >& output_guix_pull.txt

But I got the following message (last line of the output):
Please report the COMPLETE output above by email to <bug-guix@gnu.org>.

The whole report is attached in the file "output_guix_pull.txt".

Thank you in advance for your help!
Timothée Flutre
Attachment: file
M
M
Maxime Devos wrote on 14 Oct 2022 22:01
7ed2e3d0-57c1-5d9e-0272-690e52c208e3@telenet.be
On 14-10-2022 20:08, Timothée Flutre wrote:
Toggle quote (9 lines)
> Hello,
>
> I have a computer with Ubuntu 22.04.1 LTS". Some time ago, I installed
> Guix to try it out, which I finally did not for various reasons. But
> hearing the talk of K. Hinsen last month convinced me of giving it
> another try.
>
> I hence started by upgrading Guix, like this:
> sudo -i guix pull >& output_guix_pull.txt
You are trying to upgrade the daemon (and have some setup where root's
Guix is used), I assume? If you meant to update the set of available
packages of your regular user, you shouldn't do sudo (because sudo if
for switching to root instead).
Toggle quote (5 lines)
> But I got the following message (last line of the output):
> Please report the COMPLETE output above by email to <bug-guix@gnu.org
> <mailto:bug-guix@gnu.org>>.
>
> The whole report is attached in the file "output_guix_pull.txt".
The attachment seems to be missing.
Greetings,
Maxime.
Attachment: OpenPGP_signature
Z
Z
zimoun wrote on 15 Oct 2022 13:44
86zgdx9uqw.fsf@gmail.com
Hi,

On Fri, 14 Oct 2022 at 20:08, Timothée Flutre <timflutre@gmail.com> wrote:

Toggle quote (4 lines)
> I have a computer with Ubuntu 22.04.1 LTS". Some time ago, I installed Guix
> to try it out, which I finally did not for various reasons. But hearing the
> talk of K. Hinsen last month convinced me of giving it another try.

Cool!


Toggle quote (3 lines)
> I hence started by upgrading Guix, like this:
> sudo -i guix pull >& output_guix_pull.txt

Well, the guix-daemon is probably too old. Maybe you need something
like [1]:

sudo -i guix package --bootstrap -r guix -i \
/gnu/store/n8vdar2f60mvq62g7mngpqwykbm9rw1q-guix-1.2.0rc2-1.0d4b1af



Toggle quote (2 lines)
> The whole report is attached in the file "output_guix_pull.txt".

Missing attachment.


Cheers,
simon
T
T
Timothée Flutre wrote on 16 Oct 2022 17:25
(name . zimoun)(address . zimon.toutoune@gmail.com)(address . 58526@debbugs.gnu.org)
CAGJVmuJ2WPcm2kuquC_x2KfK40eS1kn2XirrG-attrLj=oB9mw@mail.gmail.com
Here is the attachement, sorry for forgetting it the first time.

--------------------------------------------

Thank you Maxime.

I would like to (1) upgrade the deamon, and then (2) use it to update all
packages. I hence started by reading the manual:
Because I am running on a foreign distro, I used the command "sudo -i guix
pull" as indicated.

Following your advice, I used today "guix pull", but I got the same message.

--------------------------------------------

Thank you Simon. I copy-pasted your command but I have no file named
"/gnu/store/n8vdar2f60mvq62g7mngpqwykbm9rw1q-guix-1.2.0rc2-1.0d4b1af".

Best,
Timothée


Le sam. 15 oct. 2022 à 13:55, zimoun <zimon.toutoune@gmail.com> a écrit :

Toggle quote (33 lines)
> Hi,
>
> On Fri, 14 Oct 2022 at 20:08, Timothée Flutre <timflutre@gmail.com> wrote:
>
> > I have a computer with Ubuntu 22.04.1 LTS". Some time ago, I installed
> Guix
> > to try it out, which I finally did not for various reasons. But hearing
> the
> > talk of K. Hinsen last month convinced me of giving it another try.
>
> Cool!
>
>
> > I hence started by upgrading Guix, like this:
> > sudo -i guix pull >& output_guix_pull.txt
>
> Well, the guix-daemon is probably too old. Maybe you need something
> like [1]:
>
> sudo -i guix package --bootstrap -r guix -i \
> /gnu/store/n8vdar2f60mvq62g7mngpqwykbm9rw1q-guix-1.2.0rc2-1.0d4b1af
>
> 1: <https://yhetil.org/guix/87wn9dnxsx.fsf@inria.fr>
>
>
> > The whole report is attached in the file "output_guix_pull.txt".
>
> Missing attachment.
>
>
> Cheers,
> simon
>
Attachment: file
/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
substitute: /gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
substitute: /gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
Computing Guix derivation for 'x86_64-linux'... /gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
Backtrace:
3 (apply-smob/1 #<catch-closure 132f640>)
In ice-9/boot-9.scm:
705:2 2 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
In ice-9/eval.scm:
619:8 1 (_ #(#(#<directory (guile-user) 13b2140>)))
In guix/ui.scm:
1747:12 0 (run-guix-command _ . _)

guix/ui.scm:1747:12: In procedure run-guix-command:
unsupported compression scheme lzip
Backtrace:
13 (primitive-load "/gnu/store/9bbc9z7lgfawd6lsviylw35qm2fy7rfb-compute-guix-derivation")
In ice-9/eval.scm:
155:9 12 (_ _)
159:9 11 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
152:2 10 (with-fluid* _ _ _)
152:2 9 (with-fluid* _ _ _)
In ./guix/store.scm:
2165:24 8 (run-with-store #<store-connection 256.99 1f614e0> _ #:guile-for-build _ #:system _ #:target _)
1993:8 7 (_ _)
In ./guix/gexp.scm:
300:22 6 (_ _)
1181:2 5 (_ _)
1047:2 4 (_ _)
893:4 3 (_ _)
In ./guix/store.scm:
2050:12 2 (_ #<store-connection 256.99 1ec38ae0>)
1398:5 1 (map/accumulate-builds #<store-connection 256.99 1ec38ae0> #<procedure 1aba95e0 at ./guix/store.scm:20?> ?)
1414:15 0 (_ #<store-connection 256.99 1ec38ae0> _ _)

./guix/store.scm:1414:15: Throw to key `srfi-34' with args `(#<condition &store-protocol-error [message: "some substitutes for the outputs of derivation `/gnu/store/i6ckkxx8211x9yz3f34wcnbg7mblk7kg-curl-7.84.0.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source " status: 1] a58b0c0>)'.
guix pull: error: You found a bug: the program '/gnu/store/9bbc9z7lgfawd6lsviylw35qm2fy7rfb-compute-guix-derivation'
failed to compute the derivation for Guix (version: "a86979b41a49a8fcdaa887970ba594dbba701226"; system: "x86_64-linux";
host version: "1.0.1"; pull-version: 1).
Please report the COMPLETE output above by email to <bug-guix@gnu.org>.
M
M
Maxime Devos wrote on 16 Oct 2022 18:26
f489e6e5-6e08-5d24-4823-c9e76f5cf5f1@telenet.be
merge 58149 58526
thanks
On 16-10-2022 17:25, Timothée Flutre wrote:
Toggle quote (1 lines)
> Here is the attachement, sorry for forgetting it the first time.
The 'unsuppported compression scheme lzip' looks like a duplicate of
Toggle quote (3 lines)
> Le sam. 15 oct. 2022 à 13:55, zimoun <zimon.toutoune@gmail.com
> <mailto:zimon.toutoune@gmail.com>> a écrit :
> [...]
I recommend against top-posting -- the e-mail clients I know of support
methods for easy navigation to the mail that was replied to, no need to
duplicate that.
Greetings,
Maxime.
Attachment: OpenPGP_signature
M
M
Maxime Devos wrote on 16 Oct 2022 18:58
f6352323-be90-74c5-0324-f09268e6002a@telenet.be
reopen 58149
merge 58149 58526
thanks
I tried merging 58149 with 58526 because they appear to be essentially
the same issue (pre-lzip stuff).
As far as I can tell, no fix for that problem was provided, and it's
still happening (see, e.g., 58526). As such, I'm reopening.
Feel free to reclose if I missed something.
Greetings,
Maxime.
Attachment: OpenPGP_signature
Z
Z
zimoun wrote on 17 Oct 2022 09:58
(address . timflutre@gmail.com)(address . 58526@debbugs.gnu.org)
87h702op95.fsf@gmail.com
Hi,

On dim., 16 oct. 2022 at 17:25, Timothée Flutre <timflutre@gmail.com> wrote:

Toggle quote (3 lines)
> Thank you Simon. I copy-pasted your command but I have no file named
> "/gnu/store/n8vdar2f60mvq62g7mngpqwykbm9rw1q-guix-1.2.0rc2-1.0d4b1af".

Hum, the error is about curl, no? I mean the message reads,

Toggle quote (2 lines)
> ./guix/store.scm:1414:15: Throw to key `srfi-34' with args `(#<condition &store-protocol-error [message: "some substitutes for the outputs of derivation `/gnu/store/i6ckkxx8211x9yz3f34wcnbg7mblk7kg-curl-7.84.0.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source " status: 1] a58b0c0>)'.

so do I miss something?

Well, could you try to add the option --fallback

sudo -i guix package --bootstrap --fallback -r guix -i \
/gnu/store/n8vdar2f60mvq62g7mngpqwykbm9rw1q-guix-1.2.0rc2-1.0d4b1af

?


Cheers,
simon
T
T
Timothée Flutre wrote on 17 Oct 2022 20:23
(name . zimoun)(address . zimon.toutoune@gmail.com)(address . 58526@debbugs.gnu.org)
CAGJVmu+_RhJ2daMYX0P2BfB3gst8Es0zY8z1SohXeDb6iBvW6g@mail.gmail.com
Hello Simon,

I have curl on my computer (v7.81.0). I tried running your command but it
failed, returning the following:
~$ sudo -i guix package --bootstrap --fallback -r guix -i
/gnu/store/n8vdar2f60mvq62g7mngpqwykbm9rw1q-guix-1.2.0rc2-1.0d4b1af
[sudo] password for tflutre:
/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash:
warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
guix package: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.

guix package: error: package 'guix' not found in profile

Tim
Attachment: file
T
T
Timothée Flutre wrote on 17 Oct 2022 20:25
(name . Maxime Devos)(address . maximedevos@telenet.be)
CAGJVmuLxFLT4FyeoseHUnom92dkaTWt7Tw1F+23K9RokkD7KGg@mail.gmail.com
Hello Maxime,

Thanks for finding this issue that seems related to my issue.

As it may take some time for someone to fix this issue, could I uninstall
my current Guix setup, and install it again?

Sorry for top-posting, I was not aware of the problem it may caused.

Best,
Tim
Attachment: file
M
M
Maxime Devos wrote on 17 Oct 2022 20:56
(address . timflutre@gmail.com)
7a1c4476-c5c1-ad07-505d-fb37afd89f9f@telenet.be
On 17-10-2022 20:25, Timothée Flutre wrote:
Toggle quote (6 lines)
> Hello Maxime,
>
> Thanks for finding this issue that seems related to my issue.
>
> As it may take some time for someone to fix this issue, could I
> uninstall my current Guix setup, and install it again?
As far as I know there is no law against that, sure (it also doesn't
appear to be a 'moreinfo' situation).
Greetings,
Maxime.
Attachment: OpenPGP_signature
Z
Z
zimoun wrote on 17 Oct 2022 21:59
(address . timflutre@gmail.com)(address . 58526@debbugs.gnu.org)
868rle1at1.fsf@gmail.com
Hi,

On Mon, 17 Oct 2022 at 20:23, Timothée Flutre <timflutre@gmail.com> wrote:

Toggle quote (10 lines)
> ~$ sudo -i guix package --bootstrap --fallback -r guix -i
> /gnu/store/n8vdar2f60mvq62g7mngpqwykbm9rw1q-guix-1.2.0rc2-1.0d4b1af
> [sudo] password for tflutre:
> /gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash:
> warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
> guix package: warning: Consider running 'guix pull' followed by
> 'guix package -u' to get up-to-date packages and security updates.
>
> guix package: error: package 'guix' not found in profile

sudo -i \
guix package --bootstrap --fallback \
-i /gnu/store/n8vdar2f60mvq62g7mngpqwykbm9rw1q-guix-1.2.0rc2-1.0d4b1af


Cheers,
simon
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 58526@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 58526
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch