DEBUG: SITE files ['endian-big', 'bit-32', 'mips-common', 'common-linux', 'common-musl', 'mips-linux', 'mips-linux-musl', 'common']
DEBUG: Executing shell function do_compile
NOTE: make -j 96 -l 144.0 CC=mips-yoe-linux-musl-gcc  -meb -mabi=32 -mhard-float -march=mips32r2 -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot OPT_FLAGS= -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0=/usr/src/debug/gradm/3.1-r0                      -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0=/usr/src/debug/gradm/3.1-r0                      -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot=                      -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot-native=  LLEX=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot-native/usr/bin/lex FLEX=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot-native/usr/bin/flex BISON=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot-native/usr/bin/bison
TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot-native/usr/bin/bison -b gradm -p gradm -d ./gradm.y
TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot-native/usr/bin/bison -b grlearn2_config -p grlearn2_config -d ./grlearn2_config.y
mips-yoe-linux-musl-gcc  -meb -mabi=32 -mhard-float -march=mips32r2 -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0=/usr/src/debug/gradm/3.1-r0                      -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0=/usr/src/debug/gradm/3.1-r0                      -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot=                      -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot-native=  -fPIE -Wcast-qual -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE   -c -o gradm.tab.o gradm.tab.c
In file included from gradm.h:45,
                 from ./gradm.y:23:
TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
    1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
      |  ^~~~~~~
Unable to detect PAM headers, disabling PAM support.
mips-yoe-linux-musl-gcc  -meb -mabi=32 -mhard-float -march=mips32r2 -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0=/usr/src/debug/gradm/3.1-r0                      -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0=/usr/src/debug/gradm/3.1-r0                      -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot=                      -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot-native=  -fPIE -Wcast-qual -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE   -c -o gradm_replace.o gradm_replace.c
In file included from gradm.h:45,
                 from gradm_replace.c:21:
TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
    1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
      |  ^~~~~~~
mips-yoe-linux-musl-gcc  -meb -mabi=32 -mhard-float -march=mips32r2 -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0=/usr/src/debug/gradm/3.1-r0                      -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0=/usr/src/debug/gradm/3.1-r0                      -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot=                      -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot-native=  -fPIE -Wcast-qual -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE   -c -o gradm_globals.o gradm_globals.c
In file included from gradm.h:45,
                 from gradm_globals.c:21:
TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
    1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
      |  ^~~~~~~
TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot-native/usr/bin/flex -Cfa -B -8 -Pgrlearn_config ./grlearn_config.l
TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot-native/usr/bin/bison -b grlearn_config -p grlearn_config -d ./grlearn_config.y
mips-yoe-linux-musl-gcc  -meb -mabi=32 -mhard-float -march=mips32r2 -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0=/usr/src/debug/gradm/3.1-r0                      -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0=/usr/src/debug/gradm/3.1-r0                      -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot=                      -fdebug-prefix-map=TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot-native=  -fPIE -Wcast-qual -DGRSEC_DIR=\"/etc/grsec\" -D_LARGEFILE64_SOURCE -DIS_GRLEARN -o grlearn grlearn.c gradm_lib.c gradm_globals.c grlearn2_config.tab.c lex.grlearn_config.c -lfl -Wl,-O1  -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -pie
In file included from gradm.h:45,
                 from grlearn.c:21:
TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
    1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
      |  ^~~~~~~
In file included from gradm.h:45,
                 from gradm_lib.c:21:
TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
    1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
      |  ^~~~~~~
gradm_lib.c: In function 'add_to_string_array':
gradm_lib.c:123:3: warning: to be safe all intermediate pointers in cast from 'char **' to 'const char **' must be 'const' qualified [-Wcast-qual]
  123 |  *(const char **)(*array + size) = str;
      |   ^
In file included from gradm.h:45,
                 from gradm_globals.c:21:
TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
    1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
      |  ^~~~~~~
In file included from gradm.h:45,
                 from ./grlearn2_config.y:22:
TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
    1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
      |  ^~~~~~~
In file included from gradm.h:45,
                 from ./grlearn_config.l:22:
TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
    1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
      |  ^~~~~~~
TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot-native/usr/bin/mips-yoe-linux-musl/../../libexec/mips-yoe-linux-musl/gcc/mips-yoe-linux-musl/9.1.0/ld: TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/recipe-sysroot/usr/lib/../lib/libfl.so: undefined reference to `yylex'
collect2: error: ld returned 1 exit status
Makefile:66: recipe for target 'grlearn' failed
make: *** [grlearn] Error 1
ERROR: oe_runmake failed
WARNING: TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/temp/run.do_compile.4053:1 exit 1 from 'exit 1'
ERROR: Function failed: do_compile (log file is located at TOPDIR/build/tmp/work/mips32r2-yoe-linux-musl/gradm/3.1-r0/temp/log.do_compile.4053)

Error details

Submitted on:
05/08/19 14:33
Error type:
Recipe
Task:
do_compile
Recipe:
gradm
Recipe version:
3.1-r0
Machine:
qemumips
Distro:
yoe-musl-sysvinit-wayland
Build system:
aarch64-linux
Target system:
mips-yoe-linux-musl
Host distro:
ubuntu-18.04/ubuntu-18.04
Branch:
HEAD
Commit:
fc634c41e4b3fbaf29dc0104ae6b15757e77f60a
Build:
#86164
Submitter:
Similar errors:
1
Open a bug