DEBUG: Executing shell function do_compile
NOTE: make -j 70 -l 140
Building include
Building lib
Building tests
[LTDEP]
Building btrfs
Building ceph
Building cifs
Building ext4
Building f2fs
Building generic
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/ceph/group.list
Building nfs
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/ext4/group.list
Building overlay
Building ocfs2
Building perf
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/cifs/group.list
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/f2fs/group.list
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/nfs/group.list
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/ocfs2/group.list
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/perf/group.list
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/overlay/group.list
Building xfs
Building tmpfs
Building udf
Building selftest
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/btrfs/group.list
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/tmpfs/group.list
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/generic/group.list
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/udf/group.list
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/xfs/group.list
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/selftest/group.list
[CC] databin.lo
[CC] dataascii.lo
[CC] datapid.lo
[CC] file_lock.lo
[CC] forker.lo
[CC] pattern.lo
[CC] open_flags.lo
[CC] random_range.lo
[CC] string_to_tokens.lo
[CC] str_to_bytes.lo
[CC] write_log.lo
[CC] tlibio.lo
[CC] random.lo
write_log.c: In function 'wlog_record_write':
write_log.c:198:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
198 | write(wfile->w_afd, wbuf, reclen);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
write_log.c:202:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
202 | write(wfile->w_rfd, wbuf, reclen);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[LD]
Building ltp
Building src
Building m4
Building common
Building tools
[DEP]
[DEP]
[CC] fsstress
[CC] iogen
[CC] fsx
[CC] doio
iogen.c: In function 'main':
iogen.c:280:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
280 | write(outfd, (char *)&req, sizeof(req));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iogen.c: In function 'parse_cmdline':
iogen.c:1535:17: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
1535 | getcwd(fptr->f_path,
| ^~~~~~~~~~~~~~~~~~~~
1536 | sizeof(fptr->f_path)-1);
| ~~~~~~~~~~~~~~~~~~~~~~~
[DEP]
[DEP]
[DEP]
[CC] dirstress
[CC] fill
[CC] fill2
[CC] getpagesize
[CC] holes
[CC] lstat64
[CC] nametest
[CC] permname
[CC] randholes
[CC] runas
[CC] usemem
[CC] truncfile
[CC] mmapcat
[CC] append_reader
[CC] append_writer
[CC] dirperf
[CC] metaperf
[CC] devzero
[CC] alloc
[CC] feature
[CC] fault
[CC] t_access_root
[CC] fstest
[CC] godown
[CC] resvtest
[CC] writemod
[CC] makeextents
[CC] writev_on_pagefault
[CC] itrash
[CC] rename
[CC] multi_open_unlink
[CC] genhashnames
[CC] unwritten_sync
[CC] t_holes
[CC] t_mmap_writev
[CC] t_truncate_cmtime
[CC] dirhash_collide
[CC] t_rename_overwrite
[CC] holetest
[CC] af_unix
[CC] t_mmap_stale_pmd
[CC] t_mmap_fallocate
[CC] fsync-err
[CC] t_mmap_cow_race
[CC] t_ext4_dax_journal_corruption
[CC] t_mmap_write_ro
[CC] t_ext4_dax_inline_corruption
[CC] mmap-rw-fault
[CC] t_mmap_writev_overlap
[CC] checkpoint_journal
[CC] t_enospc
[CC] t_create_long_dirs
[CC] t_create_short_dirs
[CC] dio-append-buf-fault
[CC] t_get_file_time
nametest.c: In function 'main':
nametest.c:236:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
236 | write(1, "\n", 1);
| ^~~~~~~~~~~~~~~~~
nametest.c:238:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
238 | write(1, ".", 1);
| ^~~~~~~~~~~~~~~~
nametest.c:288:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
288 | write(1, ".", 1);
| ^~~~~~~~~~~~~~~~
lstat64.c: In function 'main':
lstat64.c:65:14: error: passing argument 1 of 'time' from incompatible pointer type [-Wincompatible-pointer-types]
65 | time(&timebuf);
| ^~~~~~~~
| |
| long int *
In file included from TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/recipe-sysroot/usr/include/features.h:524,
from TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/recipe-sysroot/usr/include/unistd.h:25,
from lstat64.c:7:
TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/recipe-sysroot/usr/include/time.h:85:15: note: expected 'time_t *' {aka 'long long int *'} but argument is of type 'long int *'
85 | extern time_t __REDIRECT_NTH (time, (time_t *__timer), __time64);
| ^~~~~~~~~~~~~~
make[2]: *** [Makefile:123: lstat64] Error 1
make[2]: *** Waiting for unfinished jobs....
t_ext4_dax_journal_corruption.c: In function 'main':
t_ext4_dax_journal_corruption.c:62:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
62 | ftruncate(fd, 0);
| ^~~~~~~~~~~~~~~~
t_mmap_stale_pmd.c: In function 'main':
t_mmap_stale_pmd.c:42:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
42 | ftruncate(fd, 0);
| ^~~~~~~~~~~~~~~~
t_mmap_stale_pmd.c:43:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
43 | ftruncate(fd, MiB(4));
| ^~~~~~~~~~~~~~~~~~~~~
t_mmap_stale_pmd.c:55:9: warning: ignoring return value of 'pwrite' declared with attribute 'warn_unused_result' [-Wunused-result]
55 | pwrite(fd, buffer, strlen(buffer), MiB(2));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
t_get_file_time.c: In function 'main':
t_get_file_time.c:50:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=]
50 | printf("%lu\n", t);
| ~~^ ~
| | |
| | time_t {aka long long int}
| long unsigned int
| %llu
t_access_root.c: In function 'main':
t_access_root.c:55:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
55 | system(cmd);
| ^~~~~~~~~~~
holetest.c: In function 'pt_write_marker':
holetest.c:140:17: warning: ignoring return value of 'pwrite' declared with attribute 'warn_unused_result' [-Wunused-result]
140 | pwrite(fd, &tid, sizeof(tid), i * page_size + pgoff);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mmapcat.c: In function 'main':
mmapcat.c:29:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
29 | write(1,ptr2,ptr - ptr2);
| ^~~~~~~~~~~~~~~~~~~~~~~~
t_mmap_cow_race.c: In function 'main':
t_mmap_cow_race.c:61:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
61 | ftruncate(fd, 0);
| ^~~~~~~~~~~~~~~~
t_mmap_cow_race.c:62:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
62 | ftruncate(fd, MiB(2));
| ^~~~~~~~~~~~~~~~~~~~~
mmap-rw-fault.c: In function 'main':
mmap-rw-fault.c:154:37: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'ssize_t' {aka 'int'} [-Wformat=]
154 | err(1, "pread %s: %ld != %u", filename, ret, page_size);
| ~~^ ~~~
| | |
| long int ssize_t {aka int}
| %d
mmap-rw-fault.c:162:48: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'ssize_t' {aka 'int'} [-Wformat=]
162 | err(1, "pread %s (O_DIRECT): %ld != %u", filename, ret, page_size);
| ~~^ ~~~
| | |
| long int ssize_t {aka int}
| %d
mmap-rw-fault.c:174:38: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'ssize_t' {aka 'int'} [-Wformat=]
174 | err(1, "pwrite %s: %ld != %u", filename, ret, page_size);
| ~~^ ~~~
| | |
| long int ssize_t {aka int}
| %d
mmap-rw-fault.c:182:49: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'ssize_t' {aka 'int'} [-Wformat=]
182 | err(1, "pwrite %s (O_DIRECT): %ld != %u", filename, ret, page_size);
| ~~^ ~~~
| | |
| long int ssize_t {aka int}
| %d
mmap-rw-fault.c:195:58: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'ssize_t' {aka 'int'} [-Wformat=]
195 | err(1, "pread %s (O_DIRECT) from hole: %ld != %u", filename, ret, page_size);
| ~~^ ~~~
| | |
| long int ssize_t {aka int}
| %d
mmap-rw-fault.c:205:57: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'ssize_t' {aka 'int'} [-Wformat=]
205 | err(1, "pwrite %s (O_DIRECT): %ld != %u", filename, ret, page_size);
| ~~^ ~~~
| | |
| long int ssize_t {aka int}
| %d
metaperf.c: In function 'crfiles':
metaperf.c:166:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
166 | write(fd, buf, fsize);
| ^~~~~~~~~~~~~~~~~~~~~
metaperf.c: In function 't_linkun':
metaperf.c:454:25: warning: ignoring return value of 'link' declared with attribute 'warn_unused_result' [-Wunused-result]
454 | link("a", *fnp);
| ^~~~~~~~~~~~~~~
metaperf.c: In function 't_chown':
metaperf.c:404:33: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result]
404 | chown(*fnp, 2, -1);
| ^~~~~~~~~~~~~~~~~~
metaperf.c:406:33: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result]
406 | chown(*fnp, 1, -1);
| ^~~~~~~~~~~~~~~~~~
metaperf.c: In function 'i_chown':
metaperf.c:291:17: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result]
291 | chown(*fnp, 1, -1);
| ^~~~~~~~~~~~~~~~~~
metaperf.c: In function 'main':
metaperf.c:152:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
152 | chdir("..");
| ^~~~~~~~~~~
alloc.c: In function 'main':
alloc.c:247:17: warning: ignoring return value of 'mkstemp' declared with attribute 'warn_unused_result' [-Wunused-result]
247 | mkstemp(tmpfile);
| ^~~~~~~~~~~~~~~~
make[1]: *** [include/buildrules:30: src] Error 2
make: *** [Makefile:65: default] Error 2
ERROR: oe_runmake failed
WARNING: TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/temp/run.do_compile.3721578:181 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script):
#1: bbfatal_log, TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/temp/run.do_compile.3721578, line 181
#2: die, TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/temp/run.do_compile.3721578, line 165
#3: oe_runmake, TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/temp/run.do_compile.3721578, line 160
#4: autotools_do_compile, TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/temp/run.do_compile.3721578, line 155
#5: do_compile, TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/temp/run.do_compile.3721578, line 150
#6: main, TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/temp/run.do_compile.3721578, line 194