[libvirt] [PATCH] Tell automake to use tar-pax instead of tar-v7 for make dist

Daniel Veillard veillard at redhat.com
Wed Oct 27 12:44:18 UTC 2010


On Wed, Oct 27, 2010 at 01:40:13PM +0200, Matthias Bolte wrote:
> Commit 66a04090673a5e21700d11bdea0084f1ee870c24 updated the
> API extention example patch series and added files that
> results in filenames longer than 99 chars during make dist.
> This is a problem because automake uses tar with the old v7
> format during make dist. The v7 format is limited to 99 chars
> per filename.
> 
> Use the newer and unlimited POSIX format instead.
> ---
>  configure.ac |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index d942d3c..838dac7 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -6,7 +6,7 @@ AC_CONFIG_AUX_DIR([build-aux])
>  AC_CONFIG_HEADERS([config.h])
>  AC_CONFIG_MACRO_DIR([m4])
>  dnl Make automake keep quiet about wildcards & other GNUmake-isms
> -AM_INIT_AUTOMAKE([-Wno-portability])
> +AM_INIT_AUTOMAKE([1.9 -Wno-portability tar-pax])
>  
>  # Use the silent-rules feature when possible.
>  m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])])

  ACK, does that fix the problem of the huge tarball being generated ?

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list