Code Monkey home page Code Monkey logo

Comments (2)

AndreMiras avatar AndreMiras commented on June 14, 2024

It's a pain I can't reproduce on my local VM. I'm going to give a try with an Ubuntu Precise VM.
Also I guess we could workaround by updating pbkdf2/setup.py or pbkdf2/pbkdf2.py so that it doesn't try to import Crypto during the setup.py phase. Since it only needs to access to the __version__ string.
Or we could totally skip the setup and just deploy pbkdf2.py to site-packages/.
At first I though we could fix it just by installing pbkdf2 before pycryptodome, but it doesn't seem to be possible by the way buildozer works. Since it seems to be installing recipes before regular packages and pycryptodome is a recipe.
So now, why doesn't it fail on other environment but just fails on Travis? Maybe the host crypto module gets picked up first. Let's find out!

from pywallet.

AndreMiras avatar AndreMiras commented on June 14, 2024

Great I could reproduce in a Precise VM.
But this is so legacy, so I gave Travis Trusty a try and it could compile Android dependencies for the minimal reproduction case, so it sounds good.
However now the script_linux.sh build is failing. See error below:

I/usr/include/python2.7 -c /tmp/pip-build-jS9YZN/Kivy/kivy/graphics/opengl.c -o build/temp.linux-x86_64-2.7/tmp/pip-build-jS9YZN/Kivy/kivy/graphics/opengl.o
    In file included from /tmp/pip-build-jS9YZN/Kivy/kivy/graphics/opengl.c:435:0:
    /tmp/pip-build-jS9YZN/Kivy/kivy/include/gl_redirect.h:64:22: fatal error: GL/gl.h: No such file or directory
     #   include <GL/gl.h>
                          ^
    compilation terminated.
     error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    
    ----------------------------------------
Command "/home/travis/build/AndreMiras/PyWallet/venv/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-jS9YZN/Kivy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-LsNcnO-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/travis/build/AndreMiras/PyWallet/venv/include/site/python2.7/Kivy" failed with error code 1 in /tmp/pip-build-jS9YZN/Kivy/
The command "./travis/script_linux.sh" exited with 1.

That should be an easy fix.

from pywallet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.