automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

srcdir could lead distcheck to a corrupted tarball


From: Nicola Fontana
Subject: srcdir could lead distcheck to a corrupted tarball
Date: Sat, 12 Jan 2013 13:44:23 +0100

Hi all,

I've been hardly beaten by the issue described here:

http://lists.gnu.org/archive/html/automake/2006-09/msg00008.html

I still think that is a clean bug. From what I understood, VPATH
and srcdir are both ".." during distcheck, so also "../.." (that
is the directory where make distcheck has been called from) is
considered when resolving files prepended by $srcdir. This makes
distcheck succeed generating a tarball with missing files.

Is there any drawback in using abs_srcdir instead of srcdir? I'm
in the mood of a global s/srcdir/abs_srcdir/.

Why not add another subdir under _build to solve this issue?I'm currently 
playing with the attached dumb patch and thisapproach seems to work.

Ciao.
-- 
Nicola

Attachment: 0001-distcheck-build-under-_build-_build.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]