<?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>3163</bug_id>
          
          <creation_ts>2012-09-24 21:22:22 +0000</creation_ts>
          <short_desc>Beta - bitbake error message doesn&apos;t tell me what&apos;s wrong with my layer</short_desc>
          <delta_ts>2012-11-01 15:01:53 +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.3</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>Medium+</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.3 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dave Stewart">david.c.stewart</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>alexandrux.palalau</cc>
    
    <cc>bluelightning</cc>
    
    <cc>corneliux.stoicescu</cc>
    
    <cc>jessica.zhang</cc>
    
    <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>25617</commentid>
    <comment_count>0</comment_count>
    <who name="Dave Stewart">david.c.stewart</who>
    <bug_when>2012-09-24 21:22:22 +0000</bug_when>
    <thetext>You might want to grab the meta-dlna right away before it changes...

To reproduce:

1. Set up the 1.3 beta
2. clone the meta-dlna repository
3. Edit bblayers.conf as the README in the layer instructs, adding meta-guacamayo and meta-kvm
4. Execute bitbake, see the transcript below:

[davest@davest-f17 yp-beta-build]$ bitbake guacamayo-image-mediaserver
DEBUG: Removed the following variables from the environment: PSEUDO_BINDIR, LD_LIBRARY_PATH, HTTP_PROXY, PSEUDO_LOCALSTATEDIR, NO_PROXY, GJS_DEBUG_OUTPUT, FTP_PROXY, LESSOPEN, QT_IM_MODULE, PSEUDO_LIBDIR, XDG_VTNR, GNOME_KEYRING_CONTROL, WINDOWPATH, XDG_RUNTIME_DIR, LANG, HISTCONTROL, SHLVL, HISTSIZE, WINDOWID, _, IMSETTINGS_INTEGRATE_DESKTOP, BBFETCH2, USERNAME, IMSETTINGS_MODULE, CCACHE_HASHDIR, GDMSESSION, XMODIFIERS, QT_GRAPHICSSYSTEM_CHECKED, XDG_SESSION_ID, BUILDDIR, PSEUDO_OPTS, HOSTNAME, PSEUDO_PREFIX, HTTPS_PROXY, CVS_RSH, LD_PRELOAD, MAIL, GNOME_DESKTOP_SESSION_ID, LS_COLORS, GJS_DEBUG_TOPICS, XDG_SEAT
DEBUG: UI &apos;knotty&apos; does not require extra cache!
DEBUG: Found bblayers.conf (/home/davest/poky-1.3-beta/yp-beta-build/conf/bblayers.conf)
DEBUG: LOAD /home/davest/poky-1.3-beta/yp-beta-build/conf/bblayers.conf
ERROR: Unable to parse /home/davest/poky-1.3-beta/yp-beta-build/conf/bblayers.conf: ParseError at /home/davest/poky-1.3-beta/yp-beta-build/conf/bblayers.conf:13: unparsed line: &apos;BBLAYERS ?= &quot; /home/davest/poky-1.3-beta/yp-beta/meta /home/davest/poky-1.3-beta/yp-beta/meta-yocto /home/davest/poky-1.3-beta/meta-dlna/meta-guacamayo /home/davest/poky-1.3-beta/meta-dlna/meta-kvm &apos;
[davest@davest-f17 yp-beta-build]$</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25638</commentid>
    <comment_count>1</comment_count>
    <who name="Dave Stewart">david.c.stewart</who>
    <bug_when>2012-09-25 04:55:21 +0000</bug_when>
    <thetext>In another bug report, Paul says the parse error might be due to the tabs-&gt; spaces change. Do you think you could make the error message more explicit that this is the problem?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25643</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-09-25 08:00:03 +0000</bug_when>
    <thetext>Can you paste exactly what this bblayers.conf contains. In this case I think bitbake is right about the error, I think there was a typo in bblayers.conf. Perhaps a missing &quot; character at the end?

If I put the correct thing in bblayers.conf, I see:

WARNING: Variable populate_packages contains tabs, please remove these (/media/data1/build1/poky/meta-dlna/meta-guacamayo/recipes-devtools/orc/orc_0.4.14.bb)                                      | ETA:  --:--:--
NOTE: Error expanding variable populate_packages
NOTE: Error during finalise of /media/data1/build1/poky/meta-dlna/meta-guacamayo/recipes-devtools/orc/orc_0.4.14.bb
ERROR: Unable to parse /media/data1/build1/poky/meta-dlna/meta-guacamayo/recipes-devtools/orc/orc_0.4.14.bb
ERROR: Command execution failed: Exited with 1

which is a bit clearer about the fact it is a tabs vs. spaces issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25705</commentid>
    <comment_count>3</comment_count>
    <who name="Dave Stewart">david.c.stewart</who>
    <bug_when>2012-09-25 15:45:52 +0000</bug_when>
    <thetext>Yeah, could be. I was trying to follow the README on the layer.

[davest@davest-f17 yp-beta-build]$ more conf/bblayers.conf
# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = &quot;5&quot;

BBPATH = &quot;${TOPDIR}&quot;
BBFILES ?= &quot;&quot;

BBLAYERS ?= &quot; \
  /home/davest/poky-1.3-beta/yp-beta/meta \
  /home/davest/poky-1.3-beta/yp-beta/meta-yocto \
  /home/davest/poky-1.3-beta/meta-dlna/meta-guacamayo \
  /home/davest/poky-1.3-beta/meta-dlna/meta-kvm \

  &quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25751</commentid>
    <comment_count>4</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-09-26 09:05:05 +0000</bug_when>
    <thetext>If that&apos;s a verbatim paste, I think the problem is the extra blank line before the closing quote.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25804</commentid>
    <comment_count>5</comment_count>
    <who name="Dave Stewart">david.c.stewart</who>
    <bug_when>2012-09-26 17:44:34 +0000</bug_when>
    <thetext>Ah ... again, just following the README for the layer too closely!

Yes, removing the extra newline causes a much better error message about tabs. :-) Thanks for the tip</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25805</commentid>
    <comment_count>6</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-09-26 17:49:26 +0000</bug_when>
    <thetext>Right, it is broken in the README in meta-dlna as you say - we should definitely fix that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25892</commentid>
    <comment_count>7</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-09-28 08:43:59 +0000</bug_when>
    <thetext>Saul has fixed the README in meta-dlna to remove the extra blank line; I think we can call this one fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27153</commentid>
    <comment_count>8</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2012-11-01 15:01:53 +0000</bug_when>
    <thetext>Verified on master branch commit ID: 074016d1692d88ed5a4e245c242c2ffd901a490d</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>