ubuntu_ltp_syscalls failed to build with recvmmsg01

Bug #1896713 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Fix Released
Undecided
Unassigned

Bug Description

Build failed for recvmmsg01.c with the latest update in upstream:

    recvmmsg01.c: In function ‘do_test’:
    recvmmsg01.c:86:9: error: request for member ‘type’ in something not a structure or union
    timeout.type = tv->ts_type;
    ^
    recvmmsg01.c: At top level:
    recvmmsg01.c:127:1: warning: missing initializer for field ‘caps’ of ‘struct tst_test’ [-Wmissing-field-initializers]
    };
    ^
    In file included from ../../../../include/tst_timer.h:19:0,
    from ../../../../include/time64_variants.h:20,
    from ../sendmmsg/sendmmsg.h:9,
    from recvmmsg01.c:13:
    ../../../../include/tst_test.h:248:18: note: ‘caps’ declared here
    struct tst_cap *caps;
    ^~~~
    make[4]: *** [recvmmsg01] Error 1
    make[3]: *** [all] Error 2
    make[2]: *** [all] Error 2
    make[1]: *** [all] Error 2
    make: *** [testcases-all] Error

Introduced in: 135af8e ("syscalls/{send|recv}mmsg: add a test case for timeout and errno test")

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Changed in ubuntu-kernel-tests:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.