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 |
| 1135 | 24528888 res/x3.9.png (OK) |
|---|---|
| 1136 | 24529140 res/x4.xml (OK - compressed) |
| 1137 | 24529916 res/xH.png (OK) |
| 1138 | 24530142 res/xI.xml (OK - compressed) |
| 1139 | 24530843 res/xM.ttf (OK - compressed) |
| 1140 | 24590536 res/xR.9.png (OK) |
| 1141 | 24590772 res/xa.9.png (OK) |
| 1142 | 24591033 res/xa.xml (OK - compressed) |
| 1143 | 24591594 res/xd.xml (OK - compressed) |
| 1144 | 24592307 res/xj.xml (OK - compressed) |
| 1145 | 24592599 res/xq.xml (OK - compressed) |
| 1146 | 24592987 res/xz.xml (OK - compressed) |
| 1147 | 24594178 res/y-.xml (OK - compressed) |
| 1148 | 24594446 res/y4.xml (OK - compressed) |
| 1149 | 24594702 res/y9.xml (OK - compressed) |
| 1150 | 24594971 res/yE.xml (OK - compressed) |
| 1151 | 24595228 res/yH.9.png (OK) |
| 1152 | 24595452 res/yS.xml (OK - compressed) |
| 1153 | 24595703 res/yT.xml (OK - compressed) |
| 1154 | 24596026 res/yV.xml (OK - compressed) |
| 1155 | 24596368 res/yY.9.png (OK) |
| 1156 | 24596594 res/ya.xml (OK - compressed) |
| 1157 | 24596952 res/yd.png (OK) |
| 1158 | 24608888 res/yg.9.png (OK) |
| 1159 | 24609323 res/yj.xml (OK - compressed) |
| 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 |
| 119 | w: file:///home/vagrant/appbuild/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:582:20 Condition is always 'true'. |
|---|---|
| 120 | w: file:///home/vagrant/appbuild/app/src/main/java/it/reyboz/bustorino/fragments/ArrivalsFragment.kt:697:66 'fun execute(vararg p0: Stop!): AsyncTask<Stop!, Void!, Boolean!>!' is deprecated. Deprecated in Java. |
| 121 | w: file:///home/vagrant/appbuild/app/src/main/java/it/reyboz/bustorino/fragments/IntroFragment.kt:172:43 'fun setColorFilter(p0: Int, p1: PorterDuff.Mode): Unit' is deprecated. Deprecated in Java. |
| 122 | w: file:///home/vagrant/appbuild/app/src/main/java/it/reyboz/bustorino/fragments/IntroFragment.kt:213:24 'fun setColorFilter(p0: Int, p1: PorterDuff.Mode): Unit' is deprecated. Deprecated in Java. |
| 123 | w: file:///home/vagrant/appbuild/app/src/main/java/it/reyboz/bustorino/fragments/LinesDetailFragment.kt:186:21 Condition is always 'false'. |
| 124 | w: file:///home/vagrant/appbuild/app/src/main/java/it/reyboz/bustorino/fragments/MapLibreFragment.kt:650:25 'fun requestSingleUpdate(p0: String, p1: LocationListener, p2: Looper?): Unit' is deprecated. Deprecated in Java. |
| 125 | w: file:///home/vagrant/appbuild/app/src/main/java/it/reyboz/bustorino/fragments/MapLibreFragment.kt:671:26 This declaration overrides a deprecated member but is not marked as deprecated itself. Add the '@Deprecated' annotation or suppress the diagnostic. |
| 126 | w: file:///home/vagrant/appbuild/app/src/main/java/it/reyboz/bustorino/fragments/TestRealtimeGtfsFragment.kt:55:39 The corresponding parameter in the supertype 'MQTTMatoListener' is named 'posUpdates'. This may cause problems when calling this function with named arguments. |
| 127 | w: file:///home/vagrant/appbuild/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:186:27 'class LocationProvider : Any' is deprecated. Deprecated in Java. |
| 128 | w: file:///home/vagrant/appbuild/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:186:44 'static field OUT_OF_SERVICE: Int' is deprecated. Deprecated in Java. |
| 129 | w: file:///home/vagrant/appbuild/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:186:72 'class LocationProvider : Any' is deprecated. Deprecated in Java. |
| 130 | w: file:///home/vagrant/appbuild/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:186:89 'static field TEMPORARILY_UNAVAILABLE: Int' is deprecated. Deprecated in Java. |
| 131 | w: file:///home/vagrant/appbuild/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:188:34 'class LocationProvider : Any' is deprecated. Deprecated in Java. |
| 132 | w: file:///home/vagrant/appbuild/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:188:51 'static field AVAILABLE: Int' is deprecated. Deprecated in Java. |
| 133 | w: file:///home/vagrant/appbuild/app/src/main/java/it/reyboz/bustorino/middleware/AppLocationManager.kt:216:48 'class Criteria : Any, Parcelable' is deprecated. Deprecated in Java. |
| 134 | w: file:///home/vagrant/appbuild/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:53:40 Unchecked cast of 'Any!' to 'Map<String?, Any>?'. |
| 135 | w: file:///home/vagrant/appbuild/app/src/main/java/it/reyboz/bustorino/util/ImportExport.kt:83:56 Unchecked cast of 'Set<*>' to 'Set<String?>'. |
| 136 | w: file:///home/vagrant/appbuild/app/src/main/java/it/reyboz/bustorino/viewmodels/ArrivalsViewModel.kt:224:17 Expression under 'when' is never equal to null. |
| 137 | w: file:///home/vagrant/appbuild/app/src/main/java/it/reyboz/bustorino/viewmodels/LivePositionsViewModel.kt:145:39 The corresponding parameter in the supertype 'MQTTMatoListener' is named 'posUpdates'. This may cause problems when calling this function with named arguments. |
| 138 | |
| 139 | > Task :app:compileGitpullJavaWithJavac |
| 140 | |
| 141 | > Task :app:dexBuilderGitpull |
| 142 | > Task :app:mergeGitpullGlobalSynthetics |
| 143 | > Task :app:generateGitpullLintVitalReportModel |
| 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 |