Wind River Support Network

HomeDefectsLIN8-2093
Fixed

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

Created: Dec 6, 2015    Updated: Dec 3, 2018
Resolved Date: Dec 16, 2015
Found In Version: 8.0
Fix Version: 8.0.0.1
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Userspace

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 H??H??H??A??tIH??? 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

Other Downloads


Live chat
Online