Bug 6337

Summary: Split warning messages
Product: [Build System, Metadata & Runtime] Hob Reporter: Belen Barros Pena <belen.barros.pena>
Component: hobAssignee: Cristiana Voicu <cristiana.voicu>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: Undecided CC: belen.barros.pena, cristiana.voicu, poky.bs.watcher, poky.watcher, valentin.popa
Version: 1.6   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
warning 1
none
Warning 2
none
Warning 3 none

Description Belen Barros Pena 2014-05-15 13:18:26 UTC
Created attachment 1959 [details]
warning 1

Warning messages that happen during the recipe parsing process are split (see screenshots attached). Steps to reproduce:

* In Hob, using the Advanced Configuration dialog, select the poky-lsb distro

* The recipe parsing process should throw a few warnings. Click the button in the notification to view the warnings

* Navigate through the warnings: a single warning is split across multiple warnings

Expected result: warning messages should not be split (they should appear as a single warning in Hob).
Comment 1 Belen Barros Pena 2014-05-15 13:18:44 UTC
Created attachment 1960 [details]
Warning 2
Comment 2 Belen Barros Pena 2014-05-15 13:19:01 UTC
Created attachment 1961 [details]
Warning 3
Comment 3 Cristiana Voicu 2014-05-15 14:16:03 UTC
This is not a hob bug. It happens only for that warning, because in that recipe it has:
bb.warn('The meta-qt3 layer should be added, this layer provides Qt 3.x')
bb.warn('libraries. Its intended use is for passing LSB tests as Qt3 is')
bb.warn('a requirement for LSB')
These are declared as 3 warnings, but the text refers to only 1. 

I will close this bug as not a bug, and I will send a patch to fix that issue with that recipe.
Comment 4 Belen Barros Pena 2014-05-15 14:21:26 UTC
(In reply to comment #3)
> This is not a hob bug. It happens only for that warning, because in that
> recipe it has:
> bb.warn('The meta-qt3 layer should be added, this layer provides Qt 3.x')
> bb.warn('libraries. Its intended use is for passing LSB tests as Qt3 is')
> bb.warn('a requirement for LSB')
> These are declared as 3 warnings, but the text refers to only 1. 
> 
> I will close this bug as not a bug, and I will send a patch to fix that
> issue with that recipe.

Sounds good to me. Thanks!