Hi wrboyce, here is the error, do you need the log file too? I’m new to Yocto, but maybe it’s possible to use my working Yocto build and replace the rpi3 bsp with beaglebone and rebuild?
./balena-yocto-scripts/build/barys -m beaglebone
Building JSON manifest…
audited 3 packages in 1.148s
found 0 vulnerabilities
…Done
| |__ __ | | ___ _ __ __ _ / _ / |
| ’ \ / | |/ _ \ '_ \ / _ | | | _
| |) | (| | | / | | | (| | || |) |
|./ _,|_|_|| ||_,|___/|____/
Resin specific images available:
resin-image
resin-image-flasher
BeagleBoard-XM (EXPERIMENTAL) : MACHINE=beagleboard-xm bitbake resin-image
BeagleBone Green (EXPERIMENTAL) : MACHINE=beaglebone-green bitbake resin-image-flasher
BeagleBone Green Wireless (EXPERIMENTAL) : MACHINE=beaglebone-green-wifi bitbake resin-image-flasher
BeagleBone Black : MACHINE=beaglebone bitbake resin-image-flasher
PocketBeagle (EXPERIMENTAL) : $ MACHINE=beaglebone-pocket bitbake resin-image
[000000005][LOG]BalenaOS build initialized in directory: build.
[000000005][LOG]Run build for beaglebone: MACHINE=beaglebone bitbake resin-image-flasher
[000000005][LOG]This might take a while …
WARNING: Layer balena-beaglebone should set LAYERSERIES_COMPAT_balena-beaglebone in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer balena-beaglebone should set LAYERSERIES_COMPAT_balena-beaglebone in its conf/layer.conf file to list the core layer names it is compatible with.
Loading cache: 100% |########################################################################################################################################################################| Time: 0:00:01
Loaded 3409 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = “1.40.0”
BUILD_SYS = “x86_64-linux”
NATIVELSBSTRING = “universal”
TARGET_SYS = “arm-poky-linux-gnueabi”
MACHINE = “beaglebone”
DISTRO = “balena-os”
DISTRO_VERSION = “2.46.1”
TUNE_FEATURES = “arm armv7a vfp thumb neon callconvention-hard”
TARGET_FPU = “hard”
meta
meta-poky = “HEAD:cb26830f765f03309c0663352cc5849491271be8”
meta-oe
meta-filesystems
meta-networking
meta-python = “HEAD:2d088d252624b19df384aecc434d23afb636178f”
meta-ti = “HEAD:727411f95ef1f66034beac08702f21b30a1b84c9”
meta-balena-common
meta-balena-thud = “master:f2295d2b9fc9b8993b7264a5144a7051184ee61c”
meta-balena-beaglebone = “master:a8518cfd2c410ee1fe7bdc16f00e839f92be6c43”
meta-rust = “HEAD:84710b341be53cc2af13ecc8ae87773cf84687bf”
Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:06
Sstate summary: Wanted 1136 Found 2 Missed 1134 Current 248 (0% match, 18% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: glibc-locale-2.28-r0 do_package: Function failed: do_prep_locale_tree (log file is located at /home/paulevans/Yocto_Project_Beaglebone/balena-beaglebone/build/tmp/work/armv7at2hf-neon-poky-linux-gnueabi/glibc-locale/2.28-r0/temp/log.do_package.13365)
ERROR: Logfile of failure stored in: /home/paulevans/Yocto_Project_Beaglebone/balena-beaglebone/build/tmp/work/armv7at2hf-neon-poky-linux-gnueabi/glibc-locale/2.28-r0/temp/log.do_package.13365
Log data follows:
| DEBUG: Executing python function sstate_task_prefunc
| DEBUG: Python function sstate_task_prefunc finished
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are [’/home/paulevans/Yocto_Project_Beaglebone/balena-beaglebone/build/…/layers/poky/meta/recipes-devtools/binutils/binutils-cross_2.31.bb:do_populate_sysroot’, ‘virtual:native:/home/paulevans/Yocto_Project_Beaglebone/balena-beaglebone/build/…/layers/poky/meta/recipes-devtools/dwarfsrcfiles/dwarfsrcfiles.bb:do_populate_sysroot’, ‘/home/paulevans/Yocto_Project_Beaglebone/balena-beaglebone/build/…/layers/poky/meta/recipes-core/glibc/cross-localedef-native_2.28.bb:do_populate_sysroot’, ‘virtual:native:/home/paulevans/Yocto_Project_Beaglebone/balena-beaglebone/build/…/layers/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot’, ‘virtual:native:/home/paulevans/Yocto_Project_Beaglebone/balena-beaglebone/build/…/layers/poky/meta/recipes-devtools/rpm/rpm_4.14.2.bb:do_populate_sysroot’]
| NOTE: Installed into sysroot:
| NOTE: Skipping as already exists in sysroot: [‘binutils-cross-arm’, ‘dwarfsrcfiles-native’, ‘cross-localedef-native’, ‘pseudo-native’, ‘rpm-native’, ‘automake-native’, ‘libtool-native’, ‘quilt-native’, ‘autoconf-native’, ‘gnu-config-native’, ‘systemd-systemctl-native’, ‘make-native’, ‘gcc-cross-initial-arm’, ‘bison-native’, ‘gperf-native’, ‘libgcc-initial’, ‘linux-libc-headers’, ‘glibc-initial’, ‘texinfo-dummy-native’, ‘zlib-native’, ‘flex-native’, ‘elfutils-native’, ‘bzip2-native’, ‘file-native’, ‘pkgconfig-native’, ‘libarchive-native’, ‘xz-native’, ‘python3-native’, ‘nss-native’, ‘popt-native’, ‘gettext-minimal-native’, ‘db-native’, ‘dbus-native’, ‘m4-native’, ‘mpfr-native’, ‘gmp-native’, ‘libmpc-native’, ‘e2fsprogs-native’, ‘lzo-native’, ‘gdbm-native’, ‘openssl-native’, ‘readline-native’, ‘sqlite3-native’, ‘nspr-native’, ‘expat-native’, ‘util-linux-native’, ‘attr-native’, ‘ncurses-native’]
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing python function do_package
| DEBUG: Executing python function package_get_auto_pr
| DEBUG: Python function package_get_auto_pr finished
| DEBUG: Executing python function perform_packagecopy
| DEBUG: Python function perform_packagecopy finished
| DEBUG: Executing python function split_and_strip_files
| DEBUG: Python function split_and_strip_files finished
| DEBUG: Executing python function fixup_perms
| DEBUG: Python function fixup_perms finished
| DEBUG: Executing python function package_do_split_locales
| DEBUG: No locale files in this package
| DEBUG: Python function package_do_split_locales finished
| DEBUG: Executing python function populate_packages
| DEBUG: Executing python function package_do_split_gconvs
| NOTE: preparing tree for binary locale generation
| DEBUG: Executing shell function do_prep_locale_tree
| tar: i18n: Cannot stat: No such file or directory
| tar: Exiting with failure status due to previous errors
| gzip: /home/paulevans/Yocto_Project_Beaglebone/balena-beaglebone/build/tmp/work/armv7at2hf-neon-poky-linux-gnueabi/glibc-locale/2.28-r0/locale-tree//usr/share/i18n/charmaps/*gz.gz: No such file or directory
| WARNING: /home/paulevans/Yocto_Project_Beaglebone/balena-beaglebone/build/tmp/work/armv7at2hf-neon-poky-linux-gnueabi/glibc-locale/2.28-r0/temp/run.do_prep_locale_tree.13365:1 exit 1 from ‘gunzip $i’
| DEBUG: Python function package_do_split_gconvs finished
| DEBUG: Python function populate_packages finished
| DEBUG: Python function do_package finished
| ERROR: Function failed: do_prep_locale_tree (log file is located at /home/paulevans/Yocto_Project_Beaglebone/balena-beaglebone/build/tmp/work/armv7at2hf-neon-poky-linux-gnueabi/glibc-locale/2.28-r0/temp/log.do_package.13365)
ERROR: Task (/home/paulevans/Yocto_Project_Beaglebone/balena-beaglebone/build/…/layers/poky/meta/recipes-core/glibc/glibc-locale_2.28.bb:do_package) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 967 tasks of which 956 didn’t need to be rerun and 1 failed.
Summary: 1 task failed:
/home/paulevans/Yocto_Project_Beaglebone/balena-beaglebone/build/…/layers/poky/meta/recipes-core/glibc/glibc-locale_2.28.bb:do_package
Summary: There were 2 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
[000000259][LOG]Build for beaglebone failed. Check failed log in build/tmp/log/cooker/beaglebone .
[000000259][LOG]If build for beaglebone succeeded, final image should have been generated here:
[000000259][LOG] build/tmp/deploy/images/beaglebone/resin-image-flasher-beaglebone.resinos-img
[000000259][LOG]Done.