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/ifplugd/0.28/build'
Making all in src
make[2]: Entering directory 'TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/build/src'
make  all-am
make[3]: Entering directory 'TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/build/src'
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/ifplugd/0.28/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../sources/ifplugd-0.28/src -I..    -D_REENTRANT -I/usr/include -DSYSCONFDIR="\"/etc\"" -D_GNU_SOURCE -O2 -g -fcanon-prefix-map  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/sources/ifplugd-0.28=/usr/src/debug/ifplugd/0.28  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/build=/usr/src/debug/ifplugd/0.28  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/recipe-sysroot-native=  -pipe -pipe -W -Wall -Wno-unused-parameter -c -o ifplugd.o ../../sources/ifplugd-0.28/src/ifplugd.c
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/ifplugd/0.28/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../sources/ifplugd-0.28/src -I..    -D_REENTRANT -I/usr/include -DSYSCONFDIR="\"/etc\"" -D_GNU_SOURCE -O2 -g -fcanon-prefix-map  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/sources/ifplugd-0.28=/usr/src/debug/ifplugd/0.28  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/build=/usr/src/debug/ifplugd/0.28  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/recipe-sysroot-native=  -pipe -pipe -W -Wall -Wno-unused-parameter -c -o interface.o ../../sources/ifplugd-0.28/src/interface.c
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/ifplugd/0.28/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../sources/ifplugd-0.28/src -I..    -D_REENTRANT -I/usr/include -DSYSCONFDIR="\"/etc\"" -D_GNU_SOURCE -O2 -g -fcanon-prefix-map  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/sources/ifplugd-0.28=/usr/src/debug/ifplugd/0.28  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/build=/usr/src/debug/ifplugd/0.28  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/recipe-sysroot-native=  -pipe -pipe -W -Wall -Wno-unused-parameter -c -o ifmonitor.o ../../sources/ifplugd-0.28/src/ifmonitor.c
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/ifplugd/0.28/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../sources/ifplugd-0.28/src -I..    -D_REENTRANT -I/usr/include -DSYSCONFDIR="\"/etc\"" -D_GNU_SOURCE -O2 -g -fcanon-prefix-map  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/sources/ifplugd-0.28=/usr/src/debug/ifplugd/0.28  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/build=/usr/src/debug/ifplugd/0.28  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/recipe-sysroot-native=  -pipe -pipe -W -Wall -Wno-unused-parameter -c -o nlapi.o ../../sources/ifplugd-0.28/src/nlapi.c
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/ifplugd/0.28/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../sources/ifplugd-0.28/src -I..    -D_REENTRANT -I/usr/include -DSYSCONFDIR="\"/etc\"" -D_GNU_SOURCE -O2 -g -fcanon-prefix-map  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/sources/ifplugd-0.28=/usr/src/debug/ifplugd/0.28  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/build=/usr/src/debug/ifplugd/0.28  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/recipe-sysroot=  -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/recipe-sysroot-native=  -pipe -pipe -W -Wall -Wno-unused-parameter -c -o ifplugstatus.o ../../sources/ifplugd-0.28/src/ifplugstatus.c
cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories]
In file included from ../../sources/ifplugd-0.28/src/ifmonitor.c:25:
/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 ../../sources/ifplugd-0.28/src/nlapi.c:25:
/usr/include/stdio.h:205:27: error: 'L_tmpnam' undeclared here (not in a function)
  205 | extern char *tmpnam (char[L_tmpnam]) __THROW __wur;
      |                           ^~~~~~~~
In file included from ../../sources/ifplugd-0.28/src/ifplugstatus.c:25:
/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
/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 ../../sources/ifplugd-0.28/src/ifplugd.c:27:
/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 ../../sources/ifplugd-0.28/src/interface.c:35:
/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
cc1: some warnings being treated as errors
make[3]: *** [Makefile:435: ifmonitor.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from ../../sources/ifplugd-0.28/src/nlapi.h:27,
                 from ../../sources/ifplugd-0.28/src/nlapi.c:34:
../../sources/ifplugd-0.28/src/nlapi.c: In function 'nlapi_work':
/usr/include/linux/netlink.h:109:45: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  109 |                            (nlh)->nlmsg_len <= (len))
      |                                             ^~
../../sources/ifplugd-0.28/src/nlapi.c:89:18: note: in expansion of macro 'NLMSG_OK'
   89 |             if (!NLMSG_OK(p, bytes) || (size_t) bytes < sizeof(struct nlmsghdr) || (size_t) bytes < p->nlmsg_len) {
      |                  ^~~~~~~~
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
make[3]: *** [Makefile:435: interface.o] Error 1
make[3]: *** [Makefile:435: nlapi.o] Error 1
../../sources/ifplugd-0.28/src/ifplugstatus.c: In function 'main':
../../sources/ifplugd-0.28/src/ifplugstatus.c:205:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  205 |         fgets(ln, sizeof(ln), f);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
../../sources/ifplugd-0.28/src/ifplugstatus.c:206:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
  206 |         fgets(ln, sizeof(ln), f);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[3]: *** [Makefile:435: ifplugstatus.o] Error 1
cc1: some warnings being treated as errors
make[3]: *** [Makefile:435: ifplugd.o] Error 1
make[3]: Leaving directory 'TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/build/src'
make[2]: *** [Makefile:328: all] Error 2
make[2]: Leaving directory 'TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/build/src'
make[1]: *** [Makefile:409: all-recursive] Error 1
make[1]: Leaving directory 'TOPDIR/tmp/work/x86-64-v3-poky-linux/ifplugd/0.28/build'
make: *** [Makefile:348: 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:
ifplugd
Recipe version:
0.28-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:
5
Open a bug