kivy / python-for-android

Turn your Python application into an Android APK
https://python-for-android.readthedocs.io
MIT License
8.35k stars 1.86k forks source link

Comprehensive list of broken python3 recipes #1514

Closed AndreMiras closed 5 years ago

AndreMiras commented 5 years ago

Just like it was done before for python2 and python3crystax, we need a list of broken python3 recipes https://github.com/kivy/python-for-android/issues/1402

strubbi77 commented 5 years ago

sqlalchemy is broken with python 3.7.1

cwd is /home/strubbi77/.local/share/python-for-android/build/other_builds/sqlalchemy-python3-python3/armeabi-v7a__ndk_target_21/sqlalchemy

Traceback (most recent call last): File "/usr/local/bin/p4a", line 10, in sys.exit(main()) File "/usr/local/lib/python3.7/dist-packages/pythonforandroid/toolchain.py", line 1033, in main ToolchainCL() File "/usr/local/lib/python3.7/dist-packages/pythonforandroid/toolchain.py", line 553, in init getattr(self, args.subparsername.replace('-', ''))(args) File "/usr/local/lib/python3.7/dist-packages/pythonforandroid/toolchain.py", line 150, in wrapper_func build_dist_from_args(ctx, dist, args) File "/usr/local/lib/python3.7/dist-packages/pythonforandroid/toolchain.py", line 191, in build_dist_from_args build_recipes(build_order, python_modules, ctx) File "/usr/local/lib/python3.7/dist-packages/pythonforandroid/build.py", line 633, in build_recipes recipe.build_arch(arch) File "/usr/local/lib/python3.7/dist-packages/pythonforandroid/recipe.py", line 867, in build_arch self.build_compiled_components(arch) File "/usr/local/lib/python3.7/dist-packages/pythonforandroid/recipe.py", line 884, in build_compiled_components build_dir = glob.glob('lib.*')[0] IndexError: list index out of range

RobertFlatt commented 5 years ago

[Previously posted in #1576 , suggested more appropriate here]

I tried to build all the user modules for python3, kivy. Of course a successful apk build does not necessarily imply the apk contents are correct!

The following dependencies are required in addition to those for a simple .py build (for which I use https://groups.google.com/forum/#!topic/kivy-users/Lf4zlYmLVPo ) sudo apt-get install -y autoconf libtool cmake libffi-dev pkg-config

I use python-for-android (master, installed 1/12/2019) I tested each with a placeholder main.py and: p4a apk --requirements=<module>,python3,kivy --arch=armeabi-v7a --ndk_version 17c --android_api 28 --ndk-api 21

The following modules successfully build an apk:

['Pillow', 'audiostream', 'cffi', 'cryptography', 'enum34', 'ffmpeg',
'ffpyplayer_codecs', 'freetype', 'harfbuzz', 'idna', 'ipaddress', 'jedi',
'jpeg', 'leveldb', 'libcurl', 'libexpat', 'libffi', 'libiconv', 'libogg',
'libsecp256k1', 'libshine', 'libvorbis', 'libx264', 'libxml2', 'libxslt',
'lxml','numpy', 'openal','openssl', 'pbkdf2', 'png', 'pycparser',
'pycryptodome', 'pyjnius', 'pysdl2','requests', 'sdl2_image', 'sdl2_mixer',
'sdl2_ttf', 'six', 'snappy', 'spine','sqlite3']

BUT, of these, the following fail with error ".. _ctypes.."" if module order is changed --requirements=python3,kivy,\<module>

['Pillow','cffi','cryptography','enum34','idna','ipaddress','pbkdf2',
'pycparser','pycryptodome','requests','spine']

Which confirms that order can be important.

The following do not build because they have no dependency on 'python3', but do have a dependency on some combination of 'python2'/'hostpython2'/ 'python3crystax'/'hostpython3'

['apsw','atom','babel','boost','cdecimal','cherrypy','coverage','cymunk',
'dateutil','decorator','doubleratchet','enaml','ethash','evdev','feedparser',
'gevent','gevent-websocket','greenlet','groestlcoin_hash','icu','ifaddrs',
'kiwisolver','libglob','libnacl','libpq','libsodium','libtorrent',
'libtribler','libzbar','libzmq','m2crypto','msgpack-python','netifaces',
'omemo','omemo-backend-signal','pil','preppy','psycopg2','pyaml','pyasnl',
'pycrypto','pyethereum','pyicu','pyleveldb','pymunk','pynacl','pyogg',
'pyopenal','pyopenssl','pyproj','pyrxp','pysha3','pyusb','pyyaml','pyzmq',
'regex','ruamel.yaml','scrypt','secp256k1','shapely','simple-crypt',
'sqlalchemy','storm','sympy','ujson','vispy','websocket-client','wsaccl',
'x3dh','xeddsa','zbar','zeroconf','zope','zope_interface']

The following does not build because of a dependency I can't identify: ['flask'] The following do not build because they have a dependency on 'kivy' ! ['kivent_core','kivent_cymunk','kivent_particles','kivent_polygen']

The following does not build because: 'p4a.cmake': No such file or directory ['libmysqlclient']

The following does not build because of cmake errors ['opencv']

The following does not build because (seems strange): crypt.h: No such file or directory ['reportlab']

The following does not build because has dependency on 'incremental', 'constantly' ['twisted']

The following does not build because NDK v18 needed ['vlc']

RobertFlatt commented 5 years ago

Next I looked in the .apk for .so files in addition to the default set of .so I found that most builds silently create an incomplete apk in my setup (the NONE items below). Silently, is to my mind an issue! Just starting to dig through why the apks are missing extra .so

EDIT: some are in 'site-packages' directory, I was not looking there.

Pillow NONE audiostream NONE cffi _ctypes.cpython-37m.so cryptography _ctypes.cpython-37m.so _hashlib.cpython-37m.so _ssl.cpython-37m.so enum34 NONE ffmpeg NONE ffpyplayer_codecs NONE freetype NONE harfbuzz NONE idna NONE ipaddress NONE jedi NONE jpeg NONE leveldb NONE libcurl _hashlib.cpython-37m.so _ssl.cpython-37m.so libexpat NONE libffi _ctypes.cpython-37m.so libiconv NONE libogg NONE libsecp256k1 NONE libshine NONE libvorbis FAIL libx264 NONE libxml2 NONE libxslt NONE lxml NONE numpy NONE openal NONE openssl _hashlib.cpython-37m.so _ssl.cpython-37m.so pbkdf2 NONE png NONE pycparser NONE pycryptodome _ctypes.cpython-37m.so pyjnius FAIL pysdl2 NONE requests NONE sdl2_image NONE sdl2_mixer NONE sdl2_ttf NONE snappy NONE spine NONE sqlite3 _sqlite3.cpython-37m.so

RobertFlatt commented 5 years ago

A little more detail....

Build environment:

sudo apt-get install -y autoconf libtool cmake libffi-dev pkg-config libjpeg9-dev python3-pil Using python-for-android - master, installed 1/19/2019

.p4a

--dist_name=tstlib
--private .
--package=com.example.tstlib
--name Tstlib
--arch=armeabi-v7a
--sdk_dir /home/bobf/androidtools/sdk
--ndk_dir /home/bobf/androidtools/android-ndk-r17c
--ndk_version 17c
--android_api 28
--ndk-api 21
--version 0.0.0

Build command: p4a apk --requirements=<module>,python3,kivy Resulting module builds can be divided into four groups:

1) Modules that build and APK contains object files (complete set ?) 2) Modules that build and APK contains no extra files (silent fails) 3) Modules that do not build APK because of dependency on 'python2', etc. 4) Modules that do not build APK because of other dependency.

  1. Contains object files:
['Pillow', 'audiostream', 'cffi', 'cryptography', 'enum34', 'ffmpeg',
'ffpyplayer_codecs', 'freetype', 'harfbuzz', 'idna', 'ipaddress', 'jedi',
'jpeg', 'leveldb', 'libcurl', 'libexpat', 'libffi', 'libiconv', 'libogg',
'libsecp256k1', 'libshine',  'libx264', 'libxml2', 'libxslt','pycrypto',
'lxml','netifaces','numpy', 'openal','openssl', 'pbkdf2', 'png', 'pycparser',
'pycryptodome', 'pyjnius','pymunk', 'pysdl2','reportlab','requests', 'sdl2_image',
'sdl2_mixer','sdl2_ttf', 'six', 'snappy', 'spine','sqlite3']

These respectively contain:

Pillow : site-packages/PIL/_imaging.so site-packages/PIL/_imagingft.so site-packages/PIL/_imagingmath.so site-packages/PIL/_imagingmorph.so audiostream : site-packages/audiostream/core.so site-packages/audiostream/platform/plat_android.so site-packages/audiostream/sources/puredata.so site-packages/audiostream/sources/thread.so site-packages/audiostream/sources/wave.so cffi : modules/_ctypes.cpython-37m.so site-packages/_cffi_backend.so cryptography : modules/_ctypes.cpython-37m.so modules/_hashlib.cpython-37m.so modules/_ssl.cpython-37m.so site-packages/cryptography/hazmat/bindings/_constant_time.so site-packages/cryptography/hazmat/bindings/_openssl.so site-packages/cryptography/hazmat/bindings/_padding.so site-packages/_cffi_backend.so libcurl : modules/_hashlib.cpython-37m.so modules/_ssl.cpython-37m.so libffi : modules/_ctypes.cpython-37m.so lxml : site-packages/lxml/builder.so site-packages/lxml/etree.so site-packages/lxml/html/clean.so site-packages/lxml/html/diff.so site-packages/lxml/objectify.so site-packages/lxml/_elementpath.so netifaces : site-packages/netifaces.so
numpy : site-packages/numpy/core/multiarray.so site-packages/numpy/core/umath.so site-packages/numpy/core/_dummy.so site-packages/numpy/core/_multiarray_tests.so site-packages/numpy/core/_operand_flag_tests.so site-packages/numpy/core/_rational_tests.so site-packages/numpy/core/_struct_ufunc_tests.so site-packages/numpy/core/_umath_tests.so site-packages/numpy/fft/fftpack_lite.so site-packages/numpy/linalg/lapack_lite.so site-packages/numpy/linalg/_umath_linalg.so site-packages/numpy/random/mtrand.so openssl : modules/_hashlib.cpython-37m.so modules/_ssl.cpython-37m.so pycrypto : modules/_hashlib.cpython-37m.so modules/_ssl.cpython-37m.so site-packages/Crypto/Cipher/_AES.so site-packages/Crypto/Cipher/_ARC2.so site-packages/Crypto/Cipher/_ARC4.so site-packages/Crypto/Cipher/_Blowfish.so site-packages/Crypto/Cipher/_CAST.so site-packages/Crypto/Cipher/_DES.so site-packages/Crypto/Cipher/_DES3.so site-packages/Crypto/Cipher/_XOR.so site-packages/Crypto/Hash/MD2.so site-packages/Crypto/Hash/MD4.so site-packages/Crypto/Hash/RIPEMD160.so site-packages/Crypto/Hash/SHA224.so site-packages/Crypto/Hash/SHA256.so site-packages/Crypto/Hash/SHA384.so site-packages/Crypto/Hash/SHA512.so site-packages/Crypto/Util/cpuid.so site-packages/Crypto/Util/galois.so site-packages/Crypto/Util/strxor.so site-packages/Crypto/Util/_counter.so site-packages/netifaces.so pycryptodome : modules/_ctypes.cpython-37m.so site-packages/Crypto/Cipher/_ARC4.so site-packages/Crypto/Cipher/_chacha20.so site-packages/Crypto/Cipher/_raw_aes.so site-packages/Crypto/Cipher/_raw_arc2.so site-packages/Crypto/Cipher/_raw_blowfish.so site-packages/Crypto/Cipher/_raw_cast.so site-packages/Crypto/Cipher/_raw_cbc.so site-packages/Crypto/Cipher/_raw_cfb.so site-packages/Crypto/Cipher/_raw_ctr.so site-packages/Crypto/Cipher/_raw_des.so site-packages/Crypto/Cipher/_raw_des3.so site-packages/Crypto/Cipher/_raw_ecb.so site-packages/Crypto/Cipher/_raw_ocb.so site-packages/Crypto/Cipher/_raw_ofb.so site-packages/Crypto/Cipher/_Salsa20.so site-packages/Crypto/Hash/_BLAKE2b.so site-packages/Crypto/Hash/_BLAKE2s.so site-packages/Crypto/Hash/_keccak.so site-packages/Crypto/Hash/_MD2.so site-packages/Crypto/Hash/_MD4.so site-packages/Crypto/Hash/_RIPEMD160.so site-packages/Crypto/Hash/_SHA224.so site-packages/Crypto/Hash/_SHA256.so site-packages/Crypto/Hash/_SHA384.so site-packages/Crypto/Hash/_SHA512.so site-packages/Crypto/Protocol/_scrypt.so site-packages/Crypto/Util/_cpuid.so site-packages/Crypto/Util/_galois.so site-packages/Crypto/Util/_strxor.so site-packages/_cffi_backend.so pymunk : modules/_ctypes.cpython-37m.so site-packages/pymunk/libchipmunk.so site-packages/_cffi_backend.so reportlab : site-packages/numpy/core/multiarray.so site-packages/numpy/core/umath.so site-packages/numpy/core/_dummy.so site-packages/numpy/core/_multiarray_tests.so site-packages/numpy/core/_operand_flag_tests.so site-packages/numpy/core/_rational_tests.so site-packages/numpy/core/_struct_ufunc_tests.so site-packages/numpy/core/_umath_tests.so site-packages/numpy/fft/fftpack_lite.so site-packages/numpy/linalg/lapack_lite.so site-packages/numpy/linalg/_umath_linalg.so site-packages/numpy/random/mtrand.so site-packages/reportlab/graphics/_renderPM.so site-packages/reportlab/lib/_rl_accel.so
spine : site-packages/spine/animation/animation.so site-packages/spine/animation/animationstate.so site-packages/spine/animation/attachmenttimeline.so site-packages/spine/animation/colortimeline.so site-packages/spine/animation/curvetimeline.so site-packages/spine/animation/drawordertimeline.so site-packages/spine/animation/eventtimeline.so site-packages/spine/animation/ffdtimeline.so site-packages/spine/animation/flipxtimeline.so site-packages/spine/animation/flipytimeline.so site-packages/spine/animation/ikconstrainttimeline.so site-packages/spine/animation/rotatetimeline.so site-packages/spine/animation/scaletimeline.so site-packages/spine/animation/timeline.so site-packages/spine/animation/trackentry.so site-packages/spine/animation/translatetimeline.so site-packages/spine/attachment/attachment.so site-packages/spine/attachment/boundingboxattachment.so site-packages/spine/attachment/meshattachment.so site-packages/spine/attachment/regionattachment.so site-packages/spine/attachment/skinnedmeshattachment.so site-packages/spine/bone.so site-packages/spine/ikconstraint.so site-packages/spine/skeleton/skeleton.so site-packages/spine/skeleton/skeletonbounds.so site-packages/spine/skeleton/skeletondata.so site-packages/spine/slot.so site-packages/spine/spineevent.so site-packages/spine/utils.so sqlite3 : modules/_sqlite3.cpython-37m.so

2) Silent fails:

['enum34', 'ffmpeg', 'ffpyplayer_codecs', 'freetype', 'harfbuzz', 'idna', 'ipaddress', 'jedi', 'jpeg', 'leveldb', 'libexpat', 'libiconv', 'libogg', 'libsecp256k1', 'libshine', 'libx264', 'libxml2', 'libxslt', 'openal', 'pbkdf2', 'png', 'pycparser', 'pyjnius', 'pysdl2', 'requests', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'six', 'snappy','zeroconf']

Lots of reasons here, not clear to me I can correctly diagnose, but I see things like: enum34 bypasses build on python3 (this might be OK in this case?)) libshine builds .a but it is not copied for apk libxml2 builds .al but not .a, then tries to copy .a for apk

3) Dependency is Python2, etc:

['apsw','atom','babel','boost','cdecimal','cherrypy','coverage','cymunk',
'dateutil','decorator','doubleratchet','enaml','ethash','evdev','feedparser',
'gevent','gevent-websocket','greenlet','groestlcoin_hash','icu','ifaddrs',
'kiwisolver','libglob','libnacl','libpq','libsodium','libtorrent',
'libtribler','libvorbis','libzbar','libzmq','m2crypto','msgpack-python',
'omemo','omemo-backend-signal','pil','preppy','psycopg2','pyaml','pyasnl',
'pyethereum','pyicu','pyleveldb','pynacl','pyogg',
'pyopenal','pyopenssl','pyproj','pyrxp','pysha3','pyusb','pyyaml','pyzmq',
'regex','ruamel.yaml','scrypt','secp256k1','shapely','simple-crypt',
'sqlalchemy','storm','sympy','ujson','vispy','websocket-client','wsaccl',
'x3dh','xeddsa','zbar','zope','zope_interface']

4) Other dependencies:

['flask','kivent_core','kivent_cymunk','kivent_particles','kivent_polygen',
'libmysqlclient','opencv','twisted','vlc']

Build Log Files:

log_no_object.zip log_no_apk.zip log_has_object.zip

inclement commented 5 years ago

There must be something extra going on here, your list of silent fails contains several modules that I build all the time and know to work. It's completely possible that there's some issue that causes them to not be built in some circumstances that don't match mine, which could well be a bug, but I also don't think I've ever seen other people hit issues with them.

I'm thinking in particular of sdl2_image, sdl2_mixer, sdl2_ttf and pyjnius, which are core Kivy dependencies and so included in almost every apk anyone has ever built with p4a (a bit less so recently :) ), though I'd also strongly expect jedi, six and pysdl2 to work.

I'll try to replicate your method at some point to see what happens.

ghost commented 5 years ago

I can confirm pysdl2, sdl2_image, sdl2_ttf, pyjnius, png if that's used through PIL (pretty sure it is), jpeg (again through PIL), and libxml2 (used through lxml/python-docx) work for me, as in I actually used them to do things on Android.

inclement commented 5 years ago

@Ham-Merhead You keep mentioning extra .so files, are you aware that several of these recipes are not expected to build include any? In particular, python modules like pysdl2 and jedi.

Also, none of your "Contains object files" examples mention the libs directory which is where the object files end up for most recipes (e.g. sdl2_image leads to libs/armeabi-v7a/libSDL2_image.so, and should be present in every APK as it's a dependency of Kivy). Are you actually checking in there?

RobertFlatt commented 5 years ago

@inclement @JonasT Thanks for your interest. I saw several people in the user group having problems with requirements not working for them. Got interested in why that would be, and how to explain to them what to do. Need all the insight I can get.

are you aware that several of these recipes are not expected to build include any?

Yes, I speculate on that for enum34 [stdlib contains enum, is that the same thing?], and as JonasT points out pyjnius would be another case.

Where do I find that 'not expected' information?

And if a requirement doesn't add anything to the apk, is it a requirement?

libs/armeabi-v7a/libSDL2_image.so, ....Are you actually checking in there?

My editing error, those 3 ['sdl2_image', 'sdl2_mixer', 'sdl2_ttf'] are in both my 'contain object' and 'silent fail' lists.

I was not automatically looking in 'lib/armeabi-v7a', I've rerun the failed tests, I currently use a conservative 'clean_all' between each test which means this takes a while. The additional test looks for case insensitive 'module_name' in lib. This found new files in 6 cases, great, thank you for the suggestion.

leveldb : ./lib/armeabi-v7a/libleveldb.so libexpat : ./lib/armeabi-v7a/libexpat.so libiconv : ./lib/armeabi-v7a/libiconv.so libogg : ./lib/armeabi-v7a/libogg.so libsecp256k1 : ./lib/armeabi-v7a/libsecp256k1.so openal : ./lib/armeabi-v7a/libopenal.so

Also I see 'ipaddress' is in stdlib, perhaps this is never a requirement?

png if that's used through PIL (pretty sure it is), jpeg (again through PIL)

Is 'PIL' built in? Where is it? 'Pillow' puts 'PIL' in site-packages, png and jpeg don't.

libxml2 (used through lxml/python-docx) work for me, as in I actually used them to do things on Android.

Yes, the best thing would be automated testing on Android; presumably via adb. For me, for now, for automated testing, checking the apk contents is a practical start point. And that 'not expected' information would improve the test quality.

'libxml2' is really interesting, because init.py builds the '.la' but not the '.a'. It then copies the '.a' it didn't build..... Disclaimer: I'm not an expert on p4a, there could well be something I'm missing.

            # Ensure we only build libxml2.la as if we do everything
            # we'll need the glob dependency which is a big headache
            shprint(sh.make, "libxml2.la", _env=env)

            shutil.copyfile('.libs/libxml2.a',
                            join(self.ctx.libs_dir, 'libxml2.a'))

The object files I still can't find are:

['enum34', 'ffmpeg', 'ffpyplayer_codecs', 'freetype', 'harfbuzz', 'idna',
'jedi', 'jpeg',  'libshine', 'libx264', 'libxml2', 'libxslt',  'pbkdf2',
'png', 'pycparser',  'pysdl2', 'requests', 'six', 'snappy','zeroconf']

EDIT: Update I just found the ffmpeg files in lib, but not named ffmpeg, no others with this issue.

ghost commented 5 years ago

Where do I find that 'not expected' information?

It needs to be hardcoded for each recipe, they all invoke different build systems so without knowing how it's supposed to looked like afterwards, there is no automated way to determine whether they would normally be expected to create native code, or python code, or whatever else.

And if a requirement doesn't add anything to the apk, is it a requirement?

That is a misunderstanding, they all add something to the apk. It's just not always native code (no .so file), but instead might be e.g. .pyo/.py files in the site packages folder

RobertFlatt commented 5 years ago

@JonasT Thanks for the help, I'm getting there slowly. Have found some .py and additional .so Will update you guys as I figure out (or not) where things are.

The one that really bugs me is static libraries '.a'. I can see them (mostly) being built and copied to 'self.ctx.libs_dir', but they don't make it into the apk. (with any extension). And I can't find any bootstrap code that copies '.a'.

ghost commented 5 years ago

@Ham-Merhead regarding static libraries, that is normal/expected, since static libraries are by nature compiled statically into the app main binary. This means that 1. they are only useful with a compiler and not at runtime and hence the .a file is never standalone shipped in the apk, 2. during compilation it becomes part of the program binary instead which in practice should be libmain.so.

So the most direct effect without closer binary examination should only be that libmain.so becomes larger (gradually with any additionally used .a library) simply by how static linking works

Edit: also yes that means it is pretty much impossible to check them. I would just put these recipes on a separate list that can't be automatically verified. The only way to do it practically that I can think of is write a small test program that actually tries to use them and runs in an emulator as part of the test, but of course that would be a lot more effort than just peeking into the .apk

RobertFlatt commented 5 years ago

Thanks again.

ghost commented 5 years ago

@Ham-Merhead thanks for looking into this :+1: helping out with questions is the least I can do

RobertFlatt commented 5 years ago

@JonasT @inclement I need some suggestions, failing that I'm starting to think "bug rumor". Maybe one of you could try to replicate with the example at end of this post.

These fail in Android with: "ModuleNotFoundError: No module named 'name'"

['harfbuzz', 'jpeg', 'libshine', 'libx264', 'libxml2', 'libxslt', 'png', 'snappy']

With the exception of 'snappy' all build .a files. I can find these in the build (see below) but nothing in the apk (The size of libmain.so does not change)

~/.local/share/python-for-android>find . -name *harfbuzz.a
./build/libs_collections/freetype/libharfbuzz.a
./build/other_builds/harfbuzz/armeabi-v7a__ndk_target_21/harfbuzz/src/.libs/libharfbuzz.a

~/.local/share/python-for-android>find . -name *jpeg.a
./build/libs_collections/jpeg/libjpeg.a
./build/libs_collections/jpeg/libturbojpeg.a
./build/other_builds/jpeg/armeabi-v7a__ndk_target_21/jpeg/libjpeg.a
./build/other_builds/jpeg/armeabi-v7a__ndk_target_21/jpeg/libturbojpeg.a

~/.local/share/python-for-android>find . -name *libshine.a
./build/other_builds/libshine/armeabi-v7a__ndk_target_21/libshine/.libs/libshine.a
./build/other_builds/libshine/armeabi-v7a__ndk_target_21/libshine/lib/libshine.a

~/.local/share/python-for-android>find . -name *libx264.a
./build/other_builds/libx264/armeabi-v7a__ndk_target_21/libx264/lib/libx264.a
./build/other_builds/libx264/armeabi-v7a__ndk_target_21/libx264/libx264.a

~/.local/share/python-for-android>find . -name *libxml2.a
./build/libs_collections/libxml2/libxml2.a
./build/other_builds/libxml2/armeabi-v7a__ndk_target_21/libxml2/.libs/libxml2.a

~/.local/share/python-for-android>find . -name *libxslt.a
./build/libs_collections/libxslt/libxslt.a
./build/other_builds/libxslt/armeabi-v7a__ndk_target_21/libxslt/libxslt/.libs/libxslt.a

~/.local/share/python-for-android>find . -name *png.a
./build/other_builds/png/armeabi-v7a__ndk_target_21/png/obj/local/armeabi-v7a/libpng.a

Bug Rumor Example:

import libxml2
from kivy.app import App
from kivy.uix.label import Label
from kivy.graphics import Color, Rectangle
from kivy.core.window import Window

class Demo(App):
    def set_background_color(self):
        with self.label.canvas.before:
            Color(0.5, 0.0, 0.5)
            Rectangle(size=Window.size) 

    def on_start(self):
        pass

    def _resize_handler(self,obj,size):
        self.set_background_color()

    def build(self):
        Window.bind(size=self._resize_handler)
        self.label = Label(text = 'Greetings Earthlings')
        self.set_background_color()
        return self.label

if __name__ == '__main__':
    Demo().run()

.p4a

--dist_name=libxml2
--requirements=libxml2,python3,kivy
--private .
--package=com.example.tstlib
--name Tstlib
--arch=armeabi-v7a
--sdk_dir /home/bobf/androidtools/sdk
--ndk_dir /home/bobf/androidtools/android-ndk-r17c
--ndk_version 17c
--android_api 28
--ndk-api 21
--version 0.0.0
inclement commented 5 years ago

"ModuleNotFoundError: No module named 'name'"

That is expected, none of these are Python modules.

With the exception of 'snappy' all build .a files. I can find these in the build (see below) but nothing in the apk (The size of libmain.so does not change)

Does the size of the APK change, or more specifically the size of any of the other included .so files? I don't think all of these would be linked with libmain.so, but maybe with sdl2_image or other.

RobertFlatt commented 5 years ago

You are a genius:

/mnt/c/users/bobf/documents/pm/tstlib>ls -l dir_harfbuzz/*.apk
-rwxrwxrwx 1 bobf bobf 10313474 Jan 26 14:52 dir_harfbuzz/harfbuzz-0.0.0-debug.apk

/mnt/c/users/bobf/documents/pm/tstlib>ls -l dir_jpeg/*.apk
-rwxrwxrwx 1 bobf bobf 10314580 Jan 26 14:54 dir_jpeg/jpeg-0.0.0-debug.apk

/mnt/c/users/bobf/documents/pm/tstlib>ls -l dir_libshine/*.apk
-rwxrwxrwx 1 bobf bobf 10312390 Jan 26 14:57 dir_libshine/libshine-0.0.0-debug.apk

/mnt/c/users/bobf/documents/pm/tstlib>ls -l dir_libx264/*.apk
-rwxrwxrwx 1 bobf bobf 10313520 Jan 26 14:57 dir_libx264/libx264-0.0.0-debug.apk

/mnt/c/users/bobf/documents/pm/tstlib>ls -l dir_libxml2/*.apk
-rwxrwxrwx 1 bobf bobf 10313538 Jan 26 14:58 dir_libxml2/libxml2-0.0.0-debug.apk

/mnt/c/users/bobf/documents/pm/tstlib>ls -l dir_libxslt/*.apk
-rwxrwxrwx 1 bobf bobf 10313491 Jan 26 14:58 dir_libxslt/libxslt-0.0.0-debug.apk

/mnt/c/users/bobf/documents/pm/tstlib>ls -l dir_png/*.apk
-rwxrwxrwx 1 bobf bobf 10313477 Jan 26 15:01 dir_png/png-0.0.0-debug.apk

/mnt/c/users/bobf/documents/pm/tstlib>ls -l dir_snappy/*.apk
-rwxrwxrwx 1 bobf bobf 10311248 Jan 26 15:26 dir_snappy/snappy-0.0.0-debug.apk

Just a matter of looking a little deeper ........

RobertFlatt commented 5 years ago

@inclement Deeper it seems is not necessarily clearer, the '_python_bundle' are all the same size ! The private.mp3 are different, I assume this is a packing thing related to the changed .p4a and main.py

Also I did not mention earlier, but builds for ['ffpyplayer_codecs', 'freetype'] also apparently have no additional contents. These respectively depend on ['harfbuzz', 'libshine', 'libx264']which seems like an odd coincidence.

So that is 10 recipes with no clear extra contents, and identical sized '_python_bundle' The recipes appear to build, but not change the '_python_bundle' It still looks like something here ain't exactly right.

/mnt/c/users/bobf/documents/pm/tstlib>du -sb dir_harfbuzz/assets/*
25572790        dir_harfbuzz/assets/_python_bundle
677     dir_harfbuzz/assets/main.py
8058412 dir_harfbuzz/assets/private.mp3

/mnt/c/users/bobf/documents/pm/tstlib>du -sb dir_jpeg/assets/*
25572790        dir_jpeg/assets/_python_bundle
673     dir_jpeg/assets/main.py
8058453 dir_jpeg/assets/private.mp3

/mnt/c/users/bobf/documents/pm/tstlib>du -sb dir_libshine/assets/*
25572790        dir_libshine/assets/_python_bundle
677     dir_libshine/assets/main.py
8058449 dir_libshine/assets/private.mp3

/mnt/c/users/bobf/documents/pm/tstlib>du -sb dir_libx264/assets/*
25572790        dir_libx264/assets/_python_bundle
676     dir_libx264/assets/main.py
8058469 dir_libx264/assets/private.mp3

/mnt/c/users/bobf/documents/pm/tstlib>du -sb dir_libxml2/assets/*
25572790        dir_libxml2/assets/_python_bundle
676     dir_libxml2/assets/main.py
8058459 dir_libxml2/assets/private.mp3

/mnt/c/users/bobf/documents/pm/tstlib>du -sb dir_libxslt/assets/*
25572790        dir_libxslt/assets/_python_bundle
676     dir_libxslt/assets/main.py
8058464 dir_libxslt/assets/private.mp3

/mnt/c/users/bobf/documents/pm/tstlib>du -sb dir_png/assets/*
25572790        dir_png/assets/_python_bundle
672     dir_png/assets/main.py
8058434 dir_png/assets/private.mp3

/mnt/c/users/bobf/documents/pm/tstlib>du -sb dir_snappy/assets/*
25572790        dir_snappy/assets/_python_bundle
675     dir_snappy/assets/main.py
8058415 dir_snappy/assets/private.mp3

/mnt/c/users/bobf/documents/pm/tstlib>du -sb dir_ffpyplayer_codecs/assets/*
25572790        dir_ffpyplayer_codecs/assets/_python_bundle
686     dir_ffpyplayer_codecs/assets/main.py
8058447 dir_ffpyplayer_codecs/assets/private.mp3

/mnt/c/users/bobf/documents/pm/tstlib>du -sb dir_freetype/assets/*
25572790        dir_freetype/assets/_python_bundle
677     dir_freetype/assets/main.py
8058427 dir_freetype/assets/private.mp3

Of course this '_python_bundle' size is not generally the case, for example:

/mnt/c/users/bobf/documents/pm/tstlib>du -sb dir_Pillow/assets/*
31071514        dir_Pillow/assets/_python_bundle
675     dir_Pillow/assets/main.py
9955390 dir_Pillow/assets/private.mp3

EDIT: and the lib files are all the same size

inclement commented 5 years ago

the '_python_bundle' are all the same size !

This really doesn't matter, not everything is in the _python_bundle folder.

On quick inspection, this list includes things like freetype and harfbuzz which generate static object files that won't do anything unless something else uses them (maybe sdl2_ttf). Same for png ang jpeg, probably used by sdl2_image. The ffpyplayer_codecs are probably used only by ffpyplayer.

It looks likely that most or all of these are building fine.

RobertFlatt commented 5 years ago

OK, we agree this is mostly about static object files. And we agree that these files are likley building fine.

But I do not see that these builds are copied to the apk.

I can't find them in an apk, and I cant find the code that copies static files (.a .o) in the sdl2 bootstrap.

Where do you think these files are in the apk?

This is not magic (though it might be obtuse), it is rules based, and it is testable. Else it may not be what we think it is.

Btw, I previously referenced this 'lib' size data but didn't show it. I infer it shows the different .a are not in 'lib' because 'lib' is always the same size. Also 'lib' is the location in the apk for files named "lib.so", it would be a good guess for files "lib.a". But that is not the case, as a simple 'ls' shows.

We know the the .a/.o are not in "_python_bundle", or "lib" So where are they?

/mnt/c/users/bobf/documents/pm/tstlib>du -sb dir_ffpyplayer_codecs/lib/a*
4783724 dir_ffpyplayer_codecs/lib/armeabi-v7a
/mnt/c/users/bobf/documents/pm/tstlib>du -sb dir_freetype/lib/a*
4783724 dir_freetype/lib/armeabi-v7a
/mnt/c/users/bobf/documents/pm/tstlib>du -sb dir_harfbuzz/lib/a*
4783724 dir_harfbuzz/lib/armeabi-v7a
/mnt/c/users/bobf/documents/pm/tstlib>du -sb dir_jpeg/lib/a*
4783724 dir_jpeg/lib/armeabi-v7a
/mnt/c/users/bobf/documents/pm/tstlib>du -sb dir_libshine/lib/a*
4783724 dir_libshine/lib/armeabi-v7a
/mnt/c/users/bobf/documents/pm/tstlib>du -sb dir_libx264/lib/a*
4783724 dir_libx264/lib/armeabi-v7a
/mnt/c/users/bobf/documents/pm/tstlib>du -sb dir_libxml2/lib/a*
4783724 dir_libxml2/lib/armeabi-v7a
/mnt/c/users/bobf/documents/pm/tstlib>du -sb dir_libxslt/lib/a*
4783724 dir_libxslt/lib/armeabi-v7a
/mnt/c/users/bobf/documents/pm/tstlib>du -sb dir_png/lib/a*
4783724 dir_png/lib/armeabi-v7a
/mnt/c/users/bobf/documents/pm/tstlib>du -sb dir_snappy/lib/a*
4783724 dir_snappy/lib/armeabi-v7a
inclement commented 5 years ago

The .a files are static object files. Their purpose is to be included in binaries compiled by other programs, not to be copied into the APK on their own. I haven't checked, but it wouldn't be surprising if some of these recipes are expected to do nothing else on their own and exist only to be used by others (e.g. the png static object files are probably used by sdl2_image).

If you want to understand this, I recommend learning C, or at least reading about what these files are. A quick google returned https://stackoverflow.com/questions/30186256/what-is-the-difference-between-o-a-and-so-files as the type of question you may be interested in.

RobertFlatt commented 5 years ago

Ah. The lights go on. A readelf on libSLD2_image.so shows in part a symbol from 'png'

00065a70 00005d16 R_ARM_JUMP_SLOT 000434e5 png_create_read_struct

Testable :) Though the way static files are used here, standalone testing is not that meaningful. Thank you for your patience.

Is there any way to tell from the __init__.pythat a recipe does not build standalone? (Other than it builds .a)

I have had perhaps hundreds of thousands of lines of C under my fingers. So some inkling of the basics.

RobertFlatt commented 5 years ago

The big picture

Recipes looking good: ['Pillow', 'android', 'audiostream', 'cffi', 'cryptography', 'enum34', 'ffmpeg', 'ffpyplayer_codecs', 'freetype', 'harfbuzz', 'idna', 'ipaddress', 'jedi', 'jpeg', 'leveldb', 'libcurl', 'libexpat', 'libffi', 'libiconv', 'libogg', 'libsecp256k1', 'libshine', 'libx264', 'libxml2', 'libxslt', 'lxml', 'netifaces', 'numpy', 'openal', 'openssl', 'pbkdf2', 'png', 'protobuf_cpp', 'pycparser', 'pycrypto', 'pycryptodome', 'pyjnius', 'pymunk', 'pysdl2', 'reportlab', 'requests', 'sdl2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'six', 'snappy', 'spine', 'sqlite3', 'zeroconf']

Recipes with APK build error: ['apsw', 'atom', 'babel', 'boost', 'cdecimal', 'cherrypy', 'coverage', 'cymunk', 'dateutil', 'decorator', 'doubleratchet', 'enaml', 'ethash', 'evdev', 'feedparser', 'ffpyplayer', 'flask', 'gevent', 'gevent-websocket', 'greenlet', 'groestlcoin_hash', 'icu', 'ifaddrs', 'kivent_core', 'kivent_cymunk', 'kivent_particles', 'kivent_polygen', 'kivykiwisolver', 'libgeos', 'libglob', 'libmysqlclient', 'libnacl', 'libpq', 'libsodium', 'libtorrent', 'libtribler', 'libvorbis', 'libzbar', 'libzmq', 'm2crypto', 'msgpack-python', 'mysqldb', 'omemo', 'omemo-backend-signal', 'opencv', 'pil', 'preppy', 'psycopg2', 'pyaml', 'pyasn1', 'pyethereum', 'pyicu', 'pyleveldb', 'pynacl', 'pyogg', 'pyopenal', 'pyopenssl', 'pyproj', 'pyrxp', 'pysha3', 'pytz', 'pyusb', 'pyyaml', 'pyzmq', 'regex', 'ruamel.yaml', 'scrypt', 'secp256k1', 'shapely', 'simple-crypt', 'sqlalchemy', 'storm', 'sympy', 'twisted', 'ujson', 'vispy', 'vlc', 'websocket-client', 'wsaccel', 'x3dh', 'xeddsa', 'zbar', 'zope', 'zope_interface']

Details:

Pillow :
   assets/_python_bundle/site-packages/PIL
android :
   assets/_python_bundle/site-packages/android
apsw :
   Build failed: Didn't find any valid dependency graphs
atom :
   Build failed: Didn't find any valid dependency graphs
audiostream :
   assets/_python_bundle/site-packages/audiostream
babel :
   Build failed: Didn't find any valid dependency graphs
boost :
   Build failed: Didn't find any valid dependency graphs
cdecimal :
   Build failed: Didn't find any valid dependency graphs
cffi :
   assets/_python_bundle/site-packages/cffi
   assets/_python_bundle/site-packages/pycparser
   assets/_python_bundle/site-packages/_cffi_backend.so
   lib/armeabi-v7a/libffi.so
   assets/_python_bundle/modules/_ctypes.cpython-37m.so
cherrypy :
   Build failed: Didn't find any valid dependency graphs
coverage :
   Build failed: Didn't find any valid dependency graphs
cryptography :
   assets/_python_bundle/site-packages/asn1crypto
   assets/_python_bundle/site-packages/cffi
   assets/_python_bundle/site-packages/cryptography
   assets/_python_bundle/site-packages/idna
   assets/_python_bundle/site-packages/ipaddress.py
   assets/_python_bundle/site-packages/pycparser
   assets/_python_bundle/site-packages/_cffi_backend.so
   lib/armeabi-v7a/libcrypto1.1.so
   lib/armeabi-v7a/libffi.so
   lib/armeabi-v7a/libssl1.1.so
   assets/_python_bundle/modules/_ctypes.cpython-37m.so
   assets/_python_bundle/modules/_hashlib.cpython-37m.so
   assets/_python_bundle/modules/_ssl.cpython-37m.so
cymunk :
   Build failed: Didn't find any valid dependency graphs
dateutil :
   Build failed: Didn't find any valid dependency graphs
decorator :
   Build failed: Didn't find any valid dependency graphs
doubleratchet :
   Build failed: Didn't find any valid dependency graphs
enaml :
   Build failed: Didn't find any valid dependency graphs
enum34 :
   assets/_python_bundle/stdlib.zip/enum.py
ethash :
   Build failed: Didn't find any valid dependency graphs
evdev :
   Build failed: Didn't find any valid dependency graphs
feedparser :
   Build failed: Didn't find any valid dependency graphs
ffmpeg :
   lib/armeabi-v7a/libavcodec.so
   lib/armeabi-v7a/libavdevice.so
   lib/armeabi-v7a/libavfilter.so
   lib/armeabi-v7a/libavformat.so
   lib/armeabi-v7a/libavutil.so
   lib/armeabi-v7a/libpostproc.so
   lib/armeabi-v7a/libswresample.so
   lib/armeabi-v7a/libswscale.so
ffpyplayer :
    Build ERROR
ffpyplayer_codecs :
   Recipe only used by other recipes
flask :
   Build failed: Didn't find any valid dependency graphs
freetype :
   Recipe only used by other recipes
gevent :
   Build failed: Didn't find any valid dependency graphs
gevent-websocket :
   Build failed: Didn't find any valid dependency graphs
greenlet :
   Build failed: Didn't find any valid dependency graphs
groestlcoin_hash :
   Build failed: Didn't find any valid dependency graphs
harfbuzz :
   Recipe only used by other recipes
icu :
   Build failed: Didn't find any valid dependency graphs
idna :
   assets/_python_bundle/site-packages/idna
ifaddrs :
   Build failed: Didn't find any valid dependency graphs
ipaddress :
   assets/_python_bundle/site-packages/ipaddress.py
jedi :
   assets/_python_bundle/site-packages/jedi
jpeg :
   Recipe only used by other recipes
kivent_core :
    Build ERROR
kivent_cymunk :
   Build failed: Didn't find any valid dependency graphs
kivent_particles :
    Build ERROR
kivent_polygen :
    Build ERROR
kivykiwisolver :
    No APK
leveldb :
   lib/armeabi-v7a/libgnustl_shared.so
   lib/armeabi-v7a/libleveldb.so
libcurl :
   lib/armeabi-v7a/libcrypto1.1.so
   lib/armeabi-v7a/libcurl.so
   lib/armeabi-v7a/libssl1.1.so
   assets/_python_bundle/modules/_hashlib.cpython-37m.so
   assets/_python_bundle/modules/_ssl.cpython-37m.so
libexpat :
   lib/armeabi-v7a/libexpat.so
libffi :
   lib/armeabi-v7a/libffi.so
   assets/_python_bundle/modules/_ctypes.cpython-37m.so
libgeos :
   Build failed: Didn't find any valid dependency graphs
libglob :
   Build failed: Didn't find any valid dependency graphs
libiconv :
   lib/armeabi-v7a/libiconv.so
libmysqlclient :
    No APK
libnacl :
   Build failed: Didn't find any valid dependency graphs
libogg :
   lib/armeabi-v7a/libogg.so
libpq :
   Build failed: Didn't find any valid dependency graphs
libsecp256k1 :
   lib/armeabi-v7a/libsecp256k1.so
libshine :
   Recipe only used by other recipes
libsodium :
   Build failed: Didn't find any valid dependency graphs
libtorrent :
   Build failed: Didn't find any valid dependency graphs
libtribler :
   Build failed: Didn't find any valid dependency graphs
libvorbis :
    No APK
libx264 :
   Recipe only used by other recipes
libxml2 :
   Recipe only used by other recipes
libxslt :
   Recipe only used by other recipes
libzbar :
   Build failed: Didn't find any valid dependency graphs
libzmq :
   Build failed: Didn't find any valid dependency graphs
lxml :
   assets/_python_bundle/site-packages/lxml
m2crypto :
   Build failed: Didn't find any valid dependency graphs
msgpack-python :
   Build failed: Didn't find any valid dependency graphs
mysqldb :
   Build failed: Didn't find any valid dependency graphs
netifaces :
   assets/_python_bundle/site-packages/netifaces.so
numpy :
   assets/_python_bundle/site-packages/numpy
omemo :
   Build failed: Didn't find any valid dependency graphs
omemo-backend-signal :
   Build failed: Didn't find any valid dependency graphs
openal :
   lib/armeabi-v7a/libopenal.so
opencv :
    No APK
openssl :
   lib/armeabi-v7a/libcrypto1.1.so
   lib/armeabi-v7a/libssl1.1.so
   assets/_python_bundle/modules/_hashlib.cpython-37m.so
   assets/_python_bundle/modules/_ssl.cpython-37m.so
pbkdf2 :
   assets/_python_bundle/site-packages/pbkdf2.py
pil :
   Build failed: Didn't find any valid dependency graphs
png :
   Recipe only used by other recipes
preppy :
   Build failed: Didn't find any valid dependency graphs
protobuf_cpp :
   assets/_python_bundle/site-packages/cffi
   assets/_python_bundle/site-packages/google
   assets/_python_bundle/site-packages/protobuf-3.6.1-py3.7-nspkg.pth
   assets/_python_bundle/site-packages/pycparser
   assets/_python_bundle/site-packages/_cffi_backend.so
   lib/armeabi-v7a/libffi.so
   lib/armeabi-v7a/libgnustl_shared.so
   assets/_python_bundle/modules/_ctypes.cpython-37m.so
psycopg2 :
   Build failed: Didn't find any valid dependency graphs
pyaml :
   Build failed: Didn't find any valid dependency graphs
pyasn1 :
   Build failed: Didn't find any valid dependency graphs
pycparser :
   assets/_python_bundle/site-packages/pycparser
pycrypto :
   assets/_python_bundle/site-packages/Crypto
   lib/armeabi-v7a/libcrypto1.1.so
   lib/armeabi-v7a/libssl1.1.so
   assets/_python_bundle/modules/_hashlib.cpython-37m.so
   assets/_python_bundle/modules/_ssl.cpython-37m.so
pycryptodome :
   assets/_python_bundle/site-packages/cffi
   assets/_python_bundle/site-packages/Crypto
   assets/_python_bundle/site-packages/pycparser
   assets/_python_bundle/site-packages/_cffi_backend.so
   lib/armeabi-v7a/libffi.so
   assets/_python_bundle/modules/_ctypes.cpython-37m.so
pyethereum :
   Build failed: Didn't find any valid dependency graphs
pyicu :
   Build failed: Didn't find any valid dependency graphs
pyjnius :
   assets/_python_bundle/site-packages/jnius
pyleveldb :
   Build failed: Didn't find any valid dependency graphs
pymunk :
   assets/_python_bundle/site-packages/cffi
   assets/_python_bundle/site-packages/pycparser
   assets/_python_bundle/site-packages/pymunk
   assets/_python_bundle/site-packages/pymunkoptions
   assets/_python_bundle/site-packages/_cffi_backend.so
   lib/armeabi-v7a/libffi.so
   assets/_python_bundle/modules/_ctypes.cpython-37m.so
pynacl :
   Build failed: Didn't find any valid dependency graphs
pyogg :
   Build failed: Didn't find any valid dependency graphs
pyopenal :
   Build failed: Didn't find any valid dependency graphs
pyopenssl :
   Build failed: Didn't find any valid dependency graphs
pyproj :
   Build failed: Didn't find any valid dependency graphs
pyrxp :
   Build failed: Didn't find any valid dependency graphs
pysdl2 :
   assets/_python_bundle/site-packages/sdl2
pysha3 :
   Build failed: Didn't find any valid dependency graphs
pytz :
   Build failed: Didn't find any valid dependency graphs
pyusb :
   Build failed: Didn't find any valid dependency graphs
pyyaml :
   Build failed: Didn't find any valid dependency graphs
pyzmq :
   Build failed: Didn't find any valid dependency graphs
regex :
   Build failed: Didn't find any valid dependency graphs
reportlab :
   assets/_python_bundle/site-packages/reportlab
requests :
   assets/_python_bundle/site-packages/requests
ruamel.yaml :
   Build failed: Didn't find any valid dependency graphs
scrypt :
   Build failed: Didn't find any valid dependency graphs
sdl2 :
   lib/armeabi-v7a/libSDL2.so
sdl2_image :
   lib/armeabi-v7a/libSDL2_image.so
sdl2_mixer :
   lib/armeabi-v7a/libSDL2_mixer.so
sdl2_ttf :
   lib/armeabi-v7a/libSDL2_ttf.so
secp256k1 :
   Build failed: Didn't find any valid dependency graphs
shapely :
   Build failed: Didn't find any valid dependency graphs
simple-crypt :
   Build failed: Didn't find any valid dependency graphs
six :
   assets/_python_bundle/site-packages/six.py
snappy :
   Recipe only used by other recipes
spine :
   assets/_python_bundle/site-packages/spine
sqlalchemy :
   Build failed: Didn't find any valid dependency graphs
sqlite3 :
   lib/armeabi-v7a/libsqlite3.so
   assets/_python_bundle/modules/_sqlite3.cpython-37m.so
storm :
   Build failed: Didn't find any valid dependency graphs
sympy :
   Build failed: Didn't find any valid dependency graphs
twisted :
   Build failed: Didn't find any valid dependency graphs
ujson :
   Build failed: Didn't find any valid dependency graphs
vispy :
   Build failed: Didn't find any valid dependency graphs
vlc :
    Build ERROR
websocket-client :
   Build failed: Didn't find any valid dependency graphs
wsaccel :
   Build failed: Didn't find any valid dependency graphs
x3dh :
   Build failed: Didn't find any valid dependency graphs
xeddsa :
   Build failed: Didn't find any valid dependency graphs
zbar :
   Build failed: Didn't find any valid dependency graphs
zeroconf :
   assets/_python_bundle/site-packages/zeroconf.py
zope :
   Build failed: Didn't find any valid dependency graphs
zope_interface :
   Build failed: Didn't find any valid dependency graphs
strubbi77 commented 5 years ago

Errors like

sqlalchemy : Build failed: Didn't find any valid dependency graphs

are easy to overcome, the dependencies in every file under recipes/packagename/_init.py

depends = [('python2', 'python3crystax'), 'setuptools']

have to be changed to: depends = ['setuptools']

Then probably other errors will occur

AndreMiras commented 5 years ago

I've updated ci/constants.py narrowing down the BROKEN_RECIPES_PYTHON3 list. I'm not going to update the BROKEN_RECIPES_PYTHON2 for reasons. But if someone want to give it a try, feel free.

RobertFlatt commented 5 years ago

Getting better. Results of my attempt to build the recipes follow. If anybody knows how to build any of the failed recipes please let me know.

Recipes looking good: ['Pillow', 'android', 'apsw', 'atom', 'audiostream', 'babel', 'boost', 'cffi', 'coverage', 'cryptography', 'cymunk', 'dateutil', 'decorator', 'doubleratchet', 'enum34', 'ffmpeg', 'ffpyplayer_codecs', 'freetype', 'gevent', 'gevent-websocket', 'greenlet', 'harfbuzz', 'idna', 'ifaddrs', 'ipaddress', 'jedi', 'jpeg', 'leveldb', 'libcurl', 'libexpat', 'libffi', 'libiconv', 'libnacl', 'libogg', 'libpq', 'libsecp256k1', 'libshine', 'libsodium', 'libtorrent', 'libx264', 'libxml2', 'libxslt', 'lxml', 'msgpack-python', 'netifaces', 'numpy', 'openal', 'opencv', 'openssl', 'pbkdf2', 'png', 'preppy', 'protobuf_cpp', 'pyaml', 'pyasn1', 'pycparser', 'pycrypto', 'pyjnius', 'pymunk', 'pynacl', 'pyogg', 'pyopenal', 'pyopenssl', 'pysdl2', 'pysha3', 'pytz', 'pyusb', 'pyyaml', 'reportlab', 'requests', 'scrypt', 'sdl2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'secp256k1', 'simple-crypt', 'six', 'snappy', 'spine', 'sqlite3', 'vispy', 'websocket-client', 'wsaccel', 'zeroconf']

Recipes with no APK created: ['cdecimal', 'cherrypy', 'enaml', 'ethash', 'evdev', 'feedparser', 'ffpyplayer', 'flask', 'fontconfig', 'groestlcoin_hash', 'icu', 'kivent_core', 'kivent_cymunk', 'kivent_particles', 'kivent_polygen', 'kivykiwisolver', 'libgeos', 'libglob', 'libmysqlclient', 'libtribler', 'libvorbis', 'libzbar', 'libzmq', 'm2crypto', 'mysqldb', 'omemo', 'omemo-backend-signal', 'pil', 'psycopg2', 'pycryptodome', 'pyethereum', 'pyicu', 'pyleveldb', 'pyproj', 'pyrxp', 'pyzmq', 'regex', 'ruamel.yaml', 'shapely', 'sqlalchemy', 'storm', 'sympy', 'twisted', 'ujson', 'vlc', 'x3dh', 'xeddsa', 'zbar', 'zope', 'zope_interface']

Test .p4a

--requirements=<recipe>,python3,kivy
--arch=armeabi-v7a
--ndk_version 17c
--android_api 28
--ndk-api 21

Test depends sudo apt-get install -y autoconf libtool cmake libffi-dev pkg-config libjpeg9-dev python3-pil

Test log from failed builds:

cdecimal :
   mpdecimal.h:63:4: error: #error "cannot use CONFIG_64 with 32-bit header."
   mpdecimal.h:152:4: error: #error "unsupported platform: need mpd_size_t == mpd_uint_t"
   typearith.h:601:4: error: #error "adapt mul_size_t() and mulmod_size_t()"
cherrypy :
   Build failed: Didn't find any valid dependency graphs
enaml :
   Build failed: Didn't find any valid dependency graphs
ethash :
    fatal error: crypt.h: No such file or directory
evdev :
   The linux/input.h header file is missing
feedparser :
   Build failed: Didn't find any valid dependency graphs
ffpyplayer :
   Found in BROKEN_RECIPES_PYTHON3
   distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('cython')
flask :
   Build failed: Didn't find any valid dependency graphs
fontconfig :
   688: Android NDK: Module main depends on undefined modules: python_shared
groestlcoin_hash :
    fatal error: crypt.h: No such file or directory
    fatal error: crypt.h: No such file or directory
icu :
   Found in BROKEN_RECIPES_PYTHON3
   RuntimeError: icu needs an android api <= 19
kivent_core :
   Found in BROKEN_RECIPES_PYTHON3
   ModuleNotFoundError: No module named 'kivy'
kivent_cymunk :
   Found in BROKEN_RECIPES_PYTHON3
   ModuleNotFoundError: No module named 'kivy'
kivent_particles :
   Found in BROKEN_RECIPES_PYTHON3
   ModuleNotFoundError: No module named 'kivy'
kivent_polygen :
   Found in BROKEN_RECIPES_PYTHON3
   ModuleNotFoundError: No module named 'kivy'
kivykiwisolver :
     Could not fetch URL https://pypi.org/simple/kivykiwisolver/:
libgeos :
    fatal error: vector: No such file or directory
libglob :
   Found in BROKEN_RECIPES_PYTHON3
   ValueError: '--sysroot' is not in list
libmysqlclient :
   /bin/cp: cannot stat '/usr/local/lib/python3.6/dist-packages/pythonforandroid/recipes/libmysqlclient/p4a.cmake': No such file or directory
libtribler :
   Build failed: Didn't find any valid dependency graphs
libvorbis :
   configure: error: Ogg >= 1.0 required !
libzbar :
   configure.ac:109: error: possibly undefined macro: AM_ICONV
libzmq :
   arm-linux-androideabi-g++: error: crtbegin_so.o: No such file or directory
   arm-linux-androideabi-g++: error: crtend_so.o: No such file or directory
m2crypto :
   SWIG/_m2crypto_wrap.c:9493:19: error: dereferencing pointer to incomplete type
   SWIG/_m2crypto_wrap.c:9720:48: error: invalid application of 'sizeof' to incomplete type 'struct stack_st'
mysqldb :
   /bin/cp: cannot stat '/usr/local/lib/python3.6/dist-packages/pythonforandroid/recipes/libmysqlclient/p4a.cmake': No such file or directory
omemo :
   /bin/cp: cannot stat '_crypto_sign.so': No such file or directory
omemo-backend-signal :
   /bin/cp: cannot stat '_crypto_sign.so': No such file or directory
pil :
   SyntaxError: Missing parentheses in call to 'print'
psycopg2 :
   Found in BROKEN_RECIPES_PYTHON3
   Error: pg_config executable not found.
pycryptodome :
   src/common.h:62:9: error: unknown type name '__int8'
   src/common.h:62:16: error: conflicting types for 'int8_t'
   src/common.h:63:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint8_t'
   src/common.h:64:9: error: unknown type name '__int16'
   src/common.h:64:17: error: conflicting types for 'int16_t'
   src/common.h:65:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint16_t'
   src/common.h:66:9: error: unknown type name '__int32'
   src/common.h:67:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint32_t'
   src/common.h:68:9: error: unknown type name '__int64'
   src/common.h:68:17: error: conflicting types for 'int64_t'
   src/common.h:69:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint64_t'
   src/common.h:176:2: error: #error No routines for aligned memory
pyethereum :
    fatal error: crypt.h: No such file or directory
pyicu :
   RuntimeError: icu needs an android api <= 19
pyleveldb :
    fatal error: crypt.h: No such file or directory
pyproj :
   error: cannot open crtbegin_dynamic.o: No such file or directory
   error: cannot open crtend_android.o: No such file or directory
   error: cannot find -lc
   error: cannot find -ldl
   nad2bin.c:80: error: undefined reference to 'strcmp'
   collect2: error: ld returned 1 exit status
pyrxp :
    fatal error: crypt.h: No such file or directory
pyzmq :
   arm-linux-androideabi-g++: error: crtbegin_so.o: No such file or directory
   arm-linux-androideabi-g++: error: crtend_so.o: No such file or directory
regex :
    fatal error: crypt.h: No such file or directory
ruamel.yaml :
   Build failed: Didn't find any valid dependency graphs
shapely :
    fatal error: vector: No such file or directory
sqlalchemy :
   IndexError: list index out of range
storm :
   Found in BROKEN_RECIPES_PYTHON3
   SyntaxError: invalid syntax
sympy :
   Found in BROKEN_RECIPES_PYTHON3
   Please install the mpmath package with a version >= 0.19
twisted :
   Build failed: Didn't find any valid dependency graphs
ujson :
    fatal error: crypt.h: No such file or directory
vlc :
   Found in BROKEN_RECIPES_PYTHON3
x3dh :
   /bin/cp: cannot stat '_crypto_sign.so': No such file or directory
xeddsa :
   /bin/cp: cannot stat '_crypto_sign.so': No such file or directory
zbar :
   configure.ac:109: error: possibly undefined macro: AM_ICONV
zope :
   Build failed: Didn't find any valid dependency graphs
zope_interface :
   Build failed: Didn't find any valid dependency graphs
ghost commented 5 years ago

For what it's worth, pil is expected to break, it's a Python 2-only library. (It also breaks if you install & try to use it on desktop, it's nothing induced by python-for-android)

AndreMiras commented 5 years ago

Awesome research @Ham-Merhead ! I'm curious about the Recipes with no APK created list. How is that? What does it mean?

inclement commented 5 years ago

Build failed: Didn't find any valid dependency graphs

This means that the recipe, or its dependencies, pull in something incompatible with your other requirements. In most cases it's because something is written to depend on 'python2' or 'hostpython2'.

RobertFlatt commented 5 years ago

@AndreMiras Thanks I was not clear, for details scroll down that post to "Test log from failed builds" I parsed the log file for the reason (?) for each fail.

As @JonasT pointed out 'pil' is a case that will never occur and can be removed from the list. And it looks like @strubbi77 is already on it with 7 dependency graph cases. Subject to merge?

It seems I should be able to build the fatal error: crypt.h: No such file or directory cases I have /usr/include/crypt.h but the build must be looking someplace else, and installing libgcrypt20-dev didn't help, any ideas?

Equally interesting (to me) is what additional files a good build produces. A snapshot now might be valuable information in the future. This is an excuse to post the log of all tests:


Pillow :
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/PIL/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
android :
   assets/_python_bundle/site-packages/android/*
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
apsw :
   assets/_python_bundle/site-packages/apsw.so
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libsqlite3.so
   assets/_python_bundle/modules/_sqlite3.cpython-37m.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
atom :
   assets/_python_bundle/site-packages/atom/*
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libgnustl_shared.so
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
audiostream :
   assets/_python_bundle/site-packages/audiostream/*
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
babel :
   assets/_python_bundle/site-packages/babel/*
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/pytz/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
boost :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libc++_shared.so
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
cdecimal :
   mpdecimal.h:63:4: error: #error "cannot use CONFIG_64 with 32-bit header."
   mpdecimal.h:152:4: error: #error "unsupported platform: need mpd_size_t == mpd_uint_t"
   typearith.h:601:4: error: #error "adapt mul_size_t() and mulmod_size_t()"
cffi :
   assets/_python_bundle/site-packages/cffi/*
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/pycparser/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   assets/_python_bundle/site-packages/_cffi_backend.so
   lib/armeabi-v7a/libffi.so
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_ctypes.cpython-37m.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
cherrypy :
   Build failed: Didn't find any valid dependency graphs
coverage :
   assets/_python_bundle/site-packages/coverage/*
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
cryptography :
   assets/_python_bundle/site-packages/asn1crypto/*
   assets/_python_bundle/site-packages/cffi/*
   assets/_python_bundle/site-packages/cryptography/*
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/idna/*
   assets/_python_bundle/site-packages/ipaddress.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/pycparser/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   assets/_python_bundle/site-packages/_cffi_backend.so
   lib/armeabi-v7a/libcrypto1.1.so
   lib/armeabi-v7a/libffi.so
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libssl1.1.so
   assets/_python_bundle/modules/_ctypes.cpython-37m.so
   assets/_python_bundle/modules/_hashlib.cpython-37m.so
   assets/_python_bundle/modules/_ssl.cpython-37m.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
cymunk :
   assets/_python_bundle/site-packages/cymunk/*
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
dateutil :
   assets/_python_bundle/site-packages/dateutil/*
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
decorator :
   assets/_python_bundle/site-packages/decorator.pyc
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
doubleratchet :
   assets/_python_bundle/site-packages/asn1crypto/*
   assets/_python_bundle/site-packages/cffi/*
   assets/_python_bundle/site-packages/cryptography/*
   assets/_python_bundle/site-packages/doubleratchet/*
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/idna/*
   assets/_python_bundle/site-packages/ipaddress.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/pycparser/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   assets/_python_bundle/site-packages/_cffi_backend.so
   lib/armeabi-v7a/libcrypto1.1.so
   lib/armeabi-v7a/libffi.so
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libssl1.1.so
   assets/_python_bundle/modules/_ctypes.cpython-37m.so
   assets/_python_bundle/modules/_hashlib.cpython-37m.so
   assets/_python_bundle/modules/_ssl.cpython-37m.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
enaml :
   Build failed: Didn't find any valid dependency graphs
enum34 :
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
ethash :
    fatal error: crypt.h: No such file or directory
evdev :
   The linux/input.h header file is missing
feedparser :
   Build failed: Didn't find any valid dependency graphs
ffmpeg :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libavcodec.so
   lib/armeabi-v7a/libavdevice.so
   lib/armeabi-v7a/libavfilter.so
   lib/armeabi-v7a/libavformat.so
   lib/armeabi-v7a/libavutil.so
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libpostproc.so
   lib/armeabi-v7a/libswresample.so
   lib/armeabi-v7a/libswscale.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
ffpyplayer :
   Found in BROKEN_RECIPES_PYTHON3
   distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('cython')
ffpyplayer_codecs :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
flask :
   Build failed: Didn't find any valid dependency graphs
fontconfig :
    688: Android NDK: Module main depends on undefined modules: python_shared
freetype :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
gevent :
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/gevent/*
   assets/_python_bundle/site-packages/greenlet.so
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
gevent-websocket :
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/geventwebsocket/*
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
greenlet :
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/greenlet.so
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
groestlcoin_hash :
    fatal error: crypt.h: No such file or directory
    fatal error: crypt.h: No such file or directory
harfbuzz :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
icu :
   Found in BROKEN_RECIPES_PYTHON3
   RuntimeError: icu needs an android api <= 19
idna :
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/idna/*
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
ifaddrs :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libifaddrs.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
ipaddress :
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/ipaddress.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
jedi :
   assets/_python_bundle/site-packages/jedi/*
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
jpeg :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
kivent_core :
   Found in BROKEN_RECIPES_PYTHON3
   ModuleNotFoundError: No module named 'kivy'
kivent_cymunk :
   Found in BROKEN_RECIPES_PYTHON3
   ModuleNotFoundError: No module named 'kivy'
kivent_particles :
   Found in BROKEN_RECIPES_PYTHON3
   ModuleNotFoundError: No module named 'kivy'
kivent_polygen :
   Found in BROKEN_RECIPES_PYTHON3
   ModuleNotFoundError: No module named 'kivy'
kivykiwisolver :
     Could not fetch URL https://pypi.org/simple/kivykiwisolver/:
leveldb :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libgnustl_shared.so
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libleveldb.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
libcurl :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libcrypto1.1.so
   lib/armeabi-v7a/libcurl.so
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libssl1.1.so
   assets/_python_bundle/modules/_hashlib.cpython-37m.so
   assets/_python_bundle/modules/_ssl.cpython-37m.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
libexpat :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libexpat.so
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
libffi :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libffi.so
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_ctypes.cpython-37m.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
libgeos :
    fatal error: vector: No such file or directory
libglob :
   Found in BROKEN_RECIPES_PYTHON3
   ValueError: '--sysroot' is not in list
libiconv :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libiconv.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
libmysqlclient :
   /bin/cp: cannot stat '/usr/local/lib/python3.6/dist-packages/pythonforandroid/recipes/libmysqlclient/p4a.cmake': No such file or directory
libnacl :
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/libnacl/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libsodium.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
libogg :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libogg.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
libpq :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
libsecp256k1 :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libsecp256k1.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
libshine :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
libsodium :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libsodium.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
libtorrent :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/libtorrent.so
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libboost_python37.so
   lib/armeabi-v7a/libboost_system.so
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libtorrent_rasterbar.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
libtribler :
   Build failed: Didn't find any valid dependency graphs
libvorbis :
   configure: error: Ogg >= 1.0 required !
libx264 :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
libxml2 :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
libxslt :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
libzbar :
   configure.ac:109: error: possibly undefined macro: AM_ICONV
libzmq :
   arm-linux-androideabi-g++: error: crtbegin_so.o: No such file or directory
   arm-linux-androideabi-g++: error: crtend_so.o: No such file or directory
lxml :
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/lxml/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
m2crypto :
   SWIG/_m2crypto_wrap.c:9493:19: error: dereferencing pointer to incomplete type
   SWIG/_m2crypto_wrap.c:9720:48: error: invalid application of 'sizeof' to incomplete type 'struct stack_st'
msgpack-python :
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/msgpack/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
mysqldb :
   /bin/cp: cannot stat '/usr/local/lib/python3.6/dist-packages/pythonforandroid/recipes/libmysqlclient/p4a.cmake': No such file or directory
netifaces :
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/netifaces.so
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
numpy :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/numpy/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
omemo :
   /bin/cp: cannot stat '_crypto_sign.so': No such file or directory
omemo-backend-signal :
   /bin/cp: cannot stat '_crypto_sign.so': No such file or directory
openal :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libopenal.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
opencv :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/numpy/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
openssl :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libcrypto1.1.so
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libssl1.1.so
   assets/_python_bundle/modules/_hashlib.cpython-37m.so
   assets/_python_bundle/modules/_ssl.cpython-37m.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
pbkdf2 :
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/pbkdf2.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
pil :
   SyntaxError: Missing parentheses in call to 'print'
png :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
preppy :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/preppy.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
protobuf_cpp :
   assets/_python_bundle/site-packages/cffi/*
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/google/*
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/protobuf-3.6.1-py3.7-nspkg.pth
   assets/_python_bundle/site-packages/pycparser/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   assets/_python_bundle/site-packages/_cffi_backend.so
   lib/armeabi-v7a/libffi.so
   lib/armeabi-v7a/libgnustl_shared.so
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_ctypes.cpython-37m.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
psycopg2 :
   Found in BROKEN_RECIPES_PYTHON3
   Error: pg_config executable not found.
pyaml :
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/pyaml/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
pyasn1 :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/pyasn1/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
pycparser :
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/pycparser/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
pycrypto :
   assets/_python_bundle/site-packages/Crypto/*
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libcrypto1.1.so
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libssl1.1.so
   assets/_python_bundle/modules/_hashlib.cpython-37m.so
   assets/_python_bundle/modules/_ssl.cpython-37m.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
pycryptodome :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   src/common.h:62:9: error: unknown type name '__int8'
   src/common.h:62:16: error: conflicting types for 'int8_t'
   src/common.h:63:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint8_t'
   src/common.h:64:9: error: unknown type name '__int16'
   src/common.h:64:17: error: conflicting types for 'int16_t'
   src/common.h:65:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint16_t'
   src/common.h:66:9: error: unknown type name '__int32'
   src/common.h:67:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint32_t'
   src/common.h:68:9: error: unknown type name '__int64'
   src/common.h:68:17: error: conflicting types for 'int64_t'
   src/common.h:69:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint64_t'
   src/common.h:176:2: error: #error No routines for aligned memory
pyethereum :
    fatal error: crypt.h: No such file or directory
pyicu :
   RuntimeError: icu needs an android api <= 19
pyjnius :
   assets/_python_bundle/site-packages/jnius/*
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
pyleveldb :
    fatal error: crypt.h: No such file or directory
pymunk :
   assets/_python_bundle/site-packages/cffi/*
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/pycparser/*
   assets/_python_bundle/site-packages/pymunk/*
   assets/_python_bundle/site-packages/pymunkoptions/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   assets/_python_bundle/site-packages/_cffi_backend.so
   lib/armeabi-v7a/libffi.so
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_ctypes.cpython-37m.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
pynacl :
   assets/_python_bundle/site-packages/cffi/*
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/nacl/*
   assets/_python_bundle/site-packages/pycparser/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   assets/_python_bundle/site-packages/_cffi_backend.so
   lib/armeabi-v7a/libffi.so
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libsodium.so
   assets/_python_bundle/modules/_ctypes.cpython-37m.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
pyogg :
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/pyogg/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libogg.so
   lib/armeabi-v7a/libvorbis.so
   lib/armeabi-v7a/libvorbisenc.so
   lib/armeabi-v7a/libvorbisfile.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
pyopenal :
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/numpy/*
   assets/_python_bundle/site-packages/openal/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libopenal.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
pyopenssl :
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/OpenSSL/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libcrypto1.1.so
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libssl1.1.so
   assets/_python_bundle/modules/_hashlib.cpython-37m.so
   assets/_python_bundle/modules/_ssl.cpython-37m.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
pyproj :
   error: cannot open crtbegin_dynamic.o: No such file or directory
   error: cannot open crtend_android.o: No such file or directory
   error: cannot find -lc
   error: cannot find -ldl
   nad2bin.c:80: error: undefined reference to 'strcmp'
   collect2: error: ld returned 1 exit status
pyrxp :
    fatal error: crypt.h: No such file or directory
pysdl2 :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/sdl2/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
pysha3 :
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/sha3.pyc
   assets/_python_bundle/site-packages/six.pyc
   assets/_python_bundle/site-packages/_pysha3.so
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
pytz :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/pytz/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
pyusb :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   assets/_python_bundle/site-packages/usb/*
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
pyyaml :
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   assets/_python_bundle/site-packages/yaml/*
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
pyzmq :
   arm-linux-androideabi-g++: error: crtbegin_so.o: No such file or directory
   arm-linux-androideabi-g++: error: crtend_so.o: No such file or directory
regex :
    fatal error: crypt.h: No such file or directory
reportlab :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/reportlab/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
requests :
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/requests/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
ruamel.yaml :
   Build failed: Didn't find any valid dependency graphs
scrypt :
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/scrypt/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   assets/_python_bundle/site-packages/_scrypt.so
   lib/armeabi-v7a/libcrypto1.1.so
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libssl1.1.so
   assets/_python_bundle/modules/_hashlib.cpython-37m.so
   assets/_python_bundle/modules/_ssl.cpython-37m.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
sdl2 :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libSDL2.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
sdl2_image :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libSDL2_image.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
sdl2_mixer :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libSDL2_mixer.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
sdl2_ttf :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libSDL2_ttf.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
secp256k1 :
   assets/_python_bundle/site-packages/cffi/*
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/pycparser/*
   assets/_python_bundle/site-packages/secp256k1/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   assets/_python_bundle/site-packages/_cffi_backend.so
   lib/armeabi-v7a/libcrypto1.1.so
   lib/armeabi-v7a/libffi.so
   lib/armeabi-v7a/libgnustl_shared.so
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libsecp256k1.so
   lib/armeabi-v7a/libssl1.1.so
   assets/_python_bundle/modules/_ctypes.cpython-37m.so
   assets/_python_bundle/modules/_hashlib.cpython-37m.so
   assets/_python_bundle/modules/_ssl.cpython-37m.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
shapely :
    fatal error: vector: No such file or directory
simple-crypt :
   assets/_python_bundle/site-packages/Crypto/*
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/simplecrypt/*
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libcrypto1.1.so
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libssl1.1.so
   assets/_python_bundle/modules/_hashlib.cpython-37m.so
   assets/_python_bundle/modules/_ssl.cpython-37m.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
six :
   assets/_python_bundle/site-packages/six.py
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
snappy :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
spine :
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   assets/_python_bundle/site-packages/spine/*
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
sqlalchemy :
   IndexError: list index out of range
sqlite3 :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libsqlite3.so
   assets/_python_bundle/modules/_sqlite3.cpython-37m.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
storm :
   Found in BROKEN_RECIPES_PYTHON3
   SyntaxError: invalid syntax
sympy :
   Found in BROKEN_RECIPES_PYTHON3
   Please install the mpmath package with a version >= 0.19
twisted :
   Build failed: Didn't find any valid dependency graphs
ujson :
    fatal error: crypt.h: No such file or directory
vispy :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/numpy/*
   assets/_python_bundle/site-packages/sdl2/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   assets/_python_bundle/site-packages/vispy/*
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
vlc :
   Found in BROKEN_RECIPES_PYTHON3
websocket-client :
   assets/_python_bundle/site-packages/android/*
   assets/_python_bundle/site-packages/asn1crypto/*
   assets/_python_bundle/site-packages/cffi/*
   assets/_python_bundle/site-packages/cryptography/*
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/idna/*
   assets/_python_bundle/site-packages/ipaddress.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/OpenSSL/*
   assets/_python_bundle/site-packages/pyasn1/*
   assets/_python_bundle/site-packages/pycparser/*
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   assets/_python_bundle/site-packages/_cffi_backend.so
   lib/armeabi-v7a/libcrypto1.1.so
   lib/armeabi-v7a/libffi.so
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libssl1.1.so
   assets/_python_bundle/modules/_ctypes.cpython-37m.so
   assets/_python_bundle/modules/_hashlib.cpython-37m.so
   assets/_python_bundle/modules/_ssl.cpython-37m.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
wsaccel :
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   assets/_python_bundle/site-packages/wsaccel/*
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
x3dh :
   /bin/cp: cannot stat '_crypto_sign.so': No such file or directory
xeddsa :
   /bin/cp: cannot stat '_crypto_sign.so': No such file or directory
zbar :
   configure.ac:109: error: possibly undefined macro: AM_ICONV
zeroconf :
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   assets/_python_bundle/site-packages/zeroconf.pyc
   lib/armeabi-v7a/libhidapi.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
zope :
   Build failed: Didn't find any valid dependency graphs
zope_interface :
   Build failed: Didn't find any valid dependency graphs
RobertFlatt commented 5 years ago

Update , p4a installed 1/9/2019

Recipes looking good: ['Pillow', android', 'apsw', 'atom', 'audiostream', 'babel', 'boost', 'cffi', 'coverage', 'cryptography', 'cymunk', 'dateutil', 'decorator', 'doubleratchet', 'enum34', 'ffmpeg', 'ffpyplayer_codecs', 'freetype', 'gevent', 'gevent-websocket', 'greenlet', 'harfbuzz', 'idna', 'ifaddrs', 'ipaddress', 'jedi', 'jpeg', 'leveldb', 'libcurl', 'libexpat', 'libffi', 'libiconv', 'libnacl', 'libogg', 'libpq', 'libsecp256k1', 'libshine', 'libsodium', 'libtorrent', 'libx264', 'libxml2', 'libxslt', 'lxml', 'msgpack-python', 'netifaces', 'numpy', 'openal', 'opencv', 'openssl', 'pbkdf2', 'png', 'preppy', 'protobuf_cpp', 'pyaml', 'pyasn1', 'pycparser', 'pycrypto', 'pycryptodome', 'pyjnius', 'pymunk', 'pynacl', 'pyogg', 'pyopenal', 'pyopenssl', 'pysdl2', 'pysha3', 'pytz', 'pyusb', 'pyyaml', 'reportlab', 'requests', 'scrypt', 'sdl2', 'sdl2_image', 'sdl2_mixer', 'sdl2_ttf', 'secp256k1', 'simple-crypt', 'six', 'snappy', 'spine', 'sqlite3', 'twisted', 'vispy', 'websocket-client', 'wsaccel', 'zeroconf', 'zope_interface']

Recipes with APK build error: ['cdecimal', 'cherrypy', 'enaml', 'ethash', 'evdev', 'feedparser', 'ffpyplayer', 'flask', 'fontconfig', 'groestlcoin_hash', 'icu', 'kivykiwisolver', 'libgeos', 'libglob', 'libmysqlclient', 'libtribler', 'libvorbis', 'libzbar', 'libzmq', 'm2crypto', 'mysqldb', 'omemo', 'omemo-backend-signal', 'psycopg2', 'pyethereum', 'pyicu', 'pyleveldb', 'pyproj', 'pyrxp', 'pyzbar', 'pyzmq', 'regex', 'ruamel.yaml', 'shapely', 'sqlalchemy', 'storm', 'sympy', 'ujson', 'vlc', 'x3dh', 'xeddsa', 'zbar', 'zbarlight', 'zope']

Fail log:

cdecimal :
   mpdecimal.h:63:4: error: #error "cannot use CONFIG_64 with 32-bit header."
   mpdecimal.h:152:4: error: #error "unsupported platform: need mpd_size_t == mpd_uint_t"
   typearith.h:601:4: error: #error "adapt mul_size_t() and mulmod_size_t()"
cherrypy :
   Build failed: Conflict detected
enaml :
   Build failed: Conflict detected
ethash :
    fatal error: crypt.h: No such file or directory
evdev :
   The linux/input.h header file is missing
feedparser :
   Build failed: Didn't find any valid dependency graphs
ffpyplayer :
   Found in BROKEN_RECIPES_PYTHON3
   distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('cython')
flask :
   Build failed: Conflict detected
fontconfig :
   688: Android NDK: Module main depends on undefined modules: python_shared
groestlcoin_hash :
    fatal error: crypt.h: No such file or directory
    fatal error: crypt.h: No such file or directory
icu :
   Found in BROKEN_RECIPES_PYTHON3
   RuntimeError: icu needs an android api <= 19
kivykiwisolver :
     Could not fetch URL https://pypi.org/simple/kivykiwisolver/:
libgeos :
    fatal error: vector: No such file or directory
libglob :
   Found in BROKEN_RECIPES_PYTHON3
   ValueError: '--sysroot' is not in list
libmysqlclient :
   /bin/cp: cannot stat '/usr/local/lib/python3.6/dist-packages/pythonforandroid/recipes/libmysqlclient/p4a.cmake': No such file or directory
libtribler :
   SWIG/_m2crypto_wrap.c:9493:19: error: dereferencing pointer to incomplete type
   SWIG/_m2crypto_wrap.c:9720:48: error: invalid application of 'sizeof' to incomplete type 'struct stack_st'
libvorbis :
   configure: error: Ogg >= 1.0 required !
libzbar :
   configure.ac:109: error: possibly undefined macro: AM_ICONV
libzmq :
   arm-linux-androideabi-g++: error: crtbegin_so.o: No such file or directory
   arm-linux-androideabi-g++: error: crtend_so.o: No such file or directory
m2crypto :
   SWIG/_m2crypto_wrap.c:9493:19: error: dereferencing pointer to incomplete type
   SWIG/_m2crypto_wrap.c:9720:48: error: invalid application of 'sizeof' to incomplete type 'struct stack_st'
mysqldb :
   /bin/cp: cannot stat '/usr/local/lib/python3.6/dist-packages/pythonforandroid/recipes/libmysqlclient/p4a.cmake': No such file or directory
omemo :
   /bin/cp: cannot stat '_crypto_sign.so': No such file or directory
omemo-backend-signal :
   /bin/cp: cannot stat '_crypto_sign.so': No such file or directory
psycopg2 :
   Found in BROKEN_RECIPES_PYTHON3
   Error: pg_config executable not found.
pyethereum :
    fatal error: crypt.h: No such file or directory
pyicu :
   RuntimeError: icu needs an android api <= 19
pyleveldb :
    fatal error: crypt.h: No such file or directory
pyproj :
   error: cannot open crtbegin_dynamic.o: No such file or directory
   error: cannot open crtend_android.o: No such file or directory
   error: cannot find -lc
   error: cannot find -ldl
   nad2bin.c:80: error: undefined reference to 'strcmp'
   collect2: error: ld returned 1 exit status
pyrxp :
    fatal error: crypt.h: No such file or directory
pyzbar :
   configure.ac:109: error: possibly undefined macro: AM_ICONV
pyzmq :
   arm-linux-androideabi-g++: error: crtbegin_so.o: No such file or directory
   arm-linux-androideabi-g++: error: crtend_so.o: No such file or directory
regex :
    fatal error: crypt.h: No such file or directory
ruamel.yaml :
   Build failed: Didn't find any valid dependency graphs
shapely :
    fatal error: vector: No such file or directory
sqlalchemy :
   IndexError: list index out of range
storm :
   Found in BROKEN_RECIPES_PYTHON3
   SyntaxError: invalid syntax
sympy :
   Found in BROKEN_RECIPES_PYTHON3
   Please install the mpmath package with a version >= 0.19
ujson :
    fatal error: crypt.h: No such file or directory
vlc :
   Found in BROKEN_RECIPES_PYTHON3
x3dh :
   /bin/cp: cannot stat '_crypto_sign.so': No such file or directory
xeddsa :
   /bin/cp: cannot stat '_crypto_sign.so': No such file or directory
zbar :
   configure.ac:109: error: possibly undefined macro: AM_ICONV
zbarlight :
   configure.ac:109: error: possibly undefined macro: AM_ICONV
zope :
   Build failed: Conflict detected
AndreMiras commented 5 years ago

Thanks for the update @Ham-Merhead ! Normally pyleveldb should not be in Recipes with APK build error list anymore since it was fixed recently via https://github.com/kivy/python-for-android/pull/1699 Are you up to date with master and how are you testing it?

RobertFlatt commented 5 years ago

@AndreMiras I was one page behind (hard to keep up...). Reinstalled p4a and all is good:

pyleveldb : assets/_python_bundle/site-packages/android/* assets/_python_bundle/site-packages/easy_install.pyc assets/_python_bundle/site-packages/jnius_config.pyc assets/_python_bundle/site-packages/leveldb.so assets/_python_bundle/site-packages/setup.pyc assets/_python_bundle/site-packages/six.pyc lib/armeabi-v7a/libcrypto1.1.so lib/armeabi-v7a/libffi.so lib/armeabi-v7a/libgnustl_shared.so lib/armeabi-v7a/libhidapi.so lib/armeabi-v7a/libleveldb.so lib/armeabi-v7a/libsqlite3.so lib/armeabi-v7a/libssl1.1.so assets/_python_bundle/modules/_ctypes.cpython-37m.so assets/_python_bundle/modules/_hashlib.cpython-37m.so assets/_python_bundle/modules/_sqlite3.cpython-37m.so assets/_python_bundle/modules/_ssl.cpython-37m.so assets/_python_bundle/modules/_sysconfigdata_mlinux.pyc

RobertFlatt commented 5 years ago

Even better, I reran the previous fails and 3 more successes in addition to pyleveldb:

Recipes looking good:
['cherrypy', 'feedparser', 'ruamel.yaml']

Recipes with APK build error:
['cdecimal', 'enaml', 'ethash', 'evdev', 'ffpyplayer', 'flask', 'fontconfig', 'groestlcoin_hash', 'icu', 'kivykiwisolver', 'libgeos', 'libglob', 'libmysqlclient', 'libtribler', 'libvorbis', 'libzbar', 'libzmq', 'm2crypto', 'mysqldb', 'omemo', 'omemo-backend-signal', 'psycopg2', 'pyethereum', 'pyicu', 'pyproj', 'pyrxp', 'pyzbar', 'pyzmq', 'regex', 'shapely', 'sqlalchemy', 'storm', 'sympy', 'ujson', 'vlc', 'x3dh', 'xeddsa', 'zbar', 'zbarlight', 'zope']

And the log:

cdecimal :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   mpdecimal.h:63:4: error: #error "cannot use CONFIG_64 with 32-bit header."
   mpdecimal.h:152:4: error: #error "unsupported platform: need mpd_size_t == mpd_uint_t"
   typearith.h:601:4: error: #error "adapt mul_size_t() and mulmod_size_t()"
cherrypy :
   assets/_python_bundle/site-packages/android/*
   assets/_python_bundle/site-packages/cherrypy/*
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libcrypto1.1.so
   lib/armeabi-v7a/libffi.so
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libsqlite3.so
   lib/armeabi-v7a/libssl1.1.so
   assets/_python_bundle/modules/_ctypes.cpython-37m.so
   assets/_python_bundle/modules/_hashlib.cpython-37m.so
   assets/_python_bundle/modules/_sqlite3.cpython-37m.so
   assets/_python_bundle/modules/_ssl.cpython-37m.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
enaml :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   arm-linux-androideabi-gcc: fatal error: no input files
   enaml/src/pythonhelpers.h:456:57: error: 'PyMethod_GET_CLASS' was not declared in this scope
   enaml/src/weakmethod.cpp:186:11: error: 'struct WeakMethod' has no member named 'ob_type'
   enaml/src/weakmethod.cpp:197:74: error: too many arguments to function 'PyObject* PyMethod_New(PyObject*, PyObject*)'
   enaml/src/weakmethod.cpp:254:6: error: 'cmpfunc' was not declared in this scope
   enaml/src/weakmethod.cpp:254:14: error: expected '}' before numeric constant
   enaml/src/weakmethod.cpp:254:14: error: expected ',' or ';' before numeric constant
   enaml/src/weakmethod.cpp:304:69: error: 'Py_InitModule' was not declared in this scope
   enaml/src/weakmethod.cpp:306:9: error: return-statement with no value, in function returning 'PyObject* {aka _object*}' [-fpermissive]
   enaml/src/weakmethod.cpp:310:9: error: return-statement with no value, in function returning 'PyObject* {aka _object*}' [-fpermissive]
   enaml/src/weakmethod.cpp:312:49: error: 'PyString_FromString' was not declared in this scope
   enaml/src/weakmethod.cpp:314:9: error: return-statement with no value, in function returning 'PyObject* {aka _object*}' [-fpermissive]
   enaml/src/weakmethod.cpp:317:9: error: return-statement with no value, in function returning 'PyObject* {aka _object*}' [-fpermissive]
   enaml/src/weakmethod.cpp:323:1: error: expected declaration before '}' token
ethash :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
    fatal error: crypt.h: No such file or directory
evdev :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   The linux/input.h header file is missing
feedparser :
   assets/_python_bundle/site-packages/android/*
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/feedparser.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libcrypto1.1.so
   lib/armeabi-v7a/libffi.so
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libsqlite3.so
   lib/armeabi-v7a/libssl1.1.so
   assets/_python_bundle/modules/_ctypes.cpython-37m.so
   assets/_python_bundle/modules/_hashlib.cpython-37m.so
   assets/_python_bundle/modules/_sqlite3.cpython-37m.so
   assets/_python_bundle/modules/_ssl.cpython-37m.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
ffpyplayer :
   Found in BROKEN_RECIPES_PYTHON3
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('cython')
flask :
   Build failed: Conflict detected
fontconfig :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   688: Android NDK: Module main depends on undefined modules: python_shared
groestlcoin_hash :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
    fatal error: crypt.h: No such file or directory
    fatal error: crypt.h: No such file or directory
icu :
   Found in BROKEN_RECIPES_PYTHON3
   RuntimeError: icu needs an android api <= 19
kivykiwisolver :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   arm-linux-androideabi-gcc: fatal error: no input files
     Could not fetch URL https://pypi.org/simple/kivykiwisolver/:
libgeos :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
    fatal error: vector: No such file or directory
libglob :
   Found in BROKEN_RECIPES_PYTHON3
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   ValueError: '--sysroot' is not in list
libmysqlclient :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   /bin/cp: cannot stat '/usr/local/lib/python3.6/dist-packages/pythonforandroid/recipes/libmysqlclient/p4a.cmake': No such file or directory
libtribler :
   Build failed: Conflict detected
libvorbis :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   configure: error: Ogg >= 1.0 required !
libzbar :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   configure.ac:109: error: possibly undefined macro: AM_ICONV
libzmq :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   arm-linux-androideabi-g++: error: crtbegin_so.o: No such file or directory
   arm-linux-androideabi-g++: error: crtend_so.o: No such file or directory
m2crypto :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   SWIG/_m2crypto_wrap.c:9493:19: error: dereferencing pointer to incomplete type
   SWIG/_m2crypto_wrap.c:9720:48: error: invalid application of 'sizeof' to incomplete type 'struct stack_st'
mysqldb :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   /bin/cp: cannot stat '/usr/local/lib/python3.6/dist-packages/pythonforandroid/recipes/libmysqlclient/p4a.cmake': No such file or directory
omemo :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   arm-linux-androideabi-gcc: fatal error: no input files
   /bin/cp: cannot stat '_crypto_sign.so': No such file or directory
omemo-backend-signal :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   arm-linux-androideabi-gcc: fatal error: no input files
   /bin/cp: cannot stat '_crypto_sign.so': No such file or directory
psycopg2 :
   Found in BROKEN_RECIPES_PYTHON3
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   Error: pg_config executable not found.
pyethereum :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
    fatal error: crypt.h: No such file or directory
pyicu :
   RuntimeError: icu needs an android api <= 19
pyproj :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   error: cannot open crtbegin_dynamic.o: No such file or directory
   error: cannot open crtend_android.o: No such file or directory
   error: cannot find -lc
   error: cannot find -ldl
   nad2bin.c:80: error: undefined reference to 'strcmp'
pyrxp :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
    fatal error: crypt.h: No such file or directory
pyzbar :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   configure.ac:109: error: possibly undefined macro: AM_ICONV
pyzmq :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   arm-linux-androideabi-g++: error: crtbegin_so.o: No such file or directory
   arm-linux-androideabi-g++: error: crtend_so.o: No such file or directory
regex :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
    fatal error: crypt.h: No such file or directory
ruamel.yaml :
   assets/_python_bundle/site-packages/android/*
   assets/_python_bundle/site-packages/easy_install.pyc
   assets/_python_bundle/site-packages/jnius_config.pyc
   assets/_python_bundle/site-packages/ruamel/*
   assets/_python_bundle/site-packages/ruamel.yaml-0.15.77-py3.7-nspkg.pth
   assets/_python_bundle/site-packages/setup.pyc
   assets/_python_bundle/site-packages/six.pyc
   lib/armeabi-v7a/libcrypto1.1.so
   lib/armeabi-v7a/libffi.so
   lib/armeabi-v7a/libhidapi.so
   lib/armeabi-v7a/libsqlite3.so
   lib/armeabi-v7a/libssl1.1.so
   assets/_python_bundle/modules/_ctypes.cpython-37m.so
   assets/_python_bundle/modules/_hashlib.cpython-37m.so
   assets/_python_bundle/modules/_sqlite3.cpython-37m.so
   assets/_python_bundle/modules/_ssl.cpython-37m.so
   assets/_python_bundle/modules/_sysconfigdata_m_linux_.pyc
shapely :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
    fatal error: vector: No such file or directory
sqlalchemy :
    No APK
storm :
   Found in BROKEN_RECIPES_PYTHON3
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   SyntaxError: invalid syntax
sympy :
   Found in BROKEN_RECIPES_PYTHON3
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   Please install the mpmath package with a version >= 0.19
ujson :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
    fatal error: crypt.h: No such file or directory
vlc :
   Found in BROKEN_RECIPES_PYTHON3
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
x3dh :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   arm-linux-androideabi-gcc: fatal error: no input files
   /bin/cp: cannot stat '_crypto_sign.so': No such file or directory
xeddsa :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   arm-linux-androideabi-gcc: fatal error: no input files
   /bin/cp: cannot stat '_crypto_sign.so': No such file or directory
zbar :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   configure.ac:109: error: possibly undefined macro: AM_ICONV
zbarlight :
   error: cannot open crtbegin_so.o: No such file or directory
    pread failed: Is a directory
   collect2: error: ld returned 1 exit status
   configure.ac:109: error: possibly undefined macro: AM_ICONV
zope :
   ValueError: read of closed file