Skip to main content
Gencay
Associate III
August 10, 2022
Question

URLError trying to populate SDK with Flutter engine

  • August 10, 2022
  • 2 replies
  • 1347 views

I am trying to populate sdk with flutter engine and having the error: URLError(gaierror(-3, 'Temporary failure in name resolution')

Here is the github link of the flutter layer:

https://github.com/meta-flutter/meta-flutter

ERROR: flutter-engine-git-r0 do_install: ExpansionError('do_install', "\n install -D -m0644 /home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp15-disco/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine/git-r0/src/out/linux_release_arm/so.unstripped/libflutter_engine.so \\\n /home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp15-disco/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine/git-r0/image/usr/lib/libflutter_engine.so\n\n if ${@bb.utils.contains('PACKAGECONFIG', 'desktop-embeddings', 'true', 'false', d)}; then\n install -m0644 /home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp15-disco/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine/git-r0/src/out/linux_release_arm/so.unstripped/libflutter_linux_gtk.so /home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp15-disco/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine/git-r0/image/usr/lib\n fi\n\n install -D -m0644 /home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp15-disco/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine/git-r0/src/out/linux_release_arm/flutter_embedder.h \\\n /home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp15-disco/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine/git-r0/image/usr/include/flutter_embedder.h\n\n install -D -m0644 /home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp15-disco/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine/git-r0/src/out/linux_release_arm/icudtl.dat \\\n /home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp15-disco/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine/git-r0/image/usr/share/flutter/icudtl.dat\n\n # create SDK\n install -D -m0755 /home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp15-disco/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine/git-r0/src/out/linux_release_arm/clang_x64/gen_snapshot \\\n /home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp15-disco/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine/git-r0/image/usr/share/flutter/sdk/clang_x64/gen_snapshot\n\n cd /home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp15-disco/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine/git-r0/src/flutter\n echo `git rev-parse HEAD` > /home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp15-disco/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine/git-r0/image/usr/share/flutter/sdk/engine.version\n echo ${FLUTTER_ENGINE_REPO_URL} >> /home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp15-disco/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine/git-r0/image/usr/share/flutter/sdk/engine.version\n echo ${@get_flutter_sdk_version(d)} >> /home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp15-disco/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine/git-r0/image/usr/share/flutter/sdk/flutter_sdk.version\n\n cd /home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp15-disco/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine/git-r0/image//usr/share/flutter\n zip -r engine_sdk.zip sdk\n rm -rf sdk\n", URLError(gaierror(-3, 'Temporary failure in name resolution')))
ERROR: Logfile of failure stored in: /home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp15-disco/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/flutter-engine/git-r0/temp/log.do_install.3657615
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/meta/recipes-graphics/fontconfig/fontconfig_2.13.1.bb:do_populate_sysroot', '/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/meta-flutter/recipes-devtools/depot-tools/depot-tools-native_git.bb:do_populate_sysroot', 'virtual:native:/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/meta/recipes-extended/zip/zip_3.0.bb:do_populate_sysroot', 'virtual:native:/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/meta/recipes-support/curl/curl_7.82.0.bb:do_populate_sysroot', '/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/meta/recipes-devtools/python/python3_3.10.4.bb:do_populate_sysroot', '/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/meta/recipes-core/glibc/glibc_2.35.bb:do_populate_sysroot', '/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-clang/recipes-devtools/clang/clang-cross_git.bb:do_populate_sysroot', '/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-clang/recipes-devtools/clang/compiler-rt_git.bb:do_populate_sysroot', '/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-clang/recipes-devtools/clang/libcxx_git.bb:do_populate_sysroot', 'virtual:native:/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/meta/recipes-support/ca-certificates/ca-certificates_20211016.bb:do_populate_sysroot', 'virtual:native:/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['fontconfig', 'depot-tools-native', 'zip-native', 'curl-native', 'quilt-native', 'pkgconfig-native', 'pseudo-native', 'python3-native', 'glibc', 'clang-cross-arm', 'compiler-rt', 'libcxx', 'ca-certificates-native', 'patch-native', 'pbzip2-native', 'gcc-runtime', 'zlib', 'util-linux', 'expat', 'freetype', 'libtool-native', 'xz-native', 'zlib-native', 'openssl-native', 'util-linux-libuuid-native', 'libffi-native', 'libnsl2-native', 'gdbm-native', 'readline-native', 'libtirpc-native', 'bzip2-native', 'ncurses-native', 'sqlite3-native', 'linux-libc-headers', 'clang-native', 'binutils-cross-arm', 'libgcc', 'attr-native', 'libcap-ng', 'ncurses', 'libpam', 'util-linux-libuuid', 'bash-completion', 'opkg-utils', 'libxcrypt', 'libpng', 'texinfo-dummy-native', 'gettext-minimal-native', 'perl-native', 'libedit-native', 'swig-native', 'cmake-native', 'binutils-native', 'libxml2-native', 'flex-native', 'gnu-config-native', 'cracklib', 'flex', 'libpcre-native', 'zstd-native', 'm4-native']
| DEBUG: Python function extend_recipe_sysroot finished
ERROR: Task (/home/gencay/STM32MPU_workspace/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/meta-flutter/recipes-graphics/flutter-engine/flutter-engine_git.bb:do_install) failed with exit code '1'
 

 

Here is the complete error text:

This topic has been closed for replies.

2 replies

Olivier GALLIEN
ST Technical Moderator
August 25, 2022

Hi @Gencay​ 

Did you try to contact @Community member​  owner of the layer ?

Also, did you take care that you are using Kirkstone while AFAIK the layer is only available/tested for dunfell ?

Olivier

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.
Joel
Associate II
August 25, 2022