DEBUG: Executing shell function do_compile
NOTE: make -j 70 -l 140
Building lib
Building tests
Building include
Building btrfs
    [LTDEP]
Building ceph
Building ext4
Building cifs
Building f2fs
Building overlay
Building nfs
Building generic
 [GROUP] TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/git/tests/ceph/group.list
Building ocfs2
Building perf
 [GROUP] TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/git/tests/btrfs/group.list
 [GROUP] TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/git/tests/cifs/group.list
 [GROUP] TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/git/tests/ext4/group.list
Building selftest
Building shared
Building tmpfs
 [GROUP] TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/git/tests/f2fs/group.list
Building udf
Building xfs
 [GROUP] TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/git/tests/overlay/group.list
 [GROUP] TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/git/tests/nfs/group.list
 [GROUP] TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/git/tests/perf/group.list
 [GROUP] TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/git/tests/ocfs2/group.list
 [GROUP] TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/git/tests/tmpfs/group.list
 [GROUP] TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/git/tests/selftest/group.list
 [GROUP] TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/git/tests/generic/group.list
 [GROUP] TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/git/tests/shared/group.list
 [GROUP] TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/git/tests/udf/group.list
 [GROUP] TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/git/tests/xfs/group.list
    [CC] dataascii.lo
    [CC] databin.lo
    [CC] datapid.lo
    [CC] file_lock.lo
    [CC] forker.lo
    [CC] pattern.lo
    [CC] str_to_bytes.lo
    [CC] random_range.lo
    [CC] open_flags.lo
    [CC] string_to_tokens.lo
    [CC] tlibio.lo
    [CC] write_log.lo
    [CC] random.lo
datapid.c: In function 'datapidgen':
datapid.c:60:1: warning: old-style function definition [-Wold-style-definition]
   60 | datapidgen(pid, buffer, bsize, offset)
      | ^~~~~~~~~~
datapid.c: In function 'datapidchk':
datapid.c:76:1: warning: old-style function definition [-Wold-style-definition]
   76 | datapidchk(pid, buffer, bsize, offset, errmsg)
      | ^~~~~~~~~~
dataascii.c: In function 'dataasciigen':
dataascii.c:20:1: warning: old-style function definition [-Wold-style-definition]
   20 | dataasciigen(listofchars, buffer, bsize, offset)
      | ^~~~~~~~~~~~
dataascii.c: In function 'dataasciichk':
dataascii.c:55:1: warning: old-style function definition [-Wold-style-definition]
   55 | dataasciichk(listofchars, buffer, bsize, offset, errmsg)
      | ^~~~~~~~~~~~
forker.c: In function 'background':
forker.c:108:1: warning: old-style function definition [-Wold-style-definition]
  108 | background(prefix)
      | ^~~~~~~~~~
forker.c: In function 'forker':
forker.c:134:1: warning: old-style function definition [-Wold-style-definition]
  134 | forker(ncopies, mode, prefix)
      | ^~~~~~
pattern.c: In function 'pattern_check':
pattern.c:15:1: warning: old-style function definition [-Wold-style-definition]
   15 | pattern_check(buf, buflen, pat, patlen, patshift)
      | ^~~~~~~~~~~~~
pattern.c: In function 'pattern_fill':
pattern.c:82:1: warning: old-style function definition [-Wold-style-definition]
   82 | pattern_fill(buf, buflen, pat, patlen, patshift)
      | ^~~~~~~~~~~~
string_to_tokens.c: In function 'string_to_tokens':
string_to_tokens.c:57:10: error: conflicting types for 'strtok'; have 'char *(void)'
   57 |    char *strtok();
      |          ^~~~~~
In file included from string_to_tokens.c:50:
TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/recipe-sysroot/usr/include/string.h:356:14: note: previous declaration of 'strtok' with type 'char *(char * restrict,  const char * restrict)'
  356 | extern char *strtok (char *__restrict __s, const char *__restrict __delim)
      |              ^~~~~~
string_to_tokens.c:66:32: error: too many arguments to function 'strtok'; expected 0, have 2
   66 |    if ( (arg_array[num_toks] = strtok(arg_string, separator)) == NULL ) {
      |                                ^~~~~~ ~~~~~~~~~~
string_to_tokens.c:57:10: note: declared here
   57 |    char *strtok();
      |          ^~~~~~
string_to_tokens.c:71:37: error: too many arguments to function 'strtok'; expected 0, have 2
   71 |         if ( (arg_array[num_toks] = strtok(NULL, separator)) == NULL )
      |                                     ^~~~~~ ~~~~
string_to_tokens.c:57:10: note: declared here
   57 |    char *strtok();
      |          ^~~~~~
make[2]: *** [../include/buildrules:50: string_to_tokens.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
random_range.c: In function 'parse_ranges':
random_range.c:76:1: warning: old-style function definition [-Wold-style-definition]
   76 | parse_ranges(str, defmin, defmax, defmult, parse_func, rangeptr, errptr)
      | ^~~~~~~~~~~~
random_range.c:135:30: error: too many arguments to function 'parse_func'; expected 0, have 2
  135 |                         if ((*parse_func)(n1str, &rp->min) < 0) {
      |                             ~^~~~~~~~~~~~ ~~~~~
random_range.c:153:30: error: too many arguments to function 'parse_func'; expected 0, have 2
  153 |                         if ((*parse_func)(n2str, &rp->max) < 0) {
      |                             ~^~~~~~~~~~~~ ~~~~~
random_range.c:169:30: error: too many arguments to function 'parse_func'; expected 0, have 2
  169 |                         if ((*parse_func)(multstr, &rp->mult) < 0) {
      |                             ~^~~~~~~~~~~~ ~~~~~~~
random_range.c: In function 'str_to_int':
random_range.c:197:1: warning: old-style function definition [-Wold-style-definition]
  197 | str_to_int(str, ip)
      | ^~~~~~~~~~
str_to_bytes.c: In function 'str_to_bytes':
str_to_bytes.c:45:1: warning: old-style function definition [-Wold-style-definition]
   45 | str_to_bytes(s)
      | ^~~~~~~~~~~~
random_range.c: In function 'range_min':
random_range.c:217:1: warning: old-style function definition [-Wold-style-definition]
  217 | range_min(rbuf, r)
      | ^~~~~~~~~
str_to_bytes.c: In function 'str_to_lbytes':
str_to_bytes.c:80:1: warning: old-style function definition [-Wold-style-definition]
   80 | str_to_lbytes(s)
      | ^~~~~~~~~~~~~
random_range.c: In function 'range_max':
random_range.c:225:1: warning: old-style function definition [-Wold-style-definition]
  225 | range_max(rbuf, r)
      | ^~~~~~~~~
str_to_bytes.c: In function 'str_to_llbytes':
str_to_bytes.c:120:1: warning: old-style function definition [-Wold-style-definition]
  120 | str_to_llbytes(s)
      | ^~~~~~~~~~~~~~
random_range.c: In function 'range_mult':
random_range.c:233:1: warning: old-style function definition [-Wold-style-definition]
  233 | range_mult(rbuf, r)
      | ^~~~~~~~~~
random_range.c: In function 'random_range':
random_range.c:266:1: warning: old-style function definition [-Wold-style-definition]
  266 | random_range(min, max, mult, errp)
      | ^~~~~~~~~~~~
random_range.c: In function 'random_rangel':
random_range.c:336:1: warning: old-style function definition [-Wold-style-definition]
  336 | random_rangel(min, max, mult, errp)
      | ^~~~~~~~~~~~~
random_range.c: In function 'random_rangell':
random_range.c:427:1: warning: old-style function definition [-Wold-style-definition]
  427 | random_rangell(min, max, mult, errp)
      | ^~~~~~~~~~~~~~
random_range.c: In function 'random_range_seed':
random_range.c:591:1: warning: old-style function definition [-Wold-style-definition]
  591 | random_range_seed(s)
      | ^~~~~~~~~~~~~~~~~
random_range.c:594:17: error: conflicting types for 'srand48'; have 'void(void)'
  594 |     extern void srand48();
      |                 ^~~~~~~
In file included from random_range.c:7:
TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/recipe-sysroot/usr/include/stdlib.h:601:13: note: previous declaration of 'srand48' with type 'void(long int)'
  601 | extern void srand48 (long int __seedval) __THROW;
      |             ^~~~~~~
random_range.c:596:5: error: too many arguments to function 'srand48'; expected 0, have 1
  596 |     srand48(s);
      |     ^~~~~~~ ~
random_range.c:594:17: note: declared here
  594 |     extern void srand48();
      |                 ^~~~~~~
make[2]: *** [../include/buildrules:50: random_range.lo] Error 1
file_lock.c: In function 'file_lock':
file_lock.c:37:1: warning: old-style function definition [-Wold-style-definition]
   37 | file_lock(fd, flags, errormsg)
      | ^~~~~~~~~
file_lock.c: In function 'record_lock':
file_lock.c:112:1: warning: old-style function definition [-Wold-style-definition]
  112 | record_lock(fd, flags, start, len, errormsg)
      | ^~~~~~~~~~~
databin.c: In function 'databingen':
databin.c:19:1: warning: old-style function definition [-Wold-style-definition]
   19 | databingen (mode, buffer, bsize, offset)
      | ^~~~~~~~~~
databin.c: In function 'databinchk':
databin.c:66:1: warning: old-style function definition [-Wold-style-definition]
   66 | databinchk(mode, buffer, bsize, offset, errmsg)
      | ^~~~~~~~~~
tlibio.c: In function 'stride_bounds':
tlibio.c:146:1: warning: old-style function definition [-Wold-style-definition]
  146 | stride_bounds(offset, stride, nstrides, bytes_per_stride, min, max)
      | ^~~~~~~~~~~~~
tlibio.c: In function 'lio_write_buffer':
tlibio.c:446:1: warning: old-style function definition [-Wold-style-definition]
  446 | lio_write_buffer(fd, method, buffer, size, sig, errmsg, wrd)
      | ^~~~~~~~~~~~~~~~
write_log.c: In function 'wlog_open':
tlibio.c: In function 'lio_read_buffer':
tlibio.c:643:1: warning: old-style function definition [-Wold-style-definition]
  643 | lio_read_buffer(fd, method, buffer, size, sig, errmsg, wrd)
      | ^~~~~~~~~~~~~~~
write_log.c:90:1: warning: old-style function definition [-Wold-style-definition]
   90 | wlog_open(wfile, trunc, mode)
      | ^~~~~~~~~
write_log.c: In function 'wlog_close':
write_log.c:141:1: warning: old-style function definition [-Wold-style-definition]
  141 | wlog_close(wfile)
      | ^~~~~~~~~~
write_log.c: In function 'wlog_record_write':
write_log.c:176:1: warning: old-style function definition [-Wold-style-definition]
  176 | wlog_record_write(wfile, wrec, offset)
      | ^~~~~~~~~~~~~~~~~
write_log.c: In function 'wlog_scan_backward':
write_log.c:224:1: warning: old-style function definition [-Wold-style-definition]
  224 | wlog_scan_backward(wfile, nrecs, func, data)
      | ^~~~~~~~~~~~~~~~~~
write_log.c:227:27: error: argument 'func' doesn't match prototype
  227 | int                     (*func)();
      |                           ^~~~
In file included from write_log.c:49:
../include/write_log.h:127:17: error: prototype declaration
  127 | extern int      wlog_scan_backward(struct wlog_file *wfile, int nrecs,
      |                 ^~~~~~~~~~~~~~~~~~
write_log.c:332:30: error: too many arguments to function 'func'; expected 0, have 2
  332 |                         if ((*func)(&wrec, data) == WLOG_STOP_SCAN) {
      |                             ~^~~~~~ ~~~~~
write_log.c: In function 'wlog_rec_pack':
write_log.c:354:1: warning: old-style function definition [-Wold-style-definition]
  354 | wlog_rec_pack(wrec, buf, flag)
      | ^~~~~~~~~~~~~
write_log.c: In function 'wlog_rec_unpack':
write_log.c:403:1: warning: old-style function definition [-Wold-style-definition]
  403 | wlog_rec_unpack(wrec, buf)
      | ^~~~~~~~~~~~~~~
write_log.c: In function 'wlog_record_write':
write_log.c:205:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  205 |             write(wfile->w_afd, wbuf, reclen);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
write_log.c:209:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  209 |             write(wfile->w_rfd, wbuf, reclen);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [../include/buildrules:50: write_log.lo] Error 1
make[1]: *** [include/buildrules:30: lib] Error 2
make: *** [Makefile:51: default] Error 2
ERROR: oe_runmake failed
WARNING: TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/temp/run.do_compile.1067904:181 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script): 
	#1: bbfatal_log, TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/temp/run.do_compile.1067904, line 181
	#2: die, TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/temp/run.do_compile.1067904, line 165
	#3: oe_runmake, TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/temp/run.do_compile.1067904, line 160
	#4: autotools_do_compile, TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/temp/run.do_compile.1067904, line 155
	#5: do_compile, TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/temp/run.do_compile.1067904, line 150
	#6: main, TOPDIR/tmp/work/core2-64-oe-linux/xfstests/2024.03.03/temp/run.do_compile.1067904, line 194

Error details

Submitted on:
22/04/25 13:35
Error type:
Recipe
Task:
do_compile
Recipe:
xfstests
Recipe version:
2024.03.03-r0
Machine:
qemux86-64
Distro:
nodistro
Build system:
x86_64-linux
Target system:
x86_64-oe-linux
Host distro:
gentoo-2.17/gentoo-2.17
Branch:
jansa/master
Commit:
d8f7d9321a95ee69cc93591fb6798b7482480ad7
Build:
#205106
Submitter:
Martin.Jansa@gmail.com
Similar errors:
1
Open a bug