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. Facing build error with QtImageFormat while try to use 5.12.10 Qt version in Yocto3.1 build environment
Forum Updated to NodeBB v4.3 + New Features

Facing build error with QtImageFormat while try to use 5.12.10 Qt version in Yocto3.1 build environment

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
10 Posts 3 Posters 781 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.
  • K Offline
    K Offline
    Krishnakumar Pathivuraj
    wrote on last edited by
    #1

    Facing build error with QtImageFormat while try to use 5.12.10 Qt version in Yocto3.1 build environment

    Trying to include QtImageFormat into our TV environment.

    Build error:

    ERROR: lib32-qtimageformats-5.12.10+gitAUTOINC+7518d381be-r0 do_fetch: Fetcher failure: Unable to find revision 7518d381be0f58f943bd8bead901356d2528e26b in branch 5.12.10 even from upstream
    ERROR: lib32-qtimageformats-5.12.10+gitAUTOINC+7518d381be-r0 do_fetch: Fetcher failure for URL: 'git://code.qt.io/qt/qtimageformats.git;name=qtimageformats;branch=5.12.10;protocol=git'. Unable to fetch URL from any source.
    ERROR: Logfile of failure stored in: /home/work/vishal.badar/Project/build-starfish/BUILD/work/o22-starfishmllib32-linux-gnueabi/lib32-qtimageformats/5.12.10+gitAUTOINC+7518d381be-r0/temp/log.do_fetch.1290425
    ERROR: Task (virtual:multilib:lib32:/home/work/vishal.badar/Project/build-starfish/meta-qt5/recipes-qt/qt5/qtimageformats_git.bb:do_fetch) failed with exit code '1'
    

    Our code snippet in meta-qt5/recipes-qt/qt5/qt5-git.inc:

    # Copyright (C) 2012-2016 O.S. Systems Software LTDA.
    # Copyright (C) 2013-2019 Martin Jansa <martin.jansa@gmail.com>
    
    QT_MODULE ?= "${BPN}"
    QT_MODULE_BRANCH ?= "5.12.10"
    QT_MODULE_BRANCH_PARAM ?= "branch=${QT_MODULE_BRANCH}"
    
    # each module needs to define valid SRCREV
    SRC_URI = " \
        ${QT_GIT}/${QT_MODULE}.git;name=${QT_MODULE};${QT_MODULE_BRANCH_PARAM};protocol=${QT_GIT_PROTOCOL} \
    "
    
    CVE_PRODUCT = "qt"
    
    S = "${WORKDIR}/git"
    
    PV = "5.12.10+git${SRCPV}"
    

    Refferred below qtcode src link and didn't able to find 5.12.10 branch in it.
    https://code.qt.io/cgit/qt/qtimageformats.git/refs/heads

    So need to clarify below items,

    • Why 5.12.10 version of branch is not showing in qtcode src uri.
    • In above case, if 5.12.10 version is required, how it can be achieved?
    SGaistS 1 Reply Last reply
    0
    • K Krishnakumar Pathivuraj

      Facing build error with QtImageFormat while try to use 5.12.10 Qt version in Yocto3.1 build environment

      Trying to include QtImageFormat into our TV environment.

      Build error:

      ERROR: lib32-qtimageformats-5.12.10+gitAUTOINC+7518d381be-r0 do_fetch: Fetcher failure: Unable to find revision 7518d381be0f58f943bd8bead901356d2528e26b in branch 5.12.10 even from upstream
      ERROR: lib32-qtimageformats-5.12.10+gitAUTOINC+7518d381be-r0 do_fetch: Fetcher failure for URL: 'git://code.qt.io/qt/qtimageformats.git;name=qtimageformats;branch=5.12.10;protocol=git'. Unable to fetch URL from any source.
      ERROR: Logfile of failure stored in: /home/work/vishal.badar/Project/build-starfish/BUILD/work/o22-starfishmllib32-linux-gnueabi/lib32-qtimageformats/5.12.10+gitAUTOINC+7518d381be-r0/temp/log.do_fetch.1290425
      ERROR: Task (virtual:multilib:lib32:/home/work/vishal.badar/Project/build-starfish/meta-qt5/recipes-qt/qt5/qtimageformats_git.bb:do_fetch) failed with exit code '1'
      

      Our code snippet in meta-qt5/recipes-qt/qt5/qt5-git.inc:

      # Copyright (C) 2012-2016 O.S. Systems Software LTDA.
      # Copyright (C) 2013-2019 Martin Jansa <martin.jansa@gmail.com>
      
      QT_MODULE ?= "${BPN}"
      QT_MODULE_BRANCH ?= "5.12.10"
      QT_MODULE_BRANCH_PARAM ?= "branch=${QT_MODULE_BRANCH}"
      
      # each module needs to define valid SRCREV
      SRC_URI = " \
          ${QT_GIT}/${QT_MODULE}.git;name=${QT_MODULE};${QT_MODULE_BRANCH_PARAM};protocol=${QT_GIT_PROTOCOL} \
      "
      
      CVE_PRODUCT = "qt"
      
      S = "${WORKDIR}/git"
      
      PV = "5.12.10+git${SRCPV}"
      

      Refferred below qtcode src link and didn't able to find 5.12.10 branch in it.
      https://code.qt.io/cgit/qt/qtimageformats.git/refs/heads

      So need to clarify below items,

      • Why 5.12.10 version of branch is not showing in qtcode src uri.
      • In above case, if 5.12.10 version is required, how it can be achieved?
      SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Check for the 5.12.10 tag.

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

      K 2 Replies Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Check for the 5.12.10 tag.

        K Offline
        K Offline
        Krishnakumar Pathivuraj
        wrote on last edited by
        #3

        @SGaist Thanks for your reply.

        I tried with 5.12.10 tag of qtimageformat
        Tag : 9086196c888747acc2c95597d92badc1002a0507
        But I'm still getting below do_fetch error,

        DEBUG: Mirror fetch failure for url git://code.qt.io/qt/qtimageformats.git;name=qtimageformats;branch=5.12.10;protocol=https (original url: git://code.qt.io/qt/qtimageformats.git;name=qtimageformats;branch=5.12.10;protocol=git)
        DEBUG: Fetcher failure: Unable to find revision 9086196c888747acc2c95597d92badc1002a0507 in branch 5.12.10 even from upstream
        NOTE: Removing /home/work/krishnakumar.p/work/repos/webOS22/dev/build-starfish/downloads/git2/code.qt.io.qt.qtimageformats.git
        NOTE: Removing /home/work/krishnakumar.p/work/repos/webOS22/dev/build-starfish/downloads/git2_code.qt.io.qt.qtimageformats.git.tar.gz.done
        ERROR: Fetcher failure: Unable to find revision 9086196c888747acc2c95597d92badc1002a0507 in branch 5.12.10 even from upstream
        ERROR: Fetcher failure for URL: 'git://code.qt.io/qt/qtimageformats.git;name=qtimageformats;branch=5.12.10;protocol=git'. Unable to fetch URL from any source.
        DEBUG: Python function base_do_fetch finished
        DEBUG: Python function do_fetch finished
        

        qtimageformat.bbapend file for your reference,

        LICENSE = "CLOSED"
        SRCREV = "9086196c888747acc2c95597d92badc1002a0507"
        
        Ronel_qtmasterR 1 Reply Last reply
        0
        • K Krishnakumar Pathivuraj

          @SGaist Thanks for your reply.

          I tried with 5.12.10 tag of qtimageformat
          Tag : 9086196c888747acc2c95597d92badc1002a0507
          But I'm still getting below do_fetch error,

          DEBUG: Mirror fetch failure for url git://code.qt.io/qt/qtimageformats.git;name=qtimageformats;branch=5.12.10;protocol=https (original url: git://code.qt.io/qt/qtimageformats.git;name=qtimageformats;branch=5.12.10;protocol=git)
          DEBUG: Fetcher failure: Unable to find revision 9086196c888747acc2c95597d92badc1002a0507 in branch 5.12.10 even from upstream
          NOTE: Removing /home/work/krishnakumar.p/work/repos/webOS22/dev/build-starfish/downloads/git2/code.qt.io.qt.qtimageformats.git
          NOTE: Removing /home/work/krishnakumar.p/work/repos/webOS22/dev/build-starfish/downloads/git2_code.qt.io.qt.qtimageformats.git.tar.gz.done
          ERROR: Fetcher failure: Unable to find revision 9086196c888747acc2c95597d92badc1002a0507 in branch 5.12.10 even from upstream
          ERROR: Fetcher failure for URL: 'git://code.qt.io/qt/qtimageformats.git;name=qtimageformats;branch=5.12.10;protocol=git'. Unable to fetch URL from any source.
          DEBUG: Python function base_do_fetch finished
          DEBUG: Python function do_fetch finished
          

          qtimageformat.bbapend file for your reference,

          LICENSE = "CLOSED"
          SRCREV = "9086196c888747acc2c95597d92badc1002a0507"
          
          Ronel_qtmasterR Offline
          Ronel_qtmasterR Offline
          Ronel_qtmaster
          wrote on last edited by
          #4

          @Krishnakumar-Pathivuraj Which branch of meta-qt5 are you using?Are you sure it has qtimageformats modules?
          I am using dunfell branch and i have no problem with qtimageformat.Maybe you should try with dunfell branch

          07351f07-1f70-40be-84d3-7db155b5d50f-dunfell.PNG

          K 1 Reply Last reply
          0
          • Ronel_qtmasterR Ronel_qtmaster

            @Krishnakumar-Pathivuraj Which branch of meta-qt5 are you using?Are you sure it has qtimageformats modules?
            I am using dunfell branch and i have no problem with qtimageformat.Maybe you should try with dunfell branch

            07351f07-1f70-40be-84d3-7db155b5d50f-dunfell.PNG

            K Offline
            K Offline
            Krishnakumar Pathivuraj
            wrote on last edited by
            #5

            @Ronel_qtmaster Thanks for your reply.

            We are using warrior branch and commit is 6310c5c of meta-qt5 in our build environment.
            Yes qtimageformats module available in warrior branch,
            84861ad4-6c01-458b-8501-719b6d71c082-image.png

            Because we are using 5.12.10 version of QT in our build environment
            bc1fde0a-0d12-4862-9081-b74c01bf9ac9-image.png

            K 1 Reply Last reply
            0
            • K Krishnakumar Pathivuraj

              @Ronel_qtmaster Thanks for your reply.

              We are using warrior branch and commit is 6310c5c of meta-qt5 in our build environment.
              Yes qtimageformats module available in warrior branch,
              84861ad4-6c01-458b-8501-719b6d71c082-image.png

              Because we are using 5.12.10 version of QT in our build environment
              bc1fde0a-0d12-4862-9081-b74c01bf9ac9-image.png

              K Offline
              K Offline
              Krishnakumar Pathivuraj
              wrote on last edited by
              #6
              This post is deleted!
              1 Reply Last reply
              0
              • SGaistS SGaist

                Hi and welcome to devnet,

                Check for the 5.12.10 tag.

                K Offline
                K Offline
                Krishnakumar Pathivuraj
                wrote on last edited by
                #7

                @SGaist and @Ronel_qtmaster

                We are using QT version as warrior (commit:6310c5c) so all qt plugins like qtbase, qtdeclarative is using 5.12.10 branch.

                If we tried to use same 5.12.10 branch of qtimageformat we are getting do_fetch error.

                But if we tried to use 5.12 version if qtimageformat, it is working fine.
                qtimageformats.bbappend file for your reference,
                bc817b92-c86b-48a9-8bda-6b10c8e60329-image.png

                So my queries are below,

                1. Whether using different branch for qtimageformats plugin (5.12) and other plugins (5.12.10) will cause any issue or side effects?
                2. If it will cause any issue or side effects, what is the ideal way to include qtimageformats plugin?
                SGaistS 1 Reply Last reply
                0
                • K Krishnakumar Pathivuraj

                  @SGaist and @Ronel_qtmaster

                  We are using QT version as warrior (commit:6310c5c) so all qt plugins like qtbase, qtdeclarative is using 5.12.10 branch.

                  If we tried to use same 5.12.10 branch of qtimageformat we are getting do_fetch error.

                  But if we tried to use 5.12 version if qtimageformat, it is working fine.
                  qtimageformats.bbappend file for your reference,
                  bc817b92-c86b-48a9-8bda-6b10c8e60329-image.png

                  So my queries are below,

                  1. Whether using different branch for qtimageformats plugin (5.12) and other plugins (5.12.10) will cause any issue or side effects?
                  2. If it will cause any issue or side effects, what is the ideal way to include qtimageformats plugin?
                  SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  As I already wrote: checkout the tag not the branch. It's v5.12.10 that will get you what you want.

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

                  K 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    As I already wrote: checkout the tag not the branch. It's v5.12.10 that will get you what you want.

                    K Offline
                    K Offline
                    Krishnakumar Pathivuraj
                    wrote on last edited by
                    #9

                    @SGaist
                    I understood your concern.
                    But internally in our build system, QT were not directly downloaded from https://code.qt.io/cgit/qt

                    We are having a local server from which our QT plugins source code were downloaded for compilation.
                    In this local server, 5.12.10 branch is already deleted and our build environment referring to cache from the server which doesn't have the qtimageformats.

                    So we internally changed the qtimageformats version alone to 5.12 and just want to confirm whether it leads to any side effects.

                    Note:
                    Already in our build environment qtxmlpattern plugin is following 5.12 and other qtmodules were following 5.12.10 similarly

                    SGaistS 1 Reply Last reply
                    0
                    • K Krishnakumar Pathivuraj

                      @SGaist
                      I understood your concern.
                      But internally in our build system, QT were not directly downloaded from https://code.qt.io/cgit/qt

                      We are having a local server from which our QT plugins source code were downloaded for compilation.
                      In this local server, 5.12.10 branch is already deleted and our build environment referring to cache from the server which doesn't have the qtimageformats.

                      So we internally changed the qtimageformats version alone to 5.12 and just want to confirm whether it leads to any side effects.

                      Note:
                      Already in our build environment qtxmlpattern plugin is following 5.12 and other qtmodules were following 5.12.10 similarly

                      SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      @Krishnakumar-Pathivuraj if you are using a fixed version of Qt, why not just get the source archive for that version rather than recloning ?

                      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

                      • Login

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