All of lore.kernel.org
 help / color / mirror / Atom feed
* Image problem.
@ 2007-02-20 16:50 Rob Kramer
  2007-02-22 11:36 ` Rob Kramer
  2007-02-22 12:02 ` Marcin Juszkiewicz
  0 siblings, 2 replies; 4+ messages in thread
From: Rob Kramer @ 2007-02-20 16:50 UTC (permalink / raw)
  To: openembedded-devel

Hia,

I'm converting my image to the new-style metadata (*_FEATURES, etc), and I'm
having trouble figuring out where the error below originates. It can't find
a -dbg install directory, or something. I have the feeling I've forgotten
to convert something, or neglected to add a new variable. 

Can anyone tell me where to start looking? Clearing the cache and rebuilding
doesn't help. Using Bitbake 1.6 svn head.

Cheers!

    Rob


[wrobbie] ~/oe/dev/build-epia> bitbake display-image
NOTE: Using cache in '/bulk/home/rob/oe/dev/build-epia/tmp/cache/rob-epia'
NOTE: Handling BitBake files: | (4243/4243) [100 %]
NOTE: Parsing finished. 3316 cached, 0 parsed, 196 skipped, 731 masked.

NOTE: build 200702210039: started

OE Build Configuration:
BB_VERSION     = "1.6.7"
OE_REVISION    = "<unknown>"
TARGET_ARCH    = "i586"
TARGET_OS      = "linux"
MACHINE        = "rob-epia"
DISTRO         = "rob-epia"
DISTRO_VERSION = "v1.0b-20070220"
TARGET_FPU     = ""

NOTE: package display-image-1.0: started
NOTE: package display-image-1.0-r0: task do_package_write: started
ERROR: Error in
executing: /home/rob/oe/dev/rob-packages/display-image/display-image.bb
ERROR: Exception:<type 'exceptions.OSError'> Message:[Errno 2] No such file
or
directory: '/bulk/home/rob/oe/dev/build-epia/tmp/work/display-image-1.0-r0/install/display-image-dbg'
ERROR: Printing the environment of the function
ERROR:  0055:           bb.data.update_data(localdata)
ERROR:  0056:           basedir = os.path.join(os.path.dirname(root))
ERROR:  0057:           pkgoutdir = outdir
ERROR:  0058:           bb.mkdirhier(pkgoutdir)
ERROR:  0059:           os.chdir(root)
ERROR:  0060:           from glob import glob
ERROR:  0061:           g = glob('*')
ERROR:  0062:           try:
ERROR:  0063:                   del g[g.index('CONTROL')]
ERROR: Error in
executing: /home/rob/oe/dev/rob-packages/display-image/display-image.bb
ERROR: Exception:<type 'exceptions.OSError'> Message:[Errno 2] No such file
or
directory: '/bulk/home/rob/oe/dev/build-epia/tmp/work/display-image-1.0-r0/install/display-image-dbg'
ERROR: Printing the environment of the function
ERROR: Error in
executing: /home/rob/oe/dev/rob-packages/display-image/display-image.bb
ERROR: Exception:<type 'exceptions.OSError'> Message:[Errno 2] No such file
or
directory: '/bulk/home/rob/oe/dev/build-epia/tmp/work/display-image-1.0-r0/install/display-image-dbg'
ERROR: Printing the environment of the function
ERROR: Error in
executing: /home/rob/oe/dev/rob-packages/display-image/display-image.bb
ERROR: Exception:<type 'exceptions.OSError'> Message:[Errno 2] No such file
or
directory: '/bulk/home/rob/oe/dev/build-epia/tmp/work/display-image-1.0-r0/install/display-image-dbg'
ERROR: Printing the environment of the function
Traceback (most recent call last):
  File "/home/rob/oe/bitbake/bin/bitbake", line 1163, in <module>
    main()
  File "/home/rob/oe/bitbake/bin/bitbake", line 1158, in main
    cooker.cook( BBConfiguration( options ), args[1:] )
  File "/home/rob/oe/bitbake/bin/bitbake", line 974, in cook
    if self.buildProvider( k , False ) == 0:
  File "/home/rob/oe/bitbake/bin/bitbake", line 609, in buildProvider
    if self.tryBuild(fn, item, buildAllDeps, build_depends + [fn]):
  File "/home/rob/oe/bitbake/bin/bitbake", line 329, in tryBuild
    return self.tryBuildPackage( fn, item, the_data )
  File "/home/rob/oe/bitbake/bin/bitbake", line 235, in tryBuildPackage
    bb.build.exec_task('do_%s' % self.configuration.cmd, the_data)
  File "/home/rob/oe/bitbake/lib/bb/build.py", line 288, in exec_task
    task_graph.walkdown(task, execute)
  File "/home/rob/oe/bitbake/lib/bb/__init__.py", line 1191, in walkdown
    ret = self.walkdown(p, callback, debug, usecache)
  File "/home/rob/oe/bitbake/lib/bb/__init__.py", line 1191, in walkdown
    ret = self.walkdown(p, callback, debug, usecache)
  File "/home/rob/oe/bitbake/lib/bb/__init__.py", line 1196, in walkdown
    return callback(self, item)
  File "/home/rob/oe/bitbake/lib/bb/build.py", line 267, in execute
    exec_task(item, d)
  File "/home/rob/oe/bitbake/lib/bb/build.py", line 288, in exec_task
    task_graph.walkdown(task, execute)
  File "/home/rob/oe/bitbake/lib/bb/__init__.py", line 1196, in walkdown
    return callback(self, item)
  File "/home/rob/oe/bitbake/lib/bb/build.py", line 277, in execute
    exec_func(item, localdata)
  File "/home/rob/oe/bitbake/lib/bb/build.py", line 98, in exec_func
    exec_func_python(func, d)
  File "/home/rob/oe/bitbake/lib/bb/build.py", line 117, in exec_func_python
    utils.better_exec(comp,g,tmp, bb.data.getVar('FILE',d,1))
  File "/home/rob/oe/bitbake/lib/bb/utils.py", line 142, in better_exec
    exec code in context
  File "do_package_write", line 4, in <module>
  File "do_package_write", line 2, in do_package_write
  File "/home/rob/oe/bitbake/lib/bb/build.py", line 98, in exec_func
    exec_func_python(func, d)
  File "/home/rob/oe/bitbake/lib/bb/build.py", line 117, in exec_func_python
    utils.better_exec(comp,g,tmp, bb.data.getVar('FILE',d,1))
  File "/home/rob/oe/bitbake/lib/bb/utils.py", line 142, in better_exec
    exec code in context
  File "package_ipk_do_package_write", line 4, in <module>
  File "package_ipk_do_package_write", line 2, in
package_ipk_do_package_write
  File "/home/rob/oe/bitbake/lib/bb/build.py", line 98, in exec_func
    exec_func_python(func, d)
  File "/home/rob/oe/bitbake/lib/bb/build.py", line 117, in exec_func_python
    utils.better_exec(comp,g,tmp, bb.data.getVar('FILE',d,1))
  File "/home/rob/oe/bitbake/lib/bb/utils.py", line 142, in better_exec
    exec code in context
  File "package_do_package_write", line 5, in <module>
  File "package_do_package_write", line 3, in package_do_package_write
  File "/home/rob/oe/bitbake/lib/bb/build.py", line 98, in exec_func
    exec_func_python(func, d)
  File "/home/rob/oe/bitbake/lib/bb/build.py", line 117, in exec_func_python
    utils.better_exec(comp,g,tmp, bb.data.getVar('FILE',d,1))
  File "/home/rob/oe/bitbake/lib/bb/utils.py", line 142, in better_exec
    exec code in context
  File "do_package_ipk", line 177, in <module>
  File "do_package_ipk", line 59, in do_package_ipk
OSError: [Errno 2] No such file or
directory: '/bulk/home/rob/oe/dev/build-epia/tmp/work/display-image-1.0-r0/install/display-image-dbg'





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Image problem.
  2007-02-20 16:50 Image problem Rob Kramer
@ 2007-02-22 11:36 ` Rob Kramer
  2007-02-22 12:02 ` Marcin Juszkiewicz
  1 sibling, 0 replies; 4+ messages in thread
From: Rob Kramer @ 2007-02-22 11:36 UTC (permalink / raw)
  To: openembedded-devel

Just to record, in case somebody else googles for this problem: I had to add
PACKAGES = "${PN}", so that bb doesn't muck around with -dbg etc. suffixes
for my image.


Rob Kramer wrote:
> I'm converting my image to the new-style metadata (*_FEATURES, etc), and
> I'm having trouble figuring out where the error below originates. It can't
> find a -dbg install directory, or something. I have the feeling I've
> forgotten to convert something, or neglected to add a new variable.

> OSError: [Errno 2] No such file or
> directory:
> '/bulk/home/rob/oe/dev/build-epia/tmp/work/display-image-1.0-r0/install/display-image-dbg'





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Image problem.
  2007-02-20 16:50 Image problem Rob Kramer
  2007-02-22 11:36 ` Rob Kramer
@ 2007-02-22 12:02 ` Marcin Juszkiewicz
  2007-02-22 13:00   ` Rob Kramer
  1 sibling, 1 reply; 4+ messages in thread
From: Marcin Juszkiewicz @ 2007-02-22 12:02 UTC (permalink / raw)
  To: openembedded-devel

Dnia wtorek, 20 lutego 2007, Rob Kramer napisał:
> I'm converting my image to the new-style metadata (*_FEATURES, etc),
> and I'm having trouble figuring out where the error below originates.
> It can't find a -dbg install directory, or something. I have the
> feeling I've forgotten to convert something, or neglected to add a new
> variable.
>
> Can anyone tell me where to start looking? Clearing the cache and
> rebuilding doesn't help. Using Bitbake 1.6 svn head.

Change "inherit image_ipk" to "inherit image" in display-image recipe. 
IIRC it should be all.

-- 
JID: hrw-jabber.org
OpenEmbedded developer/consultant

                        This tagline is umop apisdn





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Image problem.
  2007-02-22 12:02 ` Marcin Juszkiewicz
@ 2007-02-22 13:00   ` Rob Kramer
  0 siblings, 0 replies; 4+ messages in thread
From: Rob Kramer @ 2007-02-22 13:00 UTC (permalink / raw)
  To: openembedded-devel

Hi Marcin,

Marcin Juszkiewicz wrote:
>> I'm converting my image to the new-style metadata (*_FEATURES, etc),
>> and I'm having trouble figuring out where the error below originates.
>> It can't find a -dbg install directory, or something. I have the
>> feeling I've forgotten to convert something, or neglected to add a new
>> variable.
> 
> Change "inherit image_ipk" to "inherit image" in display-image recipe.
> IIRC it should be all.

Hmm, I did that, but I still have to put a PACKAGES="${PN}" after
the 'inherit image', or it won't work. I'm not using a nice task-xx file
yet, but all is chucked in the image recipe. I noticed openmoto etc. tasks
are a more elegant way of doing things.

Reading image.bbclass next..

Cheers,

    Rob




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-22 13:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-20 16:50 Image problem Rob Kramer
2007-02-22 11:36 ` Rob Kramer
2007-02-22 12:02 ` Marcin Juszkiewicz
2007-02-22 13:00   ` Rob Kramer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.