<?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>525</bug_id>
          
          <creation_ts>2010-11-08 10:47:59 +0000</creation_ts>
          <short_desc>quilt: configure fails when using patch @ 2.6.1.81-5b68</short_desc>
          <delta_ts>2010-12-21 06:09:41 +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>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Beth Flanagan">elizabeth.flanagan</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>10856</commentid>
    <comment_count>0</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2010-11-08 10:47:59 +0000</bug_when>
    <thetext>OS: openSuSE 11.3

Issue:
quilt&apos;s test for patch -v assumes the version to be at $2. Later versions of patch have modified -v to prepend the version with &quot;GNU&quot;, causing the patch version to move to $3 and causing configure of quilt to fail.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10857</commentid>
    <comment_count>1</comment_count>
    <who name="Ke Yu">ke.yu</who>
    <bug_when>2010-11-08 15:25:20 +0000</bug_when>
    <thetext>which version of patch does OpenSuSE 11.3 use? i see the latest stable patch is 2.6, and &quot;patch --version&quot; is not with &quot;GNU&quot; prepend:

# patch --version
patch 2.6
Copyright (C) 1988 Larry Wall
Copyright (C) 2003 Free Software Foundation, Inc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10858</commentid>
    <comment_count>2</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2010-11-08 16:21:52 +0000</bug_when>
    <thetext>patch -v
GNU patch 2.6.1.81-5b68
Copyright (C) 2003, 2009, 2010 Free Software Foundation, Inc.
Copyright (C) 1988 Larry Wall

This has been mentioned on the quilt-dev list. The PULL request I sent earlier includes the patch provided to quilt-dev:

http://lists.nongnu.org/archive/html/quilt-dev/2010-06/msg00002.html

If you check out the SRPM from openSuSE and look at configure:

PACKAGE_NAME=&apos;GNU patch&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10859</commentid>
    <comment_count>3</comment_count>
    <who name="Ke Yu">ke.yu</who>
    <bug_when>2010-11-08 19:31:10 +0000</bug_when>
    <thetext>Yeah, detail enough, Thanks Beth for this info. Nitin will fix this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10863</commentid>
    <comment_count>4</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2010-11-09 11:27:30 +0000</bug_when>
    <thetext>Ke,

I put a Pull request in yesterday from my branch that fixes this issue:

 meta/recipes-devtools/quilt/quilt.inc                      |    3 +-
 meta/recipes-devtools/quilt/quilt/gnu_patch_test_fix.patch |   19
+++++++++++++
 2 files changed, 21 insertions(+), 1 deletion(-)

Beth Flanagan (1):
      quilt: Fixed configure test for patch --version.

Pull URL:
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=eflanagan/quilt_fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10876</commentid>
    <comment_count>5</comment_count>
    <who name="Ke Yu">ke.yu</who>
    <bug_when>2010-11-10 15:34:21 +0000</bug_when>
    <thetext>http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=32f241a51c800cfc5b146e990acee004d91bef32</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>