Comment 0 for bug 1988486

Revision history for this message
Cory Todd (corytodd) wrote : autotest client fails to compile on bionic kernels

While testing bionic:linux-kvm-4.15.0-1127.132 the test appears to have failed due to a compilation issue with autotest client:

12:34:41 DEBUG| [stdout] make -C /lib/modules/4.15.0-1127-kvm/build M=/home/ubuntu/autotest/client/tmp/ubuntu_ltp_kernel_misc/src/ltp/testcases/kernel/device-drivers/tbio/tbio_kernel
12:34:44 DEBUG| [stdout] CC [M] /home/ubuntu/autotest/client/tmp/ubuntu_ltp_kernel_misc/src/ltp/testcases/kernel/device-drivers/tbio/tbio_kernel/ltp_tbio.o
12:34:44 ERROR| [stderr] /home/ubuntu/autotest/client/tmp/ubuntu_ltp_kernel_misc/src/ltp/testcases/kernel/device-drivers/tbio/tbio_kernel/ltp_tbio.c: In function ‘send_request’:
12:34:44 ERROR| [stderr] /home/ubuntu/autotest/client/tmp/ubuntu_ltp_kernel_misc/src/ltp/testcases/kernel/device-drivers/tbio/tbio_kernel/ltp_tbio.c:82:7: error: implicit declaration of function ‘blk_make_request’; did you mean ‘blk_end_request’? [-Werror=implicit-function-declaration]
12:34:44 ERROR| [stderr] rq = blk_make_request(q, bio, GFP_KERNEL);
12:34:44 ERROR| [stderr] ^~~~~~~~~~~~~~~~
12:34:44 ERROR| [stderr] blk_end_request
12:34:44 ERROR| [stderr]

... (repeated for a many files)

This also appears to affect bionic:linux-aws-5.4-1085.91~18.04.1

See example console errors (grep "error:") here[1] and here[2].

[1] http://10.246.72.4:8080/view/all/job/bionic-linux-kvm-kvm-amd64.kvm-4.15.0-autovm4-ubuntu_ltp_kernel_misc/1/consoleText
[2]
http://10.246.75.167/2022.08.29/bionic/linux-aws-5.4/5.4.0-1085.92~18.04.1/sru-aws-aws-c5n.large-ubuntu_ltp_kernel_misc-log.html