DEBUG: Executing shell function do_compile
NOTE: make -j 16 -l 75
cd lib; make all
make[1]: Entering directory 'TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/build/lib'
i686-poky-linux-musl-gcc  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -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/tmp/work/core2-32-poky-linux-musl/gperf/3.1/recipe-sysroot -O2 -g -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/gperf-3.1=/usr/src/debug/gperf/3.1  -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/gperf-3.1=/usr/src/debug/gperf/3.1  -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/build=/usr/src/debug/gperf/3.1  -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/build=/usr/src/debug/gperf/3.1  -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/recipe-sysroot-native=  -pipe -I../../gperf-3.1/lib -c ../../gperf-3.1/lib/getopt.c
i686-poky-linux-musl-gcc  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -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/tmp/work/core2-32-poky-linux-musl/gperf/3.1/recipe-sysroot -O2 -g -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/gperf-3.1=/usr/src/debug/gperf/3.1  -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/gperf-3.1=/usr/src/debug/gperf/3.1  -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/build=/usr/src/debug/gperf/3.1  -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/build=/usr/src/debug/gperf/3.1  -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/recipe-sysroot-native=  -pipe -I../../gperf-3.1/lib -c ../../gperf-3.1/lib/getopt1.c
i686-poky-linux-musl-g++  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -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/tmp/work/core2-32-poky-linux-musl/gperf/3.1/recipe-sysroot -O2 -g -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/gperf-3.1=/usr/src/debug/gperf/3.1  -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/gperf-3.1=/usr/src/debug/gperf/3.1  -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/build=/usr/src/debug/gperf/3.1  -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/build=/usr/src/debug/gperf/3.1  -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -I../../gperf-3.1/lib -c ../../gperf-3.1/lib/getline.cc
i686-poky-linux-musl-g++  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -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/tmp/work/core2-32-poky-linux-musl/gperf/3.1/recipe-sysroot -O2 -g -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/gperf-3.1=/usr/src/debug/gperf/3.1  -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/gperf-3.1=/usr/src/debug/gperf/3.1  -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/build=/usr/src/debug/gperf/3.1  -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/build=/usr/src/debug/gperf/3.1  -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/recipe-sysroot-native=  -fmacro-prefix-map=TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -I../../gperf-3.1/lib -c ../../gperf-3.1/lib/hash.cc
../../gperf-3.1/lib/getopt.c:198:12: warning: conflicting types for built-in function 'strncmp'; expected 'int(const char *, const char *, unsigned int)' [-Wbuiltin-declaration-mismatch]
  198 | extern int strncmp ();
      |            ^~~~~~~
../../gperf-3.1/lib/getopt.c:98:1: note: 'strncmp' is declared in header '<string.h>'
   97 | #include "getopt.h"
  +++ |+#include <string.h>
   98 | 
../../gperf-3.1/lib/getopt.c: In function '_getopt_initialize':
../../gperf-3.1/lib/getopt.c:367:21: error: too many arguments to function 'getenv'; expected 0, have 1
  367 |   posixly_correct = getenv ("POSIXLY_CORRECT");
      |                     ^~~~~~  ~~~~~~~~~~~~~~~~~
../../gperf-3.1/lib/getopt.c:197:14: note: declared here
  197 | extern char *getenv ();
      |              ^~~~~~
../../gperf-3.1/lib/getopt.c: In function '_getopt_internal':
../../gperf-3.1/lib/getopt.c:611:14: error: too many arguments to function 'strncmp'; expected 0, have 3
  611 |         if (!strncmp (p->name, nextchar, nameend - nextchar))
      |              ^~~~~~~  ~~~~~~~
../../gperf-3.1/lib/getopt.c:198:12: note: declared here
  198 | extern int strncmp ();
      |            ^~~~~~~
../../gperf-3.1/lib/getopt.c:800:16: error: too many arguments to function 'strncmp'; expected 0, have 3
  800 |           if (!strncmp (p->name, nextchar, nameend - nextchar))
      |                ^~~~~~~  ~~~~~~~
../../gperf-3.1/lib/getopt.c:198:12: note: declared here
  198 | extern int strncmp ();
      |            ^~~~~~~
../../gperf-3.1/lib/getopt.c: At top level:
../../gperf-3.1/lib/getopt.c:927:1: error: conflicting types for 'getopt'; have 'int(int,  char * const*, const char *)'
  927 | getopt (int argc, char *const *argv, const char *optstring)
      | ^~~~~~
In file included from ../../gperf-3.1/lib/getopt.c:97:
../../gperf-3.1/lib/getopt.h:105:12: note: previous declaration of 'getopt' with type 'int(void)'
  105 | extern int getopt ();
      |            ^~~~~~
make[1]: *** [Makefile:85: getopt.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory 'TOPDIR/tmp/work/core2-32-poky-linux-musl/gperf/3.1/build/lib'
make: *** [Makefile:33: all] Error 2
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.

Error details

Submitted on:
21/03/25 23:36
Error type:
Recipe
Task:
do_compile
Recipe:
gperf
Recipe version:
3.1-r0
Machine:
qemux86
Distro:
poky
Build system:
x86_64-linux
Target system:
i686-poky-linux-musl
Host distro:
ubuntu-24.04/ubuntu-24.04
Branch:
kraj/gcc-15
Commit:
fba1b6ff9d202ee791be863c60d9f1558502c724
Build:
#202696
Submitter:
yp-ab-ubuntu2404-vk-3
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/1248
Similar errors:
82
Open a bug