[oe-commits] [Bug 5315] New: helloworld-image fails on 'opkg_unarchive.patch'

bugzilla-daemon at git.openembedded.org bugzilla-daemon at git.openembedded.org
Mon Aug 31 22:13:10 UTC 2009


http://bugs.openembedded.org/show_bug.cgi?id=5315

           Summary: helloworld-image fails on 'opkg_unarchive.patch'
           Product: Openembedded
           Version: unspecified
          Platform: ARM
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: org.openembedded.stable
        AssignedTo: openembedded-commits at lists.openembedded.org
        ReportedBy: pascal_kesseli at hotmail.com


Hi Team

Trying to create a first test image for an OpenRISC arm9 embedded computer, i
chose the helloworld-image for a suitable start. Unfortunately, using a custom
machine & distro config, the build dastardly fails, producing this error
message:

NOTE: Handling BitBake files: \ (7088/7088) [100 %]
NOTE: Parsing finished. 6805 cached, 0 parsed, 283 skipped, 2 masked.
NOTE: Cache is clean, not saving.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 493 of 634 (ID: 167,
/var/sd/openembedded/recipes/opkg/opkg_svn.bb, do_patch)
NOTE: Applying patch 'opkg_unarchive.patch'
(recipes/opkg/files/opkg_unarchive.patch)
ERROR: Error in executing: /var/sd/openembedded/recipes/opkg/opkg_svn.bb
ERROR: Exception:<class 'CmdError'> Message:Command Error: exit status: 1 
Output:
Applying patch opkg_unarchive.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- trunk/libbb/unarchive.c.orig       2009-02-11 22:14:58.000000000 +0100
|+++ trunk/libbb/unarchive.c    2009-02-11 22:15:07.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Patch opkg_unarchive.patch does not apply (enforce with -f)
ERROR: Printing the environment of the function
ERROR: Error in executing: /var/sd/openembedded/recipes/opkg/opkg_svn.bb
ERROR: Exception:<class 'CmdError'> Message:Command Error: exit status: 1 
Output:
Applying patch opkg_unarchive.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- trunk/libbb/unarchive.c.orig       2009-02-11 22:14:58.000000000 +0100
|+++ trunk/libbb/unarchive.c    2009-02-11 22:15:07.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Patch opkg_unarchive.patch does not apply (enforce with -f)
ERROR: Printing the environment of the function
ERROR: Error in executing: /var/sd/openembedded/recipes/opkg/opkg_svn.bb
ERROR: Exception:<class 'CmdError'> Message:Command Error: exit status: 1 
Output:
Applying patch opkg_unarchive.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- trunk/libbb/unarchive.c.orig       2009-02-11 22:14:58.000000000 +0100
|+++ trunk/libbb/unarchive.c    2009-02-11 22:15:07.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Patch opkg_unarchive.patch does not apply (enforce with -f)
ERROR: Printing the environment of the function
ERROR: Build of /var/sd/openembedded/recipes/opkg/opkg_svn.bb do_patch failed
Traceback (most recent call last):
  File "/usr/local/bin/bitbake", line 143, in <module>
    main()
  File "/usr/local/bin/bitbake", line 140, in main
    cooker.cook()
  File "/usr/local/lib/python2.5/site-packages/bb/cooker.py", line 643, in cook
    return self.buildTargets(pkgs_to_build)
  File "/usr/local/lib/python2.5/site-packages/bb/cooker.py", line 550, in
buildTargets
    failures = rq.execute_runqueue()
  File "/usr/local/lib/python2.5/site-packages/bb/runqueue.py", line 841, in
execute_runqueue
    self.execute_runqueue_internal()
  File "/usr/local/lib/python2.5/site-packages/bb/runqueue.py", line 950, in
execute_runqueue_internal
    self.cooker.tryBuild(fn)
  File "/usr/local/lib/python2.5/site-packages/bb/cooker.py", line 136, in
tryBuild
    return self.tryBuildPackage(fn, item, self.configuration.cmd, the_data)
  File "/usr/local/lib/python2.5/site-packages/bb/cooker.py", line 110, in
tryBuildPackage
    bb.build.exec_task('do_%s' % task, the_data)
  File "/usr/local/lib/python2.5/site-packages/bb/build.py", line 278, in
exec_task
    exec_func(task, localdata)
  File "/usr/local/lib/python2.5/site-packages/bb/build.py", line 113, in
exec_func
    exec_func_python(func, d)
  File "/usr/local/lib/python2.5/site-packages/bb/build.py", line 136, in
exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/usr/local/lib/python2.5/site-packages/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 "/usr/local/lib/python2.5/site-packages/bb/build.py", line 113, in
exec_func
    exec_func_python(func, d)
  File "/usr/local/lib/python2.5/site-packages/bb/build.py", line 136, in
exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/usr/local/lib/python2.5/site-packages/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 "/usr/local/lib/python2.5/site-packages/bb/build.py", line 113, in
exec_func
    exec_func_python(func, d)
  File "/usr/local/lib/python2.5/site-packages/bb/build.py", line 136, in
exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/usr/local/lib/python2.5/site-packages/bb/utils.py", line 171, in
better_exec
    exec code in context
  File "patch_do_patch", line 101, in <module>
  File "patch_do_patch", line 99, in patch_do_patch
  File "<bb>", line 365, in Resolve
__builtin__.CmdError: Command Error: exit status: 1  Output:
Applying patch opkg_unarchive.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- trunk/libbb/unarchive.c.orig       2009-02-11 22:14:58.000000000 +0100
|+++ trunk/libbb/unarchive.c    2009-02-11 22:15:07.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Patch opkg_unarchive.patch does not apply (enforce with -f)
ERROR: Task 167 (/var/sd/openembedded/recipes/opkg/opkg_svn.bb, do_patch)
failed
NOTE: Tasks Summary: Attempted 492 tasks of which 492 didn't need to be rerun
and 1 failed.
ERROR: '/var/sd/openembedded/recipes/opkg/opkg_svn.bb' failed

If i get this right, OpenEmbedded fails when patching some opkg source files.
Some of the patches do not seem to apply anymore to the respective source
files. Are those patches still necessary and if not, is there a way to disable
them?

Thanks for any help and best regards
Pascal Kesseli

-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-commits mailing list