Runtime target 'openchrome' is unbuildable

Javi Roman javiroman at kernel-labs.org
Thu Mar 13 08:49:27 UTC 2008


On Thu, Mar 13, 2008 at 8:26 AM, Javi Roman <javiroman at kernel-labs.org> wrote:
>
> On Wed, Mar 12, 2008 at 10:39 PM, Javi Roman <javiroman at kernel-labs.org> wrote:
>  > I have got the following error when I add openchrome to my custom file image:
>  >
>  >  ------------ my-image.bb ------------
>  >  require packages/images/bootstrap-image.bb
>  >
>  >  export IMAGE_INSTALL += "j2re \
>  >                 grub \
>  >                 ipkg \
>  >                 openchrome \
>  >                 "
>  >  inherit image
>  >
>  >  export IMAGE_BASENAME = "my-image"
>  >  ------------------------------------------
>  >
>  >  $ bitbake my-image
>  >
>  >  NOTE: Resolving any missing task queue dependencies
>  >  ERROR: '['/home/jroman/OE_EPIA/local/packages/images/my-image.bb']'
>  >  RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity
>  >  'openchrome' but it wasn't found in any PACKAGE or RPROVIDES variables
>  >  NOTE: Runtime target 'openchrome' is unbuildable, removing...
>  >  Missing or unbuildable dependency chain was: ['openchrome']
>  >  ERROR: Required build target 'my-image' has no buildable providers.
>  >  Missing or unbuildable dependency chain was: [my-image', 'openchrome']
>  >
>  >
>  >  Openchrome bitbake package is a standard package of OE, so, what's happening?
>  >  Can anybody advice me?
>  >
>  >  Thanks a lot.
>  >
>  >  --
>  >  Javi Roman
>  >
>
>  BTW, when I try to make "openchrome" package directly I got the following error:
>
>  $ bitbake openchrome
>
>  .....
>
>   File "patch_do_patch", line 100, in ?
>   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 configure.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/configure.ac 2007-01-16 16:58:44.000000000 +0000
>  |+++ trunk/configure.ac 2007-01-16 18:09:26.000000000 +0000
>  --------------------------
>  No file to patch.  Skipping patch.
>  2 out of 2 hunks ignored
>  patching file m4/check-build.m4
>  Patch configure.patch does not apply (enforce with -f)
>  ERROR: Task 6 (/home/jroman/OE_EPIA/openembedded/packages/openchrome/openchrome_svn.bb,
>  do_patch) failed
>  NOTE: Tasks Summary: Attempted 746 tasks of which 728 didn't need to
>  be rerun and 1 failed.
>  ERROR: '/home/jroman/OE_EPIA/openembedded/packages/openchrome/openchrome_svn.bb'
>  failed
>
>
>  Openchrome was tested?
>  Could anybody get around this problem?
>
>
>
>  Thanks a lot.
>
>
>
>        - Javi Roman
>

The problem was solved with my own package:

local_overlay
|-- classes
|-- conf
|   `-- site.conf
`-- packages
    |
    |-- openchrome
    |   |-- configure.patch
    |   `-- xf86-video-openchrome_0.2.901.bb

xf86-video-openchrome_0.2.901.bb:

DESCRIPTION = "X OpenChrome driver for VIA EPIA"
LICENSE = "GPL"
PE = "0"

SRC_URI = "http://www.openchrome.org/releases/${PN}-${PV}.tar.bz2 \
                file://configure.patch;patch=1"

DEPENDS = "xserver-xorg libxvmc"

inherit autotools xorg-module

do_stage() {
        autotools_stage_all
}


I really don't know what's happening!
Thanks a lot.

      - Javi Roman




More information about the Openembedded-users mailing list