Source code:
https://gitpull.it/source/libre-busto-ci-cd/browse/master/bin/publish-latest-branch-build.sh
(ex P23)
This step will copy the built .apk to an indexed HTTP directory exposed by Apache, signing them:
| Failed |
Source code:
https://gitpull.it/source/libre-busto-ci-cd/browse/master/bin/publish-latest-branch-build.sh
(ex P23)
This step will copy the built .apk to an indexed HTTP directory exposed by Apache, signing them:
| 1 | PHP Fatal error: Uncaught Exception: apksigner returned with exit status code: -1 in /opt/libre-busto-ci-cd/bin/publish-latest-branch-build.php:164 |
|---|---|
| 2 | Stack trace: |
| 3 | #0 {main} |
| 4 | thrown in /opt/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 164 |
| 5 |
| 1160 | 24609720 res/yn.png (OK) |
|---|---|
| 1161 | 24612204 res/z-.9.png (OK) |
| 1162 | 24612468 res/z9.9.png (OK) |
| 1163 | 24612928 res/zE.png (OK) |
| 1164 | 24613292 res/zG.xml (OK - compressed) |
| 1165 | 24613612 res/zR.png (OK) |
| 1166 | 24616413 res/zR.xml (OK - compressed) |
| 1167 | 24616904 res/zV.9.png (OK) |
| 1168 | 24619407 res/zc.xml (OK - compressed) |
| 1169 | 24619860 res/ze.png (OK) |
| 1170 | 24628215 res/zp.xml (OK - compressed) |
| 1171 | 24628474 res/zq.xml (OK - compressed) |
| 1172 | 24628784 res/zr.png (OK) |
| 1173 | 24631603 res/zs.xml (OK - compressed) |
| 1174 | 24631875 res/zu.xml (OK - compressed) |
| 1175 | 24632853 res/zv.xml (OK - compressed) |
| 1176 | 24634136 resources.arsc (OK) |
| 1177 | Verification successful |
| 1178 | [INFO][2026-04-26 18:05:37] APK ALIGNED D230-arm64-v8a-aligned.apk: apksigner... creating D230-arm64-v8a-signed.apk |
| 1179 | |
| 1180 | Fatal error: Uncaught Exception: apksigner returned with exit status code: -1 in /opt/libre-busto-ci-cd/bin/publish-latest-branch-build.php:164 |
| 1181 | Stack trace: |
| 1182 | #0 {main} |
| 1183 | thrown in /opt/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 164 |
| 1184 |
| Passed |
This step will build an .apk using Gradle using this fantastic Docker image:
https://gitlab.com/fabmazz/android-fdroid-build-container/-/tree/ubuntu
Source code of this build step:
https://gitpull.it/source/libre-busto-ci-cd/browse/master/bin/fdroid-docker-builder.sh
TODO: Use the official image by Fabio Mazza, when the "DESIRED_UID" / "DESIRED_GID" features will be merged.
| 1 | + docker run -e DESIRED_UID=1004 -e DESIRED_GID=1004 --rm -v /var/drydock/workingcopy-112/repo/libre-busto:/home/vagrant/appbuild:Z fdroid-asder launch_build_local -Dorg.gradle.jvmargs=-Xmx2g --stacktrace assembleGitpull |
|---|---|
| 2 | Note: Some input files use or override a deprecated API. |
| 3 | Note: Recompile with -Xlint:deprecation for details. |
| 4 | /home/vagrant/appbuild/app/src/gitpull/AndroidManifest.xml:4: Error: Mock locations should only be requested in a test or debug-specific manifest file (typically src/debug/AndroidManifest.xml) [MockLocation] |
| 5 | <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"/> |
| 6 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 7 | |
| 8 | Explanation for issues of type "MockLocation": |
| 9 | Using a mock location provider (by requiring the permission |
| 10 | android.permission.ACCESS_MOCK_LOCATION) should only be done in debug |
| 11 | builds (or from tests). In Gradle projects, that means you should only |
| 12 | request this permission in a test or debug source set specific manifest |
| 13 | file. |
| 14 | |
| 15 | To fix this, create a new manifest file in the debug folder and move the |
| 16 | <uses-permission> element there. A typical path to a debug manifest |
| 17 | override file in a Gradle project is src/debug/AndroidManifest.xml. |
| 18 | |
| 19 | 1 error |
| 20 | |
| 21 |
| 144 | > Task :app:mergeDexGitpull |
|---|---|
| 145 | > Task :app:processGitpullJavaRes |
| 146 | > Task :app:compileGitpullArtProfile |
| 147 | > Task :app:mergeGitpullJavaResource |
| 148 | > Task :app:lintVitalAnalyzeGitpull |
| 149 | > Task :app:lintVitalReportGitpull |
| 150 | |
| 151 | > Task :app:lintVitalGitpull |
| 152 | |
| 153 | > Task :app:packageGitpull |
| 154 | > Task :app:createGitpullApkListingFileRedirect |
| 155 | > Task :app:assembleGitpull |
| 156 | |
| 157 | [Incubating] Problems report is available at: file:///home/vagrant/appbuild/build/reports/problems/problems-report.html |
| 158 | |
| 159 | Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. |
| 160 | |
| 161 | You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. |
| 162 | |
| 163 | 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. |
| 164 | |
| 165 | BUILD SUCCESSFUL in 4m 16s |
| 166 | 56 actionable tasks: 56 executed |
| 167 | ==> Build completed |
| 168 |
| Passed |
| Passed |