Initially reported by kparal as https://fedorahosted.org/autoqa/ticket/367
Alexey Kurov proposed following:
It wold be nice to have an automated test based on build logs that looks for missed BR's for example in cmake or configure outputs. If such BR's will be found test should war about them but this warning should not mark whole tests results as FAILED.
There are two type of dependencies mandatory and optional. If mandatory dependence missing then build will failed. But if optional dependence missing build will be complete but some of functionality will be missing.
For example see this okular build log, where BuildRequires qca2-devel was unintentionally missed: http://kojipkgs.fedoraproject.org/packages/okular/4.6.95/2.fc16/data/logs/i686/build.log
There is cmake output:
-- The following OPTIONAL packages could NOT be located on your system. -- Consider installing them to enable more features from this software.
* QCA (2.0.0 or higher) <http://delta.affinix.com/qca/> Qt Cryptographic Architecture (QCA) Support for encrypted OpenDocument Text documents in Okular.
But this build was complete.
This was wixed in next build by adding needed BuildRequires http://kojipkgs.fedoraproject.org/packages/okular/4.6.95/3.fc16/data/logs/i686/build.log
So such missing optional dependencies needs attention.
See https://fedorahosted.org/pipermail/autoqa-devel/2011-July/002676.html .
It will be probably needed to have whitelisting capabilities for this test, because similarly to e.g. rpmlint sometimes some warnings might be intentional.
Metadata Update from @adamwill: - Issue tagged with: task-idea
Log in to comment on this ticket.