Zip files in repo now result in build errors?

Recent build of Feeder failed due to there being zip files checked in to the repo:

Fdroid recently tried to build com.nononsenseapps.feeder with versionCode 76 but encountered a failure:

Build.py failed on server for com.nononsenseapps.feeder:1.9.6
==== detail begin ====
== Installed Android Tools ==

INFO: Creating log directory
INFO: Creating temporary directory
INFO: Creating output directory
INFO: Using git version 2.11.0
INFO: Building version 1.9.6 (76) of com.nononsenseapps.feeder
INFO: Getting source for revision 1.9.6
INFO: Initialising submodules
INFO: Creating local.properties file at build/com.nononsenseapps.feeder/local.properties
INFO: Creating local.properties file at build/com.nononsenseapps.feeder/app/local.properties
INFO: Cleaned build.gradle of keysigning configs at build/com.nononsenseapps.feeder/app/build.gradle
INFO: Running 'prebuild' commands in build/com.nononsenseapps.feeder/app
INFO: Cleaning Gradle project...
INFO: Scanning source for common problems...
ERROR: Found ZIP file archive at graphics/feeder_wide.zip
ERROR: Found ZIP file archive at graphics/ic_launcher_square.zip
ERROR: Found ZIP file archive at graphics/feeder_square.zip
ERROR: Found ZIP file archive at graphics/ic_launcher_widerect.zip
ERROR: Found ZIP file archive at graphics/ic_launcher_foreground.zip
ERROR: Found ZIP file archive at graphics/ic_launcher_tallrect.zip
ERROR: Found ZIP file archive at graphics/sonsie-one.zip
ERROR: Found ZIP file archive at graphics/ic_launcher_circle.zip
INFO: Removing gradle-wrapper.jar at gradle/wrapper/gradle-wrapper.jar
INFO: Removing gradle-wrapper.jar at rome/gradle/wrapper/gradle-wrapper.jar
ERROR: Could not build app com.nononsenseapps.feeder: Can't build due to 8 errors while scanning
==== detail end ====

these zip files are for the icons and such uploaded as metadata to fdroid and play store. they are not related to the build.

is it possible to ignore zip files for a particular directory for the build?

Use:

scanignore:
 - path/file

…yes :wink:

If those files are not needed for compilation, better rm or scandelete them instead of scanignore.

thx

plus additional content so I’m allowed to post my reply

Fixed in Feeder: fix 1.9.6 (76) (f5b06082) · Commits · F-Droid / Data · GitLab.

thanks @relan. actually noticed your fix as I tried running the fdroid build locally :+1:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.