[Gpephone-devel] soundserver_1.0 do_patch failed

邢向磊 xingxianglei at gmail.com
Tue Mar 11 14:06:38 CET 2008


Hi:
    I'm building gpepe with oe and I am a newbie. I use the following
configuration in local.conf
                 BBFILES = "/stuff/org.openembedded.angstrom-2007.12-stable
/packages/*/*.bb"
                 MACHINE = "a780"
                 DISTRO = "angstrom-2007.1"
                 PARALLEL_MAKE = "-j 4"
                BB_NUMBER_THREADS = "4"
    When I build the gpephone-image, I met a serial problems with the
"checksum mismatch".So i move the checksums.ini file away.  But this causes
the patch failed problems with soundserver. The error looks like:
-----------------------------------------------------------------------------error
begin------------------------------------------------------
ERROR: Error in executing:
ERROR: Exception:<class 'CmdError'> Message:Command Error: exit status: 1
Output:
Applying patch libtool.patch
patching file configure.ac
Hunk #1 FAILED at 9.
1 out of 1 hunk FAILED -- rejects in file configure.ac
Patch libtool.patch can be reverse-applied
ERROR: Printing the environment of the function
ERROR: Error in executing:
ERROR: Exception:<class 'CmdError'> Message:Command Error: exit status: 1
Output:
Applying patch libtool.patch
patching file configure.ac
Hunk #1 FAILED at 9.
1 out of 1 hunk FAILED -- rejects in file configure.ac
Patch libtool.patch can be reverse-applied
ERROR: Printing the environment of the function
ERROR: Error in executing:
ERROR: Exception:<class 'CmdError'> Message:Command Error: exit status: 1
Output:
Applying patch libtool.patch
patching file configure.ac
Hunk #1 FAILED at 9.
1 out of 1 hunk FAILED -- rejects in file configure.ac
Patch libtool.patch can be reverse-applied
ERROR: Printing the environment of the function
ERROR: Build of
/stuff/org.openembedded.angstrom-2007.12-stable/packages/gpephone/soundserver_1.0.bb
do_patch failed
Traceback (most recent call last):
  File "/stuff/bitbake/bin/bitbake", line 134, in <module>
    main()
  File "/stuff/bitbake/bin/bitbake", line 131, in main
    cooker.cook()
  File "/stuff/bitbake/lib/bb/cooker.py", line 601, in cook
    return self.buildTargets(pkgs_to_build)
  File "/stuff/bitbake/lib/bb/cooker.py", line 517, in buildTargets
    failures = rq.execute_runqueue()
  File "/stuff/bitbake/lib/bb/runqueue.py", line 650, in execute_runqueue
    self.execute_runqueue_internal()
  File "/stuff/bitbake/lib/bb/runqueue.py", line 767, in
execute_runqueue_internal
    self.cooker.tryBuild(fn, False)
  File "/stuff/bitbake/lib/bb/cooker.py", line 136, in tryBuild
    return self.tryBuildPackage(fn, item, self.configuration.cmd, the_data,
build_depends)
  File "/stuff/bitbake/lib/bb/cooker.py", line 109, in tryBuildPackage
    bb.build.exec_task('do_%s' % task, the_data)
  File "/stuff/bitbake/lib/bb/build.py", line 303, in exec_task
    execute(None, task)
  File "/stuff/bitbake/lib/bb/build.py", line 292, in execute
    exec_func(item, localdata)
  File "/stuff/bitbake/lib/bb/build.py", line 106, in exec_func
    exec_func_python(func, d)
  File "/stuff/bitbake/lib/bb/build.py", line 128, in exec_func_python
    utils.better_exec(comp,g,tmp, bb.data.getVar('FILE',d,1))
  File "/stuff/bitbake/lib/bb/utils.py", line 144, in better_exec
    exec code in context
  File "do_patch", line 4, in <module>
  File "do_patch", line 2, in do_patch
  File "/stuff/bitbake/lib/bb/build.py", line 106, in exec_func
    exec_func_python(func, d)
  File "/stuff/bitbake/lib/bb/build.py", line 128, in exec_func_python
    utils.better_exec(comp,g,tmp, bb.data.getVar('FILE',d,1))
  File "/stuff/bitbake/lib/bb/utils.py", line 144, 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 "/stuff/bitbake/lib/bb/build.py", line 106, in exec_func
    exec_func_python(func, d)
  File "/stuff/bitbake/lib/bb/build.py", line 128, in exec_func_python
    utils.better_exec(comp,g,tmp, bb.data.getVar('FILE',d,1))
  File "/stuff/bitbake/lib/bb/utils.py", line 144, in better_exec
    exec code in context
  File "patch_do_patch", line 100, in <module>
  File "patch_do_patch", line 98, in patch_do_patch
  File "<bb>", line 339, in Resolve
__builtin__.CmdError: Command Error: exit status: 1  Output:
Applying patch libtool.patch
patching file configure.ac
Hunk #1 FAILED at 9.
1 out of 1 hunk FAILED -- rejects in file configure.ac
Patch libtool.patch can be reverse-applied
ERROR: Task 951
(/stuff/org.openembedded.angstrom-2007.12-stable/packages/gpephone/soundserver_1.0.bb,
do_patch) failed
NOTE: Waiting for 3 active tasks to finish
---------------------------------------------------------error
end----------------------------------------------------------------------------------------------------------------


     Could anyone helps me, and could you provide a example of
"local.conf" which had already completed all the compiling works for
some real "arm
target" and had got a rootfs image at the end.  thanks a lot.

Thanks
andyxing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linuxtogo.org/pipermail/gpephone-devel/attachments/20080311/c42405f7/attachment.htm 


More information about the Gpephone-devel mailing list