* rootfs fails to build in current master
@ 2014-03-01 17:46 Mike Looijmans
2014-03-01 18:03 ` Paul Barker
0 siblings, 1 reply; 3+ messages in thread
From: Mike Looijmans @ 2014-03-01 17:46 UTC (permalink / raw)
To: OE-core
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:
--
Mike Looijmans
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: rootfs fails to build in current master
2014-03-01 17:46 rootfs fails to build in current master Mike Looijmans
@ 2014-03-01 18:03 ` Paul Barker
2014-03-02 8:21 ` Mike Looijmans
0 siblings, 1 reply; 3+ messages in thread
From: Paul Barker @ 2014-03-01 18:03 UTC (permalink / raw)
To: Mike Looijmans; +Cc: OE-core
On 1 March 2014 17:46, Mike Looijmans <mike.looijmans@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@paulbarker.me.uk
http://www.paulbarker.me.uk
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: rootfs fails to build in current master
2014-03-01 18:03 ` Paul Barker
@ 2014-03-02 8:21 ` Mike Looijmans
0 siblings, 0 replies; 3+ messages in thread
From: Mike Looijmans @ 2014-03-02 8:21 UTC (permalink / raw)
To: OE-core
On 03/01/2014 07:03 PM, Paul Barker wrote:
> On 1 March 2014 17:46, Mike Looijmans <mike.looijmans@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'
...
>
> 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.
--
Mike
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-03-02 8:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-01 17:46 rootfs fails to build in current master Mike Looijmans
2014-03-01 18:03 ` Paul Barker
2014-03-02 8:21 ` Mike Looijmans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox