DEBUG: Executing python function autotools_aclocals
DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
DEBUG: Python function autotools_aclocals finished
DEBUG: Executing shell function do_compile
make_hash.c: In function ‘add_item’:
make_hash.c:115:19: error: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]
  115 |   const int len = strlen(name);
      |                   ^~~~~~
make_hash.c:41:1: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
   40 | #include <ctype.h>
  +++ |+#include <string.h>
   41 | 
make_hash.c:115:19: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch]
  115 |   const int len = strlen(name);
      |                   ^~~~~~
make_hash.c:115:19: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
make_hash.c:118:7: error: implicit declaration of function ‘strncmp’ [-Wimplicit-function-declaration]
  118 |   if (strncmp(line, name, len) != 0) return 0;
      |       ^~~~~~~
make_hash.c:118:7: note: include ‘<string.h>’ or provide a declaration of ‘strncmp’
make_hash.c:118:27: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch]
  118 |   if (strncmp(line, name, len) != 0) return 0;
      |                           ^~~
<built-in>: note: built-in ‘strncmp’ declared here
make_hash.c:119:21: error: implicit declaration of function ‘strdup’ [-Wimplicit-function-declaration]
  119 |   *item = fixspaces(strdup(line + len));
      |                     ^~~~~~
make_hash.c:119:21: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch]
make_hash.c: In function ‘check_alias’:
make_hash.c:133:9: error: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
  133 |     if (strcmp(aliases[i], string) == 0) return aliases;
      |         ^~~~~~
make_hash.c:133:9: note: include ‘<string.h>’ or provide a declaration of ‘strcmp’
make_hash.c:136:21: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch]
  136 |   aliases[*n - 1] = strdup(string);
      |                     ^~~~~~
make_hash.c: In function ‘read_raw_charset_data’:
make_hash.c:169:49: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch]
  169 |       if (r->nsurface[0] == '\0') r->nsurface = strdup("0");
      |                                                 ^~~~~~
make_hash.c:195:35: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch]
  195 |     if (strncmp(line, "aliases:", 8) == 0 && !r->aliases) {
      |                                   ^
<built-in>: note: built-in ‘strncmp’ declared here
make_hash.c:199:19: error: implicit declaration of function ‘strchr’ [-Wimplicit-function-declaration]
  199 |       while ((l = strchr(l, ' ')) != NULL) {
      |                   ^~~~~~
make_hash.c:199:19: note: include ‘<string.h>’ or provide a declaration of ‘strchr’
make_hash.c:199:19: warning: incompatible implicit declaration of built-in function ‘strchr’ [-Wbuiltin-declaration-mismatch]
make_hash.c:199:19: note: include ‘<string.h>’ or provide a declaration of ‘strchr’
make_hash.c:206:16: warning: incompatible implicit declaration of built-in function ‘strchr’ [-Wbuiltin-declaration-mismatch]
  206 |         next = strchr(l, ' ');
      |                ^~~~~~
make_hash.c:206:16: note: include ‘<string.h>’ or provide a declaration of ‘strchr’
make_hash.c:208:25: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch]
  208 |         r->aliases[i] = strdup(l);
      |                         ^~~~~~
make_hash.c: In function ‘build_alias_list’:
make_hash.c:298:9: error: implicit declaration of function ‘memmove’ [-Wimplicit-function-declaration]
  298 |         memmove(alist+i-1, alist+i, (nn-i)*sizeof(char*));
      |         ^~~~~~~
make_hash.c:298:9: note: include ‘<string.h>’ or provide a declaration of ‘memmove’
make_hash.c:298:9: warning: incompatible implicit declaration of built-in function ‘memmove’ [-Wbuiltin-declaration-mismatch]
make_hash.c:298:9: note: include ‘<string.h>’ or provide a declaration of ‘memmove’
WARNING: TOPDIR/tmp/work/core2-64-poky-linux/enca/1.19/temp/run.do_compile.2555408:150 exit 1 from 'gcc -o make_hash make_hash.c'
WARNING: Backtrace (BB generated script): 
	#1: do_compile, TOPDIR/tmp/work/core2-64-poky-linux/enca/1.19/temp/run.do_compile.2555408, line 150
	#2: main, TOPDIR/tmp/work/core2-64-poky-linux/enca/1.19/temp/run.do_compile.2555408, line 191

Error details

Submitted on:
14/10/24 02:57
Error type:
Recipe
Task:
do_compile
Recipe:
enca
Recipe version:
1.19-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
fedora-40/fedora-40
Branch:
yoe/mut
Commit:
0191a21bb3e5905aa03b20a05a031abd54f6b299
Build:
#193427
Submitter:
yp-ab-fedora40-vk-3.yocto.io
Link back:
https://valkyrie.yoctoproject.org/#/builders/81/builds/51
Similar errors:
1
Open a bug