[CMake] Cmake/Cpack creates a corrupt .rpm

Gonzalo Garramuño ggarra13 at gmail.com
Fri May 31 21:56:40 EDT 2019


El 30/5/19 a las 22:16, Gonzalo Garramuño escribió:
>
> El 30/5/19 a las 21:36, Zan Lynx escribió:
>> RPM files are not cpio. They contain a cpio. Use rpm2cpio as a filter.
>
> Thanks for that.  Using:
>
> rpm2cpio mrViewer-v5.0.7-Linux-64.rpm | cpio -idmv
>
> I can extract all the contents of the archive with no errors.
>
> However, rpm -i bails out with a cpio: read error.  I don't know what 
> to try next.  I have to wonder if the pre/post install scripts are the 
> problem.
>
Okay.  I found the root of the problem in the OS I was trying the RPM.  
Fedora 30 has the problem installing.  CentOS 7, for example, works just 
fine.   Not sure what has changed in Fedora (or if it ever worked on 
it).  Can someone confirm that their cmake .rpm's work in Fedora 30 
(thus, throwing my assumption out of the water)?

Thanks in advance.

-- 
Gonzalo Garramuño



More information about the CMake mailing list