[Piglit] Fw: having issue while running piglit

Dylan Baker baker.dylan.c at gmail.com
Sat Sep 7 14:41:20 PDT 2013


It looks like you're missing the GLES1 headers. What linux distrobution are 
you running?

On Saturday 07 September 2013 16:59:24 Nitin Garg8 wrote:
> Hi Chad and All,
> 
>       I am able to proceed further with resolving all issues till now.
>       But while building piglit after running make command I am getting
> the below error :
> 
> [ 90%] Built target egl-create-context-valid-attribute-empty-gl
> [ 90%] Built target egl-create-context-valid-attribute-null-gl
> [ 90%] Built target egl-create-context-valid-flag-forward-compatible-gl
> [ 91%] Building C object
> target_api/gles1/tests/util/CMakeFiles/piglitutil_gles1.dir/piglit-util-gl-c
> ommon.c.o
> 
> In file included from
> /root/piglit-master/tests/util/piglit-util-gl-common.h:34:0,
>                  from
> /root/piglit-master/tests/util/piglit-util-gl-common.c:24:
> /root/piglit-master/src/piglit/gl_wrap.h:51:22: fatal error: GLES/gl.h: No
> such file or directory
> compilation terminated.
> make[2]: ***
> [target_api/gles1/tests/util/CMakeFiles/piglitutil_gles1.dir/piglit-util-gl-
> common.c.o] Error 1
> make[1]: ***
> [target_api/gles1/tests/util/CMakeFiles/piglitutil_gles1.dir/all] Error 2
> make: *** [all] Error 2
>  [piglit-master]#
> 
> # find / -name gl.h
> /usr/include/GL/gl.h
> 
> Please do let me know what can be done to resolve this isuse. I tried
> chaning that GLES/gl.h to GL/gl.h. But that didnt help.
> 
> Regards
> Nitin
> --------------------------------------------
> Nitin Garg
> IBM India Software Labs
> Embassy Golf Links Business Park
> Bangalore - 560071, INDIA
> mailto : nitgarg8 at in.ibm.com
> Ph : +91-80-41776992(off.)
> 
> 
> 
> Chad Versace <chad.versace at linux.intel.com>
> 09/05/2013 11:26 PM
> 
> 
> To
> Nitin Garg8/India/IBM at IBMIN
> cc
> Dylan Baker <baker.dylan.c at gmail.com>, piglit at lists.freedesktop.org
> Subject
> Re: [Piglit] having issue while running piglit
> 
> 
> 
> 
> 
> 
> 
> 
> You must install waffle using `make install`. If you install it to a
> non-standard
> location, then you must set the following environment variables to enable
> Piglit
> to use it.
> 
> PKG_CONFIG_PATH
> LD_LIBRARY_PATH
> 
> On 09/05/2013 08:49 AM, Nitin Garg8 wrote:
> > Hi Dylan,
> > 
> >        This time I am under /root/piglit-master directory and I run :
> > # /root/piglit-master
> > # ccmake .
> > 
> > I have the following settings :
> >   CMAKE_BUILD_TYPE             Debug
> >   CMAKE_INSTALL_PREFIX         /usr/local
> >   PIGLIT_BUILD_CL_TESTS        OFF
> >   PIGLIT_BUILD_GLES1_TESTS       ON
> >   PIGLIT_BUILD_GLES2_TESTS       ON
> >   PIGLIT_BUILD_GLES3_TESTS       ON
> >   PIGLIT_BUILD_GLX_TESTS         ON
> >   PIGLIT_BUILD_GL_TESTS        ON
> >   PIGLIT_USE_WAFFLE            ON
> > 
> > I installed mesa-libGLES-devel.s390x also and I see :
> > ll /usr/lib64/ | grep GLES
> > lrwxrwxrwx  1 root root     18 Sep  5 15:45 libGLESv2.so ->
> 
> libGLESv2.so.2.0.0
> 
> > lrwxrwxrwx  1 root root     18 Sep  5 13:32 libGLESv2.so.2 ->
> 
> libGLESv2.so.2.0.0
> 
> > -rwxr-xr-x  1 root root 140470 Sep  3 12:57 libGLESv2.so.2.0.0
> > 
> > But when I run ccmake . in piglit directory It through this error :
> >   CMake Error at
> 
> /usr/local/share/cmake-2.8/Modules/FindPkgConfig.cmake:279 (message):
> >     A required package was not found
> >   
> >   Call Stack (most recent call first):
> >     /usr/local/share/cmake-2.8/Modules/FindPkgConfig.cmake:333
> 
> (_pkg_check_modules_internal)
> 
> >     CMakeLists.txt:35 (pkg_check_modules)
> >   
> >   CMake Error at CMakeLists.txt:38 (message):
> >     Failed to find Waffle.  If Waffle is not packaged for your
> 
> distribution,
> 
> >     you can get it at http://people.freedesktop.org/~chadversary/waffle.
> > 
> > I am not able to understand how should I specify waffle to piglit.
> 
> Waffle is present under same /root directory.
> 
> > ls /root/waffle-1.2.3
> > Android.mk      CMakeFiles      LICENSE.txt  README.txt  cmake  doc
> 
> examples  install_manifest.txt  man
> 
> >   src    third_party  waffle.pc.in
> > 
> > CMakeCache.txt  CMakeLists.txt  Makefile     bin cmake_install.cmake
> 
> doxygen  include   lib         pkg  tests
> 
> >   waffle-1.pc  waffle_cgl.xcodeproj
> > 
> > ls /root/piglit-master
> > CMakeCache.txt  COPYING  RELEASE        examples       generated_tests
> 
> licences            piglit-run.py
> 
> >   piglit-summary.py  tests
> > 
> > CMakeFiles      HACKING  cmake          framework          glapi
> 
> piglit-merge-results.py   piglit-summary-html.py   src
> 
> > CMakeLists.txt  README   documentation  generate-glean-tests.py  include
> 
>  piglit-print-commands.py
> 
> >   piglit-summary-junit.py  templates
> > 
> > Please do reply.
> > 
> > Regards
> > Nitin
> > --------------------------------------------
> > Nitin Garg
> > IBM India Software Labs
> > Embassy Golf Links Business Park
> > Bangalore - 560071, INDIA
> > mailto : nitgarg8 at in.ibm.com
> > Ph : +91-80-41776992(off.)
> > 
> > 
> > 
> > *Dylan Baker <baker.dylan.c at gmail.com>*
> > 
> > 09/04/2013 08:16 PM
> > 
> > 
> > To
> > 
> >                  piglit at lists.freedesktop.org
> > 
> > cc
> > 
> >                  Nitin Garg8/India/IBM at IBMIN
> > 
> > Subject
> > 
> >                  Re: [Piglit] having issue while running piglit
> > 
> > Sorry if this sounds bad, but have your run cmake and make? It sounds
> 
> like
> 
> > you've failed to compile piglit.
> > 
> > On Wednesday 04 September 2013 16:05:52 Nitin Garg8 wrote:
> >  > Hi,
> >  > 
> >  >     While running piglit I am facing the following issues :
> >  >  python ./piglit-run.py tests/all.tests results/all.results/
> >  > 
> >  > Traceback (most recent call last):
> >  >   File "/root/piglit-master/framework/core.py", line 597, in
> >  > 
> >  > loadTestProfile
> >  > 
> >  >     execfile(filename, ns)
> >  >   
> >  >   File "tests/all.tests", line 3044, in <module>
> >  >   
> >  >     recursive=True)
> >  >   
> >  >   File "/root/piglit-master/framework/shader_test.py", line 67, in
> >  > 
> >  > add_shader_test_dir
> >  > 
> >  >     for filename in os.listdir(dirpath):
> >  > OSError: [Errno 2] No such file or directory: 'generated_tests/spec'
> >  > 
> >  > Traceback (most recent call last):
> >  >   File "./piglit-run.py", line 180, in <module>
> >  >   
> >  >     main()
> >  >   
> >  >   File "./piglit-run.py", line 147, in main
> >  >   
> >  >     profile = core.loadTestProfile(profileFilename)
> >  >   
> >  >   File "/root/piglit-master/framework/core.py", line 600, in
> >  > 
> >  > loadTestProfile
> >  > 
> >  >     raise Exception('Could not read tests profile')
> >  > 
> >  > Exception: Could not read tests profile
> >  > 
> >  > I can't see spec file present under generated_tests. My current
> 
> directory
> 
> >  > from where I executed ./piglit-run.py is :
> >  > 
> >  > /root/piglit-master
> >  > 
> >  > I even tried setting my PIGLIT_BUILD_DIR=/root/piglit-master
> >  > 
> >  > Than I copied manually /root/piglit-master/tests/spec to
> >  > /root/piglit-master/generated_tests/. and found that most of the
> 
> tests are
> 
> >  > skipped because in log it says :
> >  > [Wed Sep  4 12:20:08 2013] ::     skip ::
> >  > spec/ARB_color_buffer_float/GL_RGBA32F-render
> >  > [Wed Sep  4 12:20:08 2013] ::  running ::
> >  > spec/EXT_framebuffer_multisample/clip-and-scissor-blit 16 downsample
> >  > [Wed Sep  4 12:20:08 2013] ::     skip ::
> >  > spec/glsl-1.30/execution/textureSize/vs-textureSize-usampler1D
> >  > [Wed Sep  4 12:20:08 2013] ::  running ::
> >  > spec/glsl-1.40/compiler/reserved/layout.frag
> >  > [Wed Sep  4 12:20:08 2013] ::     skip ::
> >  > spec/EXT_framebuffer_multisample/clip-and-scissor-blit 16 downsample
> >  > [Wed Sep  4 12:20:08 2013] ::  running ::
> >  > spec/ARB_depth_buffer_float/fbo-depth-GL_DEPTH_COMPONENT32F-clear
> >  > [Wed Sep  4 12:20:08 2013] ::     skip ::
> >  > spec/glsl-1.40/compiler/reserved/layout.frag
> >  > [Wed Sep  4 12:20:08 2013] ::  running ::
> >  > spec/glsl-1.10/execution/variable-indexing/fs-temp-array-mat4-row-wr
> >  > ^Z
> >  > 
> >  > log file says :
> >  > 
> >  > "spec/!OpenGL 1.1/getteximage-luminance": {
> >  > 
> >  >                 "info": "Returncode:
> None\n\nErrors:\n\n\nOutput:\nTest
> 
> >  > executable not found.\n",
> >  > 
> >  >                 "returncode": null,
> >  >                 "note": "Returncode was None",
> >  > 
> >  >                 "command":
> >  > "/root/piglit-master/framework/../bin/getteximage-luminance -auto",
> >  > 
> >  >                 "result": "skip",
> >  >                 "time": 0.019272804260253906
> >  > 
> >  > Though there is no bin directory present under /root/piglit-master.
> >  > 
> >  > 
> >  > Regards
> >  > Nitin
> >  > --------------------------------------------
> >  > Nitin Garg
> >  > IBM India Software Labs
> >  > Embassy Golf Links Business Park
> >  > Bangalore - 560071, INDIA
> >  > mailto : nitgarg8 at in.ibm.com
> >  > Ph : +91-80-41776992(off.)
> > 
> > _______________________________________________
> > Piglit mailing list
> > Piglit at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/piglit
> 
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20130907/6a34d704/attachment.pgp>


More information about the Piglit mailing list