From mboxrd@z Thu Jan 1 00:00:00 1970 From: rendaw <7e9wc56emjakcm@s.rendaw.me> Subject: bug#35271: system disk-image symlink root parent directory duplicated Date: Mon, 15 Apr 2019 22:13:58 +0900 Message-ID: References: <87y34bmnmz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:40370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hG1Ry-0008KD-Gs for bug-guix@gnu.org; Mon, 15 Apr 2019 09:15:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hG1Rw-0007Mt-Fl for bug-guix@gnu.org; Mon, 15 Apr 2019 09:15:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48942) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hG1Ru-0007Lo-4T for bug-guix@gnu.org; Mon, 15 Apr 2019 09:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hG1Rt-0006A4-TY for bug-guix@gnu.org; Mon, 15 Apr 2019 09:15:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87y34bmnmz.fsf@gnu.org> Content-Language: en-US List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 35271@debbugs.gnu.org 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.