* bug#35271: system disk-image symlink root parent directory duplicated
@ 2019-04-14 13:22 rendaw
2019-04-15 12:57 ` Ludovic Courtès
0 siblings, 1 reply; 6+ messages in thread
From: rendaw @ 2019-04-14 13:22 UTC (permalink / raw)
To: 35271
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#35271: system disk-image symlink root parent directory duplicated
2019-04-14 13:22 bug#35271: system disk-image symlink root parent directory duplicated rendaw
@ 2019-04-15 12:57 ` Ludovic Courtès
2019-04-15 13:10 ` rendaw
2019-04-15 13:13 ` rendaw
0 siblings, 2 replies; 6+ messages in thread
From: Ludovic Courtès @ 2019-04-15 12:57 UTC (permalink / raw)
To: rendaw; +Cc: 35271
Hi,
rendaw <7e9wc56emjakcm@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’.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#35271: system disk-image symlink root parent directory duplicated
2019-04-15 12:57 ` Ludovic Courtès
@ 2019-04-15 13:10 ` rendaw
2019-04-15 13:13 ` rendaw
1 sibling, 0 replies; 6+ messages in thread
From: rendaw @ 2019-04-15 13:10 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 35271
On 4/15/19 9:57 PM, Ludovic Courtès wrote:
> Hi,
>
> rendaw <7e9wc56emjakcm@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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#35271: system disk-image symlink root parent directory duplicated
2019-04-15 12:57 ` Ludovic Courtès
2019-04-15 13:10 ` rendaw
@ 2019-04-15 13:13 ` rendaw
2019-04-15 16:07 ` Ludovic Courtès
1 sibling, 1 reply; 6+ messages in thread
From: rendaw @ 2019-04-15 13:13 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 35271
On 4/15/19 9:57 PM, Ludovic Courtès wrote:
> Hi,
>
> rendaw <7e9wc56emjakcm@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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#35271: system disk-image symlink root parent directory duplicated
2019-04-15 13:13 ` rendaw
@ 2019-04-15 16:07 ` Ludovic Courtès
2019-04-15 16:08 ` rendaw
0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2019-04-15 16:07 UTC (permalink / raw)
To: rendaw; +Cc: 35271-done
Hello,
rendaw <7e9wc56emjakcm@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’.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#35271: system disk-image symlink root parent directory duplicated
2019-04-15 16:07 ` Ludovic Courtès
@ 2019-04-15 16:08 ` rendaw
0 siblings, 0 replies; 6+ messages in thread
From: rendaw @ 2019-04-15 16:08 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 35271-done
On 4/16/19 1:07 AM, Ludovic Courtès wrote:
> Hello,
>
> rendaw <7e9wc56emjakcm@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!
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-04-15 16:09 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-14 13:22 bug#35271: system disk-image symlink root parent directory duplicated rendaw
2019-04-15 12:57 ` Ludovic Courtès
2019-04-15 13:10 ` rendaw
2019-04-15 13:13 ` rendaw
2019-04-15 16:07 ` Ludovic Courtès
2019-04-15 16:08 ` rendaw
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.