[U-Boot] buildman error?

Simon Glass sjg at chromium.org
Mon Aug 1 03:04:19 CEST 2016


Hi Bin,

On 31 July 2016 at 18:56, Bin Meng <bmeng.cn at gmail.com> wrote:
> Hi Simon,
>
> With the latest buildman on the master branch, when I build x86, I got:
>
> boards.cfg is up to date. Nothing to do.
> Building 8 commits for 14 boards (14 threads, 6 jobs per thread)
> Traceback (most recent call last):
>   File "./tools/buildman/buildman", line 64, in <module>
>     ret_code = control.DoBuildman(options, args)
>   File "./tools/buildman/control.py", line 294, in DoBuildman
>     options.keep_outputs, options.verbose)
>   File "./tools/buildman/builder.py", line 1426, in BuildBoards
>     self.ProcessResult(None)
>   File "./tools/buildman/builder.py", line 423, in ProcessResult
>     self._AddTimestamp()
>   File "./tools/buildman/builder.py", line 320, in _AddTimestamp
>     seconds = delta.total_seconds()
> AttributeError: 'datetime.timedelta' object has no attribute 'total_seconds'
>
> Can you please look at this?

Is this due to a newer/older Python? I don't recall changing anything here.

- Simon


More information about the U-Boot mailing list