Openembedded Devel Discussions
 help / color / mirror / Atom feed
* Bitbake oe.patch.CmdError
@ 2010-06-24  9:57 Soumya R
  2010-06-24 15:23 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Soumya R @ 2010-06-24  9:57 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

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)
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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bitbake oe.patch.CmdError
  2010-06-24  9:57 Bitbake oe.patch.CmdError Soumya R
@ 2010-06-24 15:23 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2010-06-24 15:23 UTC (permalink / raw)
  To: openembedded-devel

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-24 15:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-24  9:57 Bitbake oe.patch.CmdError Soumya R
2010-06-24 15:23 ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox