On 27. 08. 19 22:20, Miro Hrončok wrote:
python27 build in progress.
Will retire python2 later tomorrow or on Friday (in case something is terribly
broken I want to have some maneuvering space).
Hey Miro,
I can't rebuild python-wxpython4 with the new python27. This is what I'm seeing
in the logs but it seems that the root cause is that /usr/include/python2.7/pyconfig-64.h
is missing?
[1/2] Compiling build/waf/2.7/gtk3/.conf_check_5549a18d8958579571e1d4f3f7111de9/test.cpp
['/usr/bin/g++', '-fPIC', '-fno-strict-aliasing', '-O2',
'-g', '-fexceptions', '-fstack-protector-strong',
'-grecord-gcc-switches', '-m64', '-mtune=generic',
'-fasynchronous-unwind-tables', '-fstack-clash-protection',
'-fcf-protection', '-fPIC', '-fwrapv', '-O2',
'-g', '-fexceptions', '-fstack-protector-strong',
'-grecord-gcc-switches', '-m64', '-mtune=generic',
'-fasynchronous-unwind-tables', '-fstack-clash-protection',
'-fcf-protection', '-fPIC', '-fwrapv',
'-I/usr/include/python2.7',
'-DPYTHONDIR="/usr/local/lib/python2.7/site-packages"',
'-DPYTHONARCHDIR="/usr/local/lib64/python2.7/site-packages"',
'-D_GNU_SOURCE', '-DNDEBUG', '-D_GNU_SOURCE',
'../test.cpp', '-c',
'-o/builddir/build/BUILD/python-wxpython4-4.0.6/python2/build/waf/2.7/gtk3/.conf_check_5549a18d8958579571e1d4f3f7111de9/testbuild/test.cpp.1.o']
err: In file included from /usr/include/python2.7/Python.h:8,
from ../test.cpp:2:
/usr/include/python2.7/pyconfig.h:6:10: fatal error: pyconfig-64.h: No such file or
directory
6 | #include "pyconfig-64.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
from /builddir/build/BUILD/python-wxpython4-4.0.6/python2: Test does not build: Traceback
(most recent call last):
File
"/builddir/build/BUILD/python-wxpython4-4.0.6/python2/bin/.waf-2.0.8-206f2b7a89029e71942a2beb9e1bbbbd/waflib/Configure.py",
line 324, in run_build
bld.compile()
File
"/builddir/build/BUILD/python-wxpython4-4.0.6/python2/bin/.waf-2.0.8-206f2b7a89029e71942a2beb9e1bbbbd/waflib/Build.py",
line 176, in compile
raise Errors.BuildError(self.producer.error)
BuildError: Build failed
-> task in 'testprog' failed with exit status 1 (run with -v to display more
information)
Could not build python extensions
from /builddir/build/BUILD/python-wxpython4-4.0.6/python2: The configuration failed