Bug#750668: python3.4 ftbfs on kfreebsd, clock() returning -1
Package: python3.4
Version: 3.4.1-3
Severity: serious
Tags: sid jessie
BEGIN pystone static
cd /«PKGBUILDDIR»/build-static && ./python ../Lib/test/pystone.py
Traceback (most recent call last):
  File "../Lib/test/pystone.py", line 277, in <module>
    main(loops)
  File "../Lib/test/pystone.py", line 68, in main
    benchtime, stones = pystones(loops)
  File "../Lib/test/pystone.py", line 75, in pystones
    return Proc0(loops)
  File "../Lib/test/pystone.py", line 96, in Proc0
    starttime = clock()
RuntimeError: the processor time used is not available or its value cannot be
represented
debian/rules:543: recipe for target 'stamps/stamp-pystone' failed
make: *** [stamps/stamp-pystone] Error 1
Modules/timemodule.c has
static PyObject *
floatclock(_Py_clock_info_t *info)
{
    clock_t value;
    value = clock();
    if (value == (clock_t)-1) {
        PyErr_SetString(PyExc_RuntimeError,
                "the processor time used is not available "
                "or its value cannot be represented");
        return NULL;
    }
Is this supposed to work on kfreebsd?  It is easy to disable the pybench run itself.
Reply to: