Hi! Maxim Cournoyer skribis: > Reading the Automake manual (info (automake) List of Automake options) I > stumbled on this: > > ‘filename-length-max=99’ > Abort if file names longer than 99 characters are found during > ‘make dist’. Such long file names are generally considered not to > be portable in tarballs. See the ‘tar-v7’ and ‘tar-ustar’ options > below. This option should be used in the top-level ‘Makefile.am’ > or as an argument of ‘AM_INIT_AUTOMAKE’ in ‘configure.ac’; it will > be ignored otherwise. It will also be ignored in sub-packages of > nested packages (*note Subpackages::). > > This makes me think that Automake is simply configured out of the box to > keep the file names as portable as possible (it doesn't mean it uses > tar-v7 itself, IIUC, though I haven't checked). Oh, looks like we could add the ‘tar-ustar’ option and be done with it (info "(automake) List of Automake options"): ‘tar-ustar’ selects the ustar format defined by POSIX 1003.1-1988. This format is old enough to be portable: As of 2018, it is supported by the native ‘tar’ command on GNU, FreeBSD, NetBSD, OpenBSD, AIX, HP-UX, and Solaris, at least. It fully supports empty directories. It can store file names with up to 256 characters, provided that the file name can be split at directory separator in two parts, first of them being at most 155 bytes long. So, in most cases the maximum file name length will be shorter than 256 characters. Any objections against the patch below?