DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/srv/pokybuild/yocto-worker/meta-oe/build/meta-openembedded/meta-oe/recipes-connectivity/libnet/libnet_1.3.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/meta-oe/build/meta/recipes-core/glibc/glibc_2.42.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/meta-oe/build/meta/recipes-devtools/gcc/gcc-cross_15.2.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/meta-oe/build/meta/recipes-devtools/gcc/gcc-runtime_15.2.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/meta-oe/build/meta/recipes-devtools/libtool/libtool-cross_2.5.4.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/meta-oe/build/meta/recipes-devtools/libtool/libtool-native_2.5.4.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/meta-oe/build/meta/recipes-devtools/quilt/quilt-native_0.69.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/meta-oe/build/meta/recipes-devtools/autoconf/autoconf_2.72.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/meta-oe/build/meta/recipes-devtools/automake/automake_1.17.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/meta-oe/build/meta/recipes-devtools/patch/patch_2.8.bb:do_populate_sysroot', 'virtual:native:/srv/pokybuild/yocto-worker/meta-oe/build/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['libnet', 'bluez5', 'libpcap', 'openssl', 'base-files', 'base-passwd', 'dbus', 'expat', 'gettext-minimal-native', 'glib-2.0', 'glibc', 'initscripts', 'libxcrypt', 'libxml2', 'ncurses', 'readline', 'eudev', 'update-rc.d', 'util-linux-libuuid', 'util-linux', 'zlib', 'binutils-cross-x86_64', 'gcc-cross-x86_64', 'gcc-runtime', 'libgcc', 'libedit', 'libtool-cross', 'libtool-native', 'm4-native', 'opkg-utils', 'python3-setuptools', 'python3', 'quilt-native', 'vala', 'bzip2', 'shadow-sysroot', 'shadow', 'texinfo-dummy-native', 'xz', 'gobject-introspection', 'libice', 'libpthread-stubs', 'libsm', 'libx11', 'libxau', 'libxcb', 'libxdmcp', 'xtrans', 'xcb-proto', 'xorgproto', 'util-macros', 'kmod', 'linux-libc-headers', 'attr', 'bash-completion', 'gdbm', 'icu', 'libcap-ng', 'libffi', 'libical', 'libpcre2', 'sqlite3', 'zlib-native', 'autoconf-native', 'automake-native', 'flex-native', 'gnu-config-native', 'patch-native', 'pseudo-native', 'shadow-native', 'xz-native', 'zstd-native', 'attr-native', 'gmp-native', 'libbsd-native', 'libmd-native', 'libmpc-native', 'mpfr-native', 'sqlite3-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing shell function autotools_preconfigure
DEBUG: Shell function autotools_preconfigure finished
DEBUG: Executing python function autotools_sitefiles
DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
DEBUG: Python function autotools_sitefiles finished
DEBUG: Executing shell function do_configure
/bin/sh ./initmake /bin/sh "/bin/sh" "/bin/rm -f" "mv -f" "ln" \
"-lm -ldir -lx -lsocket -lnet -linet -lnsl_s -lnsl_i -lsun -lgen -lsockdns" \
"/lib /usr/lib" \
/dev/null "make" o \
"gcc " " " "-LTOPDIR/tmp/work/x86-64-v3-poky-linux/procmail/3.22/recipe-sysroot-native/usr/lib -LTOPDIR/tmp/work/x86-64-v3-poky-linux/procmail/3.22/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/tmp/work/x86-64-v3-poky-linux/procmail/3.22/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/tmp/work/x86-64-v3-poky-linux/procmail/3.22/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/tmp/work/x86-64-v3-poky-linux/procmail/3.22/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/tmp/work/x86-64-v3-poky-linux/procmail/3.22/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -pthread " "procmail lockfile formail mailstat" \
"procmail formail lockfile" \
"procmailrc procmailsc procmailex" "src man" \
"/usr/bin" \
"strip"
gcc seems to work fine, using that as the C-compiler
...scanning for 11 libraries...
Added LDFLAGS= -lm -lc
cd src; make ../autoconf.h
make[1]: Entering directory 'TOPDIR/tmp/work/x86-64-v3-poky-linux/procmail/3.22/sources/procmail-3.22/src'
/bin/sh ./autoconf /bin/sh "/bin/rm -f" "mv -f" /dev/null \
"grep -F" "make" o "100 " \
"/usr/bin" ../autoconf.h
Using the following directories for the LOCKINGTESTs:
100
Initiating fcntl()/kernel-locking-support tests
Whoeaaa! There's something fishy going on here.
You have a look and see if you detect anything uncanny:
*******************************************************
make[2]: Entering directory 'TOPDIR/tmp/work/x86-64-v3-poky-linux/procmail/3.22/sources/procmail-3.22/src'
gcc -c _autotst.c
_autotst.c: In function ‘main’:
_autotst.c:166:24: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
166 | signal(SIGTERM,Terminate);
| ^~~~~~~~~
| |
| void (*)(void)
In file included from _autotst.c:10:
/usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’
88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
| ~~~~~~~~~~~~~~~^~~~~~~~~
_autotst.c:71:6: note: ‘Terminate’ declared here
71 | void Terminate()
| ^~~~~~~~~
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
_autotst.c:179:63: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
179 | kill(ppid,SIGKILL);fdcollect=pip[0];signal(SIGALRM,stimeout);
| ^~~~~~~~
| |
| void (*)(void)
/usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’
88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
| ~~~~~~~~~~~~~~~^~~~~~~~~
_autotst.c:67:6: note: ‘stimeout’ declared here
67 | void stimeout()
| ^~~~~~~~
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
make[2]: *** [Makefile:239: _autotst.o] Error 1
make[2]: Leaving directory 'TOPDIR/tmp/work/x86-64-v3-poky-linux/procmail/3.22/sources/procmail-3.22/src'
*******************************************************
I suggest you take a look at the definition of LDFLAGS*
in the Makefile before you try make again.
make[1]: Leaving directory 'TOPDIR/tmp/work/x86-64-v3-poky-linux/procmail/3.22/sources/procmail-3.22/src'
make[1]: *** [Makefile:124: ../autoconf.h] Error 1
make: *** [Makefile:154: autoconf.h] Error 2
WARNING: TOPDIR/tmp/work/x86-64-v3-poky-linux/procmail/3.22/temp/run.do_configure.2162975:156 exit 2 from 'make TARGET_CFLAGS="$TARGET_CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS0="-LTOPDIR/tmp/work/x86-64-v3-poky-linux/procmail/3.22/recipe-sysroot-native/usr/lib -LTOPDIR/tmp/work/x86-64-v3-poky-linux/procmail/3.22/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/tmp/work/x86-64-v3-poky-linux/procmail/3.22/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/tmp/work/x86-64-v3-poky-linux/procmail/3.22/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/tmp/work/x86-64-v3-poky-linux/procmail/3.22/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/tmp/work/x86-64-v3-poky-linux/procmail/3.22/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -pthread" autoconf.h'
WARNING: Backtrace (BB generated script):
#1: do_configure, TOPDIR/tmp/work/x86-64-v3-poky-linux/procmail/3.22/temp/run.do_configure.2162975, line 156
#2: main, TOPDIR/tmp/work/x86-64-v3-poky-linux/procmail/3.22/temp/run.do_configure.2162975, line 160