rootfs fails to build in current master
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:Signature · 1 line
Mike Looijmans
Quoted 17 lines · Mike Looijmans
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_script0244: 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:
Quoted 7 lines
*** 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.
Signature · 4 lines
Paul Barker Email: [email protected] http://www.paulbarker.me.uk
Quoted 5 lines · Paul Barker
Quoted 4 lines · Mike Looijmans
I get this mysterious error at rootfs after updating to current master:
Exception: AttributeError: 'module' object has no attribute '
shell_trap_code'
...
Quoted 4 lines
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.
That could be the case - though in the past it complained when bitbake was out of date.
I fetched bitbake's master.
Now I'm getting dozens of fetcher and parser failures, so apparently something changed in the fetching of repositories.
Signature · 1 line
Mike