Skip to content

Incompatible with PyPy #16

@dan-blanchard

Description

@dan-blanchard

Steps to reproduce:

  1. Try to pip install ssh2-python from a PyPy interpreter.
  2. Build will fail:
  cc -O2 -fPIC -Wimplicit -Ilibssh2/include -I/home/travis/virtualenv/pypy-5.4.1/include -c pssh/native/ssh2.c -o build/temp.linux-x86_64-2.7/pssh/native/ssh2.o -O3
  pssh/native/ssh2.c:845:3: error: unknown type name ‘PyBaseExceptionObject’
     PyBaseExceptionObject __pyx_base;
     ^
  pssh/native/ssh2.c:857:3: error: unknown type name ‘PyBaseExceptionObject’
     PyBaseExceptionObject __pyx_base;
     ^
  pssh/native/ssh2.c:917:3: error: unknown type name ‘PyBaseExceptionObject’
     PyBaseExceptionObject __pyx_base;
     ^
  pssh/native/ssh2.c:929:3: error: unknown type name ‘PyBaseExceptionObject’
     PyBaseExceptionObject __pyx_base;
     ^
  pssh/native/ssh2.c:941:3: error: unknown type name ‘PyBaseExceptionObject’
     PyBaseExceptionObject __pyx_base;
     ^
  pssh/native/ssh2.c:953:3: error: unknown type name ‘PyBaseExceptionObject’
     PyBaseExceptionObject __pyx_base;
     ^
  pssh/native/ssh2.c:965:3: error: unknown type name ‘PyBaseExceptionObject’
     PyBaseExceptionObject __pyx_base;
     ^
  pssh/native/ssh2.c:976:3: error: unknown type name ‘PyBaseExceptionObject’
     PyBaseExceptionObject __pyx_base;
     ^
  error: command 'cc' failed with exit status 1

Expected behaviour: Install would succeed.

Actual behaviour: Compile failed as above.

Additional info: libssh2 1.4.3, Ubuntu 14.04, gcc 4.8.4, PyPy 5.4.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions