Fixed
Created: Feb 1, 2015
Updated: Sep 8, 2018
Resolved Date: Dec 20, 2015
Previous ID: CGP7-229, LIN7-2854
Found In Version: 7.0.0.11
Fix Version: 7.0.0.12
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace
[wraxl] wrlinux-image-glibc-core failed (do_rootfs) of x86-64-kvm-guest_core_v2.
Build in wrl7_64 x86_64
Branch being built is WRLINUX_7_0_HEAD
Logfiles are 00-wrconfig.log and 00-wrbuild.log
Relevant bits of the config were:
--enable-board=x86-64-kvm-guest --enable-rootfs=glibc-core --enable-kernel=standard --enable-unsupported-host=i686 --with-license-blacklist=GPLv3,LGPLv3,GPLv3+,LGPLv3+,AGPL-3.0 --enable-parallel-pkgbuilds=8 --enable-jobs=8 --enable-patchresolve=noop --enable-buildstats=yes --enable-bootimage=noimage
[2015-02-01 23:54:41.767954180+00:00] Build Configuration:
[2015-02-01 23:54:41.769174283+00:00] BB_VERSION = "1.24.0"
[2015-02-01 23:54:41.773090648+00:00] BUILD_SYS = "x86_64-linux"
[2015-02-01 23:54:41.774143398+00:00] NATIVELSBSTRING = "wrlinux-7.0.0.0"
[2015-02-01 23:54:41.777056237+00:00] DISTRO = "wrlinux"
[2015-02-01 23:54:41.779775546+00:00] DISTRO_VERSION = "7.0.0.0"
[2015-02-01 23:54:41.785092166+00:00] MACHINE = "x86-64-kvm-guest"
[2015-02-01 23:54:41.786994734+00:00] DEFAULTTUNE = "core2-64"
[2015-02-01 23:54:41.789641460+00:00] TARGET_SYS = "x86_64-wrs-linux"
[2015-02-01 23:54:41.797127751+00:00] TUNE_FEATURES = "m64 core2"
[2015-02-01 23:54:41.801393081+00:00] TARGET_FPU = ""
[2015-02-01 23:54:41.802428329+00:00] lib32: DEFAULTTUNE = "x86"
[2015-02-01 23:54:41.803325445+00:00] lib32: TARGET_SYS = "i586-wrsmllib32-linux"
[2015-02-01 23:54:41.804229771+00:00] lib32: TUNE_FEATURES = "m32"LIN8-2221
[2015-02-01 23:54:41.805899525+00:00] wrlinux = "WRLINUX_7_0_HEAD:735b91b0e827e97d06c27b5cb6c1f0f7f219d567"
[2015-02-01 23:54:41.806962737+00:00] wrlcompat = "WRLINUX_7_0_HEAD:84116253d477de214ea5af35ae3e03a989dbc34b"
[2015-02-01 23:54:41.807977030+00:00] wr-sdk-toolchain = "WRLINUX_7_0_HEAD:c379ecfae48993e0fd5c1324014008edf4913918"
[2015-02-01 23:54:41.809148240+00:00] wr-tcwrappers = "WRLINUX_7_0_HEAD:ccfc4f8c3dadc2f5a8e0ef7864a5f8026ddae213"
[2015-02-01 23:54:41.813607829+00:00] meta = "wr-7.0-20141118:7cccaafc69e7758d4c2cfd2b0d19e06c7fbb10ee"
[2015-02-01 23:54:41.814662849+00:00] oe-core-dl-1.7 = "WRLINUX_7_0_HEAD:689e8cdb898dd7e722dccdd2b0099877767fd466"
[2015-02-01 23:54:41.817152686+00:00] meta-downloads = "WRLINUX_7_0_HEAD:2d1696633fe19545c1608dac999f87816ec50172"
[2015-02-01 23:54:41.821532189+00:00] wr-kernel = "WRLINUX_7_0_HEAD:118d870d3d9f5483081645160dc327de6ee20335"
[2015-02-01 23:54:41.822951808+00:00] x86-64-kvm-guest = "WRLINUX_7_0_HEAD:86d80d133c6fb027961b9da6333d2aebecf14f50"
[2015-02-01 23:54:41.825185496+00:00] wr-base = "WRLINUX_7_0_HEAD:5a8d70afd0345e011e1f8a186d1d2350d7e329bf"
[2015-02-01 23:54:41.826078152+00:00] wr-fixes = "WRLINUX_7_0_HEAD:687272acd4cb63bd47f4505793b4697f33bd9d02"
[2015-02-01 23:54:41.829067523+00:00] wr-tools-profile = "WRLINUX_7_0_HEAD:8277833c0ed8581ea5082af8f6bd1cbb6ee99b80"
[2015-02-01 23:54:41.830193637+00:00] wr-tools-debug = "WRLINUX_7_0_HEAD:b04acd87a0b9199b63ad2f38595390a1944ce56e"
[2015-02-01 23:54:41.831124418+00:00] meta-networking = "wr-7.0-20141118:7cd508084fb4eff70e0fe96124555b9ef31007de"
[2015-02-01 23:54:41.832971815+00:00] meta-gnome-subset = "wr-7.0-20141118:ea11babea7de95c98efd7e45e10ea782657b494c"
[2015-02-01 23:54:41.839303870+00:00] meta-oe-subset = "wr-7.0-20141118:f77725420cd906496689e3aeb223597b011f39fc"
[2015-02-01 23:54:41.840386025+00:00] meta-python-subset = "wr-7.0-20141118:4f1eab38f8e603de1777b7cd3db0534fd1400997"
[2015-02-01 23:54:41.841507161+00:00] meta-perl-subset = "wr-7.0-20141118:80e6f878aae0054e7cf00d166654f3a19ea14db8"
[2015-02-01 23:54:41.852309188+00:00] meta-webserver = "wr-7.0-20141118:ef02194433c135da983695a0201660ff66c96be1"
[2015-02-01 23:54:41.853410855+00:00] wr-prebuilts = "WRLINUX_7_0_HEAD:152e4960d828a1daefdccb0b31b0917178161b3e"
[2015-02-01 23:54:41.854295832+00:00] extra-downloads
[2015-02-01 23:54:41.855268335+00:00] local = "<unknown>:<unknown>"
[2015-02-01 23:54:41.857106297+00:00]
[2015-02-01 23:54:41.858333526+00:00] NOTE: Preparing runqueue
[2015-02-01 23:54:52.801098736+00:00] NOTE: Executing SetScene Tasks
[2015-02-01 23:54:52.808914054+00:00] NOTE: Running setscene task 8 of 954 (/home/wrlbuild/builds/builds-2015-02-01-235108/x86-64-kvm-guest_core_v2/layers/oe-core/meta/recipes-devtools/quilt/quilt-native_0.63.bb, do_populate_lic_setscene)
[2015-02-01 23:54:52.810102837+00:00] NOTE: Running setscene task 9 of 954 (virtual:native:/home/wrlbuild/builds/builds-2015-02-01-235108/x86-64-kvm-guest_core_v2/layers/oe-core/meta/recipes-extended/pigz/pigz_2.3.1.bb, do_populate_lic_setscene)
[2015-02-01 23:54:52.811333074+00:00] NOTE: Running setscene task 22 of 954 (virtual:native:/home/wrlbuild/builds/builds-2015-02-01-235108/x86-64-kvm-guest_core_v2/layers/oe-core/meta/recipes-devtools/pseudo/pseudo_1.6.2.bb, do_populate_sysroot_setscene)
[2015-02-01 23:54:52.813032726+00:00] NOTE: Running setscene task 23 of 954 (virtual:native:/home/wrlbuild/builds/builds-2015-02-01-235108/x86-64-kvm-guest_core_v2/layers/oe-core/meta/recipes-devtools/pseudo/pseudo_1.6.2.bb, do_populate_lic_setscene)
[2015-02-01 23:54:52.814056131+00:00] Setting up host-cross and links
[2015-02-01 23:54:52.815004817+00:00] Setting up packages link
[2015-02-01 23:54:52.815935155+00:00] Creating export directory
[2015-02-01 23:54:52.816875398+00:00] Creating project properties
Failed step: do_rootfs in file: /home/wrlbuild/builds/builds-2015-02-01-235108/x86-64-kvm-guest_core_v2/bitbake_build/tmp/work/x86_64_kvm_guest-wrs-linux/wrlinux-image-glibc-core/1.0-r2/temp/do_rootfs/log.do_rootfs.30020
Here is some context from around the error:
--------------------------------------------------
[2015-02-02 00:28:42.757042117+00:00] NOTE: Running noexec task 2768 of 2771 (ID: 368, /home/wrlbuild/builds/builds-2015-02-01-235108/x86-64-kvm-guest_core_v2/layers/wr-base/recipes-base/packagegroups/packagegroup-wr-base.bb, do_build)
[2015-02-02 00:28:42.758323239+00:00] NOTE: Running noexec task 2769 of 2771 (ID: 354, /home/wrlbuild/builds/builds-2015-02-01-235108/x86-64-kvm-guest_core_v2/layers/oe-core/meta/recipes-core/packagegroups/packagegroup-core-boot.bb, do_build)
[2015-02-02 00:28:43.161180463+00:00] NOTE: recipe wrlinux-image-glibc-core-1.0-r2: task do_rootfs: Started
[2015-02-02 00:28:43.421945435+00:00] ERROR: Create rpm database failed. Command '/home/wrlbuild/builds/builds-2015-02-01-235108/x86-64-kvm-guest_core_v2/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/rpm --root /home/wrlbuild/builds/builds-2015-02-01-235108/x86-64-kvm-guest_core_v2/bitbake_build/tmp/work/x86_64_kvm_guest-wrs-linux/wrlinux-image-glibc-core/1.0-r2/rootfs --dbpath /var/lib/rpm -qa > /dev/null' returned 139:
[2015-02-02 00:28:43.423223761+00:00] BDB0055 illegal flag specified to DB_ENV->set_blob_threshold
[2015-02-02 00:28:43.424363363+00:00] BDB1561 Directory H??H??H??A??tIH??? not in environment list.
[2015-02-02 00:28:43.425580166+00:00] error: db_init:/home/wrlbuild/builds/builds-2015-02-01-235108/x86-64-kvm-guest_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
[2015-02-02 00:28:43.426852297+00:00] /bin/sh: line 1: 30035 Segmentation fault /home/wrlbuild/builds/builds-2015-02-01-235108/x86-64-kvm-guest_core_v2/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/rpm --root /home/wrlbuild/builds/builds-2015-02-01-235108/x86-64-kvm-guest_core_v2/bitbake_build/tmp/work/x86_64_kvm_guest-wrs-linux/wrlinux-image-glibc-core/1.0-r2/rootfs --dbpath /var/lib/rpm -qa > /dev/null
[2015-02-02 00:28:43.427865889+00:00]
[2015-02-02 00:28:43.428706215+00:00] ERROR: Function failed: do_rootfs
[2015-02-02 00:28:43.543445893+00:00] ERROR: Logfile of failure stored in: /home/wrlbuild/builds/builds-2015-02-01-235108/x86-64-kvm-guest_core_v2/bitbake_build/tmp/work/x86_64_kvm_guest-wrs-linux/wrlinux-image-glibc-core/1.0-r2/temp/do_rootfs/log.do_rootfs.30020
[2015-02-02 00:28:43.549413041+00:00] NOTE: recipe wrlinux-image-glibc-core-1.0-r2: task do_rootfs: Failed
[2015-02-02 00:28:43.556312294+00:00] ERROR: Task 8 (/home/wrlbuild/builds/builds-2015-02-01-235108/x86-64-kvm-guest_core_v2/layers/wr-base/recipes-base/images/wrlinux-image-glibc-core.bb, do_rootfs) failed with exit code '1'
[2015-02-02 00:28:44.002384674+00:00] NOTE: Tasks Summary: Attempted 2769 tasks of which 658 didn't need to be rerun and 1 failed.
[2015-02-02 00:28:44.214618252+00:00] NOTE: Build completion summary:
[2015-02-02 00:28:44.215455923+00:00] NOTE: From shared state: 81
--------------------------------------------------
Here is the tail of log.do_rootfs.30020:
--------------------------------------------------
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-02-01-235108/x86-64-kvm-guest_core_v2/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/rpm --root /home/wrlbuild/builds/builds-2015-02-01-235108/x86-64-kvm-guest_core_v2/bitbake_build/tmp/work/x86_64_kvm_guest-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
BDB1561 Directory H??H??H??A??tIH??? not in environment list.
error: db_init:/home/wrlbuild/builds/builds-2015-02-01-235108/x86-64-kvm-guest_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: 30035 Segmentation fault /home/wrlbuild/builds/builds-2015-02-01-235108/x86-64-kvm-guest_core_v2/bitbake_build/tmp/sysroots/x86_64-linux/usr/bin/rpm --root /home/wrlbuild/builds/builds-2015-02-01-235108/x86-64-kvm-guest_core_v2/bitbake_build/tmp/work/x86_64_kvm_guest-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
--------------------------------------------------
--------------------------------------
This file, and more detailed log info can be found at:
http://git.wrs.com/cgit/projects/wraxl/fails/.git/log/?h=x86-64-kvm-guest_core_v2-wrlinux-image-glibc-core-2015-02-02-002847
---------
Host: yow-blade5
Docker Version: Docker version 1.4.1, build 5bc2ff8
LIN8-2221