From: Loic Dachary Date: Thu, 24 Sep 2015 05:53:38 +0000 (+0200) Subject: build/ops: make dist needs files with names > 99 characters X-Git-Tag: v9.1.0~82^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F6063%2Fhead;p=ceph.git build/ops: make dist needs files with names > 99 characters When running make distdir=ceph-9.0.3-1870-gfd861bb dist, a few files have names longer than 99 characters and discarded, which then causes the resulting tarbal to be incomplete: tar: ceph-9.0.3-1870-gfd861bb/src/rocksdb/utilities/write_batch_with_index/write_batch_with_index_internal.cc: file name is too long (max 99); not dumped tar: ceph-9.0.3-1870-gfd861bb/src/rocksdb/utilities/write_batch_with_index/write_batch_with_index_internal.h: file name is too long (max 99); not dumped Use the tar-ustar format instead of the legacy v7 format (http://www.gnu.org/software/automake/manual/automake.html#Options). It is unlikely machines with a C++11 compiler also have an antique tar binary that would only support v7. Signed-off-by: Loic Dachary --- diff --git a/configure.ac b/configure.ac index 3e20affe674d..9bef7677be28 100644 --- a/configure.ac +++ b/configure.ac @@ -46,13 +46,12 @@ AC_CANONICAL_TARGET m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) # Automake -AM_INIT_AUTOMAKE AM_PROG_CC_C_O AM_PROG_LIBTOOL AM_PROG_AS -AM_INIT_AUTOMAKE([foreign parallel-tests]) +AM_INIT_AUTOMAKE([foreign parallel-tests tar-ustar]) # enable make V=0 (if automake >1.11) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])