TechNexion / tn-imx-yocto-manifest

TechNexion i.MX Yocto manifests
28 stars 10 forks source link

EDM-G-IMX8MM Yocto mickledore build fails #40

Closed paoloturim closed 8 months ago

paoloturim commented 9 months ago

Hi,

I have issue with this: https://github.com/TechNexion/tn-imx-yocto-manifest/tree/mickledore_6.1.y-next

In docker Ubuntu 20.04 (jenkins) machine: https://developer.technexion.com/docs/building-an-image-in-docker-container

 Fetching uninative binary shim http://downloads.yoctoproject.org/releases/uninative/3.9/x86_64-nativesdk-libc-3.9.tar.xz;sha256sum=3dd82c3fbdb59e87bf091c3eef555a05fae528eeda3083828f76cd4deaceca8b (will check PREMIRRORS first)
WARNING: The BB_DISKMON_DIRS "ABORT" action has been renamed to "HALT", update configuration
Initialising tasks: 100% |#######################################| Time: 0:00:04
Sstate summary: Wanted 5014 Local 0 Mirrors 0 Missed 5014 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
WARNING: linux-tn-imx-6.1.22+gitAUTOINC+f2bdb8d458-r0 do_fetch: Failed to fetch URL git://github.com/TechNexion/linux-tn-imx.git;protocol=https;branch=tn-imx_6.1.22_2.0.0-next, attempting MIRRORS if available
ERROR: linux-tn-imx-6.1.22+gitAUTOINC+f2bdb8d458-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/edm_yocto3/build-xwayland-edm-g-imx8mm/tmp/sysroots-uninative/x86_64-linux/usr/bin:/edm_yocto3/sources/poky/scripts:/edm_yocto3/build-xwayland-edm-g-imx8mm/tmp/work/edm_g_imx8mm-poky-linux/linux-tn-imx/6.1.22+gitAUTOINC+f2bdb8d458-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/edm_yocto3/build-xwayland-edm-g-imx8mm/tmp/work/edm_g_imx8mm-poky-linux/linux-tn-imx/6.1.22+gitAUTOINC+f2bdb8d458-r0/recipe-sysroot/usr/bin/crossscripts:/edm_yocto3/build-xwayland-edm-g-imx8mm/tmp/work/edm_g_imx8mm-poky-linux/linux-tn-imx/6.1.22+gitAUTOINC+f2bdb8d458-r0/recipe-sysroot-native/usr/sbin:/edm_yocto3/build-xwayland-edm-g-imx8mm/tmp/work/edm_g_imx8mm-poky-linux/linux-tn-imx/6.1.22+gitAUTOINC+f2bdb8d458-r0/recipe-sysroot-native/usr/bin:/edm_yocto3/build-xwayland-edm-g-imx8mm/tmp/work/edm_g_imx8mm-poky-linux/linux-tn-imx/6.1.22+gitAUTOINC+f2bdb8d458-r0/recipe-sysroot-native/sbin:/edm_yocto3/build-xwayland-edm-g-imx8mm/tmp/work/edm_g_imx8mm-poky-linux/linux-tn-imx/6.1.22+gitAUTOINC+f2bdb8d458-r0/recipe-sysroot-native/bin:/edm_yocto3/sources/poky/bitbake/bin:/edm_yocto3/build-xwayland-edm-g-imx8mm/tmp/hosttools"; export HOME="/home/jenkins"; LANG=C git -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror https://github.com/TechNexion/linux-tn-imx.git /edm_yocto3/downloads//git2/github.com.TechNexion.linux-tn-imx.git --progress failed with exit code 128, no output
ERROR: linux-tn-imx-6.1.22+gitAUTOINC+f2bdb8d458-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/TechNexion/linux-tn-imx.git;protocol=https;branch=tn-imx_6.1.22_2.0.0-next')
ERROR: Logfile of failure stored in: /edm_yocto3/build-xwayland-edm-g-imx8mm/tmp/work/edm_g_imx8mm-poky-linux/linux-tn-imx/6.1.22+gitAUTOINC+f2bdb8d458-r0/temp/log.do_fetch.769456
ERROR: Task (/edm_yocto3/sources/meta-tn-imx-bsp/recipes-kernel/linux/linux-tn-imx_6.1.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1411 tasks of which 0 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /edm_yocto3/sources/meta-tn-imx-bsp/recipes-kernel/linux/linux-tn-imx_6.1.bb:do_fetch
Summary: There were 5 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.

Captura de tela de 2024-03-01 09-01-06

ray-chang commented 8 months ago

@paoloturim

Thanks for your feedback.

This commit f2bdb8d458 is still in our internal git. I've pushed to github.

In addition, we currently only support EDM-G-IMX8MP. We're doing our best to get all platforms to support it as well. Hopefully, by the end of the first season, the ARM64 platform will be complete.

BR, Ray

paoloturim commented 8 months ago

@ray-chang I need yocto Kirkstone in my pico-imx8mm. But I have issue:

 repo init -u https://github.com/TechNexion/tn-imx-yocto-manifest.git -b kirkstone_5.15.y-stable -m imx-5.15.71-2.2.2.xml

 repo sync -j8

DISTRO=fsl-imx-wayland MACHINE=pico-imx8mm BASEBOARD=pi source tn-setup-release.sh -b build-wayland-pico-imx8mm
Or
. ./setup-environment build-wayland-pico-imx8mm

 bitbake imx-image-full

Issue 01:

ERROR: half-2.1.0-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/paolo/edm_yocto/sources/poky/scripts:/home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-poky-linux/half/2.1.0-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-poky-linux/half/2.1.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-poky-linux/half/2.1.0-r0/recipe-sysroot-native/usr/sbin:/home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-poky-linux/half/2.1.0-r0/recipe-sysroot-native/usr/bin:/home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-poky-linux/half/2.1.0-r0/recipe-sysroot-native/sbin:/home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-poky-linux/half/2.1.0-r0/recipe-sysroot-native/bin:/home/paolo/edm_yocto/sources/poky/bitbake/bin:/home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/hosttools"; export HOME="/home/paolo"; /usr/bin/env wget -t 2 -T 30 --passive-ftp -P /home/paolo/edm_yocto/downloads/ 'https://sourceforge.net/projects/half/files/half/2.1.0/half-2.1.0.zip' --progress=dot -v failed with exit code 4, no output
ERROR: half-2.1.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'https://sourceforge.net/projects/half/files/half/2.1.0/half-2.1.0.zip')
ERROR: Logfile of failure stored in: /home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-poky-linux/half/2.1.0-r0/temp/log.do_fetch.1982
ERROR: Task (/home/paolo/edm_yocto/sources/meta-freescale-distro/recipes-devtools/half/half_2.1.0.bb:do_fetch) failed with exit code '1'
 lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:        22.04
Codename:       jammy

Issue 02:


| /home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/qtbase/6.3.2-r0/git/tests/auto/widgets/itemviews/qtreeview/tst_qtreeview.cpp: In member function 'void tst_QTreeView::renderToPixmap()':
| /home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/qtbase/6.3.2-r0/git/tests/auto/widgets/itemviews/qtreeview/tst_qtreeview.cpp:3250:17: warning: unused variable 'row' [-Wunused-variable]
|  3250 |     QFETCH(int, row);
|       |                 ^~~
| /home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/qtbase/6.3.2-r0/git/tests/auto/widgets/itemviews/qtreeview/tst_qtreeview.cpp: In member function 'void tst_QTreeView::styleOptionViewItem()':
| /home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/qtbase/6.3.2-r0/git/tests/auto/widgets/itemviews/qtreeview/tst_qtreeview.cpp:3402:15: warning: unused variable 'visibleColumns' [-Wunused-variable]
|  3402 |     const int visibleColumns = 4;
|       |               ^~~~~~~~~~~~~~
| /home/paolo/edm_yocto/build-wayland-pico-imx8mm/tmp/work/armv8a-mx8mm-poky-linux/qtbase/6.3.2-r0/git/tests/auto/widgets/itemviews/qtreeview/tst_qtreeview.cpp:3403:15: warning: unused variable 'modelColumns' [-Wunused-variable]
|  3403 |     const int modelColumns = 5;
|       |               ^~~~~~~~~~~~
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/paolo/edm_yocto/sources/meta-qt6/recipes-qt/qt6/qtbase_git.bb:do_install_ptest_base) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2131 tasks of which 2123 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/paolo/edm_yocto/sources/meta-qt6/recipes-qt/qt6/qtbase_git.bb:do_install_ptest_base
Summary: There were 3 WARNING messages.