Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build these modules: _ctypes #74276

Closed
eamanu mannequin opened this issue Apr 17, 2017 · 4 comments
Closed

Failed to build these modules: _ctypes #74276

eamanu mannequin opened this issue Apr 17, 2017 · 4 comments
Labels
3.7 (EOL) end of life build The build process and cross-build

Comments

@eamanu
Copy link
Mannequin

eamanu mannequin commented Apr 17, 2017

BPO 30090
Nosy @mlouielu, @eamanu, @shihai1991

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2017-04-17.17:55:43.727>
created_at = <Date 2017-04-17.16:27:57.666>
labels = ['invalid', 'build', '3.7']
title = 'Failed to build these modules: _ctypes'
updated_at = <Date 2019-07-05.18:14:07.856>
user = 'https://github.com/eamanu'

bugs.python.org fields:

activity = <Date 2019-07-05.18:14:07.856>
actor = 'shihai1991'
assignee = 'none'
closed = True
closed_date = <Date 2017-04-17.17:55:43.727>
closer = 'eric.smith'
components = ['Build']
creation = <Date 2017-04-17.16:27:57.666>
creator = 'eamanu'
dependencies = []
files = []
hgrepos = []
issue_num = 30090
keywords = []
message_count = 4.0
messages = ['291800', '291803', '291807', '347365']
nosy_count = 3.0
nosy_names = ['louielu', 'eamanu', 'shihai1991']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue30090'
versions = ['Python 3.7']

@eamanu
Copy link
Mannequin Author

eamanu mannequin commented Apr 17, 2017

Hello everybody,

I am working with the code.

I clone the repo, and make a pull upstream of github's cpython repository (master branch), and when I make:

./configure --with-pydebug && make -j

build correctly but finished with this message:

Failed to build these modules:
_ctypes   

But the Test Result is: SUCCESS

Regards

@eamanu eamanu mannequin added build The build process and cross-build interpreter-core (Objects, Python, Grammar, and Parser dirs) 3.7 (EOL) end of life labels Apr 17, 2017
@mlouielu
Copy link
Mannequin

mlouielu mannequin commented Apr 17, 2017

Are you using Ubuntu or other Linux distribution? This problem is because you didn't install the dependency package.

You may first try to use the instruction at devguide:
http://cpython-devguide.readthedocs.io/setup.html#build-dependencies

Or, assume you have install build-essential and python3-dev ...etc., maybe you lost to install libffi-dev, just simply apt-get install libffi-dev and rebuild to solve this problem.

@mlouielu mlouielu mannequin added build The build process and cross-build and removed interpreter-core (Objects, Python, Grammar, and Parser dirs) build The build process and cross-build labels Apr 17, 2017
@eamanu
Copy link
Mannequin Author

eamanu mannequin commented Apr 17, 2017

The problem was solution making:

apt-get install libffi-dev

Thanks

@shihai1991
Copy link
Member

In centos, sudo yum install -y libffi libffi-devel should worked

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.7 (EOL) end of life build The build process and cross-build
Projects
None yet
Development

No branches or pull requests

2 participants