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. Failed to Build boot2qt open source
Forum Updated to NodeBB v4.3 + New Features

Failed to Build boot2qt open source

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
boot2qtopensourcebuild stepsqt 5.7qt quick
10 Posts 4 Posters 6.5k Views 3 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.
  • T Offline
    T Offline
    TomsBrook
    wrote on 7 Aug 2016, 18:34 last edited by TomsBrook
    #1

    After reading this post
    https://blog.qt.io/blog/2016/07/01/aligning-with-the-yocto-project/
    I figured would give boot2qt a try to take advantage of Qt 5.7 features on my apalis-imx6 board. The blog post pointed me towards
    another article to to build an image with boot2qt.

    "To get started with meta-boot2qt, clone the repository for meta-boot2qt and follow the instructions of building your own embedded Linux image in the Qt documentation."
    http://doc.qt.io/QtForDeviceCreation/qtee-custom-embedded-linux-image.html
    But when I set it up and attempt to "bitbake b2qt-embedded-qt5-image" I get the following build errors:

    tomsbrook@ubuntu:~/boot2qt_oe-core/build-apalis-imx6$ bitbake b2qt-embedded-qt5-image
    Loading cache: 100% |###########################################| ETA:  00:00:00
    Loaded 2645 entries from dependency cache.
    NOTE: Resolving any missing task queue dependencies
    
    Build Configuration:
    BB_VERSION        = "1.28.0"
    BUILD_SYS         = "x86_64-linux"
    NATIVELSBSTRING   = "Ubuntu-14.04"
    TARGET_SYS        = "arm-poky-linux-gnueabi"
    MACHINE           = "apalis-imx6"
    DISTRO            = "b2qt"
    DISTRO_VERSION    = "2.0.1"
    TUNE_FEATURES     = "arm armv7a vfp thumb neon callconvention-hard cortexa9"
    TARGET_FPU        = "vfp-neon"
    meta              
    meta-yocto        = "HEAD:b1f23d1254682866236bfaeb843c0d8aa332efc2"
    meta-toradex      = "HEAD:485643678b2d39d37b1cc9d1aa2200bb934b08de"
    meta-fsl-arm      = "HEAD:c9e576bdae8c481f5a836531c7865fe8b8a5a36f"
    meta-fsl-arm-extra = "HEAD:dd074c47af53948041f6c5671e519fbf815b0980"
    meta-oe           
    meta-python       
    meta-networking   
    meta-initramfs    
    meta-multimedia   = "HEAD:dc5634968b270dde250690609f0015f881db81f2"
    meta-boot2qt      
    meta-fsl-extras   
    meta-toradex-extras = "jethro:10c9d074e0b3a00ef45d0764c7283fe2cdade101"
    meta-mingw        = "HEAD:bf2d66bbb26afbf4c22744af925daa53f61d98e1"
    meta-qt5          = "HEAD:2746cdba75f411541d80ddfd5cadad2753fe29d3"
    
    NOTE: Preparing RunQueue
    NOTE: Executing SetScene Tasks
    NOTE: Executing RunQueue Tasks
    WARNING: Failed to fetch URL git://codereview.qt-project.org/qt/tqtc-qmlcompiler;nobranch=1;protocol=ssh, attempting MIRRORS if available
    ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
    Cloning into bare repository '/home/tomsbrook/boot2qt_oe-core/build-apalis-imx6/../downloads/git2/codereview.qt-project.org.qt.tqtc-qmlcompiler'...
    ssh: connect to host codereview.qt-project.org port 22: Connection timed out
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.
    
    ERROR: Function failed: Fetcher failure for URL: 'git://codereview.qt-project.org/qt/tqtc-qmlcompiler;nobranch=1;protocol=ssh'. Unable to fetch URL from any source.
    ERROR: Logfile of failure stored in: /home/tomsbrook/boot2qt_oe-core/build-apalis-imx6/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/qtquickcompiler/git-r0/temp/log.do_fetch.2596
    ERROR: Task 3767 (/home/tomsbrook/boot2qt_oe-core/sources/meta-boot2qt/recipes-qt/qt5-addons/qtquickcompiler_git.bb, do_fetch) failed with exit code '1'
    WARNING: Failed to fetch URL git://codereview.qt-project.org/qt/tqtc-qmlcompiler;nobranch=1;protocol=ssh, attempting MIRRORS if available
    ERROR: Fetcher failure: Fetch command failed with exit code 128, output:
    Cloning into bare repository '/home/tomsbrook/boot2qt_oe-core/build-apalis-imx6/../downloads/git2/codereview.qt-project.org.qt.tqtc-qmlcompiler'...
    ssh: connect to host codereview.qt-project.org port 22: Connection timed out
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.
    
    ERROR: Function failed: Fetcher failure for URL: 'git://codereview.qt-project.org/qt/tqtc-qmlcompiler;nobranch=1;protocol=ssh'. Unable to fetch URL from any source.
    ERROR: Logfile of failure stored in: /home/tomsbrook/boot2qt_oe-core/build-apalis-imx6/tmp/work/x86_64-linux/qtquickcompiler-native/git-r0/temp/log.do_fetch.2620
    ERROR: Task 3782 (virtual:native:/home/tomsbrook/boot2qt_oe-core/sources/meta-boot2qt/recipes-qt/qt5-addons/qtquickcompiler_git.bb, do_fetch) failed with exit code '1'
    NOTE: Tasks Summary: Attempted 3161 tasks of which 3156 didn't need to be rerun and 2 failed.
    Waiting for 0 running tasks to finish:
    
    Summary: 2 tasks failed:
      /home/tomsbrook/boot2qt_oe-core/sources/meta-boot2qt/recipes-qt/qt5-addons/qtquickcompiler_git.bb, do_fetch
      virtual:native:/home/tomsbrook/boot2qt_oe-core/sources/meta-boot2qt/recipes-qt/qt5-addons/qtquickcompiler_git.bb, do_fetch
    Summary: There were 2 WARNING messages shown.
    Summary: There were 4 ERROR messages shown, returning a non-zero exit code.
    

    I see that in this post
    http://blog.qt.io/blog/2016/06/16/qt-5-7-released/

    qt quick compiler Is yet to be released as an open source package.

    So, my question is if anyone found a work around for successfully building boot2qt or am I just missing something basic?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jhiatt
      wrote on 18 Aug 2016, 19:26 last edited by jhiatt
      #2

      I ran into this same problem... very frustrating! I think I've managed to work around it by disabling the qtcharts and qtvirtualkeyboard modules. I identified those as the problematic dependencies by running:

      bitbake -g b2qt-embedded-qt5-image && grep -e '-> "qtquickcompiler' package-depends.dot
      

      I deleted the references to those packages in this file. That got my build going again, but it hasn't finished yet so I don't know if I will have any more trouble.

      1 Reply Last reply
      0
      • N Offline
        N Offline
        Newsages
        wrote on 23 Aug 2016, 12:40 last edited by
        #3

        HI,
        I have same on fetch:

        WARNING: Failed to fetch URL git://codereview.qt-project.org/qt/tqtc-qmlcompiler;nobranch=1;protocol=ssh, attempting MIRRORS if available

        WARNING: Failed to fetch URL git://codereview.qt-project.org/tqtc-boot2qt/utils;branch=5.7;protocol=ssh;sdk-uri=5.7/Boot2Qt/sources/b2qt-utils, attempting MIRRORS if available

        WARNING: Failed to fetch URL git://codereview.qt-project.org/tqtc-boot2qt/appcontroller;branch=5.7;protocol=ssh;sdk-uri=5.7/Boot2Qt/sources/b2qt-appcontroller/, attempting MIRRORS if available

        tqtc-boot2qt existis? protocol ssh?

        thx?

        J 1 Reply Last reply 24 Aug 2016, 21:51
        0
        • T Offline
          T Offline
          TomaszK
          wrote on 24 Aug 2016, 18:29 last edited by
          #4

          I'm have the same problem with compilation, and much more.
          Any suggestion?

          1 Reply Last reply
          0
          • N Newsages
            23 Aug 2016, 12:40

            HI,
            I have same on fetch:

            WARNING: Failed to fetch URL git://codereview.qt-project.org/qt/tqtc-qmlcompiler;nobranch=1;protocol=ssh, attempting MIRRORS if available

            WARNING: Failed to fetch URL git://codereview.qt-project.org/tqtc-boot2qt/utils;branch=5.7;protocol=ssh;sdk-uri=5.7/Boot2Qt/sources/b2qt-utils, attempting MIRRORS if available

            WARNING: Failed to fetch URL git://codereview.qt-project.org/tqtc-boot2qt/appcontroller;branch=5.7;protocol=ssh;sdk-uri=5.7/Boot2Qt/sources/b2qt-appcontroller/, attempting MIRRORS if available

            tqtc-boot2qt existis? protocol ssh?

            thx?

            J Offline
            J Offline
            jhiatt
            wrote on 24 Aug 2016, 21:51 last edited by
            #5

            @Newsages I also had to remove the dependencies on b2qt-appcontroller/b2qt-utils in order for my build to finish. There's a recent commit to disable the dependency on the inaccessible qtquickcompiler repo but I haven't tested to see if it fixes the problems I had before.

            N 1 Reply Last reply 24 Aug 2016, 22:18
            0
            • N Offline
              N Offline
              Newsages
              wrote on 24 Aug 2016, 22:12 last edited by
              #6

              Yes i to comment deps.
              But is same to make b2qt-embedded-image whitout -qt5-?

              and for sdk and toolchains?

              1 Reply Last reply
              0
              • J jhiatt
                24 Aug 2016, 21:51

                @Newsages I also had to remove the dependencies on b2qt-appcontroller/b2qt-utils in order for my build to finish. There's a recent commit to disable the dependency on the inaccessible qtquickcompiler repo but I haven't tested to see if it fixes the problems I had before.

                N Offline
                N Offline
                Newsages
                wrote on 24 Aug 2016, 22:18 last edited by
                #7

                @jhiatt
                In virtualkeyboard charts etc have iner qtquickcompiler.

                I have build nuc , but emulator same isue... emugless etc.

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  jhiatt
                  wrote on 26 Aug 2016, 00:07 last edited by
                  #8

                  @Newsages Sorry, I don't understand your most recent messages. Have you tried using the latest version of the meta-boot2qt repository? I just ran through a build using the 'jethro' branch (commit 2362b64) and the qtquickcompiler issues appear to have been resolved. I still had to remove the b2qt-utils and b2qt-appcontroller deps for the image build, plus b2qt-utils-dev in order to build the toolchain. I have not had a chance to verify that the image + toolchain actually work, only that they built correctly.

                  @TomaszK what are the errors that you see?

                  N 1 Reply Last reply 26 Aug 2016, 16:05
                  0
                  • J jhiatt
                    26 Aug 2016, 00:07

                    @Newsages Sorry, I don't understand your most recent messages. Have you tried using the latest version of the meta-boot2qt repository? I just ran through a build using the 'jethro' branch (commit 2362b64) and the qtquickcompiler issues appear to have been resolved. I still had to remove the b2qt-utils and b2qt-appcontroller deps for the image build, plus b2qt-utils-dev in order to build the toolchain. I have not had a chance to verify that the image + toolchain actually work, only that they built correctly.

                    @TomaszK what are the errors that you see?

                    N Offline
                    N Offline
                    Newsages
                    wrote on 26 Aug 2016, 16:05 last edited by
                    #9

                    @jhiatt you can build emulator in jetrho branch,? i try in dev is merge of jetrho whit your patch.
                    I view the commit and the condicional test of have access to qqcompiler.

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      jhiatt
                      wrote on 26 Aug 2016, 23:29 last edited by
                      #10

                      @Newsages I've been building for Boundary Devices Sabrelite board (MACHINE=nitrogen6x). I have not tried to build for the emulator.

                      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