Recipe xmlsec1 fails for QEMU x86-64

Description

Hi,

I am trying to do the following.

$ bitbake agl-demo-platform

on the base AGL download.

Once the process starts i see the following messages.

----------------------------------------------------------------------------------------------

WARNING: Host distribution "opensuseleap-15.2" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |###########################################################################| Time: 0:00:00
Loaded 3545 entries from dependency cache.
Parsing recipes: 100% |#########################################################################| Time: 0:00:18
Parsing of 2547 .bb files complete (2498 cached, 49 parsed). 3594 targets, 278 skipped, 0 masked, 0 errors.
WARNING: No bb files matched BBFILE_PATTERN_agl-distro '^/usr/local/d_drive/agl_yocto_sys/meta-agl/meta-agl-distro/'
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.40.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "x86_64-agl-linux"
MACHINE = "qemux86-64"
DISTRO = "poky-agl"
DISTRO_VERSION = "8.0.4+snapshot-20200114"
TUNE_FEATURES = "m64 corei7"
TARGET_FPU = ""
meta-qt5 = "HEAD:1520d5b2b2beec5e1c3209d3178219e93ef08bca"
meta-agl-profile-graphical-qt5
meta-agl-profile-graphical
meta-netboot = "HEAD:20fbeb703b08468122c412bcbe098fc038dad0ff"
meta-speech-framework
meta-pipewire = "HEAD:317fee866db0f745132d17b0bf1e3e0173b26ae2"
meta-agl-demo = "HEAD:0af7702519b7106a7775497475e3e57bea62a363"
meta-oe
meta-multimedia
meta-networking
meta-python
meta-filesystems = "HEAD:446bd615fd7cb9bc7a159fe5c2019ed08d1a7a93"
meta-agl-profile-core
meta-agl-distro
meta-agl-bsp = "HEAD:20fbeb703b08468122c412bcbe098fc038dad0ff"
meta-security = "HEAD:31dc4e7532fa7a82060e0b50e5eb8d0414aa7e93"
meta-perl = "HEAD:446bd615fd7cb9bc7a159fe5c2019ed08d1a7a93"
meta-security
meta-app-framework = "HEAD:20fbeb703b08468122c412bcbe098fc038dad0ff"
meta
meta-poky = "HEAD:51f6145f8f99a02df1dad937684f014b0172e72a"

Initialising tasks: 100% |######################################################################| Time: 0:00:07
Sstate summary: Wanted 2072 Found 0 Missed 2072 Current 607 (0% match, 22% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks

----------------------------------------------------------------------------------------------

But the run fails with the following message.

----------------------------------------------------------------------------------------------

ERROR: xmlsec1-native-1.2.26-r0 do_configure: configure failed
ERROR: xmlsec1-native-1.2.26-r0 do_configure: Function failed: do_configure (log file is located at /usr/local/d_drive/agl_yocto_sys/build/tmp/work/x86_64-linux/xmlsec1-native/1.2.26-r0/temp/log.do_configure.20107)
ERROR: Logfile of failure stored in: /usr/local/d_drive/agl_yocto_sys/build/tmp/work/x86_64-linux/xmlsec1-native/1.2.26-r0/temp/log.do_configure.20107

----------------------------------------------------------------------------------------------

Could you please let me know what could be going wrong, and what needs to be done.

 

Please let me know if you require more information.

Thank you,

Regards,

Nambi

Environment

None

Attachments

1

Activity

Nambi JU 
February 6, 2020 at 2:25 PM

Thank you for the comments, i checked the disk space after this run, there was enough of the same.

 

But once, i cleaned up the build and started from scratch, things moved on further.

For now, we can close this issue and i will open one if i come across something similar.

 

Thank you for the time.

 

Regards,

Nambi

Jan-Simon Moeller 
February 5, 2020 at 12:48 PM

Hmm ...

Out of memory, memory error, disk full, disk error ?  'file truncated' means the content of the file is borked.

Nambi JU 
January 21, 2020 at 11:58 AM
(edited)

Hi Scott and Jan-Simon,

 

Thank you for the comments. I tried the following.

  1. As suggested by Scott, i setup a container environment with Vagrant and Ubuntu and tried the setup.

  2. Now, i get a different error as follows.

===============================================================

$ bitbake agl-demo-platform
Loading cache: 100% |###########################################################################| Time: 0:00:01
Loaded 3543 entries from dependency cache.
Parsing recipes: 100% |#########################################################################| Time: 0:00:36
Parsing of 2545 .bb files complete (2497 cached, 48 parsed). 3592 targets, 278 skipped, 0 masked, 0 errors.
WARNING: No bb files matched BBFILE_PATTERN_agl-distro '^/home/vagrant/workspace_agl/meta-agl/meta-agl-distro/'
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.40.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "x86_64-agl-linux"
MACHINE              = "qemux86-64"
DISTRO               = "poky-agl"
DISTRO_VERSION       = "8.0.4+snapshot-20200121"
TUNE_FEATURES        = "m64 corei7"
TARGET_FPU           = ""
meta-qt5             = "HEAD:1520d5b2b2beec5e1c3209d3178219e93ef08bca"
meta-agl-profile-graphical-qt5
meta-agl-profile-graphical = "HEAD:20fbeb703b08468122c412bcbe098fc038dad0ff"
meta-speech-framework
meta-pipewire        = "HEAD:317fee866db0f745132d17b0bf1e3e0173b26ae2"
meta-agl-demo        = "HEAD:0af7702519b7106a7775497475e3e57bea62a363"
meta-oe
meta-multimedia
meta-networking
meta-python
meta-filesystems     = "HEAD:446bd615fd7cb9bc7a159fe5c2019ed08d1a7a93"
meta-agl-profile-core
meta-agl-distro
meta-agl-bsp         = "HEAD:20fbeb703b08468122c412bcbe098fc038dad0ff"
meta-security        = "HEAD:31dc4e7532fa7a82060e0b50e5eb8d0414aa7e93"
meta-perl            = "HEAD:446bd615fd7cb9bc7a159fe5c2019ed08d1a7a93"
meta-security
meta-app-framework   = "HEAD:20fbeb703b08468122c412bcbe098fc038dad0ff"
meta
meta-poky            = "HEAD:51f6145f8f99a02df1dad937684f014b0172e72a"

Initialising tasks: 100% |######################################################################| Time: 0:00:09
Sstate summary: Wanted 2723 Found 0 Missed 2723 Current 192 (0% match, 6% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: icu-62.1-r0 do_compile: oe_runmake failed
ERROR: icu-62.1-r0 do_compile: Function failed: do_compile (log file is located at /home/vagrant/workspace_agl/build/tmp/work/corei7-64-agl-linux/icu/62.1-r0/temp/log.do_compile.3724)
ERROR: Logfile of failure stored in: /home/vagrant/workspace_agl/build/tmp/work/corei7-64-agl-linux/icu/62.1-r0/temp/log.do_compile.3724

===============================================================

Attached is the log file for the same. I am not sure why this was happening, since i had stopped the setup in the middle and had restarted the same, would this cause such a problem. Please review and comment.

 Also, i have restarted the process by removing the build folder and have fired bit_bake again.

Please let me know if you require more information.

 

Thank you,

Regards,

Nambi

Jan-Simon Moeller 
January 20, 2020 at 12:27 PM
(edited)

Scott is right. For a proper analysis, please attach this file:

 

/usr/local/d_drive/agl_yocto_sys/build/tmp/work/x86_64-linux/xmlsec1-native/1.2.26-r0/temp/log.do_configure.20107

 

 

Scott Murray 
January 14, 2020 at 6:54 PM

The issue is likely due to your host Linux distribution based on this message:

WARNING: Host distribution "opensuseleap-15.2" has not been validated with this version of the build system

I'm re-assigning to in case he has some idea of possible tweaks to build on that version of OpenSUSE.  Otherwise, you may want to try building on one of the supported distributions listed here:

https://www.yoctoproject.org/docs/2.6/ref-manual/ref-manual.html#detailed-supported-distros

One way to do that without a reinstall would be via a container depending on your set up and familiarity with containers.

 

Fixed

Details

Assignee

Reporter

Components

Affects versions

Priority

Created January 14, 2020 at 5:45 AM
Updated April 7, 2020 at 10:26 PM
Resolved February 27, 2020 at 1:18 PM