Hello. This is Debian Bug #836792 and this is the full URL for the bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836792
Follows a summary of the bug.
Note: The bug is about cross-compilation and about Large File Support. It includes some changes to debian/rules that you can probably ignore (that's my job), but there are also other changes (like a few missing headers here and there) that would fit in the upstream code.
Helmut Grohne writes:
zip fails to cross build from source, because it uses the build
architecture compiler (and later fails dh_strip). Simply passing a
triplet-prefixed CC to configure makes the build pass already. Doing
that produces a zip without large file support though, because configure
determines large file support using a compile and run check. Thus I
replaced that check with an equivalent compile-only check. Please
consider applying the attached patch.