<?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>537</bug_id>
          
          <creation_ts>2010-11-15 12:06:26 +0000</creation_ts>
          <short_desc>cannot build the &quot;Hello World&quot; Yocto SDK project</short_desc>
          <delta_ts>2010-12-21 05:59:32 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Eclipse Plugin</product>
          <component>eclipse-plugin</component>
          <version>1.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anna Dushistova">anna.dushistova</reporter>
          <assigned_to name="Jessica">jessica.zhang</assigned_to>
          <cc>kevin.tian</cc>
    
    <cc>lianhao.lu</cc>
    
    <cc>liping.ke</cc>
    
    <cc>sgw</cc>
    
    <cc>yp.ep.watcher</cc>
    
    <cc>yp.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>10903</commentid>
    <comment_count>0</comment_count>
    <who name="Anna Dushistova">anna.dushistova</who>
    <bug_when>2010-11-15 12:06:26 +0000</bug_when>
    <thetext>Configure phase has errors, here is the log:

Invoking autogen.sh in build directory: /home/anna/yocto-test-workspace/test-yocto-2

sh /home/anna/yocto-test-workspace/test-yocto-2/autogen.sh --target=arm-poky-linux-gnueabi --host=arm-poky-linux-gnueabi --build=i586-linux 
configure.ac:24: error: AC_SUBST: `test-yocto-2_CFLAGS&apos; is not a valid shell variable name
configure.ac:24: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: autom4te failed with exit status: 1
configure.ac:24: error: AC_SUBST: `test-yocto-2_CFLAGS&apos; is not a valid shell variable name
configure.ac:24: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
configure.ac:24: error: AC_SUBST: `test-yocto-2_CFLAGS&apos; is not a valid shell variable name
configure.ac:24: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
autoheader: &apos;/usr/bin/autom4te&apos; failed with exit status: 1
configure.ac:24: error: AC_SUBST: `test-yocto-2_CFLAGS&apos; is not a valid shell variable name
configure.ac:24: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
automake: autoconf failed with exit status: 1
/home/anna/yocto-test-workspace/test-yocto-2/autogen.sh: line 9: ./configure: No such file or directory

Configuration failed with error</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10904</commentid>
    <comment_count>1</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2010-11-15 14:21:17 +0000</bug_when>
    <thetext>Hi Anna,

First of all, I&apos;d like to thank you for keeping trying things out with our plug-in and reporting issues to us.

Now as to the problem, I can reproduce it myself and after investigating further, it turned out it&apos;s really the autoconf&apos;s issue/feature which the AC_SUBST macro is picky about the passing in variable &quot;test-yocto-2_CFLAGS&quot;, so if you change test-yocto-2 to testYocto2, the autoconf will pass.  I&apos;ve played a little bit further, if I remove the AC_SUBST from configure.ac, the test-yocto-2 name will be further complained by Makefile.am which it will try to change it to test_yocto_2, seems somehow the autoconf tools doesn&apos;t like &quot;-&quot; in the variable...</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>