I try to build the gateware myself and follow this instructions:
https://m-labs.hk/artiq/manual-beta/developing.html#developing-artiq
When I clone the repository and run "nix develop", the artiq python package fails to build with the following cryptic message:
[1/2/29 built, 1 copied (111.1 MiB), 19.4 MiB DL] building python3.9-artiq-7.8086.e1f9fea.beta (installCheckPhase): ? ^ ^^^
The relevant trace form nix log /nix/store/ipxxw4qycvrj06ww0s7jkcsry48zbd8q-python3.9-artiq-7.8086.e1f9fea.beta.drv
:
test_pending_priority (artiq.test.test_scheduler.SchedulerCase)
Check due dates take precedence over priorities when waiting to ... Unhandled exception in TaskObject task body
Traceback (most recent call last):
File "/nix/store/78jrd1qrbzjksn0fxc2hs1a29kdbd2fa-python3.9-sipyco-1.4/lib/python3.9/site-packages/sipyco/asyncio_tools.py", line 18, in log_exceptions
return await awaitable()
File "/build/source/artiq/master/scheduler.py", line 225, in _do
run.status = RunStatus.preparing
File "/build/source/artiq/master/scheduler.py", line 88, in status
self._notifier[self.rid]["status"] = self._status.name
File "/nix/store/78jrd1qrbzjksn0fxc2hs1a29kdbd2fa-python3.9-sipyco-1.4/lib/python3.9/site-packages/sipyco/sync_struct.py", line 241, in __setitem__
self.root.publish({"action": ModAction.setitem.value,
File "/build/source/artiq/test/test_scheduler.py", line 266, in notify
self.assertEqual(mod, expect[expect_idx])
File "/nix/store/gwlgfywzqypv91rxw916v81mpzhckdz5-python3-3.9.13/lib/python3.9/unittest/case.py", line 837, in assertEqual
assertion_func(first, second, msg=msg)
File "/nix/store/gwlgfywzqypv91rxw916v81mpzhckdz5-python3-3.9.13/lib/python3.9/unittest/case.py", line 1136, in assertDictEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/nix/store/gwlgfywzqypv91rxw916v81mpzhckdz5-python3-3.9.13/lib/python3.9/unittest/case.py", line 676, in fail
raise self.failureException(msg)
AssertionError: {'action': 'setitem', 'path': [2], 'key': 'status', 'value': 'preparing'} != {'path': [0], 'action': 'setitem', 'value': 'running', 'key': 'status'}
- {'action': 'setitem', 'key': 'status', 'path': [2], 'value': 'preparing'}
? ^ - ^^^^
+ {'action': 'setitem', 'key': 'status', 'path': [0], 'value': 'running'}
?
Has anyone come across this issue and can point me in the right direction? Or is this a bug which I should report to the github?