[oe] [PATCH 16/21] fastjar: backport 0.98 version from openembedded-dev

Stefan Schmidt stefan at datenfreihafen.org
Thu Jul 22 08:26:30 UTC 2010


Hello.

On Wed, 2010-07-21 at 16:07, heinold at inf.fu-berlin.de wrote:
> From: Henning Heinold <h.heinold at tarent.de>
> 
> ---
>  conf/checksums.ini                     |    4 +
>  recipes/fastjar/fastjar-native.inc     |   18 +++++
>  recipes/fastjar/fastjar-native_0.98.bb |    4 +
>  recipes/fastjar/fastjar.inc            |   18 +++++
>  recipes/fastjar/fastjar_0.98.bb        |    1 +
>  recipes/fastjar/files/jartool.patch    |  112 ++++++++++++++++++++++++++++++++


I was going to test the whole patchset on stable. (The last two patches replaced
with the updates versions posted).

I'm running into a problem where the patching of jartool.patch fails though.
This is on planin stable/2009 without any overlay.

NOTE: Running task 88 of 147 (ID: 13,
/home/stefan/openjdk-stable-test/oe/recipes/fastjar/fastjar-native_0.98.bb,
do_distribute_sources)
ERROR: Error in executing:
/home/stefan/openjdk-stable-test/oe/recipes/fastjar/fastjar-native_0.98.bb
ERROR: Exception:<class 'CmdError'> Message:Command Error: exit status: 1
Output:
Applying patch jartool.patch
patching file jartool.c
Hunk #4 FAILED at 1749.
Hunk #5 succeeded at 1779 with fuzz 1.
Hunk #6 succeeded at 1796 with fuzz 1.
1 out of 8 hunks FAILED -- rejects in file jartool.c
Patch jartool.patch does not apply (enforce with -f)
ERROR: Printing the environment of the function
ERROR: Error in executing:
/home/stefan/openjdk-stable-test/oe/recipes/fastjar/fastjar-native_0.98.bb
ERROR: Exception:<class 'CmdError'> Message:Command Error: exit status: 1
Output:
Applying patch jartool.patch
patching file jartool.c
Hunk #4 FAILED at 1749.
Hunk #5 succeeded at 1779 with fuzz 1.
Hunk #6 succeeded at 1796 with fuzz 1.
1 out of 8 hunks FAILED -- rejects in file jartool.c
Patch jartool.patch does not apply (enforce with -f)
ERROR: Printing the environment of the function
ERROR: Error in executing:
/home/stefan/openjdk-stable-test/oe/recipes/fastjar/fastjar-native_0.98.bb
ERROR: Exception:<class 'CmdError'> Message:Command Error: exit status: 1
Output:
Applying patch jartool.patch
patching file jartool.c
Hunk #4 FAILED at 1749.
Hunk #5 succeeded at 1779 with fuzz 1.
Hunk #6 succeeded at 1796 with fuzz 1.
1 out of 8 hunks FAILED -- rejects in file jartool.c
Patch jartool.patch does not apply (enforce with -f)
ERROR: Printing the environment of the function
ERROR: Build of
/home/stefan/openjdk-stable-test/oe/recipes/fastjar/fastjar-native_0.98.bb
do_patch failed
Traceback (most recent call last):
  File "/home/stefan/openjdk-stable-test/oe/bitbake/bin/bitbake", line 143, in
<module>
    main()
  File "/home/stefan/openjdk-stable-test/oe/bitbake/bin/bitbake", line 140, in
main
    cooker.cook()
  File "/home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/cooker.py", line 643,
in cook
    return self.buildTargets(pkgs_to_build)
  File "/home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/cooker.py", line 550,
in buildTargets
    failures = rq.execute_runqueue()
  File "/home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/runqueue.py", line
841, in execute_runqueue
    self.execute_runqueue_internal()
  File "/home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/runqueue.py", line
950, in execute_runqueue_internal
    self.cooker.tryBuild(fn)
  File "/home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/cooker.py", line 136,
in tryBuild
    return self.tryBuildPackage(fn, item, self.configuration.cmd, the_data)
  File "/home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/cooker.py", line 110,
in tryBuildPackage
    bb.build.exec_task('do_%s' % task, the_data)
  File "/home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/build.py", line 278,
in exec_task
    exec_func(task, localdata)
  File "/home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/build.py", line 113,
in exec_func
    exec_func_python(func, d)
  File "/home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/build.py", line 136,
in exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/utils.py", line 171,
in better_exec
    exec code in context
  File "do_patch", line 4, in <module>
  File "do_patch", line 2, in do_patch
  File "/home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/build.py", line 113,
in exec_func
    exec_func_python(func, d)
  File "/home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/build.py", line 136,
in exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/utils.py", line 171,
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 "/home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/build.py", line 113,
in exec_func
    exec_func_python(func, d)
  File "/home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/build.py", line 136,
in exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/home/stefan/openjdk-stable-test/oe/bitbake/lib/bb/utils.py", line 171,
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 347, in Resolve
__builtin__.CmdError: Command Error: exit status: 1  Output:
Applying patch jartool.patch
patching file jartool.c
Hunk #4 FAILED at 1749.
Hunk #5 succeeded at 1779 with fuzz 1.
Hunk #6 succeeded at 1796 with fuzz 1.
1 out of 8 hunks FAILED -- rejects in file jartool.c
Patch jartool.patch does not apply (enforce with -f)
NOTE: Running task 89 of 147 (ID: 107,
/home/stefan/openjdk-stable-test/oe/recipes/gnu-config/gnu-config-native_20050701.bb,
do_package_write_ipk)
ERROR: Task 4
(/home/stefan/openjdk-stable-test/oe/recipes/fastjar/fastjar-native_0.98.bb,
do_patch) failed

regards
Stefan Schmidt




More information about the Openembedded-devel mailing list