cancel
Showing results for 
Search instead for 
Did you mean: 

bitbake build error - package openocd

developer2
Senior

Hi ,

i'm trying to build st-image-weston for target board STM32MP135F-DK

repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23

repo sync

DISTRO=openstlinux-weston MACHINE=stm32mp13-disco source layers/meta-st/scripts/envsetup.sh

bitbake st-image-weston

.... after 4.5 hours :

 

| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/..../openstlinux/STM32MP1-Ecosystem/Distribution-Package/layers/openembedded-core/meta/recipes-core/gettext/gettext-minimal-native_0.21.bb:do_populate_sysroot', '/..../openstlinux/STM32MP1-Ecosystem/Distribution-Package/layers/openembedded-core/meta/recipes-devtools/libtool/libtool-native_2.4.7.bb:do_populate_sysroot', '/..../openstlinux/STM32MP1-Ecosystem/Distribution-Package/layers/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/..../openstlinux/STM32MP1-Ecosystem/Distribution-Package/layers/meta-st/meta-st-stm32mp/recipes-support/hidapi/hidapi-stm32mp_0.10.1.bb:do_populate_sysroot', 'virtual:native:/..../openstlinux/STM32MP1-Ecosystem/Distribution-Package/layers/openembedded-core/meta/recipes-devtools/autoconf/autoconf_2.71.bb:do_populate_sysroot', 'virtual:native:/..../openstlinux/STM32MP1-Ecosystem/Distribution-Package/layers/openembedded-core/meta/recipes-devtools/automake/automake_1.16.5.bb:do_populate_sysroot', 'virtual:native:/..../openstlinux/STM32MP1-Ecosystem/Distribution-Package/layers/openembedded-core/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['gettext-minimal-native', 'libtool-native', 'quilt-native', 'hidapi-stm32mp-native', 'autoconf-native', 'automake-native', 'pkgconfig-native', 'libusb-compat-native', 'texinfo-dummy-native', 'm4-native', 'gnu-config-native', 'libusb1-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_aclocals
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Python function autotools_aclocals finished
| DEBUG: Executing shell function do_configure
| Author identity unknown
| WARNING: exit code 128 from a shell command.
| 
| *** Please tell me who you are.
| 
| Run
| 
|   git config --global user.email "you@example.com"
|   git config --global user.name "Your Name"
| 
| to set your account's default identity.
| Omit --global to set the identity only in this repository.
| 
| fatal: empty ident name (for <user1@debianpc>) not allowed
ERROR: Task (virtual:native:/..../openstlinux/STM32MP1-Ecosystem/Distribution-Package/layers/meta-st/meta-st-stm32mp/recipes-devtools/openocd/openocd-stm32mp_0.11.0.bb:do_configure) failed with exit code '1'

 

please help me to fix ...

Kind regards

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Erwan SZYMANSKI
ST Employee

Hello @developer2 ,
First, I recommend you to go on the very last release of OpenSTLinux if you begin a project (OSTL v5) following the next link: https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package

Secondly, the error looks clear in your log, you have not made a git configuration while bitbake needs it for a recipe. Please follow what it tells you in the error logs.

|   git config --global user.email "you@example.com"
|   git config --global user.name "Your Name"

Kind regards,
Erwan

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
Erwan SZYMANSKI
ST Employee

Hello @developer2 ,
First, I recommend you to go on the very last release of OpenSTLinux if you begin a project (OSTL v5) following the next link: https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package

Secondly, the error looks clear in your log, you have not made a git configuration while bitbake needs it for a recipe. Please follow what it tells you in the error logs.

|   git config --global user.email "you@example.com"
|   git config --global user.name "Your Name"

Kind regards,
Erwan

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Thank You ...