GNU bug report logs - #35271
system disk-image symlink root parent directory duplicated

Previous Next

Package: guix;

Reported by: rendaw <7e9wc56emjakcm <at> s.rendaw.me>

Date: Sun, 14 Apr 2019 13:23:02 UTC

Severity: normal

Found in version 0.16.0

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35271 in the body.
You can then email your comments to 35271 AT debbugs.gnu.org in the normal way.

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#35271; Package guix. (Sun, 14 Apr 2019 13:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to rendaw <7e9wc56emjakcm <at> s.rendaw.me>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 14 Apr 2019 13:23:02 GMT) Full text and rfc822 format available.

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

From: rendaw <7e9wc56emjakcm <at> s.rendaw.me>
To: submit <at> debbugs.gnu.org
Subject: system disk-image symlink root parent directory duplicated
Date: Sun, 14 Apr 2019 22:22:46 +0900
Package: guix
Version: 0.16.0

Running:

guix system disk-image .../server/tmpudkxw7og.scm -r
temp/image-2019-4-14 --on-error=backtrace

in the `server` directory which has a subdirectory `temp` fails with
this error:

successfully built
/gnu/store/xqcy47al19dn2bfbnmz7vmjm812ikgqx-disk-image.drv
guix system: error: failed to create GC root
`.../server/temp/temp/image-2019-4-14': No such file or directory




Information forwarded to bug-guix <at> gnu.org:
bug#35271; Package guix. (Mon, 15 Apr 2019 12:59:03 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: rendaw <7e9wc56emjakcm <at> s.rendaw.me>
Cc: 35271 <at> debbugs.gnu.org
Subject: Re: bug#35271: system disk-image symlink root parent directory
 duplicated
Date: Mon, 15 Apr 2019 14:57:56 +0200
Hi,

rendaw <7e9wc56emjakcm <at> s.rendaw.me> skribis:

> guix system disk-image .../server/tmpudkxw7og.scm -r
> temp/image-2019-4-14 --on-error=backtrace
>
> in the `server` directory which has a subdirectory `temp` fails with
> this error:
>
> successfully built
> /gnu/store/xqcy47al19dn2bfbnmz7vmjm812ikgqx-disk-image.drv
> guix system: error: failed to create GC root
> `.../server/temp/temp/image-2019-4-14': No such file or directory

Unless you provide more info, we’ll have to assume that ‘guix system’ is
right: the “No such file or directory” comes directly from open(2).

Do you have any reasons to believe that something is amiss here?

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#35271; Package guix. (Mon, 15 Apr 2019 13:11:01 GMT) Full text and rfc822 format available.

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

From: rendaw <7e9wc56emjakcm <at> s.rendaw.me>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 35271 <at> debbugs.gnu.org
Subject: Re: bug#35271: system disk-image symlink root parent directory
 duplicated
Date: Mon, 15 Apr 2019 22:10:26 +0900
On 4/15/19 9:57 PM, Ludovic Courtès wrote:
> Hi,
>
> rendaw <7e9wc56emjakcm <at> s.rendaw.me> skribis:
>
>> guix system disk-image .../server/tmpudkxw7og.scm -r
>> temp/image-2019-4-14 --on-error=backtrace
>>
>> in the `server` directory which has a subdirectory `temp` fails with
>> this error:
>>
>> successfully built
>> /gnu/store/xqcy47al19dn2bfbnmz7vmjm812ikgqx-disk-image.drv
>> guix system: error: failed to create GC root
>> `.../server/temp/temp/image-2019-4-14': No such file or directory
> Unless you provide more info, we’ll have to assume that ‘guix system’ is
> right: the “No such file or directory” comes directly from open(2).
>
> Do you have any reasons to believe that something is amiss here?
>
> Thanks,
> Ludo’.

Thanks for the response!

I specified `temp/image-2019-4-14` which would make the directory
`server/temp/image-2019-4-14` rather than
`server/temp/temp/image-2019-4-14`.  Somehow the `temp/` is getting
duplicated.





Information forwarded to bug-guix <at> gnu.org:
bug#35271; Package guix. (Mon, 15 Apr 2019 13:15:01 GMT) Full text and rfc822 format available.

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

From: rendaw <7e9wc56emjakcm <at> s.rendaw.me>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 35271 <at> debbugs.gnu.org
Subject: Re: bug#35271: system disk-image symlink root parent directory
 duplicated
Date: Mon, 15 Apr 2019 22:13:58 +0900
On 4/15/19 9:57 PM, Ludovic Courtès wrote:
> Hi,
>
> rendaw <7e9wc56emjakcm <at> s.rendaw.me> skribis:
>
>> guix system disk-image .../server/tmpudkxw7og.scm -r
>> temp/image-2019-4-14 --on-error=backtrace
>>
>> in the `server` directory which has a subdirectory `temp` fails with
>> this error:
>>
>> successfully built
>> /gnu/store/xqcy47al19dn2bfbnmz7vmjm812ikgqx-disk-image.drv
>> guix system: error: failed to create GC root
>> `.../server/temp/temp/image-2019-4-14': No such file or directory
> Unless you provide more info, we’ll have to assume that ‘guix system’ is
> right: the “No such file or directory” comes directly from open(2).
>
> Do you have any reasons to believe that something is amiss here?
>
> Thanks,
> Ludo’.

Sorry, I realize I might not have been entirely clear here.

CWD is `.../server`

The directory `.../server/temp` exists

The specified -r is: `temp/image-2019-4-14`

I would expect the destination to be: `.../server/temp/image-2019-4-14`
(joining `.../server` `temp/image-2019-4-14`)

The actual destination guix system uses is:
`.../server/temp/temp/image-2019-4-14` which produces an error because
`temp/temp` doesn't exist.





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Mon, 15 Apr 2019 16:08:01 GMT) Full text and rfc822 format available.

Notification sent to rendaw <7e9wc56emjakcm <at> s.rendaw.me>:
bug acknowledged by developer. (Mon, 15 Apr 2019 16:08:02 GMT) Full text and rfc822 format available.

Message #19 received at 35271-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: rendaw <7e9wc56emjakcm <at> s.rendaw.me>
Cc: 35271-done <at> debbugs.gnu.org
Subject: Re: bug#35271: system disk-image symlink root parent directory
 duplicated
Date: Mon, 15 Apr 2019 18:07:40 +0200
Hello,

rendaw <7e9wc56emjakcm <at> s.rendaw.me> skribis:

> CWD is `.../server`
>
> The directory `.../server/temp` exists
>
> The specified -r is: `temp/image-2019-4-14`
>
> I would expect the destination to be: `.../server/temp/image-2019-4-14`
> (joining `.../server` `temp/image-2019-4-14`)
>
> The actual destination guix system uses is:
> `.../server/temp/temp/image-2019-4-14` which produces an error because
> `temp/temp` doesn't exist.

Oh, got it.  Fixed in commit 4aea820f0954fce4d076718072faf211f62f3f9d.

Thanks!

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#35271; Package guix. (Mon, 15 Apr 2019 16:09:02 GMT) Full text and rfc822 format available.

Message #22 received at 35271-done <at> debbugs.gnu.org (full text, mbox):

From: rendaw <7e9wc56emjakcm <at> s.rendaw.me>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 35271-done <at> debbugs.gnu.org
Subject: Re: bug#35271: system disk-image symlink root parent directory
 duplicated
Date: Tue, 16 Apr 2019 01:08:42 +0900
On 4/16/19 1:07 AM, Ludovic Courtès wrote:
> Hello,
>
> rendaw <7e9wc56emjakcm <at> s.rendaw.me> skribis:
>
>> CWD is `.../server`
>>
>> The directory `.../server/temp` exists
>>
>> The specified -r is: `temp/image-2019-4-14`
>>
>> I would expect the destination to be: `.../server/temp/image-2019-4-14`
>> (joining `.../server` `temp/image-2019-4-14`)
>>
>> The actual destination guix system uses is:
>> `.../server/temp/temp/image-2019-4-14` which produces an error because
>> `temp/temp` doesn't exist.
> Oh, got it.  Fixed in commit 4aea820f0954fce4d076718072faf211f62f3f9d.
>
> Thanks!
>
> Ludo’.
Awesome, thank you!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 14 May 2019 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 310 days ago.

Previous Next


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