Uploaded image for project: 'Qt Installer Framework'
  1. Qt Installer Framework
  2. QTIFW-517

Qt 5.3.1 update by MaintenanceTool fails on Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 1.5.0
    • General
    • None
    • Debian (unstable) GNU/Linux
      linux 3.14.3

      ~/Qt/MaintenanceTool --version
      IFW Version: "1.5.82", Installer base SHA1: "f586369", Build date: "Jun 19 2014".

    Description

      There is a problem updating to Qt 5.3.1 with the Qt MaintenanceTool (open source version 1.5.82). The problem was raised on the announcement thread at http://blog.qt.digia.com/blog/2014/06/25/qt-5-3-1-released/.

      When I tried to perform the update, qtcreator (upgraded to 3.1.2) failed to register the new Qt version, giving the Installer Error

      Error during installation process (qt.53.android_x86):
      Execution failed(Unexpected exit code: 2): "/home/user/Qt//Tools/QtCreator/bin/sdktool addQt -id qt.53.android_x86 -name Qt 5.3 for Android x86 -type Qt4ProjectManager.QtVersion.Android -qmake /home/user/Qt/5.3/android_x86/bin/qmake

      If I clicked on "Cancel", then the entire platform (e.g. android_x86) would get deselected, leaving no binary files in ~/Qt/5.3/android_x86. qtcreator then does not find Qt5.3 for that platform (since it's not there).

      If I reselect and reinstall the platform (via Package manager in the Maintenance Tool) but click on "Ignore" when the error occurs, then the files can be found in ~/Qt/5.3/android_x86 and qtcreator does find the Qt version. But it marks it as not properly installed, and therefore no Qt build kit is available to build against Qt 5.3.1.

      Trying again now, a day or too later, I can't reproduce the Installer Error (the sdktool) from MaintenanceTool. That is, it thinks the installation is successful. But qtcreator still reports "Qt version is not properly installed, please run make install".

      I'm attaching the log of ~/Qt/MaintenanceTool -v, for [re]selecting deselected gcc 64bit and android_armv7 platforms.

      Additionally, I cannot remove android_armv5 by deselecting in Maintenance Tool Package manager. The action appears to proceed but nothing actually happens (android_armv5 remains selected, and not properly installed. I suspect this is a separate bug to the error installing/upgrading a platform. I'm attaching the MaintenanceTool -v for removing android_armv5.

      Attachments

        1. components.xml
          15 kB
          Drew Parsons
        2. Qt-MaintenanceTool-v-addPlatform-Android_armv7.out
          71 kB
          Drew Parsons
        3. Qt-MaintenanceTool-v-addPlatform-gcc64bit.out
          60 kB
          Drew Parsons
        4. Qt-MaintenanceTool-v-removePlatform-Android_armv5.out
          35 kB
          Drew Parsons
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kkohne Kai Köhne
            rizzer Drew Parsons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes