Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-109319

Yocto cannot fetch sources for old releases

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • None
    • 5.12, 5.15, 6.2
    • Yocto: meta-qt6 layer
    • None
    • 28842c801 (dev), b40f22018 (6.4.2), 977b3c8e0 (6.4), 3e317c07e (lts-6.2.7), 5dab5f76b (lts-6.2), cd923b235 (lts-5.15), 48b5dcc16 (6.3.2), 3890ffe5e (6.2.4), 58801012a (tqtc/lts-6.2-opensource)

    Description

      Most of the release branches were recently removed from Qt module git repositories.

      This causes Yocto builds to fails when using older releases for both meta-qt5 and meta-qt6.

      WARNING: qtbase-6.2.2-r0 do_fetch: Failed to fetch URL git://code.qt.io/qt/qtbase.git;name=qtbase;branch=6.2.2;protocol=git, attempting MIRRORS if available
      ERROR: qtbase-6.2.2-r0 do_fetch: Fetcher failure: Unable to find revision eae95814a46386f8930eeae5486513a78a7a4ddc in branch 6.2.2 even from upstream
      ERROR: qtbase-6.2.2-r0 do_fetch: Fetcher failure for URL: 'git://code.qt.io/qt/qtbase.git;name=qtbase;branch=6.2.2;protocol=git'. Unable to fetch URL from any source.
      ERROR: Logfile of failure stored in: /home/sapiippo/qt6/build2/tmp/work/core2-64-poky-linux/qtbase/6.2.2-r0/temp/log.do_fetch.2315282
      ERROR: Task (/home/sapiippo/qt6/meta-qt6/recipes-qt/qt6/qtbase_git.bb:do_fetch) failed with exit code '1' 

       Workaround is to add bitbake variable

      QT_MODULE_BRANCH_PARAM = "nobranch=1" 

      to a global configuration (such as conf/local.conf) to stop bitbake from trying to verify the git branch.

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              sapiippo Samuli Piippo
              sapiippo Samuli Piippo
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: