sysroot zlib plugin issue

José Antonio Fernández Fernández <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <CAD7iEcf85Koi5A-Ab=eO-XQ83ng4A1c_75QjBxS_aZuObP28CA@mail.gmail.com>
Hi everyone.
I have updated my pyqtdeploy project to use python 3.7.2 from 3.6.7. One of
the news: zlib is needed.

I have downloaded and added zlib-1.2.11.tar.gz and to sysroot.json as
follows

  "zlib": {
        "source": "zlib-1. *. *. tar.gz"
    },

The problem comes when compiling the android version:



==================================================

Building zlib...
Looking for '/home/aulla/repos/github/pineboo/src/zlib-1.*.*.tar.gz'
Found '/home/aulla/repos/github/pineboo/src/zlib-1.2.11.tar.gz'
Copying /home/aulla/repos/github/pineboo/src/zlib-1.2.11.tar.gz to
/home/aulla/repos/github/pineboo/sysroots/android-32/build
Unpacking 'zlib-1.2.11.tar.gz'
Running './configure --static
--prefix=/home/aulla/repos/github/pineboo/sysroots/android-32'
Using arm-linux-androideabi-ar
Using arm-linux-androideabi-ranlib
Using arm-linux-androideabi-nm
Building static library libz.a version 1.2.11 with
armv7a-linux-androideabi26-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.
Checking for return value of vsnprintf()... Yes.
Checking for attribute(visibility) support... Yes.
Running 'make AR=arm-linux-androideabi-ar cqs install'
armv7a-linux-androideabi26-clang -fPIC -D_LARGEFILE64_SOURCE=1
-DHAVE_HIDDEN  -c -o adler32.o adler32.c
armv7a-linux-androideabi26-clang -fPIC -D_LARGEFILE64_SOURCE=1
-DHAVE_HIDDEN  -c -o crc32.o crc32.c
armv7a-linux-androideabi26-clang -fPIC -D_LARGEFILE64_SOURCE=1
-DHAVE_HIDDEN  -c -o deflate.o deflate.c
armv7a-linux-androideabi26-clang -fPIC -D_LARGEFILE64_SOURCE=1
-DHAVE_HIDDEN  -c -o infback.o infback.c
armv7a-linux-androideabi26-clang -fPIC -D_LARGEFILE64_SOURCE=1
-DHAVE_HIDDEN  -c -o inffast.o inffast.c
armv7a-linux-androideabi26-clang -fPIC -D_LARGEFILE64_SOURCE=1
-DHAVE_HIDDEN  -c -o inflate.o inflate.c
armv7a-linux-androideabi26-clang -fPIC -D_LARGEFILE64_SOURCE=1
-DHAVE_HIDDEN  -c -o inftrees.o inftrees.c
armv7a-linux-androideabi26-clang -fPIC -D_LARGEFILE64_SOURCE=1
-DHAVE_HIDDEN  -c -o trees.o trees.c
armv7a-linux-androideabi26-clang -fPIC -D_LARGEFILE64_SOURCE=1
-DHAVE_HIDDEN  -c -o zutil.o zutil.c
armv7a-linux-androideabi26-clang -fPIC -D_LARGEFILE64_SOURCE=1
-DHAVE_HIDDEN  -c -o compress.o compress.c
armv7a-linux-androideabi26-clang -fPIC -D_LARGEFILE64_SOURCE=1
-DHAVE_HIDDEN  -c -o uncompr.o uncompr.c
armv7a-linux-androideabi26-clang -fPIC -D_LARGEFILE64_SOURCE=1
-DHAVE_HIDDEN  -c -o gzclose.o gzclose.c
armv7a-linux-androideabi26-clang -fPIC -D_LARGEFILE64_SOURCE=1
-DHAVE_HIDDEN  -c -o gzlib.o gzlib.c
armv7a-linux-androideabi26-clang -fPIC -D_LARGEFILE64_SOURCE=1
-DHAVE_HIDDEN  -c -o gzread.o gzread.c
armv7a-linux-androideabi26-clang -fPIC -D_LARGEFILE64_SOURCE=1
-DHAVE_HIDDEN  -c -o gzwrite.o gzwrite.c
arm-linux-androideabi-ar cqs rc libz.a adler32.o crc32.o deflate.o
infback.o inffast.o inflate.o inftrees.o trees.o zutil.o compress.o
uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o
arm-linux-androideabi-ar: libz.a: No existe el archivo o el directorio
make: *** [Makefile:131: libz.a] Error 1
pyqtdeploy-sysroot: Execution failed: returned exit code 2


===================================================

The problem comes from the arguments cqs of "make AR =
arm-linux-androidabi-ar cqs install". If I remove them, the compilation is
completed, but I understand that the resulting compilation is not valid.

Am I doing something wrong or is it a bug?

Thank you. regards

_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.