<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>11352</bug_id>
          
          <creation_ts>2017-04-13 09:48:02 +0000</creation_ts>
          <short_desc>libpcap: do_configure failed when len(tmp) = 410</short_desc>
          <delta_ts>2017-09-05 01:30:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.4 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="dengke">dengke.du</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>72440</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2017-04-13 09:48:02 +0000</bug_when>
    <thetext>checking for capable yacc/bison... ../libpcap-1.8.1/configure: line 7194: 21598 Segmentation fault      $YACC -p pcap_ -o /dev/null $srcdir/grammar.y &gt; /dev/null 2&gt;&amp;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 &apos;exit 1&apos;
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&apos;m not sure whether other hosts have this issue or not, I tried to use gdb, but doesn&apos;t figure out the reason.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76512</commentid>
    <comment_count>1</comment_count>
    <who name="dengke">dengke.du</who>
    <bug_when>2017-09-05 01:30:56 +0000</bug_when>
    <thetext>I have test this bug on latest oe-core master branch, len(tmp)=409 is ok.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>