Too long file names for tar around artwork...

Rob Taylor rob.taylor at codethink.co.uk
Sat Mar 10 21:00:07 CET 2007


Rodolphe Ortalo wrote:
> Hello,
> 
> still playing with make&co. I tried to package the artwork/ themes files
> too and I am falling on an error that could have some implications:
> 
> tar:
> openmoko-blob-0.0.1/artwork/themes/openmoko-standard/gtk-2.0/mokodialogwindow-closebutton-pressed.png: le nom de fichier est trop long (max 99); n'a pas été vidangé.
> tar:
> openmoko-blob-0.0.1/artwork/themes/openmoko-standard/gtk-2.0/openmoko-action-button-address-icon.png: le nom de fichier est trop long (max 99); n'a pas été vidangé.
> tar:
> openmoko-blob-0.0.1/artwork/themes/openmoko-standard/gtk-2.0/openmoko-action-button-concant-delete-icon.png: le nom de fichier est trop long (max 99); n'a pas été vidangé.
> tar:
> openmoko-blob-0.0.1/artwork/themes/openmoko-standard/gtk-2.0/openmoko-action-button-concant-mode-icon.png: le nom de fichier est trop long (max 99); n'a pas été vidangé.
> tar:
> openmoko-blob-0.0.1/artwork/themes/openmoko-standard/gtk-2.0/openmoko-action-button-delete-folder-icon.png: le nom de fichier est trop long (max 99); n'a pas été vidangé.
> [...]
> 
> Oh, btw, in english the error is something like: "file name too long
> (max 99), not flushed."
> I am just reporting this to warn that this limit is not far in the
> artwork subdirectory... I am gonno try to save a few chars in the
> prefix.
> 


The fix for this is to use modern AM_INIT_AUTOMAKE([1.9 tar-pax]) in
configure.in, which specifies using automake>=1.9 and POSIX 1003.1-2001
complient tar, rather than tar v7 complience (which limits filenames to
99 chars). Limiting to 1.9 or better is needed as this is when the
tar-pax option was introduced.

Thanks,
Rob Tayloe



More information about the openmoko-devel mailing list