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
NOTE: make -j 70 -l 140
make  all-recursive
make[1]: Entering directory 'TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/build'
Making all in lib
make[2]: Entering directory 'TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/build/lib'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory 'TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/build/lib'
Making all in src
make[2]: Entering directory 'TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/build/src'
x86_64-oe-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/recipe-sysroot -DNFGVMIN -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I. -I../../lrzsz-0.12.20/src -I.. -I.. -I../../lrzsz-0.12.20/src -I../../lrzsz-0.12.20/src -I../intl -I../../lrzsz-0.12.20/lib    -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/lrzsz-0.12.20=/usr/src/debug/lrzsz/0.12.20  -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/lrzsz-0.12.20=/usr/src/debug/lrzsz/0.12.20  -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/build=/usr/src/debug/lrzsz/0.12.20  -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/build=/usr/src/debug/lrzsz/0.12.20  -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/recipe-sysroot-native=  -c -o tcp.o ../../lrzsz-0.12.20/src/tcp.c
../../lrzsz-0.12.20/src/tcp.c: In function 'tcp_server':
../../lrzsz-0.12.20/src/tcp.c:75:56: error: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types]
   75 |         if (getsockname (sock, (struct sockaddr *) &t, &len)) {
      |                                                        ^~~~
      |                                                        |
      |                                                        size_t * {aka long unsigned int *}
In file included from ../../lrzsz-0.12.20/src/tcp.c:26:
TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/recipe-sysroot/usr/include/sys/socket.h:117:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'}
  117 |                         socklen_t *__restrict __len) __THROW;
      |                         ~~~~~~~~~~~~~~~~~~~~~~^~~~~
../../lrzsz-0.12.20/src/tcp.c:83:52: error: passing argument 3 of 'getsockname' from incompatible pointer type [-Wincompatible-pointer-types]
   83 |         getsockname (sock, (struct sockaddr *) &t, &len);
      |                                                    ^~~~
      |                                                    |
      |                                                    size_t * {aka long unsigned int *}
TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/recipe-sysroot/usr/include/sys/socket.h:117:47: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'}
  117 |                         socklen_t *__restrict __len) __THROW;
      |                         ~~~~~~~~~~~~~~~~~~~~~~^~~~~
../../lrzsz-0.12.20/src/tcp.c: In function 'tcp_accept':
../../lrzsz-0.12.20/src/tcp.c:103:51: error: passing argument 3 of 'accept' from incompatible pointer type [-Wincompatible-pointer-types]
  103 |         if ((so = accept(d, (struct sockaddr*)&s, &namelen)) < 0) {
      |                                                   ^~~~~~~~
      |                                                   |
      |                                                   size_t * {aka long unsigned int *}
TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/recipe-sysroot/usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'}
  307 |                    socklen_t *__restrict __addr_len);
      |                    ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
make[2]: *** [Makefile:429: tcp.o] Error 1
make[2]: Leaving directory 'TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/build/src'
make[1]: *** [Makefile:408: all-recursive] Error 1
make[1]: Leaving directory 'TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/build'
make: *** [Makefile:343: all] Error 2
ERROR: oe_runmake failed
WARNING: TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/temp/run.do_compile.351418:183 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script): 
	#1: bbfatal_log, TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/temp/run.do_compile.351418, line 183
	#2: die, TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/temp/run.do_compile.351418, line 167
	#3: oe_runmake, TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/temp/run.do_compile.351418, line 162
	#4: autotools_do_compile, TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/temp/run.do_compile.351418, line 157
	#5: do_compile, TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/temp/run.do_compile.351418, line 152
	#6: main, TOPDIR/tmp-glibc/work/core2-64-oe-linux/lrzsz/0.12.20/temp/run.do_compile.351418, line 196

Error details

Submitted on:
04/05/24 14:37
Error type:
Recipe
Task:
do_compile
Recipe:
lrzsz
Recipe version:
0.12.20-r0
Machine:
qemux86-64
Distro:
nodistro
Build system:
x86_64-linux
Target system:
x86_64-oe-linux
Host distro:
gentoo-2.15/gentoo-2.15
Branch:
jansa/master
Commit:
f668b3e86e3f0550ad1044123c4d9f40a97c94d7
Build:
#183127
Submitter:
Martin.Jansa@gmail.com
Similar errors:
2
Open a bug