Bug 14350 - Memory resident Bitbake doesn't work
Summary: Memory resident Bitbake doesn't work
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 3.4 M1
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2021-04-16 16:05 UTC by Ross Burton
Modified: 2021-04-20 13:09 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ross Burton 2021-04-16 16:05:30 UTC
$ bitbake m4 --dry-run --idle-timeout=10
NOTE: Retrying server connection (#1)...
NOTE: Retrying server connection (#2)...
NOTE: Retrying server connection (#3)...
NOTE: Retrying server connection (#4)...
NOTE: Retrying server connection (#5)...
NOTE: Retrying server connection (#6)...
NOTE: Retrying server connection (#7)...
NOTE: Retrying server connection (#8)...
ERROR: Unable to connect to bitbake server, or start one (server startup failures would be in bitbake-cookerdaemon.log).

Traceback (most recent call last):
  File "/home/ross/Yocto/poky/bitbake/bin/bitbake-server", line 53, in <module>
    bb.server.process.execServer(lockfd, readypipeinfd, lockname, sockname, timeout, xmlrpcinterface)
  File "/home/ross/Yocto/poky/bitbake/lib/bb/server/process.py", line 550, in execServer
    server.run()
  File "/home/ross/Yocto/poky/bitbake/lib/bb/server/process.py", line 108, in run
    ret = self.main()
  File "/home/ross/Yocto/poky/bitbake/lib/bb/server/process.py", line 193, in main
    (self.lastui + self.timeout) < time.time():
TypeError: unsupported operand type(s) for +: 'float' and 'str'
Comment 1 Ross Burton 2021-04-16 17:34:21 UTC
Patch on the list. Obviously this needs a self test!