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:
| Passed |
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:
| 36 | at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:345) |
|---|---|
| 37 | at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259) |
| 38 | at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:214) |
| 39 | at com.android.apksig.ApkSigner.sign(ApkSigner.java:169) |
| 40 | at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:340) |
| 41 | at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:83) |
| 42 | PHP Warning: hash_file(/home/www-data/reyboz.it/lab/builds/libre-busto/D230-x86-signed.apk): failed to open stream: No such file or directory in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 156 |
| 43 | PHP Warning: unlink(./app/build/outputs/apk/gitpull/D230-x86-aligned.apk): No such file or directory in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 162 |
| 44 | sh: 1: zipalign: not found |
| 45 | Exception in thread "main" java.io.FileNotFoundException: ./app/build/outputs/apk/gitpull/D230-x86_64-aligned.apk (No such file or directory) |
| 46 | at java.base/java.io.RandomAccessFile.open0(Native Method) |
| 47 | at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:345) |
| 48 | at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259) |
| 49 | at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:214) |
| 50 | at com.android.apksig.ApkSigner.sign(ApkSigner.java:169) |
| 51 | at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:340) |
| 52 | at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:83) |
| 53 | PHP Warning: hash_file(/home/www-data/reyboz.it/lab/builds/libre-busto/D230-x86_64-signed.apk): failed to open stream: No such file or directory in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 156 |
| 54 | PHP Warning: unlink(./app/build/outputs/apk/gitpull/D230-x86_64-aligned.apk): No such file or directory in /home/phabricator-android-builder/repos/libre-busto-ci-cd/bin/publish-latest-branch-build.php on line 162 |
| 55 | sh: 1: /home/phabricator-android-builder/bin/phab-comment.php: not found |
| 56 | sh: 1: /home/phabricator-android-builder/bin/phab-comment.php: not found |
| 57 | sh: 1: /home/phabricator-android-builder/bin/phab-comment.php: not found |
| 58 | sh: 1: /home/phabricator-android-builder/bin/phab-comment.php: not found |
| 59 | sh: 1: /home/phabricator-android-builder/bin/phab-comment.php: not found |
| 60 |
| 73 | Here the related fresh test builds: |
|---|---|
| 74 | |
| 75 | APK for **arm64\-v8a**: |
| 76 | [Download D230\-arm64\-v8a\-signed\.apk](https://lab.reyboz.it/builds/libre-busto/D230-arm64-v8a-signed.apk) |
| 77 | APK sha256: `` |
| 78 | |
| 79 | APK for **armeabi\-v7a**: |
| 80 | [Download D230\-armeabi\-v7a\-signed\.apk](https://lab.reyboz.it/builds/libre-busto/D230-armeabi-v7a-signed.apk) |
| 81 | APK sha256: `` |
| 82 | |
| 83 | APK for **universal**: |
| 84 | [Download D230\-universal\-signed\.apk](https://lab.reyboz.it/builds/libre-busto/D230-universal-signed.apk) |
| 85 | APK sha256: `` |
| 86 | |
| 87 | APK for **x86**: |
| 88 | [Download D230\-x86\-signed\.apk](https://lab.reyboz.it/builds/libre-busto/D230-x86-signed.apk) |
| 89 | APK sha256: `` |
| 90 | |
| 91 | APK for **x86\_64**: |
| 92 | [Download D230\-x86\_64\-signed\.apk](https://lab.reyboz.it/builds/libre-busto/D230-x86_64-signed.apk) |
| 93 | APK sha256: `` |
| 94 | |
| 95 | [INFO][2026-04-26 15:22:16] Cleaning old artifacts |
| 96 | [INFO][2026-04-26 15:22:16] Done |
| 97 |
| 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-79/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 |
| 143 | > Task :app:processGitpullJavaRes |
|---|---|
| 144 | > Task :app:mergeDexGitpull |
| 145 | > Task :app:mergeGitpullJavaResource |
| 146 | > Task :app:compileGitpullArtProfile |
| 147 | > Task :app:lintVitalAnalyzeGitpull |
| 148 | > Task :app:lintVitalReportGitpull |
| 149 | |
| 150 | > Task :app:lintVitalGitpull |
| 151 | |
| 152 | > Task :app:packageGitpull |
| 153 | > Task :app:createGitpullApkListingFileRedirect |
| 154 | > Task :app:assembleGitpull |
| 155 | |
| 156 | [Incubating] Problems report is available at: file:///home/vagrant/appbuild/build/reports/problems/problems-report.html |
| 157 | |
| 158 | Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. |
| 159 | |
| 160 | You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. |
| 161 | |
| 162 | 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. |
| 163 | |
| 164 | BUILD SUCCESSFUL in 5m 3s |
| 165 | 56 actionable tasks: 56 executed |
| 166 | ==> Build completed |
| 167 |
| Passed |
| Passed |