#367: Detect missing optional BuildRequires from Koji log
--------------------+-------------------------------------------------------
 Reporter:  kparal  |       Owner:                   
     Type:  task    |      Status:  new              
 Priority:  minor   |   Milestone:  Future test cases
Component:  tests   |    Keywords:                   
--------------------+-------------------------------------------------------
 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.

-- 
Ticket URL: <https://fedorahosted.org/autoqa/ticket/367>
AutoQA <http://autoqa.fedorahosted.org>
Automated QA project
_______________________________________________
autoqa-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/autoqa-devel

Reply via email to