Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707024 - dev-python/gevent - cross-compile fails because of host system includes being used
Summary: dev-python/gevent - cross-compile fails because of host system includes being...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
Keywords: PullRequest
Depends on:
Reported: 2020-01-28 21:14 UTC by hesling
Modified: 2020-01-29 22:28 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description hesling 2020-01-28 21:14:33 UTC
The gevent 1.3.7 and 1.4.0 fails to cross compile.

This is for two primary reasons:

1. The includes that are are pulled in for compiling accidentally reference the host system's /usr/include/python2.7. This causes a violation.

2. Even though we specify that we don't want to use the embedded libev library, the still wants to build the embedded libev library. The issues is that the build script does not inform ./configure that we are doing a cross compile.
Comment 2 hesling 2020-01-29 00:15:32 UTC
I submitted a PR at .
Comment 3 Mike Gilbert gentoo-dev 2020-01-29 22:28:46 UTC
Please submit patches to the upstream projects. We try not to carry patches downstream long-term where it is avoidable.

gevent-1.4.0-cross-compile-libev.patch looks Gentoo-specific with its references to CBUILD and CHOST. Could you come up with a solution that might be accepted upstream?