checking for capable yacc/bison... ../libpcap-1.8.1/configure: line 7194: 21598 Segmentation fault $YACC -p pcap_ -o /dev/null $srcdir/grammar.y > /dev/null 2>&1 insufficient configure: error: bison -y is insufficient to compile libpcap. libpcap requires Bison, Berkeley YACC, or another YACC compatible with them. WARNING: /buildarea/lyang1/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/tmp/work/i586-poky-linux/libpcap/1.8.1-r0/temp/run.do_configure.18003:1 exit 1 from 'exit 1' ERROR: Function failed: do_configure (log file is located at /buildarea/lyang1/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/test_qlong/tmp/work/i586-poky-linux/libpcap/1.8.1-r0/temp/log.do_configure.18003) The simple reproducer is: $ bitbake libpcap -cdevshell $ bison ./grammar.y # bison ./grammar.y ./grammar.y: warning: 38 shift/reduce conflicts [-Wconflicts-sr] Segmentation fault I found this error on Ubuntu 12.04, I'm not sure whether other hosts have this issue or not, I tried to use gdb, but doesn't figure out the reason.
I have test this bug on latest oe-core master branch, len(tmp)=409 is ok.