Given following log snippets, their explanation, and nothing else, explain what failure, if any, occurred during build of this package.

  Snippets are in a format of [X] : [Y], where [X] is a log snippet, and [Y] is the explanation.

  Snippets are delimited with '================'.

  Drawing on information from all snippets, provide a concise explanation of the issue and recommend a solution.

  Explanation of the issue, and recommended solution, should take a handful of sentences.

  Snippets:

  [not ok /fwupd/polkit-agent - ERROR:../src/fu-polkit-test.c:19:fu_polkit_agent_func: assertion failed (error == NULL): missing pkttyagent (FwupdError, 10)]: [It contains the error message which caused unit tests to fail.]

Issue: Unit tests failed due to a missing build-time dependency on pkttyagent, which is a binary provided by polkit.
Resolution: The polkit package should be added to BuildRequires in the spec file.