Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Building qt yocto
Forum Updated to NodeBB v4.3 + New Features

Building qt yocto

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 1.2k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Darek19
    wrote on last edited by
    #1

    System Ubuntu 18.04.06 LTS WSL

    "I am encountering errors with meta-qt6 recipes while attempting to build an image, following the guidelines set forth in 'Building Your Own Embedded Linux Image' on Ubuntu 18.04.06 LTS via WSL.

    Build Configuration:
    BB_VERSION = "2.0.0"
    BUILD_SYS = "x86_64-linux"
    NATIVELSBSTRING = "ubuntu-18.04"
    TARGET_SYS = "arm-poky-linux-gnueabi"
    MACHINE = "raspberrypi"
    DISTRO = "b2qt"
    DISTRO_VERSION = "4.0.9"
    TUNE_FEATURES = "arm thumb vfp arm1176jzfs callconvention-hard"
    TARGET_FPU = "hard"
    SDKMACHINE = "x86_64"
    QT_VERSION = "6.2.9"
    meta
    meta-poky = "HEAD:09def309f91929f47c6cce386016ccb777bd2cfc"
    meta-raspberrypi = "HEAD:dacad9302a92b0b7edf8546cdcad1f8ef753e462"
    meta-oe
    meta-python
    meta-networking
    meta-initramfs
    meta-multimedia = "HEAD:571e36e20e9d1f27af0eb4545291beeb64f280e2"
    meta-boot2qt
    meta-boot2qt-distro = "HEAD:f477b6c3356921070c54fcdb3dd4b35391e6843e"
    meta-mingw = "HEAD:a90614a6498c3345704e9611f2842eb933dc51c1"
    meta-qt6 = "HEAD:d5eb2c8eaf7272a6bc56cfa212e2b88109c418e3"

    NOTE: 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)
    Initialising tasks: 100% |###############################################################################| Time: 0:00:08
    Sstate summary: Wanted 2971 Local 0 Mirrors 0 Missed 2971 Current 0 (0% match, 0% complete)
    NOTE: Executing Tasks
    WARNING: xz-native-5.2.6-r0 do_fetch: Failed to fetch URL https://tukaani.org/xz/xz-5.2.6.tar.gz, attempting MIRRORS if available
    WARNING: pkgconfig-native-0.29.2+gitAUTOINC+d97db4fae4-r0 do_fetch: Failed to fetch URL git://gitlab.freedesktop.org/pkg-config/pkg-config.git;branch=master;protocol=https, attempting MIRRORS if available
    WARNING: wayland-native-1.20.0-r0 do_fetch: Failed to fetch URL https://wayland.freedesktop.org/releases/wayland-1.20.0.tar.xz, attempting MIRRORS if available
    WARNING: qtbase-native-6.2.9-r0 do_fetch: Failed to fetch URL git://codereview.qt-project.org/qt/tqtc-qtbase.git;name=qtbase;branch=tqtc/lts-6.2.9;nobranch=1;protocol=ssh, attempting MIRRORS if available
    ERROR: qtbase-native-6.2.9-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export PATH="/home/darek/sources/poky/scripts/native-intercept:/home/darek/build-raspberrypi/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/darek/build-raspberrypi/tmp/work/x86_64-linux/qtbase-native/6.2.9-r0/recipe-sysroot-native/usr/bin/python3-native:/home/darek/build-raspberrypi/tmp/work/x86_64-linux/qtbase-native/6.2.9-r0/recipe-sysroot-native/usr/bin/perl-native:/home/darek/sources/poky/scripts:/home/darek/build-raspberrypi/tmp/work/x86_64-linux/qtbase-native/6.2.9-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/darek/build-raspberrypi/tmp/work/x86_64-linux/qtbase-native/6.2.9-r0/recipe-sysroot-native/usr/bin:/home/darek/build-raspberrypi/tmp/work/x86_64-linux/qtbase-native/6.2.9-r0/recipe-sysroot-native/usr/sbin:/home/darek/build-raspberrypi/tmp/work/x86_64-linux/qtbase-native/6.2.9-r0/recipe-sysroot-native/usr/bin:/home/darek/build-raspberrypi/tmp/work/x86_64-linux/qtbase-native/6.2.9-r0/recipe-sysroot-native/sbin:/home/darek/build-raspberrypi/tmp/work/x86_64-linux/qtbase-native/6.2.9-r0/recipe-sysroot-native/bin:/home/darek/sources/poky/bitbake/bin:/home/darek/build-raspberrypi/tmp/hosttools"; export HOME="/home/darek"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror ssh://codereview.qt-project.org/qt/tqtc-qtbase.git /home/darek/build-raspberrypi/../downloads/git2/codereview.qt-project.org.qt.tqtc-qtbase.git --progress failed with exit code 128, no output
    ERROR: qtbase-native-6.2.9-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://codereview.qt-project.org/qt/tqtc-qtbase.git;name=qtbase;branch=tqtc/lts-6.2.9;nobranch=1;protocol=ssh')
    ERROR: Logfile of failure stored in: /home/darek/build-raspberrypi/tmp/work/x86_64-linux/qtbase-native/6.2.9-r0/temp/log.do_fetch.1264979
    ERROR: Task (virtual:native:/home/darek/sources/meta-qt6/recipes-qt/qt6/qtbase_git.bb:do_fetch) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 1819 tasks of which 0 didn't need to be rerun and 1 failed.
    NOTE: Build completion summary:
    NOTE: do_populate_sysroot: 0.0% sstate reuse(0 setscene, 145 scratch)
    NOTE: do_deploy_source_date_epoch: 0.0% sstate reuse(0 setscene, 164 scratch)
    NOTE: do_package_qa: 0.0% sstate reuse(0 setscene, 42 scratch)
    NOTE: do_package: 0.0% sstate reuse(0 setscene, 63 scratch)
    NOTE: do_packagedata: 0.0% sstate reuse(0 setscene, 63 scratch)
    NOTE: do_populate_lic: 0.0% sstate reuse(0 setscene, 163 scratch)

    Summary: 1 task failed:
    virtual:native:/home/darek/sources/meta-qt6/recipes-qt/qt6/qtbase_git.bb:do_fetch
    Summary: There were 4 WARNING messages.
    Summary: There were 2 ERROR messages, returning a non-zero exit code.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      From the looks of it, you seem to try to clone the commercial qtbase repository. Do you have access to that ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • D Offline
        D Offline
        Darek19
        wrote on last edited by
        #3

        I didn't have a license, so I used Qt in a version below 5.15 and everything is working now. Thanks for the help.

        1 Reply Last reply
        0
        • D Offline
          D Offline
          Darek19
          wrote on last edited by
          #4

          I have another issue while building, this time qt 5.14.2 with otf-noto. Here's the output from the terminal:
          darek@darek-CX61-0OC-CX61-0OD:~/yocto/build-raspberrypi$ bitbake otf-noto
          Loading cache: 100% |############################################| Time: 0:00:00
          Loaded 3991 entries from dependency cache.
          NOTE: Resolving any missing task queue dependencies

          Build Configuration:
          BB_VERSION = "1.42.0"
          BUILD_SYS = "x86_64-linux"
          NATIVELSBSTRING = "universal"
          TARGET_SYS = "arm-poky-linux-gnueabi"
          MACHINE = "raspberrypi"
          DISTRO = "b2qt"
          DISTRO_VERSION = "2.7.3"
          TUNE_FEATURES = "arm armv6 vfp arm1176jzfs callconvention-hard"
          TARGET_FPU = "hard"
          SDKMACHINE = "x86_64"
          meta
          meta-poky = "HEAD:f475afc5df0837532dcd0f3a831ddc3aec8941f1"
          meta-raspberrypi = "HEAD:5cb49f4d76a311201bd36cf6538e23a59e3d8030"
          meta-oe
          meta-python
          meta-networking
          meta-initramfs
          meta-multimedia = "HEAD:a24acf94d48d635eca668ea34598c6e5c857e3f8"
          meta-python2 = "HEAD:4400f9155ec193d028208cf0c66aeed2ba2b00ab"
          meta-boot2qt
          meta-boot2qt-distro = "HEAD:8556f11d3dcae117724258aede59ea4e92124406"
          meta-mingw = "HEAD:10695afe8cd406844e0d0dd868c11677e07557d4"
          meta-qt5 = "HEAD:1aa8366b3ec13f37254f1cd958479f546114b24e"

          Initialising tasks: 100% |#######################################| Time: 0:00:00
          Sstate summary: Wanted 6 Found 0 Missed 6 Current 105 (0% match, 94% complete)
          NOTE: Executing SetScene Tasks
          NOTE: Executing RunQueue Tasks
          WARNING: otf-noto-1.004-r0 do_fetch: Failed to fetch URL git://github.com/googlei18n/noto-cjk.git, attempting MIRRORS if available
          ERROR: otf-noto-1.004-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="1076"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/darek/yocto/build-raspberrypi/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/darek/yocto/sources/poky/scripts:/home/darek/yocto/build-raspberrypi/tmp/work/all-poky-linux/otf-noto/1.004-r0/recipe-sysroot-native/usr/bin/allarch-poky-linux:/home/darek/yocto/build-raspberrypi/tmp/work/all-poky-linux/otf-noto/1.004-r0/recipe-sysroot/usr/bin/crossscripts:/home/darek/yocto/build-raspberrypi/tmp/work/all-poky-linux/otf-noto/1.004-r0/recipe-sysroot-native/usr/sbin:/home/darek/yocto/build-raspberrypi/tmp/work/all-poky-linux/otf-noto/1.004-r0/recipe-sysroot-native/usr/bin:/home/darek/yocto/build-raspberrypi/tmp/work/all-poky-linux/otf-noto/1.004-r0/recipe-sysroot-native/sbin:/home/darek/yocto/build-raspberrypi/tmp/work/all-poky-linux/otf-noto/1.004-r0/recipe-sysroot-native/bin:/home/darek/yocto/sources/poky/bitbake/bin:/home/darek/yocto/build-raspberrypi/tmp/hosttools"; export HOME="/home/darek"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://github.com/googlei18n/noto-cjk.git /home/darek/yocto/build-raspberrypi/../downloads/git2/github.com.googlei18n.noto-cjk.git --progress failed with exit code 128, output:
          Cloning into bare repository '/home/darek/yocto/build-raspberrypi/../downloads/git2/github.com.googlei18n.noto-cjk.git'...
          fatal: unable to connect to github.com:
          github.com[0: 140.82.121.4]: errno=Connection timed out

          ERROR: otf-noto-1.004-r0 do_fetch: Fetcher failure for URL: 'git://github.com/googlei18n/noto-cjk.git'. Unable to fetch URL from any source.
          ERROR: otf-noto-1.004-r0 do_fetch:
          ERROR: otf-noto-1.004-r0 do_fetch: Function failed: base_do_fetch
          ERROR: Logfile of failure stored in: /home/darek/yocto/build-raspberrypi/tmp/work/all-poky-linux/otf-noto/1.004-r0/temp/log.do_fetch.24489
          ERROR: Task (/home/darek/yocto/sources/meta-boot2qt/meta-boot2qt/recipes-graphics/fonts/otf-noto_git.bb:do_fetch) failed with exit code '1'
          NOTE: Tasks Summary: Attempted 621 tasks of which 620 didn't need to be rerun and 1 failed.

          Summary: 1 task failed:
          /home/darek/yocto/sources/meta-boot2qt/meta-boot2qt/recipes-graphics/fonts/otf-noto_git.bb:do_fetch
          Summary: There was 1 WARNING message shown.
          Summary: There were 4 ERROR messages shown, returning a non-zero exit code.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved