Skip to contentSkip to conversation

Unable to build latest dunfell branch python3 module

DISCUSSION [email protected] 2 participants 3 messages Mar 24, 2023 – Mar 27, 2023

lore
Share & tools
lore
#0 lore raw

Initialising tasks: 100% |##################################################################################################| Time: 0:00:02
Sstate summary: Wanted 459 Found 0 Missed 459 Current 408 (0% match, 47% complete)
NOTE: Executing Tasks
*ERROR: python3-native-3.8.14-r0 do_install: Execution of '/mt/sdb2/kernal_sandboxes/build_emmc_debug/tmp/work/x86_64-linux/python3-native/3.8.14-r0/temp/run.do_install.11207' failed with exit code 1* *ERROR: Logfile of failure stored in: /mt/sdb2/kernal_sandboxes/build_emmc_debug/tmp/work/x86_64-linux/python3-native/3.8.14-r0/temp/log.do_install.11207*
*Log data follows:*

*| 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_install*
*| Failed to build these modules:*
*| _ssl*
*| WARNING: exit code 1 from a shell command.*
*| ERROR: Execution of '/mt/sdb2/kernal_sandboxes/build_emmc_debug/tmp/work/x86_64-linux/python3-native/3.8.14-r0/temp/run.do_install.11207' failed with exit code 1*

*ERROR: Task (virtual:native:/mt/sdb2/kernal_sandboxes/sources/poky/meta/recipes-devtools/python/python3_3.8.14.bb:do_install) failed with exit code '1'*
NOTE: Tasks Summary: Attempted 1316 tasks of which 1314 didn't need to be rerun and 1 failed.
NOTE: Writing build history
NOTE: Writing build history took: 10 seconds

Summary: 1 task failed:
virtual:native:/mt/sdb2/kernal_sandboxes/sources/poky/meta/recipes-devtools/python/python3_3.8.14.bb:do_install
Summary: There were 5 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Above is the error I'm getting while trying to build the latest dunfell branch python3 module I'm building for the below machine and distro
MACHINE ??= 'phx-core-pca'
DISTRO ?= 'fslc-framebuffer'

#1 lore raw

It says

| Failed to build these modules:
| _ssl

so look for the error messages in your build logs for python3-native. It seems your build host
might have some customizations. Its good to use one of tested distributions for better results.

see the list here
https://docs.yoctoproject.org/3.1.24/ref-manual/ref-system-requirements.html#supported-linux-distributions

Quoted 33 lines · On Thu, Mar 23, 2023 at 11:48 PM <[email protected]> wrote:

Initialising tasks: 100% |##################################################################################################| Time: 0:00:02
Sstate summary: Wanted 459 Found 0 Missed 459 Current 408 (0% match, 47% complete)
NOTE: Executing Tasks
ERROR: python3-native-3.8.14-r0 do_install: Execution of '/mt/sdb2/kernal_sandboxes/build_emmc_debug/tmp/work/x86_64-linux/python3-native/3.8.14-r0/temp/run.do_install.11207' failed with exit code 1
ERROR: Logfile of failure stored in: /mt/sdb2/kernal_sandboxes/build_emmc_debug/tmp/work/x86_64-linux/python3-native/3.8.14-r0/temp/log.do_install.11207
Log data follows:

| 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_install
| Failed to build these modules:
| _ssl
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/mt/sdb2/kernal_sandboxes/build_emmc_debug/tmp/work/x86_64-linux/python3-native/3.8.14-r0/temp/run.do_install.11207' failed with exit code 1

ERROR: Task (virtual:native:/mt/sdb2/kernal_sandboxes/sources/poky/meta/recipes-devtools/python/python3_3.8.14.bb:do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1316 tasks of which 1314 didn't need to be rerun and 1 failed.
NOTE: Writing build history
NOTE: Writing build history took: 10 seconds

Summary: 1 task failed:
virtual:native:/mt/sdb2/kernal_sandboxes/sources/poky/meta/recipes-devtools/python/python3_3.8.14.bb:do_install
Summary: There were 5 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Above is the error I'm getting while trying to build the latest dunfell branch python3 module I'm building for the below machine and distro
MACHINE ??= 'phx-core-pca'
DISTRO ?= 'fslc-framebuffer'

#2 lore raw

Im using the Ubuntu 18.04 distribution and log file has the same info that is getting showed on the terminal.
I just took the latest dunfell branch and started building and i received this error. with previous version of dunfell i didn't get this issue. Attaching the log file for your reference.