On Tue, Dec 09, 2014 at 08:34:44AM +0000, peter green wrote:
> Package: cwebx
> Severity: important
> Tags: patch
> 
> cwebx failed to build on the raspbian jessie autobuilders with the following
> error. The build was tried twice so I do not belive this was a fluke.
> [...]
> 
> According to wikpedia test -s checks if a file exists and has a size greater
> than 0. We use btrfs on our autobuilders for space-efficient snapshotting.
> Doing some testing it seems btrfs reports a size of 0 for empty directories.
> So on btrfs if the directory exists and is empty the command will fail.
> 
> I believe the correct fix is to use -e instead of -s. I have tested this on
> the raspbian jessie autobuilders and got a successful build.

Hi Peter,

Thanks for this!

Now that jessie is released, I've uploaded a patched version.  I used
test -d rather than test -e, though; if $(prefix)/bin exists but is
not a directory, the pipeline will then correctly fail.

Best wishes,

   Julian


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to