[cmake-developers] libarchive and SCHILY.fflags

Brad King brad.king at kitware.com
Tue Jun 5 16:43:15 EDT 2012


On 06/05/2012 03:55 PM, Kornel Benko wrote:
> Ok, I created a dir with 340 entries. (330 entries was not enough).

Thanks.  I see the header in the tarball you sent:

 $ tar xvzf ../data.tgz |wc -l
 tar: Ignoring unknown extended header keyword `SCHILY.fflags'
 341

However, I cannot reproduce it.  I built libarchive 3.0.3 from
upstream and built CMake 2.8.8 against it:

 $ tar --version
 tar (GNU tar) 1.26
 $ .../bin/cmake --version
 cmake version 2.8.8
 $ ldd .../bin/cmake |grep libarchive
         libarchive.so.12 => .../lib/libarchive.so.12 (0x00007fd4a999a000)
 $ strings .../lib/libarchive.so.12 |grep 3.0
 libarchive 3.0.3

I can create a tarball from the same directory extracted from yours
and it has no trouble:

 $ .../bin/cmake -E tar cf xx.tar xx
 $ tar xvf xx.tar |wc -l
 341

I can make a much bigger one without trouble too:

 $ for n in $(seq 1 4096); do echo $n > xx/$n; done
 $ .../bin/cmake -E tar cf xx.tar xx
 $ tar xvf xx.tar |wc -l
 4097

Is there any change in Ubuntu's package for libarchive that is
not upstream?

This may also depend on the filesystem.  Are you using selinux?

-Brad



More information about the cmake-developers mailing list