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

QtApplicationManager install step fails when building for Android

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.15.1
    • Fix Version/s: None
    • Component/s: Qt Application Manager
    • Labels:
      None
    • Platform/s:
      Android, macOS

      Description

      After building qtapplicationmanager from source on macOS for Android target using Qt 5.15.2, the "make install" step fails with the following:

      /Users/assam/Library/Android/sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fno-limit-debug-info -Wl,--enable-new-dtags -Wl,-soname,libappman_armeabi-v7a.so -Wl,-rpath-link=/Users/assam/Automotive/QAS/qtapplicationmanager/build/lib -Wl,--build-id=sha1 -Wl,--no-undefined -Wl,-z,noexecstack -shared -o ../../../bin/libappman_armeabi-v7a.so .obj/armeabi-v7a/appman.o .obj/armeabi-v7a/qrc_config.o   /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManMain_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManSharedMain_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManWindow_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManManager_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManPluginInterfaces_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManMonitor_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManPackage_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManApplication_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libqtarchive_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManCrypto_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManNotification_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManIntentServer_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManIntentClient_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManCommon_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libqtyaml_armeabi-v7a.a -llog -lz -lm -ldl -lc /Users/assam/Qt/5.15.2/android/lib/libQt5Quick_armeabi-v7a.so /Users/assam/Qt/5.15.2/android/lib/libQt5QmlModels_armeabi-v7a.so /Users/assam/Qt/5.15.2/android/lib/libQt5Qml_armeabi-v7a.so /Users/assam/Qt/5.15.2/android/lib/libQt5Network_armeabi-v7a.so /Users/assam/Qt/5.15.2/android/lib/libQt5Gui_armeabi-v7a.so /Users/assam/Qt/5.15.2/android/lib/libQt5Concurrent_armeabi-v7a.so /Users/assam/Qt/5.15.2/android/lib/libQt5AndroidExtras_armeabi-v7a.so /Users/assam/Qt/5.15.2/android/lib/libQt5Core_armeabi-v7a.so -lGLESv2   -llog -lz -lm -ldl -lc
      mkdir: /libs/armeabi-v7a/: Read-only file system
      make[3]: *** [install_target] Error 1
      make[2]: *** [armeabi-v7a-arm64-v8a-x86-x86_64-install] Error 2
      make[1]: *** [sub-tools-appman-install_subtargets] Error 2
      make[1]: *** Waiting for unfinished jobs....
      /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.Armeabi-v7a install
      /Users/assam/Qt/5.15.2/android/bin/rcc -name config config.qrc -o .rcc/armeabi-v7a/qrc_config.cpp
      /Users/assam/Library/Android/sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ -c -target armv7a-linux-androideabi21 -fno-limit-debug-info -fPIC -fstack-protector-strong -DANDROID -O2 -mthumb -Oz -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -Winconsistent-missing-override -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_MESSAGELOGCONTEXT -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DAM_VERSION=\"5.15.1\" -DAM_USE_LIBCRYPTO -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_USE_QSTRINGBUILDER -DAM_TESTRUNNER -DQT_NO_DEBUG -DQT_APPMAN_MAIN_LIB -DQT_APPMAN_SHARED_MAIN_LIB -DQT_APPMAN_MONITOR_LIB -DQT_APPMAN_APPLICATION_LIB -DQT_APPMAN_PACKAGE_LIB -DQT_APPMAN_NOTIFICATION_LIB -DQT_APPMAN_INTENT_SERVER_LIB -DQT_APPMAN_COMMON_LIB -DQT_APPMAN_WINDOW_LIB -DQT_APPMAN_MANAGER_LIB -DQT_QUICK_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_QMLTEST_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_ANDROIDEXTRAS_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/Users/assam/Automotive/QAS/qtapplicationmanager/build/src/tools/testrunner"' -I/Users/assam/Automotive/QAS/qtapplicationmanager/src/tools/testrunner -I. -I../../../include -I../../../include/QtAppManMain -I../../../include/QtAppManMain/5.15.1 -I../../../include/QtAppManMain/5.15.1/QtAppManMain -I../../../include/QtAppManSharedMain -I/Users/assam/Automotive/QAS/qtapplicationmanager/build/include/QtAppManSharedMain/5.15.1 -I/Users/assam/Automotive/QAS/qtapplicationmanager/build/include/QtAppManSharedMain/5.15.1/QtAppManSharedMain -I../../../include/QtAppManMonitor -I/Users/assam/Automotive/QAS/qtapplicationmanager/build/include/QtAppManMonitor/5.15.1 -I/Users/assam/Automotive/QAS/qtapplicationmanager/build/include/QtAppManMonitor/5.15.1/QtAppManMonitor -I../../../include/QtAppManApplication -I/Users/assam/Automotive/QAS/qtapplicationmanager/build/include/QtAppManApplication/5.15.1 -I/Users/assam/Automotive/QAS/qtapplicationmanager/build/include/QtAppManApplication/5.15.1/QtAppManApplication -I../../../include/QtAppManPackage -I../../../include/QtAppManPackage/5.15.1 -I../../../include/QtAppManPackage/5.15.1/QtAppManPackage -I../../../include/QtAppManNotification -I/Users/assam/Automotive/QAS/qtapplicationmanager/build/include/QtAppManNotification/5.15.1 -I/Users/assam/Automotive/QAS/qtapplicationmanager/build/include/QtAppManNotification/5.15.1/QtAppManNotification -I../../../include/QtAppManIntentServer -I/Users/assam/Automotive/QAS/qtapplicationmanager/build/include/QtAppManIntentServer/5.15.1 -I/Users/assam/Automotive/QAS/qtapplicationmanager/build/include/QtAppManIntentServer/5.15.1/QtAppManIntentServer -I../../../include/QtAppManCommon -I../../../include/QtAppManCommon/5.15.1 -I../../../include/QtAppManCommon/5.15.1/QtAppManCommon -I../../../include/QtAppManWindow -I../../../include/QtAppManWindow/5.15.1 -I../../../include/QtAppManWindow/5.15.1/QtAppManWindow -I../../../include/QtAppManManager -I../../../include/QtAppManManager/5.15.1 -I../../../include/QtAppManManager/5.15.1/QtAppManManager -I/Users/assam/Qt/5.15.2/android/include/QtQuick/5.15.2 -I/Users/assam/Qt/5.15.2/android/include/QtQuick/5.15.2/QtQuick -I/Users/assam/Qt/5.15.2/android/include -I/Users/assam/Qt/5.15.2/android/include/QtQuick -I/Users/assam/Qt/5.15.2/android/include/QtQmlModels/5.15.2 -I/Users/assam/Qt/5.15.2/android/include/QtQmlModels/5.15.2/QtQmlModels -I/Users/assam/Qt/5.15.2/android/include/QtQmlModels -I/Users/assam/Qt/5.15.2/android/include/QtQml/5.15.2 -I/Users/assam/Qt/5.15.2/android/include/QtQml/5.15.2/QtQml -I/Users/assam/Qt/5.15.2/android/include/QtQml -I/Users/assam/Qt/5.15.2/android/include/QtNetwork -I/Users/assam/Qt/5.15.2/android/include/QtGui/5.15.2 -I/Users/assam/Qt/5.15.2/android/include/QtGui/5.15.2/QtGui -I/Users/assam/Qt/5.15.2/android/include/QtQuickTest/5.15.2 -I/Users/assam/Qt/5.15.2/android/include/QtQuickTest/5.15.2/QtQuickTest -I/Users/assam/Qt/5.15.2/android/include/QtTest/5.15.2 -I/Users/assam/Qt/5.15.2/android/include/QtTest/5.15.2/QtTest -I/Users/assam/Qt/5.15.2/android/include/QtCore/5.15.2 -I/Users/assam/Qt/5.15.2/android/include/QtCore/5.15.2/QtCore -I/Users/assam/Qt/5.15.2/android/include/QtQuickTest -I/Users/assam/Qt/5.15.2/android/include/QtWidgets -I/Users/assam/Qt/5.15.2/android/include/QtGui -I/Users/assam/Qt/5.15.2/android/include/QtConcurrent -I/Users/assam/Qt/5.15.2/android/include/QtAndroidExtras -I/Users/assam/Qt/5.15.2/android/include/QtTest -I/Users/assam/Qt/5.15.2/android/include/QtCore -I.moc/armeabi-v7a -I/usr/local/opt/openssl/include -I/Users/assam/Qt/5.15.2/android/mkspecs/android-clang -o .obj/armeabi-v7a/qrc_config.o .rcc/armeabi-v7a/qrc_config.cpp
      /Users/assam/Library/Android/sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ -target armv7a-linux-androideabi21 -fno-limit-debug-info -Wl,--enable-new-dtags -Wl,-soname,libappman-qmltestrunner_armeabi-v7a.so -Wl,-rpath-link=/Users/assam/Automotive/QAS/qtapplicationmanager/build/lib -Wl,--build-id=sha1 -Wl,--no-undefined -Wl,-z,noexecstack -shared -o ../../../bin/libappman-qmltestrunner_armeabi-v7a.so .obj/armeabi-v7a/appman.o .obj/armeabi-v7a/testrunner.o .obj/armeabi-v7a/amtest.o .obj/armeabi-v7a/qrc_config.o   /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManMain_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManSharedMain_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManWindow_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManManager_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManPluginInterfaces_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManMonitor_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManPackage_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManApplication_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libqtarchive_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManCrypto_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManNotification_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManIntentServer_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManIntentClient_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libQt5AppManCommon_armeabi-v7a.a /Users/assam/Automotive/QAS/qtapplicationmanager/build/lib/libqtyaml_armeabi-v7a.a -llog -lz -lm -ldl -lc /Users/assam/Qt/5.15.2/android/lib/libQt5Quick_armeabi-v7a.so /Users/assam/Qt/5.15.2/android/lib/libQt5QmlModels_armeabi-v7a.so /Users/assam/Qt/5.15.2/android/lib/libQt5Qml_armeabi-v7a.so /Users/assam/Qt/5.15.2/android/lib/libQt5Network_armeabi-v7a.so /Users/assam/Qt/5.15.2/android/lib/libQt5QuickTest_armeabi-v7a.so /Users/assam/Qt/5.15.2/android/lib/libQt5Widgets_armeabi-v7a.so /Users/assam/Qt/5.15.2/android/lib/libQt5Gui_armeabi-v7a.so /Users/assam/Qt/5.15.2/android/lib/libQt5Concurrent_armeabi-v7a.so /Users/assam/Qt/5.15.2/android/lib/libQt5AndroidExtras_armeabi-v7a.so /Users/assam/Qt/5.15.2/android/lib/libQt5Test_armeabi-v7a.so /Users/assam/Qt/5.15.2/android/lib/libQt5Core_armeabi-v7a.so -lGLESv2   -llog -lz -lm -ldl -lc
      mkdir: /libs/armeabi-v7a/: Read-only file system
      make[3]: *** [install_target] Error 1
      make[2]: *** [armeabi-v7a-arm64-v8a-x86-x86_64-install] Error 2
      make[1]: *** [sub-tools-testrunner-install_subtargets] Error 2
      make: *** [sub-src-install_subtargets-ordered] Error 2
      

      Seems like the deployment target is wrongfully set to deploy to /libs (on root of system) instead of into the Qt version directory.

        Attachments

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

          Activity

            People

            Assignee:
            rgriebl Robert Griebl
            Reporter:
            assam Assam Boudjelthia
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes