Knowledge Library
Knowledge Library Home
Knowledge Library Home Knowledge Library Products Operating Systems Wind River Linux Wind River Linux 8 Platform Development LIN8-2093 : wrlinux-image-glibc-core do_rootfs failed while running gplv2-build on wrl7_64 distro

LIN8-2093 : wrlinux-image-glibc-core do_rootfs failed while running gplv2-build on wrl7_64 distro

Defect #: LIN8-2093
Found In Version8.0
Fix Version8.0.0.1
Severity:Standard
Status:Fixed
Created Date:12/06/2015
Component/s :Userspace
Sub Component:wrlinux-image-glibc-core

Description

Run GPLv2 build on wrl7_64 distro, the task do_rootfs fails with error:

DEBUG: Executing python function rootfs_process_ignore
DEBUG: Python function rootfs_process_ignore finished
DEBUG: Executing python function rootfs_runtime_mapping
DEBUG: Python function rootfs_runtime_mapping finished
DEBUG: Executing python function do_rootfs
NOTE: configuring RPM platform settings
NOTE: configuring RPM system provides
NOTE: configuring RPM DB settings
ERROR: Create rpm database failed. Command '/home/wrlbuild/builds/builds-2015-12-06-141110-mb3z/qemux86-64_core_v2/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/rpm --root /home/wrlbuild/builds/builds-2015-12-06-141110-mb3z/qemux86-64_core_v2/bitbake_build/tmp/work/qemux86_64-wrs-linux/wrlinux-image-glibc-core/1.0-r2/rootfs --dbpath /var/lib/rpm -qa > /dev/null' returned 139:
BDB0055 illegal flag specified to DB_ENV->set_blob_threshold
BDB3004 individual cache size too large: maximum is 10TB
BDB1561 Directory HHHAtIH not in environment list.
error: db_init:/home/wrlbuild/builds/builds-2015-12-06-141110-mb3z/qemux86-64_core_v2/bitbake_build/tmp/work/x86_64-linux/rpm-native/5.4.14-r0/rpm-5.4.14/rpmdb/db3.c:986: dbenv->set_event_notify(22): Invalid argument
/bin/sh: line 1: 48098 Segmentation fault      (core dumped) /home/wrlbuild/builds/builds-2015-12-06-141110-mb3z/qemux86-64_core_v2/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/rpm --root /home/wrlbuild/builds/builds-2015-12-06-141110-mb3z/qemux86-64_core_v2/bitbake_build/tmp/work/qemux86_64-wrs-linux/wrlinux-image-glibc-core/1.0-r2/rootfs --dbpath /var/lib/rpm -qa > /dev/null

DEBUG: Python function do_rootfs finished
ERROR: Function failed: do_rootfs

Workaround

Remove AGPL-3.0 from license blacklist, i.e. configure project with:
$ configure  --enable-board=qemux86-64 --enable-rootfs=glibc-core --enable-kernel=standard --with-license-blacklist=GPLv3,LGPLv3,GPLv3+,LGPLv3+

Steps to Reproduce

# run build on wrl7_64 distro
$ configure  --enable-board=qemux86-64 --enable-rootfs=glibc-core --enable-kernel=standard --with-license-blacklist=GPLv3,LGPLv3,GPLv3+,LGPLv3+,AGPL-3.0
$ make fs

Related defect

LIN7-2887  wrlinux-image-glibc-core failed to do rootfs of x86-64-kvm-guest_core_v2
Last modified