Given this test case:
cmake_minimum_required(VERSION 3.3)
project(Foo NONE)
install(FILES CMakeLists.txt DESTINATION tmp)
set(CPACK_DEBIAN_COMPRESSION_TYPE "xz")
set(CPACK_PACKAGE_CONTACT "f...@bar.com")
include(CPack)
A debian package created with:
cpack -G DEB
Fails during installation with dpkg -i with:
tar: Archive is compressed. Use -J option
tar: Error is not recoverable: exiting now
dpkg-deb: error: subprocess tar returned error exit status 2
The breaking commit seems to be:
7044e8ee4baa8250fd9c4e915b13d53c7f543ea3 CPackDeb: use of
libarchive and removal of fakeroot
From the looks of it the contained "control.tar.gz" is now XZ
compressed as well while it previously was gzip compressed.
Nils
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers