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

FAILED: android-build/empty_qmldir_test.apk /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/cmake/empty_qmldir/android-build/empty_qmldir_test.apk

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • None
    • 6.9.0 FF
    • None

    Description

      FAILED: android-build/empty_qmldir_test.apk /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/cmake/empty_qmldir/android-build/empty_qmldir_test.apk 
      cd /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/cmake/empty_qmldir && /opt/cmake-3.27.7/bin/cmake -E copy /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/cmake/empty_qmldir/libempty_qmldir_test_x86_64.so /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/cmake/empty_qmldir/android-build/libs/x86_64/libempty_qmldir_test_x86_64.so && /home/qt/work/install/bin/androiddeployqt --input /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/cmake/empty_qmldir/android-empty_qmldir_test-deployment-settings.json --output /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/cmake/empty_qmldir/android-build --apk /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/cmake/empty_qmldir/android-build/empty_qmldir_test.apk --depfile /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/cmake/empty_qmldir/android-build/empty_qmldir_test.d --builddir /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/cmake/empty_qmldir --release && /opt/cmake-3.27.7/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /home/qt/work/qt/qtdeclarative/tests/auto/cmake/empty_qmldir /home/qt/work/qt/qtdeclarative/tests/auto/cmake/empty_qmldir /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/cmake/empty_qmldir /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/cmake/empty_qmldir /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/cmake/empty_qmldir/android-build/empty_qmldir_test.d /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/cmake/empty_qmldir/CMakeFiles/d/3bca383468f1157dbab10fe59c0a50b007854b7825a0ce550780f8a8d00b7675.d
      Generating Android Package
        Input file: /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/cmake/empty_qmldir/android-empty_qmldir_test-deployment-settings.json
        Output directory: /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/cmake/empty_qmldir/android-build/
        Application binary: empty_qmldir_test
        Android build platform: android-34
        Install to device: No
      Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
      > Task :preBuild UP-TO-DATE
      > Task :preReleaseBuild UP-TO-DATE
      > Task :javaPreCompileRelease
      > Task :generateReleaseResValues
      > Task :checkReleaseAarMetadata
      > Task :mapReleaseSourceSetPaths
      > Task :generateReleaseResources
      > Task :packageReleaseResources
      > Task :mergeReleaseResources
      > Task :createReleaseCompatibleScreenManifests
      > Task :extractDeepLinksRelease
      > Task :parseReleaseLocalResources
      
      > Task :processReleaseMainManifest
      package="org.qtproject.example.empty_qmldir_test" found in source AndroidManifest.xml: /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/cmake/empty_qmldir/android-build/AndroidManifest.xml.
      Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored.
      Recommendation: remove package="org.qtproject.example.empty_qmldir_test" from the source AndroidManifest.xml: /home/qt/work/qt/qtdeclarative_standalone_tests/tests/auto/cmake/empty_qmldir/android-build/AndroidManifest.xml.
      
      > Task :processReleaseManifest
      > Task :extractProguardFiles
      > Task :mergeReleaseJniLibFolders
      > Task :processReleaseManifestForPackage
      > Task :processReleaseResources
      > Task :mergeReleaseNativeLibs
      > Task :compileReleaseJavaWithJavac
      
      > Task :generateReleaseLintVitalReportModel
      Generating lint files for backported methods only (compile API B)
      
      > Task :checkReleaseDuplicateClasses FAILED
      
      > Task :stripReleaseDebugSymbols
      Unable to strip the following libraries, packaging them as they are: libQt6Core_x86_64.so, libQt6Gui_x86_64.so, libQt6Network_x86_64.so, libQt6OpenGL_x86_64.so, libQt6QmlMeta_x86_64.so, libQt6QmlModels_x86_64.so, libQt6QmlWorkerScript_x86_64.so, libQt6Qml_x86_64.so, libQt6Quick_x86_64.so, libQt6Svg_x86_64.so, libQt6Test_x86_64.so, libc++_shared.so, libempty_qmldir_test_x86_64.so, libplugins_iconengines_qsvgicon_x86_64.so, libplugins_imageformats_qgif_x86_64.so, libplugins_imageformats_qicns_x86_64.so, libplugins_imageformats_qico_x86_64.so, libplugins_imageformats_qjpeg_x86_64.so, libplugins_imageformats_qsvg_x86_64.so, libplugins_imageformats_qtga_x86_64.so, libplugins_imageformats_qtiff_x86_64.so, libplugins_imageformats_qwbmp_x86_64.so, libplugins_imageformats_qwebp_x86_64.so, libplugins_networkinformation_qandroidnetworkinformation_x86_64.so, libplugins_platforms_qtforandroid_x86_64.so, libplugins_qmltooling_qmldbg_debugger_x86_64.so, libplugins_qmltooling_qmldbg_inspector_x86_64.so, libplugins_qmltooling_qmldbg_local_x86_64.so, libplugins_qmltooling_qmldbg_messages_x86_64.so, libplugins_qmltooling_qmldbg_native_x86_64.so, libplugins_qmltooling_qmldbg_nativedebugger_x86_64.so, libplugins_qmltooling_qmldbg_preview_x86_64.so, libplugins_qmltooling_qmldbg_profiler_x86_64.so, libplugins_qmltooling_qmldbg_quickprofiler_x86_64.so, libplugins_qmltooling_qmldbg_server_x86_64.so, libplugins_qmltooling_qmldbg_tcp_x86_64.so, libplugins_tls_qopensslbackend_x86_64.so, libqml_QtQml_Models_modelsplugin_x86_64.so, libqml_QtQml_WorkerScript_workerscriptplugin_x86_64.so, libqml_QtQml_qmlplugin_x86_64.so.
      
      > Task :dexBuilderRelease
      > Task :lintVitalAnalyzeRelease
      
      FAILURE: Build failed with an exception.
      
      * What went wrong:
      Execution failed for task ':checkReleaseDuplicateClasses'.
      > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
         > Duplicate class org.qtproject.qt.android.QtAbstractItemModel found in modules Qt6Android.jar -> Qt6Android (Qt6Android.jar) and Qt6AndroidQuick.jar -> Qt6AndroidQuick (Qt6AndroidQuick.jar)
           Duplicate class org.qtproject.qt.android.QtAbstractListModel found in modules Qt6Android.jar -> Qt6Android (Qt6Android.jar) and Qt6AndroidQuick.jar -> Qt6AndroidQuick (Qt6AndroidQuick.jar)
           Duplicate class org.qtproject.qt.android.QtAndroidItemModelProxy found in modules Qt6Android.jar -> Qt6Android (Qt6Android.jar) and Qt6AndroidQuick.jar -> Qt6AndroidQuick (Qt6AndroidQuick.jar)
           Duplicate class org.qtproject.qt.android.QtModelIndex found in modules Qt6Android.jar -> Qt6Android (Qt6Android.jar) and Qt6AndroidQuick.jar -> Qt6AndroidQuick (Qt6AndroidQuick.jar)
           Duplicate class org.qtproject.qt.android.QtSignalListener found in modules Qt6Android.jar -> Qt6Android (Qt6Android.jar) and Qt6AndroidQuick.jar -> Qt6AndroidQuick (Qt6AndroidQuick.jar)
           
           Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.
      
      * Try:
      > Run with --stacktrace option to get the stack trace.
      > Run with --info or --debug option to get more log output.
      > Run with --scan to get full insights.
      > Get more help at https://help.gradle.org.
      
      BUILD FAILED in 22s
      23 actionable tasks: 23 executed
      Building the android package failed!
        -- For more information, run this command with --verbose.
      ninja: build stopped: subcommand failed.
      
      3/105 Test   #3: empty_qmldir ..........................***Failed   27.90 sec
      67% tests passed, 1 tests failed out of 3
      

      Build log: https://testresults.qt.io/logs/qt/qtdeclarative/7e4aebafa4d344b17e5198cb59cf67b1fa76eeef/LinuxRHEL_8_10x86_64AndroidAndroid_ANYx86_64GCCqtci-linux-RHEL-8.10-x86_64-50-7f266cAndroidTestRun_GenerateSBOM_Sccache_UseConfigure_VerifySBOM_WarningsAreErrors/7f3cc03308dfc86207cccf8c64fe4431609268bc/test_1724176047/log.txt.gz

      Details: https://testresults.qt.io/coin/integration/qt/qtdeclarative/tasks/1724175974

      Tested changes (refs/builds/qtci/dev/1724175973):
      https://codereview.qt-project.org/c/qt/qtdeclarative/+/584180/2 Update dependencies on 'dev' in qt/qtdeclarative

      Attachments

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

        Activity

          People

            qtandroidteam Qt Android Team
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes