Skip to contentSkip to conversation

meta-oe Warrior postgresql build error

DISCUSSION Outback Dingo 2 participants 3 messages Dec 23, 2020

lore
Share & tools
lore
#0 lore raw

bitbake postgresql
Parsing recipes: 100% |#########################################################################################################################| Time: 0:00:38 Parsing of 3787 .bb files complete (0 cached, 3787 parsed). 5212 targets, 77 skipped, 8 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.42.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-16.04"
TARGET_SYS           = "x86_64-poky-linux"
MACHINE              = "intel-corei7-64"
DISTRO               = "poky-stx"
DISTRO_VERSION       = "2.7.3"
TUNE_FEATURES        = "m64 corei7"
TARGET_FPU           = ""
meta
meta-poky
meta-yocto-bsp       = "warrior:c8c383d958807b991e31d22f612ba2a81a3860a4" meta-oe
meta-filesystems
meta-initramfs
meta-networking
meta-perl
meta-python
meta-webserver
meta-gnome           = "warrior:a24acf94d48d635eca668ea34598c6e5c857e3f8" meta-virtualization  = "warrior:343b5e236b844e9347090c358797fae80bdd22f5" meta-cloud-services
meta-openstack       = "warrior:f8e76d1f75ca123c0b9ddc457d53280874ae6b09" meta-intel           = "warrior:29ee4852a05931dcf856670d9d8a3c3077a40fe8" meta-security        = "warrior:4f7be0d252f68d8e8d442a7ed8c6e8a852872d28" meta-selinux         = "warrior:ebea59190bd0b26d82afe5b42707a5cf83d830b0" meta-iot-cloud       = "warrior:8b6c1562dc3b783e4596672034c281b66eaf7db1" meta-python2         = "warrior:6740870aac9627c99f03a20fd49ffc9ae8acc1e3" meta-dpdk            = "warrior:c8c30c2c4e2f36b4a55a69a475fe774015423705" meta-stx-cloud
meta-stx-distro
meta-stx-flock
meta-stx-integ
meta-stx-virt        = "master:113db4261d8af823ea2cfae727b9b239d8b1ecc8" meta-anaconda        = "warrior:82c305d1b849a4e943b24332688d44e5ca82b510"

/home/dingo/STX/build/tmp/hosttools/install -c -m 644 /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/jsonb_plpython/jsonb_plpythonu.control /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/jsonb_plpython/jsonb_plpython2u.control /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/jsonb_plpython/jsonb_plpython3u.control '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/image/usr/share/postgresql/extension/' /home/dingo/STX/build/tmp/hosttools/install -c -m 644 /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/ltree_plpython/ltree_plpythonu.control /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/ltree_plpython/ltree_plpython2u.control /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/ltree_plpython/ltree_plpython3u.control '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/image/usr/share/postgresql/extension/' make[1]: Leaving directory '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/contrib/jsonb_plperl'
make[1]: Leaving directory '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/contrib/hstore_plpython'
/home/dingo/STX/build/tmp/hosttools/install -c -m 644 /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/ltree_plpython/ltree_plpythonu--1.0.sql /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/ltree_plpython/ltree_plpython2u--1.0.sql /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/ltree_plpython/ltree_plpython3u--1.0.sql '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/image/usr/share/postgresql/extension/' /home/dingo/STX/build/tmp/hosttools/install -c -m 644 /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/jsonb_plpython/jsonb_plpythonu--1.0.sql /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/jsonb_plpython/jsonb_plpython2u--1.0.sql /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/jsonb_plpython/jsonb_plpython3u--1.0.sql '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/image/usr/share/postgresql/extension/' make[1]: Leaving directory '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/contrib/ltree_plpython'
make[1]: Leaving directory '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/contrib/jsonb_plpython'
make: Leaving directory '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/contrib'
sed: can't read /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/image/var/lib/postgresql/.bash_profile: No such file or directory
WARNING: exit code 2 from a shell command.
ERROR: Function failed: do_install (log file is located at /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/temp/log.do_install.25533)
dingo@ubuntu:~/STX/build$

#1 lore raw
Quoted 75 lines · Outback Dingo

bitbake postgresql
Parsing recipes: 100% |#########################################################################################################################|
Time: 0:00:38
Parsing of 3787 .bb files complete (0 cached, 3787 parsed). 5212
targets, 77 skipped, 8 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:

BB_VERSION           = "1.42.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-16.04"
TARGET_SYS           = "x86_64-poky-linux"
MACHINE              = "intel-corei7-64"
DISTRO               = "poky-stx"
DISTRO_VERSION       = "2.7.3"
TUNE_FEATURES        = "m64 corei7"
TARGET_FPU           = ""

meta
meta-poky
meta-yocto-bsp = "warrior:c8c383d958807b991e31d22f612ba2a81a3860a4"
meta-oe
meta-filesystems
meta-initramfs
meta-networking
meta-perl
meta-python
meta-webserver
meta-gnome = "warrior:a24acf94d48d635eca668ea34598c6e5c857e3f8"
meta-virtualization = "warrior:343b5e236b844e9347090c358797fae80bdd22f5" meta-cloud-services

meta-openstack       = "warrior:f8e76d1f75ca123c0b9ddc457d53280874ae6b09"
meta-intel           = "warrior:29ee4852a05931dcf856670d9d8a3c3077a40fe8"
meta-security        = "warrior:4f7be0d252f68d8e8d442a7ed8c6e8a852872d28"
meta-selinux         = "warrior:ebea59190bd0b26d82afe5b42707a5cf83d830b0"
meta-iot-cloud       = "warrior:8b6c1562dc3b783e4596672034c281b66eaf7db1"
meta-python2         = "warrior:6740870aac9627c99f03a20fd49ffc9ae8acc1e3"
meta-dpdk            = "warrior:c8c30c2c4e2f36b4a55a69a475fe774015423705"

meta-stx-cloud
meta-stx-distro
meta-stx-flock
meta-stx-integ
meta-stx-virt = "master:113db4261d8af823ea2cfae727b9b239d8b1ecc8"
meta-anaconda = "warrior:82c305d1b849a4e943b24332688d44e5ca82b510"

/home/dingo/STX/build/tmp/hosttools/install -c -m 644 /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/jsonb_plpython/jsonb_plpythonu.control /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/jsonb_plpython/jsonb_plpython2u.control /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/jsonb_plpython/jsonb_plpython3u.control '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/image/usr/share/postgresql/extension/' /home/dingo/STX/build/tmp/hosttools/install -c -m 644 /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/ltree_plpython/ltree_plpythonu.control /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/ltree_plpython/ltree_plpython2u.control /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/ltree_plpython/ltree_plpython3u.control '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/image/usr/share/postgresql/extension/'
make[1]: Leaving directory '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/contrib/jsonb_plperl'
make[1]: Leaving directory '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/contrib/hstore_plpython' /home/dingo/STX/build/tmp/hosttools/install -c -m 644 /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/ltree_plpython/ltree_plpythonu--1.0.sql /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/ltree_plpython/ltree_plpython2u--1.0.sql /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/ltree_plpython/ltree_plpython3u--1.0.sql '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/image/usr/share/postgresql/extension/' /home/dingo/STX/build/tmp/hosttools/install -c -m 644 /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/jsonb_plpython/jsonb_plpythonu--1.0.sql /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/jsonb_plpython/jsonb_plpython2u--1.0.sql /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/jsonb_plpython/jsonb_plpython3u--1.0.sql '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/image/usr/share/postgresql/extension/'
make[1]: Leaving directory '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/contrib/ltree_plpython'
make[1]: Leaving directory '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/contrib/jsonb_plpython'
make: Leaving directory

Quoted 8 lines

'/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/contrib'
sed: can't read /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/image/var/lib/postgresql/.bash_profile:
No such file or directory
WARNING: exit code 2 from a shell command.
ERROR: Function failed: do_install (log file is located at /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/temp/log.do_install.25533) dingo@ubuntu:~/STX/build$

Looks like a large stack of layers there. Is this failure reproducible with just poky and meta-openembedded? Have you checked for any bbappends to the postgresql recipe?

The warrior branch is now EOL so you should upgrade to dunfell or gatesgarth if you can.

Thanks,

Signature · 2 lines
Paul Barker
Konsulko Group
#2 lore raw
Quoted 83 lines · Paul Barker
Quoted 74 lines · Outback Dingo

bitbake postgresql
Parsing recipes: 100% |#########################################################################################################################|
Time: 0:00:38
Parsing of 3787 .bb files complete (0 cached, 3787 parsed). 5212
targets, 77 skipped, 8 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:

BB_VERSION           = "1.42.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-16.04"
TARGET_SYS           = "x86_64-poky-linux"
MACHINE              = "intel-corei7-64"
DISTRO               = "poky-stx"
DISTRO_VERSION       = "2.7.3"
TUNE_FEATURES        = "m64 corei7"
TARGET_FPU           = ""

meta
meta-poky
meta-yocto-bsp = "warrior:c8c383d958807b991e31d22f612ba2a81a3860a4"
meta-oe
meta-filesystems
meta-initramfs
meta-networking
meta-perl
meta-python
meta-webserver
meta-gnome = "warrior:a24acf94d48d635eca668ea34598c6e5c857e3f8"
meta-virtualization = "warrior:343b5e236b844e9347090c358797fae80bdd22f5" meta-cloud-services

meta-openstack       = "warrior:f8e76d1f75ca123c0b9ddc457d53280874ae6b09"
meta-intel           = "warrior:29ee4852a05931dcf856670d9d8a3c3077a40fe8"
meta-security        = "warrior:4f7be0d252f68d8e8d442a7ed8c6e8a852872d28"
meta-selinux         = "warrior:ebea59190bd0b26d82afe5b42707a5cf83d830b0"
meta-iot-cloud       = "warrior:8b6c1562dc3b783e4596672034c281b66eaf7db1"
meta-python2         = "warrior:6740870aac9627c99f03a20fd49ffc9ae8acc1e3"
meta-dpdk            = "warrior:c8c30c2c4e2f36b4a55a69a475fe774015423705"

meta-stx-cloud
meta-stx-distro
meta-stx-flock
meta-stx-integ
meta-stx-virt = "master:113db4261d8af823ea2cfae727b9b239d8b1ecc8"
meta-anaconda = "warrior:82c305d1b849a4e943b24332688d44e5ca82b510"

/home/dingo/STX/build/tmp/hosttools/install -c -m 644 /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/jsonb_plpython/jsonb_plpythonu.control /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/jsonb_plpython/jsonb_plpython2u.control /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/jsonb_plpython/jsonb_plpython3u.control '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/image/usr/share/postgresql/extension/' /home/dingo/STX/build/tmp/hosttools/install -c -m 644 /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/ltree_plpython/ltree_plpythonu.control /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/ltree_plpython/ltree_plpython2u.control /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/ltree_plpython/ltree_plpython3u.control '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/image/usr/share/postgresql/extension/'
make[1]: Leaving directory '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/contrib/jsonb_plperl'
make[1]: Leaving directory '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/contrib/hstore_plpython' /home/dingo/STX/build/tmp/hosttools/install -c -m 644 /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/ltree_plpython/ltree_plpythonu--1.0.sql /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/ltree_plpython/ltree_plpython2u--1.0.sql /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/ltree_plpython/ltree_plpython3u--1.0.sql '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/image/usr/share/postgresql/extension/' /home/dingo/STX/build/tmp/hosttools/install -c -m 644 /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/jsonb_plpython/jsonb_plpythonu--1.0.sql /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/jsonb_plpython/jsonb_plpython2u--1.0.sql /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/../postgresql-11.5/contrib/jsonb_plpython/jsonb_plpython3u--1.0.sql '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/image/usr/share/postgresql/extension/'
make[1]: Leaving directory '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/contrib/ltree_plpython'
make[1]: Leaving directory '/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/contrib/jsonb_plpython'
make: Leaving directory

Quoted 8 lines

'/home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/build/contrib'
sed: can't read /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/image/var/lib/postgresql/.bash_profile:
No such file or directory
WARNING: exit code 2 from a shell command.
ERROR: Function failed: do_install (log file is located at /home/dingo/STX/build/tmp/work/corei7-64-poky-linux/postgresql/11.5-r0/temp/log.do_install.25533) dingo@ubuntu:~/STX/build$

Quoted 3 lines

Looks like a large stack of layers there. Is this failure reproducible with just poky and meta-openembedded? Have you checked for any bbappends to the postgresql recipe?

Welp valid point, there are alot of layers in this, tried building it from poky / meta-oe alone

Build Configuration:
BB_VERSION           = "1.42.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-16.04"
TARGET_SYS           = "x86_64-poky-linux"
MACHINE              = "intel-corei7-64"
DISTRO               = "poky"
DISTRO_VERSION       = "2.7.4"
TUNE_FEATURES        = "m64 corei7"
TARGET_FPU           = ""
meta
meta-poky
meta-yocto-bsp       = "warrior:c8c383d958807b991e31d22f612ba2a81a3860a4" meta-oe
meta-filesystems
meta-initramfs
meta-networking
meta-perl
meta-python
meta-webserver
meta-gnome           = "warrior:a24acf94d48d635eca668ea34598c6e5c857e3f8" meta-intel           = "warrior:29ee4852a05931dcf856670d9d8a3c3077a40fe8"

Initialising tasks: 100% |######################################################################################################################| Time: 0:00:01 Sstate summary: Wanted 406 Found 0 Missed 406 Current 0 (0% match, 0% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 1643 tasks of which 0 didn't need to be rerun and all succeeded.

where it did build fine, checking layers for any bbappends... where it finds the offensive inc file... time to resolve and see if i can sort it out.

find . -name "*postgres*" -print | xargs grep bash
grep: ./meta-stx/meta-stx-integ/recipes-dbs/postgresql: Is a directory
grep: ./meta-stx/meta-stx-integ/recipes-dbs/postgresql/postgresql: Is a directory
grep: ./meta-stx/meta-stx-cloud/recipes-support/puppet/files/puppetlabs-postgresql: Is a directory
grep: ./meta-cloud-services/meta-openstack/recipes-dbs/postgresql: Is a directory ./meta-cloud-services/meta-openstack/recipes-dbs/postgresql/postgresql_openstack.inc: files="${D}${localstatedir}/lib/${BPN}/.bash_profile"
grep: ./meta-cloud-services/meta-openstack/recipes-dbs/postgresql/postgresql: Is a directory
grep: ./meta-openembedded/meta-oe/recipes-dbs/postgresql: Is a directory

Quoted 3 lines

The warrior branch is now EOL so you should upgrade to dunfell or gatesgarth if you can.

Yes id love for this to be on gatesgarth or dunfell, unfortunatly its meta-stx out of wind river that targeted warrior ... i tried it under both gatesgarth and dunfell and it failed with even greater misery.

thanks for the insight

Quoted 3 lines

Thanks,