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

Different installation problems when using Qt5.5 or ~dev

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 5.5.0, 5.6
    • Build System
    • None
    • Kubuntu wily Linux 15.04 (amd64)
      Android NDK r10e
      Android API 19

    Description

      While doing "make install" I get errors like "no permission to access /libs/".
      Deactivating/skipping modules like:

      • 'qt3d'
      • 'qtcanvas3d'
      • 'qtwebkit',
      • 'qtsystems' (from ~dev)

      .. is a temporary workaround.
      While following the instructions in the wiki I wrote a recipe for a python-for-android toolchain.

      The source I'm working on: https://github.com/thopiekar/python-for-android_fork/tree/qt5
      Qt5 recipe discussion: https://github.com/kivy/python-for-android/pull/439 (Which includes these problems and others)

      The problem can be reproduced by uncommenting the problematic modules in the tuple called "skip_bug_install" in pythonforandroid/recipes/qt5/_init_.py (which is the recipe I wrote). Running
      ```
      PYTHONPATH=. python pythonforandroid/toolchain.py create --requirements=qt5 --debug
      ```
      will prepare a build in

      {HOME}

      /.local/share/python-for-android/*.

      Here some outputs:
      ```
      make[2]: Verzeichnis „/home/schroer/.local/share/python-for-android/build/other_builds/qt5/armeabi/qt5/qtwebkit/Source/JavaScriptCore“ wird betreten
      ( test -e Makefile.LLIntOffsetsExtractor || /home/schroer/.local/share/python-for-android/build/other_builds/qt5/armeabi/qt5/qtbase/bin/qmake /home/schroer/.local/share/python-for-android/build/other_builds/qt5/armeabi/qt5/qtwebkit/Source/JavaScriptCore/LLIntOffsetsExtractor.pro -o Makefile.LLIntOffsetsExtractor ) && make -f Makefile.LLIntOffsetsExtractor install
      make[3]: Verzeichnis „/home/schroer/.local/share/python-for-android/build/other_builds/qt5/armeabi/qt5/qtwebkit/Source/JavaScriptCore“ wird betreten
      mkdir: das Verzeichnis „/libs/armeabi/“ kann nicht angelegt werden: Keine Berechtigung
      Makefile.LLIntOffsetsExtractor:685: die Regel für Ziel „install_target“ scheiterte
      make[3]: *** [install_target] Fehler 1
      ```

      ```
      make[3]: Entering directory '/home/thopiekar/.local/share/python-for-android/build/other_builds/qt5/armeabi/qt5/qtwebkit/Source/JavaScriptCore'
      [DEBUG]: mkdir: das Verzeichnis »/libs“ kann nicht angelegt werden: Keine Berechtigung
      [DEBUG]: Makefile.LLIntOffsetsExtractor:711: recipe for target 'install_target' failed
      [DEBUG]: make[3]: *** [install_target] Error 1
      [DEBUG]: make[3]: Leaving directory '/home/thopiekar/.local/share/python-for-android/build/other_builds/qt5/armeabi/qt5/qtwebkit/Source/JavaScriptCore'
      [DEBUG]: Makefile.JavaScriptCore:58: recipe for target 'sub-LLIntOffsetsExtractor-pro-install_subtargets-ordered' failed
      [DEBUG]: make[2]: *** [sub-LLIntOffsetsExtractor-pro-install_subtargets-ordered] Error 2
      [DEBUG]: make[2]: Leaving directory '/home/thopiekar/.local/share/python-for-android/build/other_builds/qt5/armeabi/qt5/qtwebkit/Source/JavaScriptCore'
      [DEBUG]: Makefile:117: recipe for target 'sub-Source-JavaScriptCore-JavaScriptCore-pro-install_subtargets-ordered' failed
      [DEBUG]: make[1]: *** [sub-Source-JavaScriptCore-JavaScriptCore-pro-install_subtargets-ordered] Error 2
      [DEBUG]: make[1]: Leaving directory '/home/thopiekar/.local/share/python-for-android/build/other_builds/qt5/armeabi/qt5/qtwebkit'
      [DEBUG]: Makefile:494: recipe for target 'module-qtwebkit-install_subtargets' failed
      [DEBUG]: make: *** [module-qtwebkit-install_subtargets] Error 2
      ```

      Attachments

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              thopiekar Thomas-Karl Pietrowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes