<?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>690</bug_id>
          
          <creation_ts>2011-01-31 22:36:39 +0000</creation_ts>
          <short_desc>[core] quilt-native do_configure fail on opensuse 11.3 with laverne 4.0</short_desc>
          <delta_ts>2011-02-01 10:07:08 +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>0.9.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Qing He">qing.he</assigned_to>
          <cc>elizabeth.flanagan</cc>
    
    <cc>ke.yu</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>kunwei.tian</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</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>11611</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-01-31 22:36:39 +0000</bug_when>
    <thetext>Testing Env:    
Host: OpenSuse 11.3
Kernel: Linux opensuse 2.6.34.7-0.7-desktop

By following the handbook, we downloaded the laverne 4.0 tarball and build it on opensuse 11.3. But quilt-native failed to do_configure when checking the patch version.

Error Log as below:
#######
NOTE: Resolving any missing task queue dependencies
NOTE: Tasks Summary: Attempted 0 tasks of which 0 didn&apos;t need to be rerun and 0 failed.
opensuse@opensuse:~/work/poky-laverne-4.0/build&gt; bitbake quilt-native -c configure
NOTE: Handling BitBake files: \ (0844/0844) [100 %]
Parsing of 844 .bb files complete (791 cached, 53 parsed). 997 targets, 34 skipped, 0 masked, 0 errors.

OE Build Configuration:
BB_VERSION        = &quot;1.11.0&quot;
METADATA_BRANCH   = &quot;&lt;unknown&gt;&quot;
METADATA_REVISION = &quot;&lt;unknown&gt;&quot;
TARGET_ARCH       = &quot;i586&quot;
TARGET_OS         = &quot;linux&quot;
MACHINE           = &quot;qemux86&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;0.9&quot;
TARGET_FPU        = &quot;&quot;

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Full skip list set([])
NOTE: Running task 5 of 5 (ID: 4, /home/opensuse/work/poky-laverne-4.0/meta/recipes-devtools/quilt/quilt-native_0.48.bb, do_configure)
NOTE: package quilt-native-0.48-r0: task do_configure: Started
ERROR: Task failed: (&apos;function do_configure failed&apos;, &apos;/home/opensuse/work/poky-laverne-4.0/build/tmp/work/x86_64-linux/quilt-native-0.48-r0/temp/log.do_configure.24696&apos;)
ERROR: Logfile of failure stored in: /home/opensuse/work/poky-laverne-4.0/build/tmp/work/x86_64-linux/quilt-native-0.48-r0/temp/log.do_configure.24696
Log data follows:
| NOTE: Running /home/opensuse/work/poky-laverne-4.0/build/tmp/work/x86_64-linux/quilt-native-0.48-r0/quilt-0.48/configure                       --build=x86_64-linux             --host=x86_64-linux              --target=x86_64-linux                   --prefix=/home/opensuse/work/poky-laverne-4.0/build/tmp/sysroots/x86_64-linux/usr               --exec_prefix=/home/opensuse/work/poky-laverne-4.0/build/tmp/sysroots/x86_64-linux/usr                   --bindir=/home/opensuse/work/poky-laverne-4.0/build/tmp/sysroots/x86_64-linux/usr/bin            --sbindir=/home/opensuse/work/poky-laverne-4.0/build/tmp/sysroots/x86_64-linux/usr/sbin                 --libexecdir=/home/opensuse/work/poky-laverne-4.0/build/tmp/sysroots/x86_64-linux/usr/libexec            --datadir=/home/opensuse/work/poky-laverne-4.0/build/tmp/sysroots/x86_64-linux/usr/share                --sysconfdir=/home/opensuse/work/poky-laverne-4.0/build/tmp/sysroots/x86_64-linux/etc            --sharedstatedir=/home/opensuse/work/poky-laverne-4.0/build/tmp/sysroots/x86_64-linux/com               --localstatedir=/home/opensuse/work/poky-laverne-4.0/build/tmp/sysroots/x86_64-linux/var                 --libdir=/home/opensuse/work/poky-laverne-4.0/build/tmp/sysroots/x86_64-linux/usr/lib            --includedir=/home/opensuse/work/poky-laverne-4.0/build/tmp/sysroots/x86_64-linux/usr/include                   --oldincludedir=/home/opensuse/work/poky-laverne-4.0/build/tmp/sysroots/x86_64-linux/usr/include                 --infodir=/home/opensuse/work/poky-laverne-4.0/build/tmp/sysroots/x86_64-linux/usr/share/info           --mandir=/home/opensuse/work/poky-laverne-4.0/build/tmp/sysroots/x86_64-linux/usr/share/man                    --disable-nls               ...
| checking for x86_64-linux-gcc... gcc
| checking for C compiler default output file name... a.out
| checking whether the C compiler works... yes
| checking whether we are cross compiling... no
| checking for suffix of executables...
| checking for suffix of object files... o
| checking whether we are using the GNU C compiler... yes
| checking whether gcc accepts -g... yes
| checking for gcc option to accept ISO C89... none needed
| checking how to run the C preprocessor... gcc -E
| checking for grep that handles long lines and -e... /usr/bin/grep
| checking for egrep... /usr/bin/grep -E
| checking for ANSI C header files... yes
| checking for fchmod... yes
| checking for chmod... yes
| checking for mkstemp... yes
| checking for mkdir... yes
| checking for rmdir... yes
| checking for strchr... yes
| checking for strrchr... yes
| checking for strerror... yes
| checking for an ANSI C-conforming const... yes
| checking for sys/types.h... yes
| checking for sys/stat.h... yes
| checking for stdlib.h... yes
| checking for string.h... yes
| checking for memory.h... yes
| checking for strings.h... yes
| checking for inttypes.h... yes
| checking for stdint.h... yes
| checking for unistd.h... yes
| checking whether lstat dereferences a symlink specified with a trailing slash... yes
| checking whether stat accepts an empty string... no
| checking for a BSD-compatible install... /usr/bin/install -c
| checking whether #! works in shell scripts... yes
| checking for bash... /bin/bash
| checking whether /bin/bash quoting works... yes
| checking for gcp... no
| checking for cp... /bin/cp
| checking whether /bin/cp -l works... yes
| checking for gdate... no
| checking for date... /bin/date
| checking whether /bin/date --rfc-822 works... yes
| checking for perl... /usr/bin/perl
| checking for grep... (cached) /usr/bin/grep
| checking whether /usr/bin/grep -q works... yes
| checking whether /usr/bin/grep understands (foo|bar)... yes
| checking for tail... /usr/bin/tail
| checking whether /usr/bin/tail -n works... yes
| checking for tr... /usr/bin/tr
| checking whether /usr/bin/tr understands a-z ... yes
| checking for sed... /usr/bin/sed
| checking whether /usr/bin/sed understands (foo|bar)... yes
| checking for gawk... /usr/bin/gawk
| checking whether /usr/bin/gawk supports sub... yes
| checking for pod2man... /usr/bin/pod2man
| checking for column... /usr/bin/column
| checking for getopt... /usr/bin/getopt
| checking for getopt --long syntax... yes
| checking for mktemp... /bin/mktemp
| checking whether /bin/mktemp -d works... yes
| checking for diff... /usr/bin/diff
| checking for patch... /usr/bin/patch
| checking the version of /usr/bin/diff... 2.8.7-cvs
| checking the version of /usr/bin/patch... patch
| configure: error:
| quilt requires at least version 2.4 of GNU patch. You can download a
| current version of patch from ftp.gnu.org, or if you already have GNU patch
| then you can supply its path with the &apos;--with-patch=&apos; option.
|
| FATAL: oe_runconf failed
| ERROR: Task failed: (&apos;function do_configure failed&apos;, &apos;/home/opensuse/work/poky-laverne-4.0/build/tmp/work/x86_64-linux/quilt-native-0.48-r0/temp/log.do_configure.24696&apos;)
NOTE: package quilt-native-0.48-r0: task do_configure: Failed
ERROR: Task 4 (/home/opensuse/work/poky-laverne-4.0/meta/recipes-devtools/quilt/quilt-native_0.48.bb, do_configure) failed with 1
ERROR: &apos;/home/opensuse/work/poky-laverne-4.0/meta/recipes-devtools/quilt/quilt-native_0.48.bb&apos; failed
#######</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11612</commentid>
    <comment_count>1</comment_count>
    <who name="Qing He">qing.he</who>
    <bug_when>2011-01-31 23:48:16 +0000</bug_when>
    <thetext>http://lists.nongnu.org/archive/html/quilt-dev/2010-06/msg00002.html

I&apos;m sending the pull request</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11632</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-02-01 09:53:21 +0000</bug_when>
    <thetext>This has alread been fixed on master. Not sure if we need to backport the change to laverne though?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11640</commentid>
    <comment_count>3</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2011-02-01 10:07:08 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; This has alread been fixed on master. Not sure if we need to backport the
&gt; change to laverne though?

This has been fixed in master:

32f241a51c800cfc5b146e990acee004d91bef32

And has been backported to laverne and will be in the 0.9.1 point release:

01bc47f4d47df3276b4b6c2583bcddd834fd5050</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>