Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Boot2Qt - fail to build base/reference image
Forum Updated to NodeBB v4.3 + New Features

Boot2Qt - fail to build base/reference image

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 3 Posters 500 Views 1 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.
  • Q Offline
    Q Offline
    qtgopher
    wrote on last edited by
    #1

    Hello, I'm running into trouble building the 'b2qt-embedded-qt5-image' for Qt 5.15.5.

    It's been a few years since I've built an image (I'm upgrading a 5.6.x image of mine) and am going through the process of setting up a new build PC.

    I followed the instructions at https://doc.qt.io/QtForDeviceCreation/b2qt-customization-requirements.html, but instead of installing repo manually I just ran the b2qt-init-build-env script to init the environment for a imx6qsabresd:

    b2qt-init-build-env init --device imx6qsabresd
    

    I then follow the commands at https://doc.qt.io/QtForDeviceCreation/b2qt-how-to-create-b2qt-image.html by running the following commands:

    export MACHINE=imx6qsabresd
    source ./setup-environment.sh
    bitbake b2qt-embedded-qt5-image
    

    Everything is happy, for a while. It completes around 3700 tasks (out of 7214) and then gracefully stops the build after failing to fetch qt packages (up to 12 now because that is the number of cores on my build server), with the error:

       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.
    

    Here is a list of the failed recipes:
    ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_fetch
    ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtdeclarative_git.bb:do_fetch
    ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtxmlpatterns_git.bb:do_fetch
    ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtmultimedia_git.bb:do_fetch
    ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtlocation_git.bb:do_fetch
    ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtwebsockets_git.bb:do_fetch
    ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtwebchannel_git.bb:do_fetch
    ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtquickcontrols_git.bb:do_fetch
    ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtquickcontrols2_git.bb:do_fetch
    ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtsvg_git.bb:do_fetch
    ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_fetch
    virtual:native:~/yocto/sources/meta-qt5/recipes-qt/qt5/qtdeclarative_git.bb:do_fetch

    I tried modifying the file ~/yocto/sources/meta-qt5/recipes-qt/qt5/qt5-lts.inc:

    require qt5-git.inc
    
    QT_LTS_GIT ?= "git://codereview.qt-project.org/${QT_GIT_PROJECT}"
    QT_GIT = "${QT_LTS_GIT}"
    QT_LTS_GIT_PROTOCOL ?= "ssh"
    QT_GIT_PROTOCOL = "${QT_LTS_GIT_PROTOCOL}"
    QT_MODULE_BRANCH = "tqtc/lts-5.15.5"
    QT_LTS_MODULE_REPO ?= "tqtc-${QT_MODULE}.git"
    QT_MODULE_REPO = "${QT_LTS_MODULE_REPO}"
    
    # Default to commercially licensed Qt LTS
    QT_EDITION = "commercial"
    

    But it only seems to break things worse. I changed the protocol and I changed the URL for QT_LTS_GIT.

    What am I missing? Do I need an account at qt-project.org? Do I need ssh keys? Do I need to pull from a different source? Did I configure something incorrectly? Do I need to change the ssh port number?

    Thanks for your time!

    jsulmJ jeremy_kJ 2 Replies Last reply
    0
    • Q qtgopher

      Hello, I'm running into trouble building the 'b2qt-embedded-qt5-image' for Qt 5.15.5.

      It's been a few years since I've built an image (I'm upgrading a 5.6.x image of mine) and am going through the process of setting up a new build PC.

      I followed the instructions at https://doc.qt.io/QtForDeviceCreation/b2qt-customization-requirements.html, but instead of installing repo manually I just ran the b2qt-init-build-env script to init the environment for a imx6qsabresd:

      b2qt-init-build-env init --device imx6qsabresd
      

      I then follow the commands at https://doc.qt.io/QtForDeviceCreation/b2qt-how-to-create-b2qt-image.html by running the following commands:

      export MACHINE=imx6qsabresd
      source ./setup-environment.sh
      bitbake b2qt-embedded-qt5-image
      

      Everything is happy, for a while. It completes around 3700 tasks (out of 7214) and then gracefully stops the build after failing to fetch qt packages (up to 12 now because that is the number of cores on my build server), with the error:

         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.
      

      Here is a list of the failed recipes:
      ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_fetch
      ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtdeclarative_git.bb:do_fetch
      ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtxmlpatterns_git.bb:do_fetch
      ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtmultimedia_git.bb:do_fetch
      ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtlocation_git.bb:do_fetch
      ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtwebsockets_git.bb:do_fetch
      ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtwebchannel_git.bb:do_fetch
      ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtquickcontrols_git.bb:do_fetch
      ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtquickcontrols2_git.bb:do_fetch
      ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtsvg_git.bb:do_fetch
      ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_fetch
      virtual:native:~/yocto/sources/meta-qt5/recipes-qt/qt5/qtdeclarative_git.bb:do_fetch

      I tried modifying the file ~/yocto/sources/meta-qt5/recipes-qt/qt5/qt5-lts.inc:

      require qt5-git.inc
      
      QT_LTS_GIT ?= "git://codereview.qt-project.org/${QT_GIT_PROJECT}"
      QT_GIT = "${QT_LTS_GIT}"
      QT_LTS_GIT_PROTOCOL ?= "ssh"
      QT_GIT_PROTOCOL = "${QT_LTS_GIT_PROTOCOL}"
      QT_MODULE_BRANCH = "tqtc/lts-5.15.5"
      QT_LTS_MODULE_REPO ?= "tqtc-${QT_MODULE}.git"
      QT_MODULE_REPO = "${QT_LTS_MODULE_REPO}"
      
      # Default to commercially licensed Qt LTS
      QT_EDITION = "commercial"
      

      But it only seems to break things worse. I changed the protocol and I changed the URL for QT_LTS_GIT.

      What am I missing? Do I need an account at qt-project.org? Do I need ssh keys? Do I need to pull from a different source? Did I configure something incorrectly? Do I need to change the ssh port number?

      Thanks for your time!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @qtgopher Boot2Qt is a commercial product as far as I know, so you can also ask QtCompany for support if you don't get an answer here.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      Q 1 Reply Last reply
      0
      • Q qtgopher

        Hello, I'm running into trouble building the 'b2qt-embedded-qt5-image' for Qt 5.15.5.

        It's been a few years since I've built an image (I'm upgrading a 5.6.x image of mine) and am going through the process of setting up a new build PC.

        I followed the instructions at https://doc.qt.io/QtForDeviceCreation/b2qt-customization-requirements.html, but instead of installing repo manually I just ran the b2qt-init-build-env script to init the environment for a imx6qsabresd:

        b2qt-init-build-env init --device imx6qsabresd
        

        I then follow the commands at https://doc.qt.io/QtForDeviceCreation/b2qt-how-to-create-b2qt-image.html by running the following commands:

        export MACHINE=imx6qsabresd
        source ./setup-environment.sh
        bitbake b2qt-embedded-qt5-image
        

        Everything is happy, for a while. It completes around 3700 tasks (out of 7214) and then gracefully stops the build after failing to fetch qt packages (up to 12 now because that is the number of cores on my build server), with the error:

           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.
        

        Here is a list of the failed recipes:
        ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtbase-native_git.bb:do_fetch
        ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtdeclarative_git.bb:do_fetch
        ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtxmlpatterns_git.bb:do_fetch
        ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtmultimedia_git.bb:do_fetch
        ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtlocation_git.bb:do_fetch
        ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtwebsockets_git.bb:do_fetch
        ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtwebchannel_git.bb:do_fetch
        ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtquickcontrols_git.bb:do_fetch
        ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtquickcontrols2_git.bb:do_fetch
        ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtsvg_git.bb:do_fetch
        ~/yocto/sources/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_fetch
        virtual:native:~/yocto/sources/meta-qt5/recipes-qt/qt5/qtdeclarative_git.bb:do_fetch

        I tried modifying the file ~/yocto/sources/meta-qt5/recipes-qt/qt5/qt5-lts.inc:

        require qt5-git.inc
        
        QT_LTS_GIT ?= "git://codereview.qt-project.org/${QT_GIT_PROJECT}"
        QT_GIT = "${QT_LTS_GIT}"
        QT_LTS_GIT_PROTOCOL ?= "ssh"
        QT_GIT_PROTOCOL = "${QT_LTS_GIT_PROTOCOL}"
        QT_MODULE_BRANCH = "tqtc/lts-5.15.5"
        QT_LTS_MODULE_REPO ?= "tqtc-${QT_MODULE}.git"
        QT_MODULE_REPO = "${QT_LTS_MODULE_REPO}"
        
        # Default to commercially licensed Qt LTS
        QT_EDITION = "commercial"
        

        But it only seems to break things worse. I changed the protocol and I changed the URL for QT_LTS_GIT.

        What am I missing? Do I need an account at qt-project.org? Do I need ssh keys? Do I need to pull from a different source? Did I configure something incorrectly? Do I need to change the ssh port number?

        Thanks for your time!

        jeremy_kJ Offline
        jeremy_kJ Offline
        jeremy_k
        wrote on last edited by
        #3

        @qtgopher said in Boot2Qt - fail to build base/reference image:

           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.
        

        [...]

        What am I missing? Do I need an account at qt-project.org? Do I need ssh keys? Do I need to pull from a different source? Did I configure something incorrectly? Do I need to change the ssh port number?

        The port for codereview.qt-project.org git access over ssh is 29418. I think an account is necessary.

        Asking a question about code? http://eel.is/iso-c++/testcase/

        Q 1 Reply Last reply
        0
        • jsulmJ jsulm

          @qtgopher Boot2Qt is a commercial product as far as I know, so you can also ask QtCompany for support if you don't get an answer here.

          Q Offline
          Q Offline
          qtgopher
          wrote on last edited by
          #4

          Thanks for the suggestion @sulm, yes Boot2Qt is a commercial product, at least for us! I will look into creating a ticket with them.

          1 Reply Last reply
          0
          • jeremy_kJ jeremy_k

            @qtgopher said in Boot2Qt - fail to build base/reference image:

               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.
            

            [...]

            What am I missing? Do I need an account at qt-project.org? Do I need ssh keys? Do I need to pull from a different source? Did I configure something incorrectly? Do I need to change the ssh port number?

            The port for codereview.qt-project.org git access over ssh is 29418. I think an account is necessary.

            Q Offline
            Q Offline
            qtgopher
            wrote on last edited by
            #5

            @jeremy_k said in Boot2Qt - fail to build base/reference image:

            The port for codereview.qt-project.org git access over ssh is 29418. I think an account is necessary.

            Thanks @jeremy_k, I'm going to reach out to support and will dig into the link you posted while I wait for a response.

            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