<?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>4754</bug_id>
          
          <creation_ts>2013-06-20 12:31:14 +0000</creation_ts>
          <short_desc>bitbake-prserv-tool export gives ParseError</short_desc>
          <delta_ts>2013-07-01 09:14:49 +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>BitBake</product>
          <component>bitbake</component>
          <version>1.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stoicescu Cornel">corneliux.stoicescu</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>34001</commentid>
    <comment_count>0</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-06-20 12:31:14 +0000</bug_when>
    <thetext>STATUS: FAILED
BUILD: master:590010a6525b0e1bc1de73e794764e23404591df
ENVIRONMENT: Fedora 18 X86_64
STEPS TO REPRODUCE: 

1. set PRSERV_HOST to localhost:0 in local.conf
2. run &quot;bitbake-prserv-tool export export.inc&quot;

Note ParseError:

ERROR: Traceback (most recent call last):
  File &quot;/home/lserban/work/poky/bitbake/lib/bb/cookerdata.py&quot;, line 163, in wrapped
    return func(fn, *args)
  File &quot;/home/lserban/work/poky/bitbake/lib/bb/cookerdata.py&quot;, line 177, in _inherit
    bb.parse.BBHandler.inherit(bbclass, &quot;configuration INHERITs&quot;, 0, data)
  File &quot;/home/lserban/work/poky/bitbake/lib/bb/parse/parse_py/BBHandler.py&quot;, line 88, in inherit
    include(fn, file, lineno, d, &quot;inherit&quot;)
  File &quot;/home/lserban/work/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py&quot;, line 91, in include
    ret = handle(fn, data, True)
  File &quot;/home/lserban/work/poky/bitbake/lib/bb/parse/__init__.py&quot;, line 91, in handle
    return h[&apos;handle&apos;](fn, data, include)
  File &quot;/home/lserban/work/poky/bitbake/lib/bb/parse/parse_py/BBHandler.py&quot;, line 151, in handle
    statements = get_statements(fn, abs_fn, base_name)
  File &quot;/home/lserban/work/poky/bitbake/lib/bb/parse/parse_py/BBHandler.py&quot;, line 106, in get_statements
    feeder(lineno, s, filename, base_name, statements)
  File &quot;/home/lserban/work/poky/bitbake/lib/bb/parse/parse_py/BBHandler.py&quot;, line 253, in feeder
    return ConfHandler.feeder(lineno, s, fn, statements)
  File &quot;/home/lserban/work/poky/bitbake/lib/bb/parse/parse_py/ConfHandler.py&quot;, line 177, in feeder
    raise ParseError(&quot;unparsed line: &apos;%s&apos;&quot; % s, fn, lineno);
ParseError: ParseError at /home/lserban/work/poky/meta/classes/prexport.bbclass:58: unparsed line: &apos;prexport_handler bb.event.RecipeParsed bb.event.ParseStarted bb.event.ParseCompleted&quot;&apos;

ERROR: Unable to parse prexport: ParseError at /home/lserban/work/poky/meta/classes/prexport.bbclass:58: unparsed line: &apos;prexport_handler bb.event.RecipeParsed bb.event.ParseStarted bb.event.ParseCompleted&quot;&apos;
Exporting to file export.inc failed!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34002</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-06-20 12:37:30 +0000</bug_when>
    <thetext>Meant to send a fix for this but it got trapped in another patch. It is however fixed in master in the patch: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=de1841d9c2a0ec1d7103335d450b5fbc2273804e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34255</commentid>
    <comment_count>2</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-07-01 09:14:49 +0000</bug_when>
    <thetext>Verified in master:8e9501ffa8726d69412d669580d787ffedb88d34</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>