Bug 690 - [core] quilt-native do_configure fail on opensuse 11.3 with laverne 4.0
Summary: [core] quilt-native do_configure fail on opensuse 11.3 with laverne 4.0
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 0.9
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 0.9.1
Assignee: Qing He
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-01-31 22:36 UTC by Jiajun Xu
Modified: 2011-02-01 10:07 UTC (History)
9 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiajun Xu 2011-01-31 22:36:39 UTC
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't need to be rerun and 0 failed.
opensuse@opensuse:~/work/poky-laverne-4.0/build> 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        = "1.11.0"
METADATA_BRANCH   = "<unknown>"
METADATA_REVISION = "<unknown>"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "0.9"
TARGET_FPU        = ""

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: ('function do_configure failed', '/home/opensuse/work/poky-laverne-4.0/build/tmp/work/x86_64-linux/quilt-native-0.48-r0/temp/log.do_configure.24696')
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 '--with-patch=' option.
|
| FATAL: oe_runconf failed
| ERROR: Task failed: ('function do_configure failed', '/home/opensuse/work/poky-laverne-4.0/build/tmp/work/x86_64-linux/quilt-native-0.48-r0/temp/log.do_configure.24696')
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: '/home/opensuse/work/poky-laverne-4.0/meta/recipes-devtools/quilt/quilt-native_0.48.bb' failed
#######
Comment 1 Qing He 2011-01-31 23:48:16 UTC
http://lists.nongnu.org/archive/html/quilt-dev/2010-06/msg00002.html

I'm sending the pull request
Comment 2 Richard Purdie 2011-02-01 09:53:21 UTC
This has alread been fixed on master. Not sure if we need to backport the change to laverne though?
Comment 3 Beth Flanagan 2011-02-01 10:07:08 UTC
(In reply to comment #2)
> This has alread been fixed on master. Not sure if we need to backport the
> 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