GNU bug report logs - #38821
Can't run guix from external drive.

Previous Next

Package: guix;

Reported by: Jan <tona_kosmicznego_smiecia <at> interia.pl>

Date: Mon, 30 Dec 2019 19:48:02 UTC

Severity: normal

To reply to this bug, email your comments to 38821 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#38821; Package guix. (Mon, 30 Dec 2019 19:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jan <tona_kosmicznego_smiecia <at> interia.pl>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 30 Dec 2019 19:48:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jan <tona_kosmicznego_smiecia <at> interia.pl>
To: bug-guix <at> gnu.org
Subject: Can't run guix from external drive.
Date: Mon, 30 Dec 2019 20:31:19 +0100
Hi,
I tried running "guix install" from my USB hard drive and that's what I
got:

user <at> machine /media/user/Backup$
Backtrace:
           4 (apply-smob/1 #<catch-closure 7f9a0f679340>)
In ice-9/boot-9.scm:
    705:2  3 (call-with-prompt ("prompt") #<procedure 7f9a0f6902e0 …> …)
In ice-9/eval.scm:
    619:8  2 (_ #(#(#<directory (guile-user) 7f9a0f309140>)))
In ice-9/command-line.scm:
   189:23  1 (load/lang "/home/lain/.config/guix/current/bin/guix")
In unknown file:
           0 (getcwd)

ERROR: In procedure getcwd:
In procedure getcwd: There's no such a file or directory


Jan Wielkiewicz




Information forwarded to bug-guix <at> gnu.org:
bug#38821; Package guix. (Thu, 02 Jan 2020 18:38:01 GMT) Full text and rfc822 format available.

Message #8 received at 38821 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Jan <tona_kosmicznego_smiecia <at> interia.pl>
Cc: 38821 <at> debbugs.gnu.org
Subject: Re: bug#38821: Can't run guix from external drive.
Date: Thu, 02 Jan 2020 19:37:43 +0100
Hi,

Jan <tona_kosmicznego_smiecia <at> interia.pl> skribis:

> I tried running "guix install" from my USB hard drive and that's what I
> got:
>
> user <at> machine /media/user/Backup$
> Backtrace:
>            4 (apply-smob/1 #<catch-closure 7f9a0f679340>)
> In ice-9/boot-9.scm:
>     705:2  3 (call-with-prompt ("prompt") #<procedure 7f9a0f6902e0 …> …)
> In ice-9/eval.scm:
>     619:8  2 (_ #(#(#<directory (guile-user) 7f9a0f309140>)))
> In ice-9/command-line.scm:
>    189:23  1 (load/lang "/home/lain/.config/guix/current/bin/guix")
> In unknown file:
>            0 (getcwd)
>
> ERROR: In procedure getcwd:
> In procedure getcwd: There's no such a file or directory

It most likely means that the current working directory,
/media/user/Backup, was unmounted or somehow disappeared in the
meantime.

Can you confirm that this is the case?

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#38821; Package guix. (Tue, 07 Jan 2020 18:36:02 GMT) Full text and rfc822 format available.

Message #11 received at 38821 <at> debbugs.gnu.org (full text, mbox):

From: Jan <tona_kosmicznego_smiecia <at> interia.pl>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 38821 <at> debbugs.gnu.org
Subject: Re: bug#38821: Can't run guix from external drive.
Date: Tue, 7 Jan 2020 19:35:31 +0100
On Thu, 02 Jan 2020 19:37:43 +0100
Ludovic Courtès <ludo <at> gnu.org> wrote:

> 
> It most likely means that the current working directory,
> /media/user/Backup, was unmounted or somehow disappeared in the
> meantime.
> 
> Can you confirm that this is the case?
> 
> Thanks,
> Ludo’.

Yes, it only happens, if the disk is unmounted. Is that normal? If it
is, then a message telling what's wrong would be helpful.


Jan Wielkiewicz




Information forwarded to bug-guix <at> gnu.org:
bug#38821; Package guix. (Wed, 08 Jan 2020 10:00:02 GMT) Full text and rfc822 format available.

Message #14 received at 38821 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Jan <tona_kosmicznego_smiecia <at> interia.pl>
Cc: 38821 <at> debbugs.gnu.org
Subject: Re: bug#38821: Can't run guix from external drive.
Date: Wed, 08 Jan 2020 10:58:56 +0100
Hi,

Jan <tona_kosmicznego_smiecia <at> interia.pl> skribis:

> On Thu, 02 Jan 2020 19:37:43 +0100
> Ludovic Courtès <ludo <at> gnu.org> wrote:
>
>> 
>> It most likely means that the current working directory,
>> /media/user/Backup, was unmounted or somehow disappeared in the
>> meantime.
>> 
>> Can you confirm that this is the case?
>> 
>> Thanks,
>> Ludo’.
>
> Yes, it only happens, if the disk is unmounted. Is that normal? If it
> is, then a message telling what's wrong would be helpful.

This issue is not specific to Guix: the ‘getcwd’ function fails if the
current working directory has been unmounted behind the back of the
calling process.  IOW, another program would fail similar in these
circumstances.  I don’t think there’s much that can be done.

Thanks,
Ludo’.




This bug report was last modified 5 years and 155 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.