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

F-Droid reproducible build failed #94

Closed
licaon-kter opened this issue Sep 15, 2023 · 3 comments
Closed

F-Droid reproducible build failed #94

licaon-kter opened this issue Sep 15, 2023 · 3 comments

Comments

@licaon-kter
Copy link

licaon-kter commented Sep 15, 2023

ref: https://monitor.f-droid.org/builds/log/com.shifthackz.aisdv1.app.foss/165#site-footer

Local APK:
com.shifthackz.aisdv1.app.foss_165.7z.001.zip
com.shifthackz.aisdv1.app.foss_165.7z.002.zip
(remove .zip from both names, then unpack .001)

Upstream APK: https://github.com/ShiftHackZ/Stable-Diffusion-Android/releases/tag/0.5.2

The difflog is 1.1Gb (!!):
sdai2.log.7z.001.zip
sdai2.log.7z.002.zip
sdai2.log.7z.003.zip
(remove .zip from all names, then unpack .001)

fyi @linsui @obfusk

/LE: fyi https://gitlab.com/fdroid/fdroiddata/-/commit/4fc53aa63a3fbf644ed1a105fa4a1cd3c9e0c8a9
/LE2: added diff log

@obfusk
Copy link

obfusk commented Sep 15, 2023

I'm guessing the problem is the dependency onnxruntimeVersion = 'latest.release'.

Looks like upstream's APK picked up 1.15.1 (the latest version two weeks ago when their APK was built) and our build picked up 1.16.0 (the current latest version being 1.16.0-rc1 as of September 9th it seems).

Edit: according to https://mvnrepository.com/artifact/com.microsoft.onnxruntime/onnxruntime-android

@licaon-kter
Copy link
Author

Will try to force that version then. brb

@licaon-kter
Copy link
Author

licaon-kter commented Sep 18, 2023

Great detective work! That was it 🎉

@ShiftHackZ pls reference an exact version, for reproducible reasons too, as expected, anytime we build it it should get the right version that you upstream used 'back then' 😉

/LE: https://gitlab.com/fdroid/fdroiddata/-/commit/af52da7c0f2b09990a0526d8b8266659e51bf804

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants