DEBUG: Executing shell function do_compile
NOTE: make -j 16 -l 75
make  all-recursive
make[1]: Entering directory 'TOPDIR/tmp/work/x86-64-v3-poky-linux/librelp/1.12.0/build'
Making all in src
make[2]: Entering directory 'TOPDIR/tmp/work/x86-64-v3-poky-linux/librelp/1.12.0/build/src'
/bin/bash ../libtool  --tag=CC   --mode=compile x86_64-poky-linux-gcc  -m64 -march=x86-64-v3 -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/librelp/1.12.0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../sources/librelp-1.12.0/src -I..     -I/usr/include -fno-strict-aliasing -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow  -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Werror -Wno-suggest-attribute=format -Wunused-parameter -Wmissing-field-initializers  -fvisibility=hidden -O2 -g -fcanon-prefix-map  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/librelp/1.12.0/sources/librelp-1.12.0=/usr/src/debug/librelp/1.12.0  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/librelp/1.12.0/build=/usr/src/debug/librelp/1.12.0  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/librelp/1.12.0/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/librelp/1.12.0/recipe-sysroot-native=  -pipe -I/usr/include -I/usr/include -c -o librelp_la-relp.lo `test -f 'relp.c' || echo '../../sources/librelp-1.12.0/src/'`relp.c
libtool: compile:  x86_64-poky-linux-gcc -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/librelp/1.12.0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../sources/librelp-1.12.0/src -I.. -I/usr/include -fno-strict-aliasing -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Werror -Wno-suggest-attribute=format -Wunused-parameter -Wmissing-field-initializers -fvisibility=hidden -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/librelp/1.12.0/sources/librelp-1.12.0=/usr/src/debug/librelp/1.12.0 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/librelp/1.12.0/build=/usr/src/debug/librelp/1.12.0 -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/librelp/1.12.0/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/librelp/1.12.0/recipe-sysroot-native= -pipe -I/usr/include -I/usr/include -c ../../sources/librelp-1.12.0/src/relp.c  -fPIC -DPIC -o .libs/librelp_la-relp.o
cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from ../../sources/librelp-1.12.0/src/relp.c:34:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' undeclared here (not in a function)
  205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
      |                           ^~~~~~~~
/usr/include/stdio.h:210:33: error: 'L_tmpnam' undeclared here (not in a function); did you mean 'tmpnam'?
  210 | extern char *tmpnam_r (char __s[L_tmpnam]) __THROW __wur;
      |                                 ^~~~~~~~
      |                                 tmpnam
In file included from /usr/include/features.h:489,
                 from TOPDIR/tmp/work/x86-64-v3-poky-linux/librelp/1.12.0/recipe-sysroot/usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27:
/usr/include/stdio.h:434:24: error: redundant redeclaration of 'fscanf' [-Werror=redundant-decls]
  434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream,
      |                        ^~~~~~
/usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE *, const char *, ...)'
  415 | extern int fscanf (FILE *__restrict __stream,
      |            ^~~~~~
/usr/include/stdio.h:437:24: error: redundant redeclaration of 'scanf' [-Werror=redundant-decls]
  437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...),
      |                        ^~~~~
/usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)'
  421 | extern int scanf (const char *__restrict __format, ...) __wur;
      |            ^~~~~
/usr/include/stdio.h:439:28: error: redundant redeclaration of 'sscanf' [-Werror=redundant-decls]
  439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s,
      |                            ^~~~~~
/usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)'
  423 | extern int sscanf (const char *__restrict __s,
      |            ^~~~~~
/usr/include/stdio.h:479:24: error: redundant redeclaration of 'vfscanf' [-Werror=redundant-decls]
  479 | extern int __REDIRECT (vfscanf,
      |                        ^~~~~~~
/usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE *, const char *, __va_list_tag *)'
  459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format,
      |            ^~~~~~~
/usr/include/stdio.h:484:24: error: redundant redeclaration of 'vscanf' [-Werror=redundant-decls]
  484 | extern int __REDIRECT (vscanf, (const char *__restrict __format,
      |                        ^~~~~~
/usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __va_list_tag *)'
  467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg)
      |            ^~~~~~
/usr/include/stdio.h:487:28: error: redundant redeclaration of 'vsscanf' [-Werror=redundant-decls]
  487 | extern int __REDIRECT_NTH (vsscanf,
      |                            ^~~~~~~
/usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __va_list_tag *)'
  471 | extern int vsscanf (const char *__restrict __s,
      |            ^~~~~~~
In file included from ../../sources/librelp-1.12.0/src/relp.c:35:
/usr/include/stdlib.h:582:14: error: redundant redeclaration of 'reallocarray' [-Werror=redundant-decls]
  582 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size)
      |              ^~~~~~~~~~~~
/usr/include/stdlib.h:576:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t,  size_t)' {aka 'void *(void *, long unsigned int,  long unsigned int)'}
  576 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size)
      |              ^~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:553: librelp_la-relp.lo] Error 1
make[2]: Leaving directory 'TOPDIR/tmp/work/x86-64-v3-poky-linux/librelp/1.12.0/build/src'
make[1]: *** [Makefile:481: all-recursive] Error 1
make[1]: Leaving directory 'TOPDIR/tmp/work/x86-64-v3-poky-linux/librelp/1.12.0/build'
make: *** [Makefile:390: all] Error 2
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.

Error details

Submitted on:
11/07/26 18:51
Error type:
Recipe
Task:
do_compile
Recipe:
librelp
Recipe version:
1.12.0-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
debian-12/debian-12
Branch:
yoe/mut
Commit:
978615ce96b14afb4cf0b6d77fa088fbebc1a5fc
Build:
#242372
Submitter:
yp-ab-debian12-vk-5
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/81/builds/1622
Similar errors:
1
Open a bug