log for org.glpi.inventory.agent:39469
== Installed Android Tools ==2026-06-03 08:09:49,128 INFO: Creating log directory2026-06-03 08:09:49,128 INFO: Creating temporary directory2026-06-03 08:09:49,128 INFO: Creating output directory2026-06-03 08:09:49,130 DEBUG: Getting git vcs interface for https://github.com/glpi-project/android-inventory-agent.git2026-06-03 08:09:49,131 DEBUG: Checking org.glpi.inventory.agent:394692026-06-03 08:09:49,131 INFO: Building org.glpi.inventory.agent:394692026-06-03 08:09:49,132 DEBUG: Popen(['git', 'log', '-n', '1', '--pretty=%ct'], cwd=/home/vagrant/build/org.glpi.inventory.agent, stdin=None, shell=False, universal_newlines=False)2026-06-03 08:09:49,133 DEBUG: > sudo passwd --lock rootpasswd: password changed.2026-06-03 08:09:49,534 DEBUG: > sudo SUDO_FORCE_REMOVE=yes dpkg --purge sudo(Reading database ... 48131 files and directories currently installed.)Removing sudo (1.9.16p2-3+deb13u2) ...Purging configuration files for sudo (1.9.16p2-3+deb13u2) ...dpkg: warning: while removing sudo, directory '/etc/sudoers.d' not empty so not removedProcessing triggers for libc-bin (2.41-12+deb13u3) ...2026-06-03 08:09:52,443 INFO: Getting source for revision 28bc0ef6dd41c1e2c040cd1da0d5590a86104a9e2026-06-03 08:09:52,443 DEBUG: Directory: build/org.glpi.inventory.agent2026-06-03 08:09:52,443 DEBUG: > git rev-parse --show-toplevel2026-06-03 08:09:52,643 DEBUG: Directory: build/org.glpi.inventory.agent2026-06-03 08:09:52,644 DEBUG: > git submodule foreach --recursive git reset --hard2026-06-03 08:09:52,744 DEBUG: Directory: build/org.glpi.inventory.agent2026-06-03 08:09:52,744 DEBUG: > git reset --hard2026-06-03 08:09:52,945 DEBUG: Directory: build/org.glpi.inventory.agent2026-06-03 08:09:52,945 DEBUG: > git submodule foreach --recursive git clean -dffx2026-06-03 08:09:53,046 DEBUG: Directory: build/org.glpi.inventory.agent2026-06-03 08:09:53,046 DEBUG: > git clean -dffx2026-06-03 08:09:53,146 DEBUG: Directory: build/org.glpi.inventory.agent2026-06-03 08:09:53,146 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com -c url.https://u:p@codeberg.org/.insteadOf=git@codeberg.org: -c url.https://u:p@codeberg.org.insteadOf=git://codeberg.org -c url.https://u:p@codeberg.org.insteadOf=https://codeberg.org fetch --prune --prune-tags --force origin2026-06-03 08:09:53,547 DEBUG: Directory: build/org.glpi.inventory.agent2026-06-03 08:09:53,547 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com -c url.https://u:p@codeberg.org/.insteadOf=git@codeberg.org: -c url.https://u:p@codeberg.org.insteadOf=git://codeberg.org -c url.https://u:p@codeberg.org.insteadOf=https://codeberg.org fetch --prune --tags --force origin2026-06-03 08:09:53,848 DEBUG: Directory: build/org.glpi.inventory.agent2026-06-03 08:09:53,849 DEBUG: > git remote set-head origin --auto2026-06-03 08:09:54,250 DEBUG: Directory: build/org.glpi.inventory.agent2026-06-03 08:09:54,250 DEBUG: > git checkout -f 28bc0ef6dd41c1e2c040cd1da0d5590a86104a9e2026-06-03 08:09:54,451 DEBUG: Directory: build/org.glpi.inventory.agent2026-06-03 08:09:54,451 DEBUG: > git clean -dffx2026-06-03 08:09:54,552 INFO: commit: 28bc0ef6dd41c1e2c040cd1da0d5590a86104a9e (SHA1: 28bc0ef6dd41c1e2c040cd1da0d5590a86104a9e)2026-06-03 08:09:54,552 DEBUG: Directory: build/org.glpi.inventory.agent2026-06-03 08:09:54,552 DEBUG: > git rev-parse --show-toplevel2026-06-03 08:09:54,753 DEBUG: Directory: build/org.glpi.inventory.agent2026-06-03 08:09:54,753 DEBUG: > git submodule deinit --all --force2026-06-03 08:09:54,853 INFO: Creating local.properties file at build/org.glpi.inventory.agent/local.properties2026-06-03 08:09:54,854 INFO: Creating local.properties file at build/org.glpi.inventory.agent/app/local.properties2026-06-03 08:09:54,854 INFO: Removing specified files2026-06-03 08:09:54,855 INFO: Removing app/libs/inventory-release-v1.6.1.aar2026-06-03 08:09:54,855 INFO: Removing package.json2026-06-03 08:09:54,856 INFO: Running 'prebuild' commands in build/org.glpi.inventory.agent/app2026-06-03 08:09:54,856 DEBUG: Directory: build/org.glpi.inventory.agent/app2026-06-03 08:09:54,856 DEBUG: > bash -e -u -o pipefail -x -c -- sed -i -e '/firebase/d' -e '/gms/d' build.gradle ../build.gradle; sed -i -e '/dependencies {/a implementation "com.github.flyve-mdm:android-inventory-library:5d28aee9bc@aar"' build.gradle; sed -i -e 's|maven.fabric.io/public|jitpack.io|' -e '/repositories {/a maven{ url "https://jitpack.io" }' ../build.gradle; sed -i -e 's/android:versionName=\"/android:versionName=\"1.8.0/' src/main/AndroidManifest.xml+ '[' -z '' ']'+ return+ case $- in+ return+ sed -i -e /firebase/d -e /gms/d build.gradle ../build.gradle+ sed -i -e '/dependencies {/a implementation "com.github.flyve-mdm:android-inventory-library:5d28aee9bc@aar"' build.gradle+ sed -i -e 's|maven.fabric.io/public|jitpack.io|' -e '/repositories {/a maven{ url "https://jitpack.io" }' ../build.gradle+ sed -i -e 's/android:versionName=\"/android:versionName=\"1.8.0/' src/main/AndroidManifest.xml2026-06-03 08:09:55,059 INFO: Scanning source for common problems...2026-06-03 08:09:55,061 DEBUG: scanner is configured to use signature data from: 'suss'2026-06-03 08:09:55,061 DEBUG: downloading 'https://fdroid.gitlab.io/fdroid-suss/suss.json'2026-06-03 08:09:55,470 DEBUG: write 'suss.json' to cache2026-06-03 08:09:55,471 DEBUG: next suss.json cache update due in 23:59:59.9990312026-06-03 08:09:55,485 INFO: Removing gradle-wrapper.jar at gradle/wrapper/gradle-wrapper.jar2026-06-03 08:09:55,486 INFO: Creating source tarball...2026-06-03 08:09:55,521 INFO: Building Gradle project...2026-06-03 08:09:55,521 DEBUG: Directory: build/org.glpi.inventory.agent/app2026-06-03 08:09:55,521 DEBUG: > /usr/local/bin/gradlew-fdroid assembleReleaseCACHEDIR set to /home/vagrant/.cache/gradlew-fdroidUpdate checksum from gradle-transparency-logFound 8.13 via distributionUrlDownloading missing gradle version 8.13Using cache directory /home/vagrant/.cache/gradlew-fdroidRunning /home/vagrant/.cache/gradlew-fdroid/versions/8.13/bin/gradle assembleReleaseWelcome to Gradle 8.13!Here are the highlights of this release:- Daemon JVM auto-provisioning- Enhancements for Scala plugin and JUnit testing- Improvements for build authors and plugin developersFor more details see https://docs.gradle.org/8.13/release-notes.htmlTo honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.13/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.Daemon will be stopped at the end of the buildException while marshalling /opt/android-sdk/platforms/android-10/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-11/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-12/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-13/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-14/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-15/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-16/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-17/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-18/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-19/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-20/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-21/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-22/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-23/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-24/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-25/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-26/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-27/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-28/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-29/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-30/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-31/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-32/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-33/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-10/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-11/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-12/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-13/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-14/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-15/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-16/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-17/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-18/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-19/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-20/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-21/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-22/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-23/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-24/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-25/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-26/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-27/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-28/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-29/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-30/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-31/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-32/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-33/package.xml. Probably the SDK is read-onlyChecking the license for package Android SDK Build-Tools 35 in /opt/android-sdk/licensesLicense for package Android SDK Build-Tools 35 accepted.Preparing "Install Android SDK Build-Tools 35 v.35.0.0"."Install Android SDK Build-Tools 35 v.35.0.0" ready.Installing Android SDK Build-Tools 35 in /opt/android-sdk/build-tools/35.0.0"Install Android SDK Build-Tools 35 v.35.0.0" complete."Install Android SDK Build-Tools 35 v.35.0.0" finished.Checking the license for package Android SDK Platform 35 in /opt/android-sdk/licensesLicense for package Android SDK Platform 35 accepted.Preparing "Install Android SDK Platform 35 (revision 2)"."Install Android SDK Platform 35 (revision 2)" ready.Installing Android SDK Platform 35 in /opt/android-sdk/platforms/android-35"Install Android SDK Platform 35 (revision 2)" complete."Install Android SDK Platform 35 (revision 2)" finished.Exception while marshalling /opt/android-sdk/platforms/android-10/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-11/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-12/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-13/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-14/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-15/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-16/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-17/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-18/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-19/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-20/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-21/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-22/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-23/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-24/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-25/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-26/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-27/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-28/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-29/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-30/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-31/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-32/package.xml. Probably the SDK is read-onlyException while marshalling /opt/android-sdk/platforms/android-33/package.xml. Probably the SDK is read-only[========= ] 25%
[========= ] 25% Fetch remote repository...
[=======================================] 100% Fetch remote repository...> Task :app:preBuild UP-TO-DATE> Task :app:preReleaseBuild UP-TO-DATE> Task :app:mergeReleaseJniLibFolders> Task :app:mergeReleaseNativeLibs NO-SOURCE> Task :app:stripReleaseDebugSymbols NO-SOURCE> Task :app:extractReleaseNativeSymbolTables NO-SOURCE> Task :app:mergeReleaseNativeDebugMetadata NO-SOURCE> Task :app:checkReleaseDuplicateClasses> Task :app:generateReleaseBuildConfig> Task :app:javaPreCompileRelease> Task :app:generateReleaseResValues> Task :app:checkReleaseAarMetadata> Task :app:mapReleaseSourceSetPaths> Task :app:generateReleaseResources> Task :app:createReleaseCompatibleScreenManifests> Task :app:extractDeepLinksRelease> Task :app:mergeReleaseResources> Task :app:processReleaseMainManifest> Task :app:processReleaseManifest> Task :app:desugarReleaseFileDependencies> Task :app:mergeReleaseStartupProfile> Task :app:mergeReleaseArtProfile> Task :app:mergeReleaseShaders> Task :app:compileReleaseShaders NO-SOURCE> Task :app:generateReleaseAssets UP-TO-DATE> Task :app:mergeReleaseAssets> Task :app:compressReleaseAssets> Task :app:extractReleaseVersionControlInfo> Task :app:extractProguardFiles> Task :app:processReleaseJavaRes NO-SOURCE> Task :app:collectReleaseDependencies> Task :app:sdkReleaseDependencyData> Task :app:writeReleaseAppMetadata> Task :app:writeReleaseSigningConfigVersions> Task :app:processReleaseManifestForPackage> Task :app:mergeReleaseJavaResourcenote: generating drawable/ic_launcher_round with config "anydpi-v26" for round icon compatibility.> Task :app:processReleaseResources> Task :app:mergeExtDexRelease> Task :app:compileReleaseJavaWithJavacJava compiler version 21 has deprecated support for compiling with source/target version 8.Try one of the following options:1. [Recommended] Use Java toolchain with a lower language version2. Set a higher source/target version3. Use a lower version of the JDK running the build (if you're not using Java toolchain)For more details on how to configure these settings, see https://developer.android.com/build/jdks.To suppress this warning, set android.javaCompile.suppressSourceTargetDeprecationWarning=true in gradle.properties.warning: [options] source value 8 is obsolete and will be removed in a future releasewarning: [options] target value 8 is obsolete and will be removed in a future releasewarning: [options] To suppress warnings about obsolete options, use -Xlint:-options.Note: Some input files use or override a deprecated API.Note: Recompile with -Xlint:deprecation for details.Note: /home/vagrant/build/org.glpi.inventory.agent/app/src/main/java/org/glpi/inventory/agent/ui/ActivityDetailServer.java uses unchecked or unsafe operations.Note: Recompile with -Xlint:unchecked for details.3 warnings> Task :app:dexBuilderRelease> Task :app:mergeReleaseGlobalSynthetics> Task :app:generateReleaseLintVitalReportModel> Task :app:mergeDexRelease> Task :app:optimizeReleaseResources> Task :app:compileReleaseArtProfile> Task :app:lintVitalAnalyzeRelease> Task :app:lintVitalReportRelease> Task :app:lintVitalRelease/home/vagrant/build/org.glpi.inventory.agent/app/src/main/AndroidManifest.xml:11: Error: Mock locations should only be requested in a test or debug-specific manifest file (typically src/debug/AndroidManifest.xml) [MockLocation]<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"/>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Explanation for issues of type "MockLocation":Using a mock location provider (by requiring the permissionandroid.permission.ACCESS_MOCK_LOCATION) should only be done in debugbuilds (or from tests). In Gradle projects, that means you should onlyrequest this permission in a test or debug source set specific manifestfile.To fix this, create a new manifest file in the debug folder and move the<uses-permission> element there. A typical path to a debug manifestoverride file in a Gradle project is src/debug/AndroidManifest.xml./home/vagrant/build/org.glpi.inventory.agent/app/src/main/java/org/glpi/inventory/agent/utils/Helpers.java:153: Error: Missing PendingIntent mutability flag [UnspecifiedImmutableFlag]PendingIntent piResult = PendingIntent.getActivity(context, 0, resultIntent, PendingIntent.FLAG_ONE_SHOT);~~~~~~~~~~~~~~~~~~~~~~~~~~~Explanation for issues of type "UnspecifiedImmutableFlag":Apps targeting Android 12 and higher must specify either FLAG_IMMUTABLE orFLAG_MUTABLE when constructing a PendingIntent.FLAG_IMMUTABLE is available since target SDK 23, and is almost always thebest choice. Seehttps://developer.android.com/guide/components/intents-filters#CreateImmutablePendingIntents for a list of common exceptions to this rule.https://developer.android.com/about/versions/12/behavior-changes-12#pending-intent-mutabilityhttps://goo.gle/UnspecifiedImmutableFlag2 errors> Task :app:packageRelease> Task :app:createReleaseApkListingFileRedirect> Task :app:assembleRelease[Incubating] Problems report is available at: file:///home/vagrant/build/org.glpi.inventory.agent/build/reports/problems/problems-report.htmlDeprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.For more on this, please refer to https://docs.gradle.org/8.13/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.BUILD SUCCESSFUL in 49s41 actionable tasks: 41 executed2026-06-03 08:10:48,465 DEBUG: Checking build/org.glpi.inventory.agent/app/build/outputs/apk/release/app-release-unsigned.apk2026-06-03 08:10:48,467 INFO: Successfully built org.glpi.inventory.agent:39469 from 28bc0ef6dd41c1e2c040cd1da0d5590a86104a9e2026-06-03 08:10:48,470 INFO: success: org.glpi.inventory.agent2026-06-03 08:10:48,470 INFO: Finished2026-06-03 08:10:48,470 INFO: 1 build succeeded