Photos - F-Droid can't build
licaon-kter opened this issue · comments
Description
...
Got dependencies!
8 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
Running Gradle task 'assembleRelease'...
Checking the license for package NDK (Side by side) 23.1.7779620 in /opt/android-sdk/licenses
License for package NDK (Side by side) 23.1.7779620 accepted.
Preparing "Install NDK (Side by side) 23.1.7779620 (revision: 23.1.7779620)".
"Install NDK (Side by side) 23.1.7779620 (revision: 23.1.7779620)" ready.
Installing NDK (Side by side) 23.1.7779620 in /opt/android-sdk/ndk/23.1.7779620
"Install NDK (Side by side) 23.1.7779620 (revision: 23.1.7779620)" complete.
"Install NDK (Side by side) 23.1.7779620 (revision: 23.1.7779620)" finished.
Checking the license for package CMake 3.18.1 in /opt/android-sdk/licenses
License for package CMake 3.18.1 accepted.
Preparing "Install CMake 3.18.1 (revision: 3.18.1)".
"Install CMake 3.18.1 (revision: 3.18.1)" ready.
Installing CMake 3.18.1 in /opt/android-sdk/cmake/3.18.1
"Install CMake 3.18.1 (revision: 3.18.1)" complete.
"Install CMake 3.18.1 (revision: 3.18.1)" finished.
Font asset "MaterialIcons-Regular.otf" was tree-shaken, reducing it from 1645184 to 1324 bytes (99.9% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag when building your app.
Running Gradle task 'assembleRelease'... 684.0s
✓ Built build/app/outputs/flutter-apk/app-release.apk (18.5MB)
Archive: build/app/outputs/apk/release/app-release.apk
inflating: build/app/outputs/apk/release/META-INF/com/android/build/gradle/app-metadata.properties
inflating: build/app/outputs/apk/release/classes.dex
...snip 8<.....snip
adding: lib/x86_64/ (stored 0%)
adding: lib/x86_64/libsrclib.so (deflated 66%)
mkdir: cannot create directory ‘../../../../../../../../../../output’: Permission denied
cp: target '../../../../../../../../../../output': No such file or directory
9966e3b30d36a30c5fc6d9da5190b6b7 default-arm64-v8a.jar
99918bc4c82619a07cc24c0b29414620 default-armeabi-v7a.jar
3b6ef6c11169dfc267be92ea6dd1dbe4 default-x86.jar
cfb550a2a836c0461780ccb8b43ab2a9 default-x86_64.jar
zip warning: name not matched: prefix/*/lib
zip error: Nothing to do! (try: zip -r debug-symbols-default.zip . -i prefix/*/lib)
cp: cannot stat 'debug-symbols-default.zip': No such file or directory
Version
0.8.131 ( https://github.com/ente-io/ente/releases/tag/fdroid-v0.8.131 )
What product are you using?
Ente Photos
What platform are you using?
Mobile - Android
Hey @licaon-kter ,
Sorry for the lack of response on this thread. The team was occupied with finishing some features for our upcoming release.
I had notified everyone that the NDK version was out of sync. I have created a merge request with the updated NDK. However, it seems like the build is still failing.
Build: https://gitlab.com/ua741/fdroiddata/-/jobs/7111852093
configure: error: in `/home/vagrant/build/srclib/libsodium':
configure: error: C compiler cannot create executables
Thank you for the help @licaon-kter . I can see that v0.9.0 is now available on F-droid. We will close this issue.
Let's reopen
needs smart_auth
which needs proprietary Google libs https://github.com/Tkko/flutter_smart_auth/blob/main/android/build.gradle#L56
other projects set a special pinput.dart
to fix this
eg. non-FOSS: https://github.com/invoiceninja/admin-portal/blob/v5.0.160/lib/ui/app/pinput.dart
vs FOSS: https://github.com/invoiceninja/admin-portal/blob/v5.0.160/lib/ui/app/pinput.dart.foss
/LE: https://gitlab.com/fdroid/fdroiddata/-/commit/3f8cba2bfe8531ae1d14e68cf0700fc3743282f2
Also noticing that my app is stuck on 0.9.0 since that is the latest version available through Fdroid - hopefully a fix can be found.
Hey @licaon-kter, smart_auth
has been removed in #2483. Also F-droid hasn't seen a release since Jun 19, 2024, despite pushing multiple new tags since then. Is there anything we have to do to get the latest version out(v0.9.16)?
missed that it was ready, done 👍 https://gitlab.com/fdroid/fdroiddata/-/commit/5b5dee558738ae2dc2f7d360c5192b3e83881ad0