New submission help
-
The app complies with the inclusion criteria -
The app is not already listed in the repo or issue tracker.
-this is an updated version of graph89 which is already an F-Droid repo. New features include adding 64bit OS support -
The original app author has been notified (and does not oppose the inclusion).
-the original author is not responsive -
Donated to support the maintenance of this app in F-Droid.
Fork/app source: https://github.com/eanema/graph89 YML file in gitlab: https://gitlab.com/eanema/fdroiddata/-/blob/com.eanema.graph89/metadata/com.eanema.graph89.yml
I am attempting to release an app to F-Droid. I have forked the data repo and added a YML file to see the build process fail. I've fixed a bunch of things in the script/code but I have hit something that seems to be an issue with the build environment. (probably just me not doing something right...) I get the following error in the pipeline https://gitlab.com/eanema/fdroiddata/-/jobs/6728868486
2024-04-26 19:30:40,372 INFO: Scanning source for common problems...
2024-04-26 19:30:40,375 DEBUG: scanner is configured to use signature data from: 'suss'
2024-04-26 19:30:40,376 DEBUG: downloading 'https://fdroid.gitlab.io/fdroid-suss/suss.json'
2024-04-26 19:30:40,546 DEBUG: write 'suss.json' to cache
2024-04-26 19:30:40,547 DEBUG: next suss.json cache update due in 23:59:59.998695
2024-04-26 19:30:40,572 INFO: Removing gradle-wrapper.jar at gradle/wrapper/gradle-wrapper.jar
2024-04-26 19:30:40,611 INFO: Ignoring binary at app/src/main/assets/landscape/v200/buttonmask.bin
2024-04-26 19:30:40,611 INFO: Ignoring binary at app/src/main/assets/portrait/ti89classic/buttonmask.bin
2024-04-26 19:30:40,612 INFO: Ignoring binary at app/src/main/assets/portrait/ti89default/buttonmask.bin
2024-04-26 19:30:40,617 INFO: Building the native code
2024-04-26 19:30:40,617 INFO: Building native code in the main project
2024-04-26 19:30:40,617 DEBUG: Directory: build/com.eanema.graph89/app
2024-04-26 19:30:40,617 DEBUG: > ndk-build -j1
2024-04-26 19:30:40,618 ERROR: Could not build app com.eanema.graph89: OSError while trying to execute ndk-build -j1: [Errno 2] No such file or directory: 'ndk-build'
2024-04-26 19:30:40,618 DEBUG: Error encountered, stopping by user request.
It appears to me that it can't find the ndk-build binary but it seems to have been installed earlier in the process:
Checking the license for package NDK (Side by side) 25.1.8937393 in /opt/android-sdk/licenses
License for package NDK (Side by side) 25.1.8937393 accepted.
Preparing "Install NDK (Side by side) 25.1.8937393 v.25.1.8937393".
"Install NDK (Side by side) 25.1.8937393 v.25.1.8937393" ready.
Installing NDK (Side by side) 25.1.8937393 in /opt/android-sdk/ndk/25.1.8937393
"Install NDK (Side by side) 25.1.8937393 v.25.1.8937393" complete.
"Install NDK (Side by side) 25.1.8937393 v.25.1.8937393" finished.
Any ideas what I'm doing wrong here?
**Edit
I added the line ndk: 25.1.8937393
to the YML file and instead got the following error:
2024-04-26 21:07:15,295 DEBUG: > ndk-build -j1
Android NDK: Could not find application project directory !
Android NDK: Please define the NDK_PROJECT_PATH variable to point to it.
/opt/android-sdk/ndk/25.1.8937393/build/core/build-local.mk:151: *** Android NDK: Aborting . Stop.
2024-04-26 21:07:15,496 ERROR: Could not build app com.eanema.graph89: NDK build failed for com.eanema.graph89:1.1.7
https://gitlab.com/eanema/fdroiddata/-/jobs/6729322167
How can I define NDK_PROJECT_PATH? build.gradle calls out src/main/jni/Android.mk...