[CMake] Cmake/Cpack creates a corrupt .rpm

Zan Lynx zlynx at acm.org
Thu May 30 20:36:57 EDT 2019


On May 30, 2019 5:21:59 PM MST, "Gonzalo Garramuño" <ggarra13 at gmail.com> wrote:
>
>El 30/5/19 a las 12:51, Gonzalo Garramuño escribió:
>> rpm -ql mrViewer-v5.0.6-Linux-64.rpm
>
>If I run cpio -i < mrViewer-v5.0.6-Linux-64.rpm
>
>I get a bunch of warnings of Incorrect numbers (and garbage) and Cannot
>
>make mknod: the multibyte or extended character is incomplete or 
>invalid, and attention: 4390 bytes of garbage skipped and header is 
>reversed and type of archive unknown and premature end of the archive.

RPM files are not cpio. They contain a cpio. Use rpm2cpio as a filter.
-- 
                Knowledge is Power -- Power Corrupts
                        Study Hard -- Be Evil


More information about the CMake mailing list