[oe] Bitbake oe.patch.CmdError

Soumya R Soumya.R at kpitcummins.com
Thu Jun 24 09:57:49 UTC 2010


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.






More information about the Openembedded-devel mailing list