Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mobile] [F-Droid] Can't build #286

Open
licaon-kter opened this issue Mar 8, 2024 · 4 comments
Open

[Mobile] [F-Droid] Can't build #286

licaon-kter opened this issue Mar 8, 2024 · 4 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed tracking This issue is tracking by another issue

Comments

@licaon-kter
Copy link

licaon-kter commented Mar 8, 2024

ref: https://monitor.f-droid.org/builds/log/com.crequency.kitx.mobile/5641#site-footer

to make it clearer the diff in assets/flutter_assets/AssetManifest.json is:

@@ -52,38 +52,38 @@
   ],
   "packages/flutter_chat_ui/assets/icon-arrow.png": [
     "packages/flutter_chat_ui/assets/icon-arrow.png",
-    "packages/flutter_chat_ui/assets/3.0x/icon-arrow.png",
-    "packages/flutter_chat_ui/assets/2.0x/icon-arrow.png"
+    "packages/flutter_chat_ui/assets/2.0x/icon-arrow.png",
+    "packages/flutter_chat_ui/assets/3.0x/icon-arrow.png"
   ],
   "packages/flutter_chat_ui/assets/icon-attachment.png": [
     "packages/flutter_chat_ui/assets/icon-attachment.png",
-    "packages/flutter_chat_ui/assets/3.0x/icon-attachment.png",
-    "packages/flutter_chat_ui/assets/2.0x/icon-attachment.png"
+    "packages/flutter_chat_ui/assets/2.0x/icon-attachment.png",
+    "packages/flutter_chat_ui/assets/3.0x/icon-attachment.png"
   ],
   "packages/flutter_chat_ui/assets/icon-delivered.png": [
     "packages/flutter_chat_ui/assets/icon-delivered.png",
-    "packages/flutter_chat_ui/assets/3.0x/icon-delivered.png",
-    "packages/flutter_chat_ui/assets/2.0x/icon-delivered.png"
+    "packages/flutter_chat_ui/assets/2.0x/icon-delivered.png",
+    "packages/flutter_chat_ui/assets/3.0x/icon-delivered.png"
   ],
   "packages/flutter_chat_ui/assets/icon-document.png": [
     "packages/flutter_chat_ui/assets/icon-document.png",
-    "packages/flutter_chat_ui/assets/3.0x/icon-document.png",
-    "packages/flutter_chat_ui/assets/2.0x/icon-document.png"
+    "packages/flutter_chat_ui/assets/2.0x/icon-document.png",
+    "packages/flutter_chat_ui/assets/3.0x/icon-document.png"
   ],
   "packages/flutter_chat_ui/assets/icon-error.png": [
     "packages/flutter_chat_ui/assets/icon-error.png",
-    "packages/flutter_chat_ui/assets/3.0x/icon-error.png",
-    "packages/flutter_chat_ui/assets/2.0x/icon-error.png"
+    "packages/flutter_chat_ui/assets/2.0x/icon-error.png",
+    "packages/flutter_chat_ui/assets/3.0x/icon-error.png"
   ],
   "packages/flutter_chat_ui/assets/icon-seen.png": [
     "packages/flutter_chat_ui/assets/icon-seen.png",
-    "packages/flutter_chat_ui/assets/3.0x/icon-seen.png",
-    "packages/flutter_chat_ui/assets/2.0x/icon-seen.png"
+    "packages/flutter_chat_ui/assets/2.0x/icon-seen.png",
+    "packages/flutter_chat_ui/assets/3.0x/icon-seen.png"
   ],
   "packages/flutter_chat_ui/assets/icon-send.png": [
     "packages/flutter_chat_ui/assets/icon-send.png",
-    "packages/flutter_chat_ui/assets/3.0x/icon-send.png",
-    "packages/flutter_chat_ui/assets/2.0x/icon-send.png"
+    "packages/flutter_chat_ui/assets/2.0x/icon-send.png",
+    "packages/flutter_chat_ui/assets/3.0x/icon-send.png"
   ],
   "packages/wakelock_plus/assets/no_sleep.js": [
     "packages/wakelock_plus/assets/no_sleep.js"

looks like a sorting issue

@linsui is this new?

/LE: fyi https://gitlab.com/fdroid/fdroiddata/-/commit/c8c0ffa90dee9532f6d55d56e44d5739e02431ac

@licaon-kter licaon-kter added bug Something isn't working help wanted Extra attention is needed labels Mar 8, 2024
@Cranyozen
Copy link
Contributor

It seems that the signature check failed.
Line 310-318:

DOES NOT VERIFY
ERROR: APK Signature Scheme v2 signer Crequency/KitX-Mobile#1: APK integrity check failed. CHUNKED_SHA256 digest mismatch. Expected: <970ebbfc9bc4020327f8827578db94e82e02740aa3107d90ba01fdd8dbf8379c>, actual: <10bc56c4eb6b2497391c3df91eeeee31cc00aed8c4442d21e661fe0307cf001e>
2024-03-08 10:54:11,580 ERROR:
/tmp/tmpocsmu2wm/sigcp_com.crequency.kitx.mobile_5641.apk:
2024-03-08 10:54:11,581 INFO: ...NOT verified - /tmp/tmpocsmu2wm/sigcp_com.crequency.kitx.mobile_5641.apk
2024-03-08 10:54:12,236 DEBUG: > diff -r /tmp/tmpocsmu2wm/unsigned_binaries_com.crequency.kitx.mobile_5641.binary /tmp/tmpocsmu2wm/_tmp_tmpocsmu2wm_sigcp_com.crequency.kitx.mobile_5641
2024-03-08 10:54:12,455 DEBUG: removing unsigned/com.crequency.kitx.mobile_5641.apk
2024-03-08 10:54:12,483 DEBUG: removing unsigned/binaries/com.crequency.kitx.mobile_5641.binary.apk
2024-03-08 10:54:12,567 ERROR: Could not build app com.crequency.kitx.mobile: compared built binary to supplied reference binary but failed

This part is done by @Dynesshely

@Dynesshely Dynesshely changed the title F-Droid can't build [F-Droid] Can't build Mar 8, 2024
@licaon-kter
Copy link
Author

It seems that the signature check failed.

...please continue reading to find out why it failed... :)

then read my OP again

@linsui
Copy link

linsui commented Mar 8, 2024

New to me. And it never failed in the CI.

@Dynesshely Dynesshely transferred this issue from Crequency/KitX-Mobile Mar 28, 2024
@Dynesshely Dynesshely changed the title [F-Droid] Can't build [Mobile] [F-Droid] Can't build Mar 28, 2024
Copy link

Tracked by #224 .

@github-actions github-actions bot added the tracking This issue is tracking by another issue label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed tracking This issue is tracking by another issue
Projects
None yet
Development

No branches or pull requests

4 participants