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. b2qt-embedded-qt5-image fails to build for intel-corei7-64
Forum Updated to NodeBB v4.3 + New Features

b2qt-embedded-qt5-image fails to build for intel-corei7-64

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 2 Posters 773 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.
  • B Offline
    B Offline
    behnkjoc
    wrote on last edited by
    #1

    Hello,
    I am running the prebuilt „b2qt-embedded-qt5-image“ on an Intel Atom E3930. Now I want to build the same image myself from source using „bitbake b2qt-embedded-qt5-image“ . The build persistently fails when it comes to building the package „packagegroup-b2qt-embedded-tools“.

    The stack trace of python calls that resulted in this exception/failure was:
    File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
    0001:
    *** 0002:sstate_task_postfunc(d)
    0003:
    File: '/home/behnkjoc/testimg/boot2qt/sources/poky/meta/classes/sstate.bbclass', lineno: 710, function: sstate_task_postfunc
    0706:
    0707: sstateinst = d.getVar("SSTATE_INSTDIR")
    0708: d.setVar('SSTATE_FIXMEDIR', shared_state['fixmedir'])
    0709:
    *** 0710: sstate_installpkgdir(shared_state, d)
    0711:
    0712: bb.utils.remove(d.getVar("SSTATE_BUILDDIR"), recurse=True)
    0713:}
    0714:sstate_task_postfunc[dirs] = "${WORKDIR}"
    File: '/home/behnkjoc/testimg/boot2qt/sources/poky/meta/classes/sstate.bbclass', lineno: 354, function: sstate_installpkgdir
    0350: oe.path.remove(dir)
    0351:
    0352: for state in ss['dirs']:
    0353: prepdir(state[1])
    *** 0354: os.rename(sstateinst + state[0], state[1])
    0355: sstate_install(ss, d)
    0356:
    0357: for plain in ss['plaindirs']:
    0358: workdir = d.getVar('WORKDIR')
    Exception: FileNotFoundError: [Errno 2] No such file or directory: '/home/behnkjoc/testimg/boot2qt/build-intel-corei7-64/tmp/work/all-poky-linux/packagegroup-b2qt-embedded-tools/1.0-r0/sstate-build-packagedata/pkgdata' -> '/home/behnkjoc/testimg/boot2qt/build-intel-corei7-64/tmp/work/all-poky-linux/packagegroup-b2qt-embedded-tools/1.0-r0/pkgdata'

    DEBUG: Python function sstate_task_postfunc finished
    ERROR: Function failed: sstate_task_postfunc

    From „Exception: FileNotFoundError: [Errno 2] No such file or directory ...“
    I understand, that the pkgdata direcory is missing, but what is the cause?

    Any suggestions what could be the problem?

    1 Reply Last reply
    0
    • B Offline
      B Offline
      behnkjoc
      wrote on last edited by
      #5

      I ran the bitbake process a second time, and now it succeeded.

      I guess that some interruptions of the first build process somehow led to inconsistent build caches.
      For example git-lfs was missing (but this was detected right at the beginning of the build process, so I don‘t think this was the culprit).

      So I went through the b2qt build instructions once again.
      But this time

      1. I updated the required software packages using
        $> sudo apt-get install gawk curl git-core diffstat unzip p7zip-full texinfo
        gcc-multilib build-essential chrpath libsdl1.2-dev xterm gperf bison
        g++-multilib
        This resulted in some software packages being added and some existing being upgraded

      2. I ran bitbake from a virtual console
        I am running xubuntu 16.04 LTS and recently my desktop sessions sometime have been closed, when bitbake ran for a while. So I decided not to run bitbake from a GUI terminal, but from a virtual text console.

      3. I created a new build environment from scratch
        I created a new directory for the b2qt build environment and ran the b2qt-init-build-env script from there. So I was sure there was no old stuff laying around.

      As already said, „$> bitbake b2qt-embedded-qt5-image“ then successfully built the image.
      Problem solved.

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

        Hi and welcome to devnet,

        Boot2Qt being a licensed product, you should rather ask the Qt Company directly.

        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
        2
        • B Offline
          B Offline
          behnkjoc
          wrote on last edited by
          #3

          Thanks for your reply.
          I am new to Qt and thought this forum is run by the Qt company.
          I'll give Qt company support a try.

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

            They handle the infrastructure but this is a user forum mostly answered by volunteers.

            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
            • B Offline
              B Offline
              behnkjoc
              wrote on last edited by
              #5

              I ran the bitbake process a second time, and now it succeeded.

              I guess that some interruptions of the first build process somehow led to inconsistent build caches.
              For example git-lfs was missing (but this was detected right at the beginning of the build process, so I don‘t think this was the culprit).

              So I went through the b2qt build instructions once again.
              But this time

              1. I updated the required software packages using
                $> sudo apt-get install gawk curl git-core diffstat unzip p7zip-full texinfo
                gcc-multilib build-essential chrpath libsdl1.2-dev xterm gperf bison
                g++-multilib
                This resulted in some software packages being added and some existing being upgraded

              2. I ran bitbake from a virtual console
                I am running xubuntu 16.04 LTS and recently my desktop sessions sometime have been closed, when bitbake ran for a while. So I decided not to run bitbake from a GUI terminal, but from a virtual text console.

              3. I created a new build environment from scratch
                I created a new directory for the b2qt build environment and ran the b2qt-init-build-env script from there. So I was sure there was no old stuff laying around.

              As already said, „$> bitbake b2qt-embedded-qt5-image“ then successfully built the image.
              Problem solved.

              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