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

[Qt for Android] 'qtbase/src/platformsupport/Makefile' install_target failed when executed in MSys2 Shell

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 5.5.0
    • Fix Version/s: None
    • Component/s: Build System
    • Labels:
      None
    • Environment:
      Windows 10.0.10586 64-bit,
      MSys2 + perl 5.22.1 + python 3.4.3 + gcc 5.3,
      Android NDK r11c 64-bit (gcc 4.9),
      Android SDK API 10 + 11 + 16 + 18,
      Oracle JDK 1.8.0_77

      Description

      $ git branch
      * 5.5
        5.5.1
        5.6
      
      $ git log -n1
      commit 9a70b8f6aad303e84b5cb063267c31801c555a6a
      Author: Qt Submodule Update Bot <qt_submodule_update_bot@ovi.com>
      Date:   Fri Jan 15 22:34:01 2016 +0200
      
          Updated submodules.
      
          Change-Id: I99354fcabe423403aee030714db2076833a6d207
          Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
      

      Configuring and building (MSys2 Shell, no errors):

      sh /c/Dev/Projects/Qt5/configure -opensource -confirm-license -debug-and-release -prefix /c/Dev/Tools/Qt-libs/5.5-android-armeabi-v7a-4.9 -platform win32-g++ -xplatform android-g++ -android-arch armeabi-v7a -android-ndk-platform android-9 -android-toolchain-version 4.9 -opengl es2 -no-warnings-are-errors -nomake examples -nomake tests
      
      mingw32-make -j6
      

      Installing (MSys2 Shell):

      mingw32-make -j1 install
      ...
      cd platformsupport/ && ( test -e Makefile || C:/Dev/Projects/Qt5-build/5.5-android-armv7a-4.9/qtbase/bin/qmake.exe C:/Dev/Projects/Qt5/qtbase/src/platformsupport/platformsupport.pro -o Makefile ) && C:/Dev/Tools/Msys2/mingw64/bin/mingw32-make -f Makefile install
      mingw32-make[3]: Entering directory 'C:/Dev/Projects/Qt5-build/5.5-android-armv7a-4.9/qtbase/src/platformsupport'
      cp -f ../../lib/libQt5PlatformSupport.a /c/Dev/Tools/Qt-libs/5.5.1-android-armeabi-v7a-4.9/lib/libQt5PlatformSupport.a
      C:/Dev/Tools/Android/ndk64-r11c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ranlib /c/Dev/Tools/Qt-libs/5.5.1-android-armeabi-v7a-4.9/lib/libQt5PlatformSupport.a
      C:/Dev/Tools/Android/ndk64-r11c/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ranlib: '/c/Dev/Tools/Qt-libs/5.5.1-android-armeabi-v7a-4.9/lib/libQt5PlatformSupport.a': No such file
      Makefile:10028: recipe for target 'install_target' failed
      mingw32-make[3]: *** [install_target] Error 1
      

      Windows version of Android NDK's 'arm-linux-androideabi-ranlib' can not handle Unix-style paths (likewise other toolchain utils). But this is taken into account only for gcc and g++.

      Attached: qtbase\src\platformsupport\Makefile

        Attachments

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

          Activity

            People

            • Assignee:
              buddenha Oswald Buddenhagen
              Reporter:
              dmitry.sokolov Dmitry Sokolov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes