Comment 14 for bug 1872183

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

The autopkgtests fail with:

client.c:644:5: error: conflicting types for ‘gettimeofday’
 int gettimeofday(struct timeval *tv,
     ^~~~~~~~~~~~
In file included from client.c:20:0:
/usr/include/powerpc64le-linux-gnu/sys/time.h:68:12: note: previous declaration of ‘gettimeofday’ was here
 extern int gettimeofday (struct timeval *__restrict __tv,
            ^~~~~~~~~~~~
<builtin>: recipe for target 'client.o' failed
make: Leaving directory '/tmp/autopkgtest.gfnV6L/build.CJP/src/test/simulation/clknetsim'
make: *** [client.o] Error 1

That is a known issue in newer releases and fixed there, it is a kernel/kernel-header change that broke users of gettimeofday - the tests still run at 4.15 kernel, but maybe some changes got backported. I'll work on a fix for that tomorrow which then should unlock the SRU.