GNU bug report logs - #45279
[core-updates] copy-recursively does not throw an error on missing directory

Previous Next

Package: guix;

Reported by: Marius Bakke <marius <at> gnu.org>

Date: Wed, 16 Dec 2020 21:27:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Mark H Weaver <mhw <at> netris.org>
To: Ludovic Courtès <ludo <at> gnu.org>, Marius Bakke <marius <at> gnu.org>
Cc: 45279 <at> debbugs.gnu.org
Subject: bug#45279: [core-updates] copy-recursively does not throw an error on missing directory
Date: Thu, 17 Dec 2020 15:23:44 -0500
Ludovic Courtès <ludo <at> gnu.org> writes:

> Marius Bakke <marius <at> gnu.org> skribis:
>
>> On the 'core-updates' branch, using copy-recursively on a nonexistent
>> directory does not cause a build failure.  Instead an error is printed
>> and the script continues:
>>
>>   (copy-recursively "doesnotexist" output)
>>   [...]
>>   starting phase `install'
>>   i/o error: doesnotexist: No such file or directory
>>   phase `install' succeeded after 0.0 seconds
>>
>> This is on cc6cb6e80a42355147809b4830053a34d1563994.
>
> I think it’s always been this way.  Do you think we should change it?

In general, I think it's a good idea to raise errors for things like
this.  Warnings that only end up in build logs are likely to go
unnoticed for a long time.

      Mark




This bug report was last modified 1 year and 36 days ago.

Previous Next


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