<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>1020</bug_id>
          
          <creation_ts>2011-05-03 01:35:25 +0000</creation_ts>
          <short_desc>LSB4.1: LSB test suite need libQtOpenGL.so for hardware ppc, x86 and x86-64</short_desc>
          <delta_ts>2011-07-08 15:33:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>graphics</component>
          <version>1.0-alpha</version>
          <rep_platform>All</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>1.1 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Xiaofeng Yan">Xiaofeng.yan</reporter>
          <assigned_to name="Xiaofeng Yan">Xiaofeng.yan</assigned_to>
          <cc>jiajun.xu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>13537</commentid>
    <comment_count>0</comment_count>
    <who name="Xiaofeng Yan">Xiaofeng.yan</who>
    <bug_when>2011-05-03 01:35:25 +0000</bug_when>
    <thetext>Qt4 can&apos;t be test for hardware platform ppc(mpc8315e),x86 and x86-64 without library libQtOpenGL.so</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13538</commentid>
    <comment_count>1</comment_count>
    <who name="Xiaofeng Yan">Xiaofeng.yan</who>
    <bug_when>2011-05-03 01:48:37 +0000</bug_when>
    <thetext>This bugs can be solved by the following steps
1 for ppc(mpc8315e-rdb)
PC$ vim /media/D/poky/git/poky/meta/recipes-qt/qt4/qt4-x11-free.inc
......
 QT_GLFLAGS ?= &quot;-no-opengl&quot;
 QT_GLFLAGS_qemux86 = &quot;-opengl&quot;
 QT_GLFLAGS_emenlow = &quot;-opengl&quot;
 QT_GLFLAGS_atom-pc = &quot;-opengl&quot;
 QT_GLFLAGS_qemuppc = &quot;-opengl&quot;
+QT_GLFLAGS_mpc8315e-rdb = &quot;-opengl&quot;
 QT_CONFIG_FLAGS += &quot;-no-xinerama -no-xkb ${QT_GLFLAGS}&quot;
 QT_BASE_NAME ?= &quot;qt4&quot;
 QT_BASE_LIB  ?= &quot;libqt&quot;

inherit qt4x11
2 for x86 and x86-64
PC$vim /media/D/poky/git/poky/meta/recipes-qt/qt4/qt4-x11-free.inc
......
 QT_GLFLAGS ?= &quot;-no-opengl&quot;
 QT_GLFLAGS_qemux86 = &quot;-opengl&quot;
 QT_GLFLAGS_emenlow = &quot;-opengl&quot;
 QT_GLFLAGS_atom-pc = &quot;-opengl&quot;
 QT_GLFLAGS_qemuppc = &quot;-opengl&quot;
+QT_GLFLAGS_specific-hardware-platfrom = &quot;-opengl&quot;
 QT_CONFIG_FLAGS += &quot;-no-xinerama -no-xkb ${QT_GLFLAGS}&quot;
 QT_BASE_NAME ?= &quot;qt4&quot;
 QT_BASE_LIB  ?= &quot;libqt&quot;
Because wind river have no x86 and x86-64 hardware platform, so please Intel make patches for QtOpenGL to OE-CORE. I can enable them for x86 and x86-64 but I can&apos;t test them without hardware. LSB could delay if no libQtOpenGL.so</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13541</commentid>
    <comment_count>2</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-05-03 06:53:16 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; This bugs can be solved by the following steps
&gt; 1 for ppc(mpc8315e-rdb)
&gt; PC$ vim /media/D/poky/git/poky/meta/recipes-qt/qt4/qt4-x11-free.inc
&gt; ......
&gt;  QT_GLFLAGS ?= &quot;-no-opengl&quot;
&gt;  QT_GLFLAGS_qemux86 = &quot;-opengl&quot;
&gt;  QT_GLFLAGS_emenlow = &quot;-opengl&quot;
&gt;  QT_GLFLAGS_atom-pc = &quot;-opengl&quot;
&gt;  QT_GLFLAGS_qemuppc = &quot;-opengl&quot;
&gt; +QT_GLFLAGS_mpc8315e-rdb = &quot;-opengl&quot;
&gt;  QT_CONFIG_FLAGS += &quot;-no-xinerama -no-xkb ${QT_GLFLAGS}&quot;
&gt;  QT_BASE_NAME ?= &quot;qt4&quot;
&gt;  QT_BASE_LIB  ?= &quot;libqt&quot;
&gt; inherit qt4x11
&gt; 2 for x86 and x86-64
&gt; PC$vim /media/D/poky/git/poky/meta/recipes-qt/qt4/qt4-x11-free.inc
&gt; ......
&gt;  QT_GLFLAGS ?= &quot;-no-opengl&quot;
&gt;  QT_GLFLAGS_qemux86 = &quot;-opengl&quot;
&gt;  QT_GLFLAGS_emenlow = &quot;-opengl&quot;
&gt;  QT_GLFLAGS_atom-pc = &quot;-opengl&quot;
&gt;  QT_GLFLAGS_qemuppc = &quot;-opengl&quot;
&gt; +QT_GLFLAGS_specific-hardware-platfrom = &quot;-opengl&quot;
&gt;  QT_CONFIG_FLAGS += &quot;-no-xinerama -no-xkb ${QT_GLFLAGS}&quot;
&gt;  QT_BASE_NAME ?= &quot;qt4&quot;
&gt;  QT_BASE_LIB  ?= &quot;libqt&quot;
&gt; Because wind river have no x86 and x86-64 hardware platform, so please Intel
&gt; make patches for QtOpenGL to OE-CORE. I can enable them for x86 and x86-64 but
&gt; I can&apos;t test them without hardware. LSB could delay if no libQtOpenGL.so

Xiaofeng, my understanding is: I only need to test on x86 and x86-64.
And you&apos;ll test on ppc.
After our testings are done, the bug will be fixed.

Am I correct?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13544</commentid>
    <comment_count>3</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-05-03 07:51:36 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; This bugs can be solved by the following steps
&gt; &gt; 1 for ppc(mpc8315e-rdb)
&gt; &gt; PC$ vim /media/D/poky/git/poky/meta/recipes-qt/qt4/qt4-x11-free.inc
&gt; &gt; ......
&gt; &gt;  QT_GLFLAGS ?= &quot;-no-opengl&quot;
&gt; &gt;  QT_GLFLAGS_qemux86 = &quot;-opengl&quot;
&gt; &gt;  QT_GLFLAGS_emenlow = &quot;-opengl&quot;
&gt; &gt;  QT_GLFLAGS_atom-pc = &quot;-opengl&quot;
&gt; &gt;  QT_GLFLAGS_qemuppc = &quot;-opengl&quot;
&gt; &gt; +QT_GLFLAGS_mpc8315e-rdb = &quot;-opengl&quot;
&gt; &gt;  QT_CONFIG_FLAGS += &quot;-no-xinerama -no-xkb ${QT_GLFLAGS}&quot;
&gt; &gt;  QT_BASE_NAME ?= &quot;qt4&quot;
&gt; &gt;  QT_BASE_LIB  ?= &quot;libqt&quot;
&gt; &gt; inherit qt4x11
&gt; &gt; 2 for x86 and x86-64
&gt; &gt; PC$vim /media/D/poky/git/poky/meta/recipes-qt/qt4/qt4-x11-free.inc
&gt; &gt; ......
&gt; &gt;  QT_GLFLAGS ?= &quot;-no-opengl&quot;
&gt; &gt;  QT_GLFLAGS_qemux86 = &quot;-opengl&quot;
&gt; &gt;  QT_GLFLAGS_emenlow = &quot;-opengl&quot;
&gt; &gt;  QT_GLFLAGS_atom-pc = &quot;-opengl&quot;
&gt; &gt;  QT_GLFLAGS_qemuppc = &quot;-opengl&quot;
&gt; &gt; +QT_GLFLAGS_specific-hardware-platfrom = &quot;-opengl&quot;
&gt; &gt;  QT_CONFIG_FLAGS += &quot;-no-xinerama -no-xkb ${QT_GLFLAGS}&quot;
&gt; &gt;  QT_BASE_NAME ?= &quot;qt4&quot;
&gt; &gt;  QT_BASE_LIB  ?= &quot;libqt&quot;
&gt; &gt; Because wind river have no x86 and x86-64 hardware platform, so please Intel
&gt; &gt; make patches for QtOpenGL to OE-CORE. I can enable them for x86 and x86-64 but
&gt; &gt; I can&apos;t test them without hardware. LSB could delay if no libQtOpenGL.so
&gt; Xiaofeng, my understanding is: I only need to test on x86 and x86-64.
&gt; And you&apos;ll test on ppc.
&gt; After our testings are done, the bug will be fixed.
&gt; Am I correct?

BTW: can we test it using qemux86 and qemux86-64? I guess not since qemu doesn&apos;t support opengl now(?)

What x86 and x86-64 target should I build?
I know BSP sugarbay is x86-64 and BSP n450 seems x86. Can I test on them? how to test them?
Please clarify the questions since I&apos;m not very clear about the background. :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13553</commentid>
    <comment_count>4</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-05-03 17:12:51 +0000</bug_when>
    <thetext>&gt; &gt; &gt; Because wind river have no x86 and x86-64 hardware platform, so please Intel
&gt; &gt; &gt; make patches for QtOpenGL to OE-CORE. I can enable them for x86 and x86-64 but
&gt; &gt; &gt; I can&apos;t test them without hardware. LSB could delay if no libQtOpenGL.so
&gt; &gt; Xiaofeng, my understanding is: I only need to test on x86 and x86-64.
&gt; &gt; And you&apos;ll test on ppc.
&gt; &gt; After our testings are done, the bug will be fixed.
&gt; &gt; Am I correct?
&gt; BTW: can we test it using qemux86 and qemux86-64? I guess not since qemu
&gt; doesn&apos;t support opengl now(?)
&gt; What x86 and x86-64 target should I build?
&gt; I know BSP sugarbay is x86-64 and BSP n450 seems x86. Can I test on them? how
&gt; to test them?

Currenly we are doing LSB test on jasperforest(x86-64). I think sugarbay and n450 should be OK also. But the problem is that if we need to enable opengl for all meta-intel BSPs. 

Xiaofeng has a doc for LSB test suite setup, I could send you by email.

&gt; Please clarify the questions since I&apos;m not very clear about the background. :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13554</commentid>
    <comment_count>5</comment_count>
    <who name="Xiaofeng Yan">Xiaofeng.yan</who>
    <bug_when>2011-05-03 18:57:31 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; This bugs can be solved by the following steps
&gt; &gt; 1 for ppc(mpc8315e-rdb)
&gt; &gt; PC$ vim /media/D/poky/git/poky/meta/recipes-qt/qt4/qt4-x11-free.inc
&gt; &gt; ......
&gt; &gt;  QT_GLFLAGS ?= &quot;-no-opengl&quot;
&gt; &gt;  QT_GLFLAGS_qemux86 = &quot;-opengl&quot;
&gt; &gt;  QT_GLFLAGS_emenlow = &quot;-opengl&quot;
&gt; &gt;  QT_GLFLAGS_atom-pc = &quot;-opengl&quot;
&gt; &gt;  QT_GLFLAGS_qemuppc = &quot;-opengl&quot;
&gt; &gt; +QT_GLFLAGS_mpc8315e-rdb = &quot;-opengl&quot;
&gt; &gt;  QT_CONFIG_FLAGS += &quot;-no-xinerama -no-xkb ${QT_GLFLAGS}&quot;
&gt; &gt;  QT_BASE_NAME ?= &quot;qt4&quot;
&gt; &gt;  QT_BASE_LIB  ?= &quot;libqt&quot;
&gt; &gt; inherit qt4x11
&gt; &gt; 2 for x86 and x86-64
&gt; &gt; PC$vim /media/D/poky/git/poky/meta/recipes-qt/qt4/qt4-x11-free.inc
&gt; &gt; ......
&gt; &gt;  QT_GLFLAGS ?= &quot;-no-opengl&quot;
&gt; &gt;  QT_GLFLAGS_qemux86 = &quot;-opengl&quot;
&gt; &gt;  QT_GLFLAGS_emenlow = &quot;-opengl&quot;
&gt; &gt;  QT_GLFLAGS_atom-pc = &quot;-opengl&quot;
&gt; &gt;  QT_GLFLAGS_qemuppc = &quot;-opengl&quot;
&gt; &gt; +QT_GLFLAGS_specific-hardware-platfrom = &quot;-opengl&quot;
&gt; &gt;  QT_CONFIG_FLAGS += &quot;-no-xinerama -no-xkb ${QT_GLFLAGS}&quot;
&gt; &gt;  QT_BASE_NAME ?= &quot;qt4&quot;
&gt; &gt;  QT_BASE_LIB  ?= &quot;libqt&quot;
&gt; &gt; Because wind river have no x86 and x86-64 hardware platform, so please Intel
&gt; &gt; make patches for QtOpenGL to OE-CORE. I can enable them for x86 and x86-64 but
&gt; &gt; I can&apos;t test them without hardware. LSB could delay if no libQtOpenGL.so
&gt; 
&gt; Xiaofeng, my understanding is: I only need to test on x86 and x86-64.
&gt; And you&apos;ll test on ppc.
We make lsb test on ppc and have generated a libQtOpenGl.so on mpc8315e-rdb and it&apos;s ok here. 
&gt; After our testings are done, the bug will be fixed.
&gt; 
yes if you enable this configure on .bb file. I think it will pass lsb test.
&gt; Am I correct?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13555</commentid>
    <comment_count>6</comment_count>
    <who name="Xiaofeng Yan">Xiaofeng.yan</who>
    <bug_when>2011-05-03 19:04:57 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; (In reply to comment #1)
&gt; &gt; &gt; This bugs can be solved by the following steps
&gt; &gt; &gt; 1 for ppc(mpc8315e-rdb)
&gt; &gt; &gt; PC$ vim /media/D/poky/git/poky/meta/recipes-qt/qt4/qt4-x11-free.inc
&gt; &gt; &gt; ......
&gt; &gt; &gt;  QT_GLFLAGS ?= &quot;-no-opengl&quot;
&gt; &gt; &gt;  QT_GLFLAGS_qemux86 = &quot;-opengl&quot;
&gt; &gt; &gt;  QT_GLFLAGS_emenlow = &quot;-opengl&quot;
&gt; &gt; &gt;  QT_GLFLAGS_atom-pc = &quot;-opengl&quot;
&gt; &gt; &gt;  QT_GLFLAGS_qemuppc = &quot;-opengl&quot;
&gt; &gt; &gt; +QT_GLFLAGS_mpc8315e-rdb = &quot;-opengl&quot;
&gt; &gt; &gt;  QT_CONFIG_FLAGS += &quot;-no-xinerama -no-xkb ${QT_GLFLAGS}&quot;
&gt; &gt; &gt;  QT_BASE_NAME ?= &quot;qt4&quot;
&gt; &gt; &gt;  QT_BASE_LIB  ?= &quot;libqt&quot;
&gt; &gt; &gt; inherit qt4x11
&gt; &gt; &gt; 2 for x86 and x86-64
&gt; &gt; &gt; PC$vim /media/D/poky/git/poky/meta/recipes-qt/qt4/qt4-x11-free.inc
&gt; &gt; &gt; ......
&gt; &gt; &gt;  QT_GLFLAGS ?= &quot;-no-opengl&quot;
&gt; &gt; &gt;  QT_GLFLAGS_qemux86 = &quot;-opengl&quot;
&gt; &gt; &gt;  QT_GLFLAGS_emenlow = &quot;-opengl&quot;
&gt; &gt; &gt;  QT_GLFLAGS_atom-pc = &quot;-opengl&quot;
&gt; &gt; &gt;  QT_GLFLAGS_qemuppc = &quot;-opengl&quot;
&gt; &gt; &gt; +QT_GLFLAGS_specific-hardware-platfrom = &quot;-opengl&quot;
&gt; &gt; &gt;  QT_CONFIG_FLAGS += &quot;-no-xinerama -no-xkb ${QT_GLFLAGS}&quot;
&gt; &gt; &gt;  QT_BASE_NAME ?= &quot;qt4&quot;
&gt; &gt; &gt;  QT_BASE_LIB  ?= &quot;libqt&quot;
&gt; &gt; &gt; Because wind river have no x86 and x86-64 hardware platform, so please Intel
&gt; &gt; &gt; make patches for QtOpenGL to OE-CORE. I can enable them for x86 and x86-64 but
&gt; &gt; &gt; I can&apos;t test them without hardware. LSB could delay if no libQtOpenGL.so
&gt; &gt; Xiaofeng, my understanding is: I only need to test on x86 and x86-64.
&gt; &gt; And you&apos;ll test on ppc.
&gt; &gt; After our testings are done, the bug will be fixed.
&gt; &gt; Am I correct?
&gt; 
&gt; BTW: can we test it using qemux86 and qemux86-64? I guess not since qemu
&gt; doesn&apos;t support opengl now(?)
&gt; 
You can&apos;t test it on qemu platfrom because we report lsb test results to Linux Foundation with specific hardware platform 
&gt; What x86 and x86-64 target should I build?
&gt; I know BSP sugarbay is x86-64 and BSP n450 seems x86. Can I test on them? how
&gt; to test them?
I view email and jiajun will give you the test document. If you have any question for lsb test. please tell me.  
&gt; Please clarify the questions since I&apos;m not very clear about the background. :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13556</commentid>
    <comment_count>7</comment_count>
    <who name="Xiaofeng Yan">Xiaofeng.yan</who>
    <bug_when>2011-05-03 19:09:05 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; &gt; &gt; &gt; Because wind river have no x86 and x86-64 hardware platform, so please Intel
&gt; &gt; &gt; &gt; make patches for QtOpenGL to OE-CORE. I can enable them for x86 and x86-64 but
&gt; &gt; &gt; &gt; I can&apos;t test them without hardware. LSB could delay if no libQtOpenGL.so
&gt; &gt; &gt; Xiaofeng, my understanding is: I only need to test on x86 and x86-64.
&gt; &gt; &gt; And you&apos;ll test on ppc.
&gt; &gt; &gt; After our testings are done, the bug will be fixed.
&gt; &gt; &gt; Am I correct?
&gt; &gt; BTW: can we test it using qemux86 and qemux86-64? I guess not since qemu
&gt; &gt; doesn&apos;t support opengl now(?)
&gt; &gt; What x86 and x86-64 target should I build?
&gt; &gt; I know BSP sugarbay is x86-64 and BSP n450 seems x86. Can I test on them? how
&gt; &gt; to test them?
&gt; 
&gt; Currenly we are doing LSB test on jasperforest(x86-64). I think sugarbay and
&gt; n450 should be OK also. But the problem is that if we need to enable opengl for
&gt; all meta-intel BSPs. 
&gt; 
&gt; Xiaofeng has a doc for LSB test suite setup, I could send you by email.
&gt; 
Hi jiajun,
Thank you for you giving me help to make lsb test on x86 and x86-64. If you build a lsb-image for yourself, you should enable DISTRO=&quot;poky-lsb&quot; to instead of DISTRO=&quot;poky&quot; in file build/conf/local.conf 
&gt; &gt; Please clarify the questions since I&apos;m not very clear about the background. :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13669</commentid>
    <comment_count>8</comment_count>
    <who name="Xiaofeng Yan">Xiaofeng.yan</who>
    <bug_when>2011-05-11 00:29:48 +0000</bug_when>
    <thetext>Saul have re-factored changes to enable configuration for qtopengl on target platform. The next is detailed steps

pc$vi /media/D/poky/git/poky.git/meta-yocto/recipes-qt/qt4/qt4-x11-free_4.7.2.bbappend
+QT_GLFLAGS_jasperforest = &quot;-opengl&quot;

pc$vi meta/recipes-extended/tasks/task-core-lsb.bb
PACKAGES = &quot;\
    task-core-lsb \
    ......
+    task-core-lsb-graphic-add_jaspreforest \
    &quot;


ALLOW_EMPTY = &quot;1&quot;

RDEPENDS_task-core-lsb = &quot;\
    ......
+    task-core-lsb-graphic-add_jaspreforest \

+RDEPENDS_task-core-lsb-graphic-jaspreforest = &quot;\
+    libqtopengl4 \</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13769</commentid>
    <comment_count>9</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-05-12 18:55:47 +0000</bug_when>
    <thetext>I&apos;m building sugarbay (x86-64) and n450 (x86) images and trying to test this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14645</commentid>
    <comment_count>10</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-07-08 15:33:16 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d988cfbb472e9246f7a8020877da773e7601c119</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>