BIND 10 #1561: The py-compile script crashes during installation
BIND 10 Development
do-not-reply at isc.org
Thu Jan 12 17:06:54 UTC 2012
#1561: The py-compile script crashes during installation
-------------------------------------+-------------------------------------
Reporter: vorner | Owner:
Type: defect | UnAssigned
Priority: major | Status: new
Component: build system | Milestone: New
Sensitive: 0 | Tasks
Sub-Project: Core | Keywords:
Estimated Difficulty: 0 | Defect Severity: N/A
Total Hours: 0 | Feature Depending on Ticket:
| Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
Hello
I don't know when it happened (due to other problem with installation I
had), but whenever I try to install bind10, it fails with this error:
{{{
make[7]: Nothing to be done for `install-exec-am'.
test -z "/home/vorner/testing/bind10/lib64/python3.1/site-
packages/isc/util" || /bin/mkdir -p
"/home/vorner/testing/bind10/lib64/python3.1/site-packages/isc/util"
/usr/bin/install -c -m 644 __init__.py process.py socketserver_mixin.py
file.py '/home/vorner/testing/bind10/lib64/python3.1/site-
packages/isc/util'
Fatal Python error: Py_Initialize: can't initialize sys standard streams
AttributeError: 'module' object has no attribute 'OpenWrapper'
../../../../../py-compile: line 119: 15118 Aborted (core
dumped) $PYTHON -c "
import sys, os, py_compile
files = '''$files'''
sys.stdout.write('Byte-compiling python modules...\n')
for file in files.split():
$pathtrans
$filetrans
if not os.path.exists(filepath) or not (len(filepath) >= 3
and filepath[-3:] == '.py'):
continue
sys.stdout.write(file)
sys.stdout.flush()
py_compile.compile(filepath, filepath + 'c', path)
sys.stdout.write('\n')"
make[7]: *** [install-pythonPYTHON] Error 134
make[7]: Leaving directory
`/home/vorner/work/bind10/src/lib/python/isc/util'
}}}
I use python 3.2, but downgrading to 3.1 didn't help. This is a gentoo
system and I tried it on another gentoo system and it fails there as well.
When looking at the substituted $files and others, they look fine. The
error itself sounds like the python is not able to open its stdin/out/err
for some reason (or, better, create the wrappers around them).
--
Ticket URL: <http://bind10.isc.org/ticket/1561>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list