<?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>5458</bug_id>
          
          <creation_ts>2013-11-05 04:49:09 +0000</creation_ts>
          <short_desc>TMPDIR should not contain &apos;-D&apos; characters.</short_desc>
          <delta_ts>2013-12-27 01:55:09 +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>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>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.6 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chen Qi">Qi.Chen</reporter>
          <assigned_to name="Chen Qi">Qi.Chen</assigned_to>
          <cc>ke.zou</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</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>38503</commentid>
    <comment_count>0</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2013-11-05 04:49:09 +0000</bug_when>
    <thetext>If my build directory is named to &apos;build-DVD&apos;, then building subversion-native would fail for the do_compile task.

The problem is that &apos;-D&apos; is usually used in CFLAGS and autotools treat &apos;-D&apos; as special when dealing with CFLAGS.

For example, in subversion&apos;s configure file, we have:
SVN_NEON_INCLUDES=`$PKG_CONFIG neon --cflags | $SED -e &apos;s/-D[^ ]*//g&apos;`

So when do_compile task is executed, some header files could not be found.

I think we should add a sanity check for TMPDIR about this situation.

//Chen Qi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38812</commentid>
    <comment_count>1</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2013-11-15 02:49:50 +0000</bug_when>
    <thetext>I looked into the &apos;-D&apos; problem again, so it&apos;s actually caused by the following statement in subversion-native.
./build/ac-macros/neon.m4: SVN_NEON_INCLUDES=[`$PKG_CONFIG neon --cflags | $SED -e &apos;s/-D[^ ]*//g&apos;`]
./build/ac-macros/neon.m4: SVN_NEON_INCLUDES=[`$neon_config --cflags | $SED -e &apos;s/-D[^ ]*//g&apos;`]

I think we should fix subversion instead. 

//Chen Qi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39260</commentid>
    <comment_count>2</comment_count>
    <who name="Chen Qi">Qi.Chen</who>
    <bug_when>2013-12-06 04:43:47 +0000</bug_when>
    <thetext>Module: openembedded-core.git
Branch: master
Commit: 7078397ef39de43244fca7e24683b2a83913cbbf
URL:    http://git.openembedded.org/?p=openembedded-core.git&amp;a=commit;h=7078397ef39de43244fca7e24683b2a83913cbbf

//Chen Qi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39594</commentid>
    <comment_count>3</comment_count>
    <who name="Ke Zou">ke.zou</who>
    <bug_when>2013-12-27 01:55:09 +0000</bug_when>
    <thetext>verified with poky master:005af45191ded6185c618c708181b31281e43092

test step:
. oe-init-build-env build-I-DVD
bitbake core-image-sato

no error encountered</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>