Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541420 - dev-lang/python3* cross-compiling: configure error: set ac_cv_file__dev_ptmx to yes/no in your CONFIG_SITE file when cross compiling
Summary: dev-lang/python3* cross-compiling: configure error: set ac_cv_file__dev_ptmx ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-26 12:49 UTC by Alexey Kharlamov
Modified: 2015-03-03 03:52 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Kharlamov 2015-02-26 12:49:32 UTC
Reproducable: on python3.3 and python3.4

The bug is similar to #362945

For the solution it has to be enough to add these lines to 3.3 and 3.4 ebuilds:

  export ac_cv_file__dev_ptmx=yes
  export ac_cv_file__dev_ptc=yes

But I do not know if there are some gentoo targets that needs 'no'. Anyway, without this fix python will not configure.

Log:

checking for /dev/ptmx... not set
configure: error: set ac_cv_file__dev_ptmx to yes/no in your CONFIG_SITE file when cross compiling
Comment 1 Mike Gilbert gentoo-dev 2015-03-03 00:40:20 UTC
I'm not sure if this really belongs in the python ebuild, or in the config.site installed by crossdev. Thoughts?
Comment 2 SpanKY gentoo-dev 2015-03-03 03:48:49 UTC
i fixed this in crossdev already for Chromium OS:
http://git.overlays.gentoo.org/gitweb/?p=proj/crossdev.git;a=commitdiff;h=5bade7fec84ca3b25b8f550809e80738f66a83e3

not that python cross-compiling even works anymore even with that fix
Comment 3 Mike Gilbert gentoo-dev 2015-03-03 03:52:51 UTC
(In reply to SpanKY from comment #2)
> not that python cross-compiling even works anymore even with that fix

It was working the last time I messed with it. Please file bug(s) or fixes if it is broken; I will certainly make an effort to fix it.