DEBUG: Executing python function autotools_aclocals
DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i686-linux', 'common']
DEBUG: Python function autotools_aclocals finished
DEBUG: Executing shell function do_compile
NOTE: make -j 32
make  all-am
make[1]: Entering directory 'TOPDIR/build/tmp/work/core2-32-yoe-linux/tayga/0.9.2/build'
i686-yoe-linux-clang -target i686-yoe-linux  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/tayga/0.9.2/recipe-sysroot -DTAYGA_CONF_PATH=\"/etc/tayga.conf\" -I. -I../tayga-0.9.2     -g -Wall -c -o nat64.o ../tayga-0.9.2/nat64.c
i686-yoe-linux-clang -target i686-yoe-linux  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/tayga/0.9.2/recipe-sysroot -DTAYGA_CONF_PATH=\"/etc/tayga.conf\" -I. -I../tayga-0.9.2     -g -Wall -c -o addrmap.o ../tayga-0.9.2/addrmap.c
i686-yoe-linux-clang -target i686-yoe-linux  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/tayga/0.9.2/recipe-sysroot -DTAYGA_CONF_PATH=\"/etc/tayga.conf\" -I. -I../tayga-0.9.2     -g -Wall -c -o dynamic.o ../tayga-0.9.2/dynamic.c
i686-yoe-linux-clang -target i686-yoe-linux  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/tayga/0.9.2/recipe-sysroot -DTAYGA_CONF_PATH=\"/etc/tayga.conf\" -I. -I../tayga-0.9.2     -g -Wall -c -o tayga.o ../tayga-0.9.2/tayga.c
i686-yoe-linux-clang -target i686-yoe-linux  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/tayga/0.9.2/recipe-sysroot -DTAYGA_CONF_PATH=\"/etc/tayga.conf\" -I. -I../tayga-0.9.2     -g -Wall -c -o conffile.o ../tayga-0.9.2/conffile.c
../tayga-0.9.2/nat64.c:119:6: error: call to undeclared function 'writev'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  119 |         if (writev(gcfg->tun_fd, iov, data_len ? 2 : 1) < 0)
      |             ^
../tayga-0.9.2/nat64.c:119:6: note: did you mean 'write'?
TOPDIR/build/tmp/work/core2-32-yoe-linux/tayga/0.9.2/recipe-sysroot/usr/include/unistd.h:378:16: note: 'write' declared here
  378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
      |                ^
../tayga-0.9.2/nat64.c:226:22: warning: taking address of packed member 'dest' of class or structure 'ip6' may result in an unaligned pointer value [-Waddress-of-packed-member]
  226 |         if (map_ip4_to_ip6(&header.ip6.dest, &p->ip4->dest, &dest)) {
      |                             ^~~~~~~~~~~~~~~
../tayga-0.9.2/nat64.c:231:22: warning: taking address of packed member 'src' of class or structure 'ip6' may result in an unaligned pointer value [-Waddress-of-packed-member]
  231 |         if (map_ip4_to_ip6(&header.ip6.src, &p->ip4->src, &src)) {
      |                             ^~~~~~~~~~~~~~
../tayga-0.9.2/nat64.c:278:7: error: call to undeclared function 'writev'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  278 |                 if (writev(gcfg->tun_fd, iov, 2) < 0)
      |                     ^
../tayga-0.9.2/nat64.c:313:8: error: call to undeclared function 'writev'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  313 |                         if (writev(gcfg->tun_fd, iov, 2) < 0) {
      |                             ^
../tayga-0.9.2/nat64.c:../tayga-0.9.2/tayga.c418:22:: warning: taking address of packed member 'src' of class or structure 'ip6' may result in an unaligned pointer value [-Waddress-of-packed-member]
167:2:   418warning:  |         ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]if
 (map_ip4_to_ip6(&header.ip6_  em.167s | rc        , w&rpi_teem(.isp4i->gsnrca,l fNdULsL[) 1||]
,      |                              ^~~~~~~~~~~~~~~~~
&si../tayga-0.9.2/nat64.cg:n419:a20l: ,warning: taking address of packed member 'dest' of class or structure 'ip6' may result in an unaligned pointer value [-Waddress-of-packed-member] 
si  z419 | e        o                fm(asp_iipg4n_atlo)_)i;p
6      (| &        ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~h
eader.ip6_em.dest,
      |                                         ^~~~~~~~~~~~~~~~~~
../tayga-0.9.2/nat64.c:495:22: warning: taking address of packed member 'src' of class or structure 'ip6' may result in an unaligned pointer value [-Waddress-of-packed-member]
  495 |         if (map_ip4_to_ip6(&header.ip6.src, &p->ip4->src, NULL)) {
      |                             ^~~~~~~~~~~~~~
../tayga-0.9.2/nat64.c:502:22: warning: taking address of packed member 'dest' of class or structure 'ip6' may result in an unaligned pointer value [-Waddress-of-packed-member]
  502 |         if (map_ip4_to_ip6(&header.ip6.dest, &p->ip4->dest, NULL))
      |                             ^~~~~~~~~~~~~~~
../tayga-0.9.2/nat64.c:525:6: error: call to undeclared function 'writev'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  525 |         if (writev(gcfg->tun_fd, iov, 2) < 0)
      |             ^
../tayga-0.9.2/nat64.c:588:6: error: call to undeclared function 'writev'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  588 |         if ../tayga-0.9.2/tayga.c(:w391r:3i:t warning: eignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]v
(gcfg-  >391 | t                ucnhd_irf(d"/,") ;i
o      | v                ^~~~~ ~~~
, data_len ? 2 : 1) < 0)
      |             ^
../tayga-0.9.2/tayga.c:438:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  438 |                 write(pidfd, addrbuf, strlen(addrbuf));
      |                 ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tayga-0.9.2/tayga.c:463:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
  463 |                 chdir("/");
      |                 ^~~~~ ~~~
../tayga-0.9.2/nat64.c:705:22: warning: taking address of packed member 'dest' of class or structure 'ip4' may result in an unaligned pointer value [-Waddress-of-packed-member]
  705 |         if (map_ip6_to_ip4(&header.ip4.dest, &p->ip6->dest, &dest, 0)) {
      |                             ^~~~~~~~~~~~~~~
../tayga-0.9.2/nat64.c:710:22: warning: taking address of packed member 'src' of class or structure 'ip4' may result in an unaligned pointer value [-Waddress-of-packed-member]
  710 |         if (map_ip6_to_ip4(&header.ip4.src, &p->ip6->src, &src, 1)) {
      |                             ^~~~~~~~~~~~~~
../tayga-0.9.2/nat64.c:741:6: error: call to undeclared function 'writev'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  741 |         if (writev(gcfg->tun_fd, iov, 2) < 0)
      |             ^
../tayga-0.9.2/nat64.c:901:22: warning: taking address of packed member 'src' of class or structure 'ip4' may result in an unaligned pointer value [-Waddress-of-packed-member]
  901 |         if (map_ip6_to_ip4(&header.ip4_em.src, &p_em.ip6->src, NULL, 0) ||
      |                             ^~~~~~~~~~~~~~~~~
../tayga-0.9.2/nat64.c:902:20: warning: taking address of packed member 'dest' of class or structure 'ip4' may result in an unaligned pointer value [-Waddress-of-packed-member]
  902 |                         map_ip6_to_ip4(&header.ip4_em.dest,
      |                                         ^~~~~~~~~~~~~~~~~~
../tayga-0.9.2/nat64.c:913:22: warning: taking address of packed member 'src' of class or structure 'ip4' may result in an unaligned pointer value [-Waddress-of-packed-member]
  913 |         if (map_ip6_to_ip4(&header.ip4.src, &p->ip6->src, NULL, 0)) {
      |                             ^~~~~~~~~~~~~~
../tayga-0.9.2/nat64.c:920:22: warning: taking address of packed member 'dest' of class or structure 'ip4' may result in an unaligned pointer value [-Waddress-of-packed-member]
  920 |         if (map_ip6_to_ip4(&header.ip4.dest, &p->ip6->dest, NULL, 0))
      |                             ^~~~~~~~~~~~~~~
../tayga-0.9.2/nat64.c:943:6: error: call to undeclared function 'writev'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  943 |         if (writev(gcfg->tun_fd, iov, 2) < 0)
      |             ^
12 warnings and 7 errors generated.
make[1]: *** [Makefile:437: nat64.o] Error 1
make[1]: *** Waiting for unfinished jobs....
4 warnings generated.
make[1]: Leaving directory 'TOPDIR/build/tmp/work/core2-32-yoe-linux/tayga/0.9.2/build'
make: *** [Makefile:315: all] Error 2
ERROR: oe_runmake failed
WARNING: TOPDIR/build/tmp/work/core2-32-yoe-linux/tayga/0.9.2/temp/run.do_compile.864882:182 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script): 
	#1: bbfatal_log, TOPDIR/build/tmp/work/core2-32-yoe-linux/tayga/0.9.2/temp/run.do_compile.864882, line 182
	#2: die, TOPDIR/build/tmp/work/core2-32-yoe-linux/tayga/0.9.2/temp/run.do_compile.864882, line 166
	#3: oe_runmake, TOPDIR/build/tmp/work/core2-32-yoe-linux/tayga/0.9.2/temp/run.do_compile.864882, line 161
	#4: autotools_do_compile, TOPDIR/build/tmp/work/core2-32-yoe-linux/tayga/0.9.2/temp/run.do_compile.864882, line 156
	#5: do_compile, TOPDIR/build/tmp/work/core2-32-yoe-linux/tayga/0.9.2/temp/run.do_compile.864882, line 151
	#6: main, TOPDIR/build/tmp/work/core2-32-yoe-linux/tayga/0.9.2/temp/run.do_compile.864882, line 195

Error details

Submitted on:
22/09/23 09:06
Error type:
Recipe
Task:
do_compile
Recipe:
tayga
Recipe version:
0.9.2-r0
Machine:
qemux86
Distro:
yoe
Build system:
x86_64-linux
Target system:
i686-yoe-linux
Host distro:
ubuntu-22.04/ubuntu-22.04
Branch:
HEAD
Commit:
3dcfd7b6c5bb45b3b90488009384e76ed90274d3
Build:
#171926
Submitter:
ab@rdk
Similar errors:
0
Open a bug