From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: Bitbake oe.patch.CmdError
Date: Thu, 24 Jun 2010 08:23:05 -0700 [thread overview]
Message-ID: <20100624152305.GG28292@gmail.com> (raw)
In-Reply-To: <76E258664B189C4CBEF125491CA11ECC9445E0CFBF@KCINPUNHJCMS01.kpit.com>
On (24/06/10 15:27), Soumya R wrote:
> Hi All,
> I have build a basic image for mipsel now i included qt4-embedded to my image.. Now when i run my image
> i get the following error
>
> ERROR: Printing the environment of the function
> ERROR: Error in executing: /home/likewise-open/KPIT/soumyar/openembedded/recipes/qt4/qt4-embedded_4.7.0-beta1.bb
> ERROR: Exception:<class 'oe.patch.CmdError'> Message:Command Error: exit status: 1 Output:
> Applying patch 0001-cross-compile.patch
> patching file configure
> Hunk #1 FAILED at 726.
> Hunk #2 succeeded at 1443 (offset 300 lines).
> Hunk #3 succeeded at 2921 (offset 513 lines).
> 1 out of 3 hunks FAILED -- rejects in file configure
> Patch 0001-cross-compile.patch does not apply (enforce with -f)
this is the error. Go into the build tree and try to redo this patch
> ERROR: Printing the environment of the function
> ERROR: Error in executing: /home/likewise-open/KPIT/soumyar/openembedded/recipes/qt4/qt4-embedded_4.7.0-beta1.bb
> ERROR: Exception:<class 'oe.patch.CmdError'> Message:Command Error: exit status: 1 Output:
> Applying patch 0001-cross-compile.patch
> patching file configure
> Hunk #1 FAILED at 726.
> Hunk #2 succeeded at 1443 (offset 300 lines).
> Hunk #3 succeeded at 2921 (offset 513 lines).
> 1 out of 3 hunks FAILED -- rejects in file configure
> Patch 0001-cross-compile.patch does not apply (enforce with -f)
> ERROR: Printing the environment of the function
> ERROR: Build of /home/likewise-open/KPIT/soumyar/openembedded/recipes/qt4/qt4-embedded_4.7.0-beta1.bb do_patch failed
> Traceback (most recent call last):
> File "/usr/bin/bitbake", line 143, in <module>
> main()
> File "/usr/bin/bitbake", line 140, in main
> cooker.cook()
> File "/usr/lib/pymodules/python2.6/bb/cooker.py", line 639, in cook
> return self.buildTargets(pkgs_to_build)
> File "/usr/lib/pymodules/python2.6/bb/cooker.py", line 546, in buildTargets
> failures = rq.execute_runqueue()
> File "/usr/lib/pymodules/python2.6/bb/runqueue.py", line 840, in execute_runqueue
> self.execute_runqueue_internal()
> File "/usr/lib/pymodules/python2.6/bb/runqueue.py", line 949, in execute_runqueue_internal
> self.cooker.tryBuild(fn)
> File "/usr/lib/pymodules/python2.6/bb/cooker.py", line 135, in tryBuild
> return self.tryBuildPackage(fn, item, self.configuration.cmd, the_data)
> File "/usr/lib/pymodules/python2.6/bb/cooker.py", line 109, in tryBuildPackage
> bb.build.exec_task('do_%s' % task, the_data)
> File "/usr/lib/pymodules/python2.6/bb/build.py", line 283, in exec_task
> exec_func(task, localdata)
> File "/usr/lib/pymodules/python2.6/bb/build.py", line 120, in exec_func
> exec_func_python(func, d)
> File "/usr/lib/pymodules/python2.6/bb/build.py", line 141, in exec_func_python
> utils.better_exec(comp, g, tmp, bbfile)
> File "/usr/lib/pymodules/python2.6/bb/utils.py", line 185, in better_exec
> exec code in context
> File "do_patch", line 4, in <module>
> File "do_patch", line 2, in do_patch
> File "/usr/lib/pymodules/python2.6/bb/build.py", line 120, in exec_func
> exec_func_python(func, d)
> File "/usr/lib/pymodules/python2.6/bb/build.py", line 141, in exec_func_python
> utils.better_exec(comp, g, tmp, bbfile)
> File "/usr/lib/pymodules/python2.6/bb/utils.py", line 185, in better_exec
> exec code in context
> File "base_do_patch", line 4, in <module>
> File "base_do_patch", line 2, in base_do_patch
> File "/usr/lib/pymodules/python2.6/bb/build.py", line 120, in exec_func
> exec_func_python(func, d)
> File "/usr/lib/pymodules/python2.6/bb/build.py", line 141, in exec_func_python
> utils.better_exec(comp, g, tmp, bbfile)
> File "/usr/lib/pymodules/python2.6/bb/utils.py", line 185, in better_exec
> exec code in context
> File "patch_do_patch", line 110, in <module>
> File "patch_do_patch", line 108, in patch_do_patch
> File "/home/likewise-open/KPIT/soumyar/openembedded/lib/oe/patch.py", line 334, in Resolve
> raise sys.exc_value
> oe.patch.CmdError: Command Error: exit status: 1 Output:
> Applying patch 0001-cross-compile.patch
> patching file configure
> Hunk #1 FAILED at 726.
> Hunk #2 succeeded at 1443 (offset 300 lines).
> Hunk #3 succeeded at 2921 (offset 513 lines).
> 1 out of 3 hunks FAILED -- rejects in file configure
> Patch 0001-cross-compile.patch does not apply (enforce with -f)
> ERROR: Task 162 (/home/likewise-open/KPIT/soumyar/openembedded/recipes/qt4/qt4-embedded_4.7.0-beta1.bb, do_patch) failed
> NOTE: Waiting for 3 active tasks to finish
> NOTE: 1: /home/likewise-open/KPIT/soumyar/openembedded/recipes/gettext/gettext_0.17.bb, do_install (32756)
> NOTE: 2: /home/likewise-open/KPIT/soumyar/openembedded/recipes/qt4/qt4-tools-native_4.7.0-beta1.bb, do_install (32757)
> NOTE: 3: /home/likewise-open/KPIT/soumyar/openembedded/recipes/sysvinit/sysvinit_2.86.bb, do_install (32759)
> NOTE: Waiting for 2 active tasks to finish
> NOTE: 1: /home/likewise-open/KPIT/soumyar/openembedded/recipes/gettext/gettext_0.17.bb, do_install (32756)
> NOTE: 2: /home/likewise-open/KPIT/soumyar/openembedded/recipes/qt4/qt4-tools-native_4.7.0-beta1.bb, do_install (32757)
> NOTE: Waiting for 1 active tasks to finish
> NOTE: 1: /home/likewise-open/KPIT/soumyar/openembedded/recipes/gettext/gettext_0.17.bb, do_install (32756)
> NOTE: Tasks Summary: Attempted 674 tasks of which 674 didn't need to be rerun and 1 failed.
> ERROR: '/home/likewise-open/KPIT/soumyar/openembedded/recipes/qt4/qt4-embedded_4.7.0-beta1.bb' failed
>
> Anybody can help me out to resolve this please..
>
> Thanks in advance :-)
>
> Regards,
> Soumya
> This message contains information that may be privileged or confidential and is the property of the KPIT Cummins Infosystems Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. KPIT Cummins Infosystems Ltd. does not accept any liability for virus infected mails.
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
prev parent reply other threads:[~2010-06-24 15:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-24 9:57 Bitbake oe.patch.CmdError Soumya R
2010-06-24 15:23 ` Khem Raj [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100624152305.GG28292@gmail.com \
--to=raj.khem@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox