Wind River Support Network

HomeDefectsLIN9-5635
Fixed

LIN9-5635 : Selecting IPK package type results in build error

Created: Oct 23, 2017    Updated: Dec 3, 2018
Resolved Date: Oct 26, 2017
Found In Version: 9.0.0.10
Fix Version: 9.0.0.12
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Build & Config, Userspace
Host OS: Linux Ubuntu
Architecture: IA

Description

A customer recently noted that when they attempted to change their "local.conf" setting to use IPK packaging their system did not build.   The result was an error while trying to build "util-linux".   

>>>>>
ERROR: util-linux-2.28.1-r0.3 do_package_write_ipk: opkg-build execution failed
ERROR: util-linux-2.28.1-r0.3 do_package_write_ipk: Function failed: do_package_ipk
ERROR: Logfile of failure stored in: /testclean/build/tmp/work/corei7-32-wrs-linux/util-linux/2.28.1-r0.3/temp/log.do_package_write_ipk.10273
ERROR: Task (/testclean/layers/oe-core/meta/recipes-core/util-linux/util-linux_2.28.1.bb:do_package_write_ipk) failed with exit code '1'
NOTE: Tasks Summary: Attempted 679 tasks of which 671 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /testclean/layers/oe-core/meta/recipes-core/util-linux/util-linux_2.28.1.bb:do_package_write_ipk

Summary: There were 2 ERROR messages shown, returning a non-zero exit code
>>>>>

This error was verified with the latest release.

Steps to Reproduce

	1. Clone from windshare (for example)
	
	$ git clone --branch WRLINUX_9_LTS_CVE /WindRiver/jci-wssync/WRLinux-9-LTS-CVE/wrlinux-9
	
	2. Set up project
	
	$ ./wrlinux-9/setup.sh --all-layers --dl-layers --accept-eula yes --machine intel-x86-32
	
	3. Set up environment for testing/building
	
	$ source environment-setup-x86_64-wrlinuxsdk-linux
	$ source oe-init-build-env
	
	4. Modify local.conf
	
	-PACKAGE_CLASSES ?= "package_rpm"
	+PACKAGE_CLASSES ?= "package_ipk"
	
	5. Build
	
	$ MACHINE=intel-x86-32 bitbake -k util-linux
	
	NOTE: build fails 
	 
	ERROR: util-linux-2.28.1-r0.3 do_package_write_ipk: opkg-build execution failed
	ERROR: util-linux-2.28.1-r0.3 do_package_write_ipk: Function failed: do_package_ipk
	ERROR: Logfile of failure stored in: /WindRiver/wrl9_ipk_testing/build/tmp/work/corei7-32-wrs-linux/util-linux/2.28.1-r0.3/temp/log.do_package_write_ipk.12473
	ERROR: Task (/WindRiver/wrl9_ipk_testing/layers/oe-core/meta/recipes-core/util-linux/util-linux_2.28.1.bb:do_package_write_ipk) failed with exit code '1'
	NOTE: Tasks Summary: Attempted 679 tasks of which 0 didn't need to be rerun and 1 failed.

Other Downloads


Live chat
Online