Uploaded image for project: 'Qt Automotive Suite'
  1. Qt Automotive Suite
  2. AUTOSUITE-846

neptune3 cannot be build for b2qt since qtivi is missing dependencies to build the generator

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Invalid
    • Affects Version/s: 5.12.1
    • Fix Version/s: 5.13.0
    • Component/s: Qt IVI
    • Labels:
      None

      Description

      When building neptune for b2qt you get in trouble since qtivi generator is not available:

      make[2]: Entering directory '/home/gleugner/devel/pi_b2qt/neptune/src/remotesettings'
      cd frontend/ && ( test -e Makefile || /home/gleugner/qt/commercial/5.11.3/Boot2Qt/raspberrypi3/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/qmake -o Makefile /home/gleugner/devel/neptune3-ui/src/remotesettings/frontend/frontend.pro ) && make -f Makefile 
      Project ERROR: No ivigenerator available
      

      A self-compiled version of qtivi has been installed, which clearly states, that there is no generator, since python3-virtualenv is missing in the raspi sysroot.

      ➜ pi_b2qt rm qtivi -rf
      ➜ pi_b2qt mkdir qtivi 
      ➜ pi_b2qt cd qtivi 
      ➜ qtivi source ~/qt/commercial/5.11.3/Boot2Qt/raspberrypi3/toolchain/environment-setup-cortexa7hf-neon-vfpv4-poky-linux-gnueabi 
      ➜ qtivi qmake ../../qtivi 
      Info: creating stash file /home/gleugner/devel/pi_b2qt/qtivi/.qmake.stash
      Info: creating cache file /home/gleugner/devel/pi_b2qt/qtivi/.qmake.cache
      Running configuration tests...
      Checking for DLT... no
      Checking for DLT >= 2.12... no
      Checking for Python3... yes
      Checking for virtualenv... no
      Checking for qface 1.10... no
      Checking for taglib... no
      Checking for taglib_submodule... yes
      Done running configuration tests.
      Configure summary:
      Qt GENIVI Extras ......................... no
      Qt IVI Core:
      Python3:
      Executable ........................... /home/gleugner/qt/commercial/5.11.3/Boot2Qt/raspberrypi3/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/python3
      Version .............................. 3.5.2
      virtualenv ........................... no
      System QFace ......................... no
      IVI Generator .......................... no
      QtSimulator Support .................... no
      QtRemoteObjects Support ................ yes
      Qt IVI VehicleFunctions .................. no
      Qt IVI Media:
      taglib ................................. yes
      Using system taglib .................. no
      Backends:
      Mediaplayer Simulation Backend ....... yes
      Tuner Simulation Backend ............. yes
      MPRIS Backend ........................ yes
      Note: No DLT libs found. Disabled building Qt GENIVI Extras.
      WARNING: Cannot build the IVI Generator because its dependencies are not satisfied.
      The IVI Generator provides tooling to generate source code out of IDL files.
      Make sure python3 and its 'virtualenv' packages are installed.
      E.g. by running
      apt-get install python3 python3-virtualenv
      And make sure the qface submodule is initialized or the correct qface version is installed on your system.
      E.g. by running the following command:
      git submodule init && git submodule update
      WARNING: Cannot enable the QtSimulator Support because the QtSimulator module is not installed.
      The QtSimulator Support is needed for the communication between the simulation backends and its control panel(controller).
      WARNING: Cannot build the IVI VehicleFunctions module because its dependencies are not satisfied or it was disabled.
      The IVI VehicleFunctions module needs the IVI Core module and the IVI Generator.
      Qt is now configured for building. Just run 'make'.
      Once everything is built, you must run 'make install'.
      Qt will be installed into '/home/gleugner/qt/commercial/5.11.3/Boot2Qt/raspberrypi3/toolchain/sysroots/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/usr'.
      Prior to reconfiguration, make sure you remove any leftovers from
      the previous build.
      

       
      Workaround
      Use system python3

      cd /home/gleugner/qt/commercial/5.11.3/Boot2Qt/raspberrypi3/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin
      rm python3
      ln -s /usr/bin/python3 python3
      

       
      Solution 1: Install virtualenv manually

      ➜  pi_b2qt /home/gleugner/qt/commercial/5.11.3/Boot2Qt/raspberrypi3/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/python3.5 -m pip install virtualenv 
      /home/gleugner/qt/commercial/5.11.3/Boot2Qt/raspberrypi3/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/python3.5: No module named pip
      

      Problem b2qt comes without pip

      Solution 2: virtualenv is part of boot2qt package
      Provide virutalenv as part of boot2qt
       

       

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              gagi Dominik Holland
              Reporter:
              georgleugner Georg Leugner
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes