[OE-core] rootfs fails to build in current master
Paul Barker
paul at paulbarker.me.uk
Sat Mar 1 18:03:30 UTC 2014
On 1 March 2014 17:46, Mike Looijmans <mike.looijmans at topic.nl> wrote:
> I get this mysterious error at rootfs after updating to current master:
>
> Exception: AttributeError: 'module' object has no attribute
> 'shell_trap_code'
>
>
> I haven't been following OE for a while, so I have no clue as to what caused
> this.
>
> Stack trace:
>
> File: '/media/work/master-next/openembedded-core/meta/lib/oe/image.py',
> lineno: 248, function: _write_script
> 0244: self.d.setVarFlag('img_creation_func', 'func', 1)
> 0245: self.d.setVarFlag('img_creation_func', 'fakeroot', 1)
> 0246:
> 0247: with open(script_name, "w+") as script:
> *** 0248: script.write("%s" % bb.build.shell_trap_code())
> 0249: script.write("export ROOTFS_SIZE=%d\n" %
> self._get_rootfs_size())
> 0250: bb.data.emit_func('img_creation_func', script, self.d)
> 0251: script.write("img_creation_func\n")
> 0252:
>
As a quick stab-in-the-dark guess: Are you using the current master of
Bitbake to build this? Each branch of OpenEmbedded has a corresponding
branch of Bitbake, OE master requires Bitbake master.
--
Paul Barker
Email: paul at paulbarker.me.uk
http://www.paulbarker.me.uk
More information about the Openembedded-core
mailing list