Wind River Support Network

HomeDefectsLIN10-4661
Not to be fixed

LIN10-4661 : WRL17 liblzma: Memory allocation failed

Created: Sep 6, 2018    Updated: Oct 7, 2019
Resolved Date: Oct 7, 2019
Found In Version: 10.17.41.10
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: Build & Config

Description

building a standard LTS17 project on a host that has non-default overcommit values, ends up in a build failure:

|     Deprecated external dependency generator is used!
|     Deprecated external dependency generator is used!
|     Deprecated external dependency generator is used!
|     Deprecated external dependency generator is used!
|     liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failed    liblzma: Memory allocation failedWARNING: /lts_build/build/tmp-glibc/work/all-wrs-linux/linux-firmware/1_0.0+gitAUTOINC+65b1c68c63-r0/temp/run.BUILDSPEC.104492:1 exit 1 from 'rpmbuild --noclean --nodeps --short-circuit --target noarch-wrs-linux --buildroot /lts_build/build/tmp-glibc/work/all-wrs-linux/linux-firmware/1_0.0+gitAUTOINC+65b1c68c63-r0/package --define '_topdir /lts_build/build/tmp-glibc/work/all-wrs-linux/linux-firmware/1_0.0+gitAUTOINC+65b1c68c63-r0' --define '_rpmdir /lts_build/build/tmp-glibc/work/all-wrs-linux/linux-firmware/1_0.0+gitAUTOINC+65b1c68c63-r0/deploy-rpms/noarch' --define '_builddir /lts_build/build/tmp-glibc/work/all-wrs-linux/linux-firmware/1_0.0+gitAUTOINC+65b1c68c63-r0/git' --define '_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm' --define '_use_internal_dependency_generator 0' --define '_binaries_in_noarch_packages_terminate_build 0' --define '_build_id_links none' --define '_binary_payload w6T.xzdio' --define '_source_payload w6T.xzdio' --define '__find_requires %{nil}' --define '__find_provides %{nil}' --define '_unpackaged_files_terminate_build 0' --define 'debug_package %{nil}' --define '_tmppath /lts_build/build/tmp-glibc/work/all-wrs-linux/linux-firmware/1_0.0+gitAUTOINC+65b1c68c63-r0' -bb /lts_build/build/tmp-glibc/work/all-wrs-linux/linux-firmware/1_0.0+gitAUTOINC+65b1c68c63-r0/linux-firmware.spec'
| DEBUG: Python function do_package_rpm finished
| DEBUG: Python function do_package_write_rpm finished
| ERROR: Function failed: BUILDSPEC (log file is located at /lts_build/build/tmp-glibc/work/all-wrs-linux/linux-firmware/1_0.0+gitAUTOINC+65b1c68c63-r0/temp/log.do_package_write_rpm.104492)
ERROR: Task (/lts_build/layers/oe-core/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb:do_package_write_rpm) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2585 tasks of which 10 didn't need to be rerun and 2 failed.

Summary: 2 tasks failed:
  /lts_build/layers/oe-core/meta/recipes-devtools/gcc/gcc-cross_7.3.bb:do_compile
  /lts_build/layers/oe-core/meta/recipes-kernel/linux-firmware/linux-firmware_git.bb:do_package_write_rpm
Summary: There were 8 WARNING messages shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.

Workaround

do not use custom overcommit values

Steps to Reproduce

 ../lts17/wrlinux-x/setup.sh --machines intel-x86-64
 source oe-init-build-env
  sudo sysctl -w vm.overcommit_memory=2
  sudo sysctl -w vm.overcommit_ratio=90
  bitbake wrlinux-image-glibc-std

Other Downloads


Live chat
Online