[issue37084] _ctypes not failing, can't find reason

2019-05-28 Thread Brian Spratke


New submission from Brian Spratke :

I am trying to cross compile Python 3.7 for Android. I have Python building, 
but I keep getting an error that _ctypes failed to build, but I see nothing 
that jumps out as a reason.  

_ctypes_test builds, before that I see this INFO message
INFO: Can't locate Tcl/Tk libs and/or headers

 grpmodule and crypt module have issues as well, but I do not feel that those 
are related.

Are there any other ideas people can throw out?

--
components: Cross-Build
files: Python3.7Output.zip
messages: 343822
nosy: Alex.Willmer, Brian Spratke
priority: normal
severity: normal
status: open
title: _ctypes not failing, can't find reason
versions: Python 3.7
Added file: https://bugs.python.org/file48375/Python3.7Output.zip

___
Python tracker 
<https://bugs.python.org/issue37084>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36438] Python 3.5.7 import error on Cross compile

2019-03-26 Thread Brian Spratke


Change by Brian Spratke :


--
type:  -> compile error

___
Python tracker 
<https://bugs.python.org/issue36438>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36438] Python 3.5.7 import error on Cross compile

2019-03-26 Thread Brian Spratke


New submission from Brian Spratke :

I apologize if this is a stupid question, but I am not very experienced 
building Python, or cross compiling.

While trying to cross compile Python 3.5.7 I can run configure, and make, but 
when I try to run 'make install' it throws the error posted below.  I was able 
to build with 3.5.1, but it appears that weakref.py has been added since then.  
I think a lot of my problem is not understanding what the 'make install' step 
is doing.  Is it using python that is install on my Ubuntu machine? Is it 
trying to do another build step? Any help would be greatly appreciated.


Could not import runpy module
Traceback (most recent call last):
  File "./Lib/runpy.py", line 14, in 
import importlib.machinery # importlib first so we can test #15386 via -m
  File "./Lib/importlib/__init__.py", line 57, in 
import types
  File "./Lib/types.py", line 166, in 
import functools as _functools
  File "./Lib/functools.py", line 23, in 
from weakref import WeakKeyDictionary
  File "./Lib/weakref.py", line 12, in 
from _weakref import (
ImportError: cannot import name '_remove_dead_weakref'
make[1]: *** [pybuilddir.txt] Error 1
make: *** [python-3.5.7] Error 1

--
components: Cross-Build
messages: 338891
nosy: Alex.Willmer, Brian Spratke
priority: normal
severity: normal
status: open
title: Python 3.5.7 import error on Cross compile
versions: Python 3.5

___
Python tracker 
<https://bugs.python.org/issue36438>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com