Yocto zeux fsl-image-full build fail for i.MX8mm EVK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Yocto zeux fsl-image-full build fail for i.MX8mm EVK

695 Views
frk
Contributor III

Hello everyone,

I'm trying to build the yocto fsl-image-full image following the last Yocto User guide but it seems that this one is broken for i.MX8mm EVK.

Is there any special thing to know in order to succeed?

The build log is the following one :

 

15:29:00 ✔ bsp@Ubuntu3:~/yocto/imx-yocto-bsp-zeus/build-wayland$ bitbake imx-image-full
WARNING: Host distribution "ubuntu-20.04" 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 4639 entries from dependency cache.
Parsing recipes: 100% |###########################################################################################################################################################################| Time: 0:00:01
Parsing of 3217 .bb files complete (3216 cached, 1 parsed). 4640 targets, 469 skipped, 1 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.44.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-20.04"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "imx8mmevk"
DISTRO               = "fsl-imx-wayland"
DISTRO_VERSION       = "5.4-zeus"
TUNE_FEATURES        = "aarch64 cortexa53 crc crypto"
TARGET_FPU           = ""
meta
meta-poky            = "HEAD:d88d62c20d7d8da85f02edb170dae0280624ad7e"
meta-oe
meta-multimedia
meta-python          = "HEAD:2b5dd1eb81cd08bc065bc76125f2856e9383e98b"
meta-freescale       = "HEAD:14f1a630a47375432f93c556927b879b51d84c4e"
meta-freescale-3rdparty = "HEAD:dbcc686f52c3c84db8cb86aa8973a4e373651b98"
meta-freescale-distro = "HEAD:ca27d12e4964d1336e662bcc60184bbff526c857"
meta-bsp
meta-sdk
meta-ml              = "HEAD:c4620c1b711d180a3f93d69ec6ca416d886f9277"
meta-nxp-demo-experience = "HEAD:c7263d9f3cc7bbf44e7164ffeda494cf283d3dec"
meta-browser         = "HEAD:ee3be3b5986a4aa0e73df2204a625ae1fe5df37e"
meta-rust            = "HEAD:53bfa324891966a2daf5d36dc13d4a43725aebed"
meta-clang           = "HEAD:711e593d5984aad3bf35c51b7ac4482982bc16c7"
meta-gnome
meta-networking
meta-filesystems     = "HEAD:2b5dd1eb81cd08bc065bc76125f2856e9383e98b"
meta-qt5             = "HEAD:21ce4c124d9a972d9122f87c64ac2773bf04c284"
meta-python2         = "HEAD:4400f9155ec193d028208cf0c66aeed2ba2b00ab"

Initialising tasks: 100% |########################################################################################################################################################################| Time: 0:00:02
Sstate summary: Wanted 2308 Found 0 Missed 2308 Current 882 (0% match, 27% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
WARNING: libdrm-2.4.102.imx-r0 do_patch: Fuzz detected:

Applying patch drm-update-arm.patch
patching file xf86drm.h
Hunk #1 succeeded at 504 with fuzz 2 (offset 43 lines).

The context lines in the patches can be updated with devtool:

    devtool modify libdrm
    devtool finish --force-patch-refresh libdrm <layer_path>

Don't forget to review changes done by devtool!

WARNING: libdrm-2.4.102.imx-r0 do_patch: QA Issue: Patch log indicates that patches do not apply cleanly. [patch-fuzz]
WARNING: ntp-4.2.8p13-r0 do_fetch: Checksum mismatch for local file /home/bspdownloads/ntp-4.2.8p13.tar.gz
Cleaning and trying again.
WARNING: ntp-4.2.8p13-r0 do_fetch: Renaming /home/bspdownloads/ntp-4.2.8p13.tar.gz to /home/bspdownloads/ntp-4.2.8p13.tar.gz_bad-checksum_19bb20214e0a88629e17a5b6c605d45d
WARNING: ntp-4.2.8p13-r0 do_fetch: Checksum failure encountered with download of http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.8p13.tar.gz - will attempt other sources if available
WARNING: lttng-modules-2.10.14-r0 do_package: lttng-modules: no modules were created; this may be due to CONFIG_TRACEPOINTS not being enabled in your kernel.
ERROR: python3-pybind11-native-2.5.0-r0 do_configure: Execution of '/home/bsp/yocto/imx-yocto-bsp-zeus/build-wayland/tmp/work/x86_64-linux/python3-pybind11-native/2.5.0-r0/temp/run.do_configure.3278769' failed with exit code 1:
-- The CXX compiler identification is GNU 9.3.0
-- Check for working CXX compiler: /home/bsp/yocto/imx-yocto-bsp-zeus/build-wayland/tmp/hosttools/g++
-- Check for working CXX compiler: /home/bsp/yocto/imx-yocto-bsp-zeus/build-wayland/tmp/hosttools/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /usr/bin/python3.8 (found version "3.8.5")
CMake Error at tools/FindPythonLibsNew.cmake:96 (message):
  Python config failure:

  Traceback (most recent call last):

    File "<string>", line 4, in <module>
    File "/usr/lib/python3.8/distutils/sysconfig.py", line 117, in get_python_inc
      return sysconfig.get_path('platinclude')
    File "/usr/lib/python3.8/sysconfig.py", line 512, in get_path
      return get_paths(scheme, vars, expand)[name]
    File "/usr/lib/python3.8/sysconfig.py", line 502, in get_paths
      return _expand_vars(scheme, vars)
    File "/usr/lib/python3.8/sysconfig.py", line 172, in _expand_vars
      _extend_dict(vars, get_config_vars())
    File "/usr/lib/python3.8/sysconfig.py", line 550, in get_config_vars
      _init_posix(_CONFIG_VARS)
    File "/usr/lib/python3.8/sysconfig.py", line 421, in _init_posix
      _temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)

  ModuleNotFoundError: No module named '_sysconfigdata'

Call Stack (most recent call first):
  tools/pybind11Tools.cmake:16 (find_package)
  CMakeLists.txt:33 (include)


-- Configuring incomplete, errors occurred!
See also "/home/bsp/yocto/imx-yocto-bsp-zeus/build-wayland/tmp/work/x86_64-linux/python3-pybind11-native/2.5.0-r0/build/CMakeFiles/CMakeOutput.log".
WARNING: exit code 1 from a shell command.

ERROR: Logfile of failure stored in: /home/bsp/yocto/imx-yocto-bsp-zeus/build-wayland/tmp/work/x86_64-linux/python3-pybind11-native/2.5.0-r0/temp/log.do_configure.3278769
Log data follows:
| DEBUG: Executing shell function do_configure
| -- The CXX compiler identification is GNU 9.3.0
| -- Check for working CXX compiler: /home/bsp/yocto/imx-yocto-bsp-zeus/build-wayland/tmp/hosttools/g++
| -- Check for working CXX compiler: /home/bsp/yocto/imx-yocto-bsp-zeus/build-wayland/tmp/hosttools/g++ -- works
| -- Detecting CXX compiler ABI info
| -- Detecting CXX compiler ABI info - done
| -- Detecting CXX compile features
| -- Detecting CXX compile features - done
| -- Found PythonInterp: /usr/bin/python3.8 (found version "3.8.5")
| CMake Error at tools/FindPythonLibsNew.cmake:96 (message):
|   Python config failure:
|
|   Traceback (most recent call last):
|
|     File "<string>", line 4, in <module>
|     File "/usr/lib/python3.8/distutils/sysconfig.py", line 117, in get_python_inc
|       return sysconfig.get_path('platinclude')
|     File "/usr/lib/python3.8/sysconfig.py", line 512, in get_path
|       return get_paths(scheme, vars, expand)[name]
|     File "/usr/lib/python3.8/sysconfig.py", line 502, in get_paths
|       return _expand_vars(scheme, vars)
|     File "/usr/lib/python3.8/sysconfig.py", line 172, in _expand_vars
|       _extend_dict(vars, get_config_vars())
|     File "/usr/lib/python3.8/sysconfig.py", line 550, in get_config_vars
|       _init_posix(_CONFIG_VARS)
|     File "/usr/lib/python3.8/sysconfig.py", line 421, in _init_posix
|       _temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
|
|   ModuleNotFoundError: No module named '_sysconfigdata'
|
| Call Stack (most recent call first):
|   tools/pybind11Tools.cmake:16 (find_package)
|   CMakeLists.txt:33 (include)
|
|
| -- Configuring incomplete, errors occurred!
| See also "/home/bsp/yocto/imx-yocto-bsp-zeus/build-wayland/tmp/work/x86_64-linux/python3-pybind11-native/2.5.0-r0/build/CMakeFiles/CMakeOutput.log".
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/bsp/yocto/imx-yocto-bsp-zeus/build-wayland/tmp/work/x86_64-linux/python3-pybind11-native/2.5.0-r0/temp/run.do_configure.3278769' failed with exit code 1:
| -- The CXX compiler identification is GNU 9.3.0
| -- Check for working CXX compiler: /home/bsp/yocto/imx-yocto-bsp-zeus/build-wayland/tmp/hosttools/g++
| -- Check for working CXX compiler: /home/bsp/yocto/imx-yocto-bsp-zeus/build-wayland/tmp/hosttools/g++ -- works
| -- Detecting CXX compiler ABI info
| -- Detecting CXX compiler ABI info - done
| -- Detecting CXX compile features
| -- Detecting CXX compile features - done
| -- Found PythonInterp: /usr/bin/python3.8 (found version "3.8.5")
| CMake Error at tools/FindPythonLibsNew.cmake:96 (message):
|   Python config failure:
|
|   Traceback (most recent call last):
|
|     File "<string>", line 4, in <module>
|     File "/usr/lib/python3.8/distutils/sysconfig.py", line 117, in get_python_inc
|       return sysconfig.get_path('platinclude')
|     File "/usr/lib/python3.8/sysconfig.py", line 512, in get_path
|       return get_paths(scheme, vars, expand)[name]
|     File "/usr/lib/python3.8/sysconfig.py", line 502, in get_paths
|       return _expand_vars(scheme, vars)
|     File "/usr/lib/python3.8/sysconfig.py", line 172, in _expand_vars
|       _extend_dict(vars, get_config_vars())
|     File "/usr/lib/python3.8/sysconfig.py", line 550, in get_config_vars
|       _init_posix(_CONFIG_VARS)
|     File "/usr/lib/python3.8/sysconfig.py", line 421, in _init_posix
|       _temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
|
|   ModuleNotFoundError: No module named '_sysconfigdata'
|
| Call Stack (most recent call first):
|   tools/pybind11Tools.cmake:16 (find_package)
|   CMakeLists.txt:33 (include)
|
|
| -- Configuring incomplete, errors occurred!
| See also "/home/bsp/yocto/imx-yocto-bsp-zeus/build-wayland/tmp/work/x86_64-linux/python3-pybind11-native/2.5.0-r0/build/CMakeFiles/CMakeOutput.log".
| WARNING: exit code 1 from a shell command.
|
ERROR: Task (virtual:native:/home/bsp/yocto/imx-yocto-bsp-zeus/sources/meta-imx/meta-ml/recipes-devtools/python/python3-pybind11_2.5.0.bb:do_configure) failed with exit code '1'

 

Best regards,

Labels (1)
0 Kudos
Reply
0 Replies