[U-Boot] buildman error?

Bin Meng bmeng.cn at gmail.com
Mon Aug 1 03:08:10 CEST 2016


Hi Simon,

On Mon, Aug 1, 2016 at 9:04 AM, Simon Glass <sjg at chromium.org> wrote:
> 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.
>

Ah, I switched to a more powerful machine to run buildman and its
python version is 2.6. My previous machines have 2.4 and 2.7. Looks
2.6 has some issues?

Regards,
Bin


More information about the U-Boot mailing list