Package Details: android-aarch64-zlib 1.2.13-1

Git Clone URL: (read-only, click to copy)
Package Base: android-aarch64-zlib
Description: A compression/decompression Library (android)
Upstream URL:
Licenses: custom:zlib
Submitter: hipersayan_x
Maintainer: hipersayan_x
Last Packager: hipersayan_x
Votes: 1
Popularity: 0.008897
First Submitted: 2019-04-23 23:32 (UTC)
Last Updated: 2022-12-08 14:49 (UTC)

Latest Comments

fft commented on 2022-06-18 11:27 (UTC) (edited on 2022-06-18 11:28 (UTC) by fft)

For shared library building need to apply this commit (currently on 'develop' branch):

BTW, 'export CXX' and 'case "$_android_arch" in' is excessive in current PKGBUILD.

Martchus commented on 2022-04-21 12:20 (UTC) (edited on 2022-04-21 12:20 (UTC) by Martchus)

Yes, the build system somehow determines that building the shared library is not supported:

==> Installing missing dependencies...                                                                                                                                                                                                                                                                                      
resolving dependencies...                                                                                                                                                                                                                                                                                                   
looking for conflicting packages...                                                                                                                                                                                                                                                                                         

Packages (1) android-ndk-r23.b-1
==> Starting prepare()...                                                                                                                                     
ls: cannot access '/opt/android-sdk/build-tools': No such file or directory                                                                                   
patching file configure                                                                                                                                       
Hunk #1 succeeded at 219 (offset 11 lines).                                                                                                                   
Hunk #2 succeeded at 357 (offset 11 lines).                                                                                                                   
patching file                                                                                                                                     
Hunk #1 succeeded at 34 with fuzz 2.
==> Starting build()...                                                                                                                                       
ls: cannot access '/opt/android-sdk/build-tools': No such file or directory                                                                                   
Using ar                                                                                                                                                      
Checking for shared library support...                                                                                                                        
No shared library support; try without defining CC and CFLAGS                                                                                                 
Building static library libz.a version 1.2.12 with /opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android24-clang.                  
Checking for size_t... Yes.                                                                                                                                   
Checking for off64_t... Yes.                                                                                                                                  
Checking for fseeko... Yes.                                                                                                                                                                                                                                                                                                 
Checking for strerror... Yes.                                                                                                                                 
Checking for unistd.h... Yes.                                                                                                                                 
Checking for stdarg.h... Yes.                                                                                                                                                                                                                                                                                               
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().                                                                                 
Checking for vsnprintf() in stdio.h... Yes.

Maybe I can come up with a fix and maybe it is even an upstream bug.

I'm currently not using the package so I'm also not trying to rush a fix. (I suppose if the Qt 6 ecosystem matures, e.g. if Kirigami is ported, I'll look into Android + Qt 6 more actively again.)

hipersayan_x commented on 2022-04-18 14:26 (UTC)

The shared library is enabled but isn't building it, in previous versions it worked fine, its maybe a bug of this version, just send me the patches to fix it, I'm quite busy right now to work in this.

Martchus commented on 2022-04-16 23:16 (UTC)

Looks like the shared library is missing in the latest update. Is this intended? I have currently several packages in my repository using the shared library which I needed to rebuild. However, linking each of those shared libraries statically against zlib is likely not the best solution so it would make sense to keep the shared library. Of course the same counts for the other archs.

deeedob commented on 2022-04-13 21:47 (UTC) (edited on 2022-04-13 21:47 (UTC) by deeedob)

update url to /fossils

blizzz commented on 2021-12-12 21:59 (UTC)

Similar to android-aarch64-libjpeg-turbo, install fails with:

/pah/to/android-aarch64-zlib/PKGBUILD: line 49: /opt/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-strip: No such file or directory

Works when appending "|| true" to lines 49f, but not sure whether this is the right thing to do.