<?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>521</bug_id>
          
          <creation_ts>2010-11-04 07:27:03 +0000</creation_ts>
          <short_desc>quilt-native doesn&apos;t build</short_desc>
          <delta_ts>2010-12-21 06:09:40 +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>0.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.0 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alex deVries">alex.devries</reporter>
          <assigned_to name="Nitin Kamble">nitin.a.kamble</assigned_to>
          <cc>ke.yu</cc>
    
    <cc>kevin.tian</cc>
    
    <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>10842</commentid>
    <comment_count>0</comment_count>
    <who name="Alex deVries">alex.devries</who>
    <bug_when>2010-11-04 07:27:03 +0000</bug_when>
    <thetext>When building quilt-native on an Ubuntu squeeze/sid, I get the following error:

Log data follows:
| NOTE: make
| make: ./git-desc: Command not found
| bin/quilt.in -&gt; bin/quilt
| /bin/sed: -e expression #1, char 55: unknown option to `s&apos;
| make: *** [bin/quilt] Error 1
| FATAL: oe_runmake failed
| ERROR: Task failed: (&apos;function do_compile failed&apos;, &apos;/home/alex/poky/nxy/build/20101103-16:51:45/tmp/work/x86_64-linux/quilt-native-0.48-r0/quilt-0.48/build/tmp/work/x86_64-linux/quilt-native-0.48-r0/temp/log.do_compile.8599&apos;)
NOTE: package quilt-native-0.48-r0: task do_compile: Failed


This is identical to the following reported bug:
http://www.mail-archive.com/quilt-dev@nongnu.org/msg01314.html

It isn&apos;t really clear why there&apos;s no git-desc...

- A</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10844</commentid>
    <comment_count>1</comment_count>
    <who name="Ke Yu">ke.yu</who>
    <bug_when>2010-11-04 19:16:12 +0000</bug_when>
    <thetext>Nitin is the owner of quilt, and he will help to take look.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10845</commentid>
    <comment_count>2</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2010-11-04 19:20:27 +0000</bug_when>
    <thetext>My build system is fedora. Can somebody provide access to an Ubuntu squeeze/sid system?

Thanks &amp; Regards,
Nitin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10846</commentid>
    <comment_count>3</comment_count>
    <who name="Ke Yu">ke.yu</who>
    <bug_when>2010-11-04 20:06:26 +0000</bug_when>
    <thetext>I tried it in my Ubuntu 10.04, the quilt-native can compile successful, and yet it still has error &quot;make: ./git-desc: Command not found&quot;, so looks this error is harmless. the mail also mention this. 

so probably the compile failure is caused by the &quot;/bin/sed: -e expression #1, char 55: unknown option to `s&apos;&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10849</commentid>
    <comment_count>4</comment_count>
    <who name="Alex deVries">alex.devries</who>
    <bug_when>2010-11-05 07:31:58 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; I tried it in my Ubuntu 10.04, the quilt-native can compile successful, and yet
&gt; it still has error &quot;make: ./git-desc: Command not found&quot;, so looks this error
&gt; is harmless. the mail also mention this. 
&gt; 
&gt; so probably the compile failure is caused by the &quot;/bin/sed: -e expression #1,
&gt; char 55: unknown option to `s&apos;&quot;


You&apos;re right, this is the actual terminal failure.

- A</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10850</commentid>
    <comment_count>5</comment_count>
    <who name="Alex deVries">alex.devries</who>
    <bug_when>2010-11-05 08:02:19 +0000</bug_when>
    <thetext>Oh, I understand the problem.

The sed expression around line 261 in Makefile.in doesn&apos;t escape the : properly.  So if you have a : in your path, it&apos;ll fail out with the above error.

This is a bug, but can be avoided by just not using a : in your path.

- A</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10851</commentid>
    <comment_count>6</comment_count>
    <who name="Alex deVries">alex.devries</who>
    <bug_when>2010-11-05 08:53:59 +0000</bug_when>
    <thetext>
Having a colon in a path isn&apos;t such an unreasonable thing; if it hit me, it&apos;ll hit others.  The right way to fix this is to autoconf the *.in files instead of this painful sed line.  That&apos;s a pretty large fix.  It pains me to suggest autoconf as the solution to anything, but it is.  But not using a : in your path is a reasonable workaround, which is why I&apos;m moving this to be a minor bug.

The git-desc error is just misleading, we should really patch it with the above.

I suggest we just leave this as minor with a workaround and move on.

- A</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10852</commentid>
    <comment_count>7</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2010-11-05 10:01:03 +0000</bug_when>
    <thetext>Just chatted with Alex, and we realized that this is not a bug related to Ubuntu. It is actually issue of having a : in build dirname. It was confusing sed -e &apos;s: ...&lt;build dirname&gt; : ... :g&apos; parameter.

Seeting this to low priority now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11174</commentid>
    <comment_count>8</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2010-12-14 20:31:03 +0000</bug_when>
    <thetext>The current master tree does not show this issue.

This command is succeeding for me:

bitbake quilt-native</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>