[yocto] [OE-core] liblzma: Memory allocation failed on do_package_rpm

Alexander Kanavin alexander.kanavin at linux.intel.com
Mon Jan 15 02:19:50 PST 2018


On 01/15/2018 08:20 AM, Manjukumar Harthikote Matha wrote:
> All,
> 
> Has anybody seen this error?
> 
> Finished binary package job, result 0, filename (null)
> error: create archive failed: cpio: write failed - Cannot allocate memory
> error: liblzma: Memory allocation failederror: liblzma: Memory allocation failedFinished binary package job, result 2,


Never seen it. You need to find the spot in the source code where the 
error message is being printed, and see what is the failing function, 
and how much memory it's being asked to allocate etc. Essentially, study 
and play with rpm source code. The starting command to do that is:

devtool modify rpm-native


Alex



More information about the yocto mailing list