btimofeev / instead-launcher-android

INSTEAD Launcher is a powerful interactive fiction engine ported to Android

Home Page:https://instead.hugeping.ru/en/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

F-Droid build failed

linsui opened this issue · comments

2021-09-22 21:30:52,453 INFO: Scanning source for common problems...
2021-09-22 21:30:52,457 INFO: Removing gradle-wrapper.jar at gradle/wrapper/gradle-wrapper.jar
2021-09-22 21:30:52,462 WARNING: Found ZIP file archive at app/src/test/resources/testgame.zip
2021-09-22 21:30:52,473 ERROR: Found gzip file archive at instead/build/lua-5.1.5.tar.gz
2021-09-22 21:30:52,473 ERROR: Found gzip file archive at instead/build/SDL2_ttf-2.0.15.tar.gz
2021-09-22 21:30:52,474 ERROR: Found gzip file archive at instead/build/SDL2-2.0.12.tar.gz
2021-09-22 21:30:52,475 ERROR: Found gzip file archive at instead/build/instead-3.4.0.tar.gz
2021-09-22 21:30:52,475 ERROR: Found gzip file archive at instead/build/SDL2_mixer-2.0.4.tar.gz
2021-09-22 21:30:52,476 ERROR: Found gzip file archive at instead/build/libiconv-1.15.tar.gz
2021-09-22 21:30:52,476 ERROR: Found gzip file archive at instead/build/SDL2_image-2.0.5.tar.gz
2021-09-22 21:30:52,588 ERROR: Found binary at instead/src/main/c/SDL2_mixer/SDL2_mixer/Xcode/Frameworks/mpg123.framework/Versions/A/mpg123
2021-09-22 21:30:52,590 ERROR: Found binary at instead/src/main/c/SDL2_mixer/SDL2_mixer/Xcode/Frameworks/modplug.framework/Versions/A/modplug
2021-09-22 21:30:52,591 ERROR: Found binary at instead/src/main/c/SDL2_mixer/SDL2_mixer/Xcode/Frameworks/Vorbis.framework/Versions/A/Vorbis
2021-09-22 21:30:52,592 ERROR: Found binary at instead/src/main/c/SDL2_mixer/SDL2_mixer/Xcode/Frameworks/OpusFile.framework/Versions/A/OpusFile
2021-09-22 21:30:52,593 ERROR: Found binary at instead/src/main/c/SDL2_mixer/SDL2_mixer/Xcode/Frameworks/Opus.framework/Versions/A/Opus
2021-09-22 21:30:52,594 ERROR: Found binary at instead/src/main/c/SDL2_mixer/SDL2_mixer/Xcode/Frameworks/Ogg.framework/Versions/A/Ogg
2021-09-22 21:30:52,596 ERROR: Found binary at instead/src/main/c/SDL2_mixer/SDL2_mixer/Xcode/Frameworks/FLAC.framework/Versions/A/FLAC
2021-09-22 21:30:52,609 ERROR: Found gzip file archive at instead/src/main/c/Instead/Instead/contrib/appimage.tar.gz
2021-09-22 21:30:52,610 ERROR: Found ZIP file archive at instead/src/main/c/Instead/Instead/contrib/instead-em.zip
2021-09-22 21:30:52,634 ERROR: Found binary at instead/src/main/c/SDL2/SDL2/Xcode/SDL/pkg-support/resources/SDL_DS_Store
2021-09-22 21:30:52,651 INFO: Removing gradle-wrapper.jar at instead/src/main/c/SDL2/SDL2/android-project/gradle/wrapper/gradle-wrapper.jar
2021-09-22 21:30:52,771 INFO: Removing gradle-wrapper.jar at instead/src/main/c/SDL2_image/SDL2_image/external/libwebp-1.0.2/gradle/wrapper/gradle-wrapper.jar
2021-09-22 21:30:52,784 ERROR: Found Java JAR file at instead/src/main/c/SDL2_image/SDL2_image/external/libwebp-1.0.2/swig/libwebp.jar
2021-09-22 21:30:52,797 ERROR: Found binary at instead/src/main/c/SDL2_image/SDL2_image/Xcode/Frameworks/webp.framework/Versions/A/webp
2021-09-22 21:30:52,834 ERROR: Found binary at instead/src/main/c/libiconv/libiconv/tests/UTF-32-snippet
2021-09-22 21:30:52,834 ERROR: Found binary at instead/src/main/c/libiconv/libiconv/tests/UTF-16BE-snippet
2021-09-22 21:30:52,836 ERROR: Found binary at instead/src/main/c/libiconv/libiconv/tests/UTF-16-snippet
2021-09-22 21:30:52,839 ERROR: Found binary at instead/src/main/c/libiconv/libiconv/tests/UCS-2LE-snippet
2021-09-22 21:30:52,839 ERROR: Found binary at instead/src/main/c/libiconv/libiconv/tests/UCS-4LE-snippet
2021-09-22 21:30:52,840 ERROR: Found binary at instead/src/main/c/libiconv/libiconv/tests/UTF-16LE-snippet
2021-09-22 21:30:52,840 ERROR: Found binary at instead/src/main/c/libiconv/libiconv/tests/ISO-2022-KR-snippet
2021-09-22 21:30:52,841 ERROR: Found binary at instead/src/main/c/libiconv/libiconv/tests/UTF-32BE-snippet
2021-09-22 21:30:52,841 ERROR: Found binary at instead/src/main/c/libiconv/libiconv/tests/ISO-2022-CN-snippet
2021-09-22 21:30:52,842 ERROR: Found binary at instead/src/main/c/libiconv/libiconv/tests/UCS-2BE-snippet
2021-09-22 21:30:52,842 ERROR: Found binary at instead/src/main/c/libiconv/libiconv/tests/ISO-2022-CN-EXT-snippet
2021-09-22 21:30:52,843 ERROR: Found binary at instead/src/main/c/libiconv/libiconv/tests/UTF-32LE-snippet
2021-09-22 21:30:52,845 ERROR: Found binary at instead/src/main/c/libiconv/libiconv/tests/UCS-4BE-snippet
2021-09-22 21:30:52,886 ERROR: Found binary at instead/src/main/c/SDL2_ttf/SDL2_ttf/Xcode/Frameworks/FreeType.framework/Versions/A/FreeType
2021-09-22 21:30:52,897 ERROR: Could not build app org.emunix.insteadlauncher: Can't build due to 33 errors while scanning
2021-09-22 21:30:52,897 DEBUG: Error encoutered, stopping by user request.

Those test files can be removed. Other files need to be build from source. Could you please take a look? Thanks!

Hello, can we write

preassemble:
      - :instead:downloadDependencies

instead of

prebuild:
      - cd ../instead
      - gradle downloadDependencies

This method worked before without deleting test data.

Sorry, it was a mistake. We don't allow binary deps be downloaded manully but the preassemble is not covered by our scanner. All manully downloading should be put in prebuild. They should be fetched from some trusted maven repo or built from source. Those gzip files are source code so they need to be unziped. I guess binaries in SDL2_mixer/Xcode and SDL2/Xcode are for macos only and can be removed. So basically only libwebp.jar need to be built.

Ok. I will remove the binaries and send a merge request with an update to the build script.

Thanks!

@linsui I created a separate gradle task that removes binaries a077744 and updated metadata https://gitlab.com/fdroid/fdroiddata/-/merge_requests/9826 The application compiled successfully in CI. Only I did not understand why the pipeline checkupdate did not pass.

Thanks!

The checkupdates failed because you used a commit containing a verion code higher than the one in the latest tag.