<?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>1102</bug_id>
          
          <creation_ts>2011-05-25 13:26:12 +0000</creation_ts>
          <short_desc>FILESEXTRAPATHS should be : delimited</short_desc>
          <delta_ts>2011-05-31 09:26:00 +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>unspecified</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>Patch sent to oe-core list (May 25 2011)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darren Hart">dvhart</reporter>
          <assigned_to name="Darren Hart">dvhart</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</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>13983</commentid>
    <comment_count>0</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-05-25 13:26:12 +0000</bug_when>
    <thetext>Path variables are typically : delimited. White space is allowed in paths, so is not a good choice for separating paths. Currently utils.bbclass performs the following:

def base_set_filespath(path, d):
	filespath = []
	extrapaths = (bb.data.getVar(&quot;FILESEXTRAPATHS&quot;, d, True) or &quot;&quot;).split()
	path = extrapaths + path
	# The &quot;:&quot; ensures we have an &apos;empty&apos; override
	overrides = (bb.data.getVar(&quot;OVERRIDES&quot;, d, 1) or &quot;&quot;) + &quot;:&quot;
	for p in path:
		for o in overrides.split(&quot;:&quot;):
			filespath.append(os.path.join(p, o))
	return &quot;:&quot;.join(filespath)

This splits FILESEXTRAPATHS on whitespace and then splits overrides on : and reassembles them all together as : delimited.

There is only one user of FILESEXTRAPATHS in oe-core (which uses : anyway), none in OE:

dvhart@doubt:~/source/oe.git
$ find . -name &quot;*.bb*&quot; | xargs grep FILESEXTRAPATHS
&lt;EMPTY&gt;

dvhart@doubt:~/source/oe-core.git
$ find . -name &quot;*.bb*&quot; | xargs grep FILESEXTRAPATHS
./meta/recipes-qt/qt4/qt4-tools-native_4.7.3.bb:FILESEXTRAPATHS =. &quot;${FILE_DIRNAME}/qt-${PV}:&quot;
./meta/classes/utils.bbclass:	extrapaths = (bb.data.getVar(&quot;FILESEXTRAPATHS&quot;, d, True) or &quot;&quot;).split()

It should be acceptable to simply change the implementation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13987</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-05-25 22:09:29 +0000</bug_when>
    <thetext>Forgot to assign to me when I accepted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14088</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-05-31 09:26:00 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e94e86c2d7cc30943be8e46ee02270bfb732b485</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>