On 03/31/2011 08:48 PM, Jan Matějek wrote:
Dne 31.3.2011 19:34, Dave Plater napsal(a):
On 03/30/2011 07:30 PM, Jan Matějek wrote:
profile-opt makes some runtime profiling checks with the newly built executable and then rebuilds python based on what it measured. it seems to show some "internal errors", i'll try to get a backtrace from it
I can confirm that it's profile-opt, after adding it I get factory and 11.4 x86_64 failures. It has an unpredictable result somewhere judging by the different build failures and successes I've had. How do you set the --debug flag that's mentioned to display a traceback?
you'd have to patch the makefile
instead i tried this:
LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH \ make %{?_smp_mflags} LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH \ ./python ./Tools/pybench/pybench.py -n 2 --with-gc --with-syscheck --debug
(IOW, build without the benchmark, then run it separately) but i haven't seen a failure ever since your original mail, with or without this modification, so at the moment i have nothing
I've patched in --debug and all the x86_64 builds fail : make[1]: Entering directory `/usr/src/packages/BUILD/Python-3.2' ./python ./Tools/pybench/pybench.py -n 2 --with-gc --with-syscheck --debug ------------------------------------------------------------------------------- PYBENCH 2.1 ------------------------------------------------------------------------------- * using CPython 3.2 (r32:88445, Mar 23 2011, 04:31:31) [GCC] * using timer: time.time Calibrating tests. Please wait... Traceback (most recent call last): File "./Tools/pybench/pybench.py", line 954, in <module> PyBenchCmdline() File "/usr/src/packages/BUILD/Python-3.2/Tools/pybench/CommandLine.py", line 349, in __init__ rc = self.main() File "./Tools/pybench/pybench.py", line 920, in main bench.calibrate() File "./Tools/pybench/pybench.py", line 510, in calibrate test.calibrate_test() File "/usr/src/packages/BUILD/Python-3.2/Tools/pybench/pybench.py", line 303, in calibrate_test raise ValueError('calibration setup did not work') ValueError: calibration setup did not work make[1]: *** [run_profile_task] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/Python-3.2' make: *** [profile-opt] Error 2 Any idea what's wrong? As an afterthought I'm going to try without %{?_smp_mflags}. Dave P -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org