Comment 1 for bug 1831584

Revision history for this message
Sean Feole (sfeole) wrote :

TSC is failing to build on EOAN-5.2.0-4.5-generic full log attached

06/12 18:30:34 ERROR| utils:0153| [stderr] ~~~~~~~~~~~~~~~~~^~~~~~~~
06/12 18:30:34 ERROR| utils:0153| [stderr] checktsc.c:373:40: warning: passing argument 3 of ‘sched_getaffinity’ from incompatible pointer type [-Wincompatible-pointer-types]
06/12 18:30:34 ERROR| utils:0153| [stderr] if (sched_getaffinity(0, sizeof cpus, &cpus) < 0) {
06/12 18:30:34 ERROR| utils:0153| [stderr] ^~~~~
06/12 18:30:34 ERROR| utils:0153| [stderr] In file included from /usr/include/pthread.h:23,
06/12 18:30:34 ERROR| utils:0153| [stderr] from checktsc.c:9:
06/12 18:30:34 ERROR| utils:0153| [stderr] /usr/include/sched.h:126:21: note: expected ‘cpu_set_t *’ {aka ‘struct <anonymous> *’} but argument is of type ‘cpu_set_t *’ {aka ‘struct <anonymous> *’}
06/12 18:30:34 ERROR| utils:0153| [stderr] cpu_set_t *__cpuset) __THROW;
06/12 18:30:34 ERROR| utils:0153| [stderr] ~~~~~~~~~~~^~~~~~~~
06/12 18:30:34 ERROR| utils:0153| [stderr] make: *** [<builtin>: checktsc.o] Error 1
06/12 18:30:34 ERROR| test:0414| Exception escaping from test:
Traceback (most recent call last):
  File "/home/ubuntu/autotest/client/shared/test.py", line 387, in _exec
    *p_args, **p_dargs)
  File "/home/ubuntu/autotest/client/shared/utils.py", line 865, in update_version
    install(*args, **dargs)
  File "/home/ubuntu/autotest/client/tests/tsc/tsc.py", line 18, in setup
    utils.make()
  File "/home/ubuntu/autotest/client/shared/utils.py", line 2056, in make
    return system(cmd, timeout=timeout, ignore_status=ignore_status)
  File "/home/ubuntu/autotest/client/shared/utils.py", line 1232, in system
    verbose=verbose).exit_status
  File "/home/ubuntu/autotest/client/shared/utils.py", line 918, in run
    "Command returned non-zero exit status")
CmdError: Command <make > failed, rc=2, Command returned non-zero exit status
* Command:
    make
Exit status: 2