Bug 43924

Summary: Test fails during compilation
Product: DRI Reporter: exalowprofile
Component: libdrmAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: exalowprofile
Version: XOrg git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description exalowprofile 2011-12-18 02:51:56 UTC
=======================================================================
1 of 11 tests failed
Please report to https://bugs.freedesktop.org/enter_bug.cgi?product=DRI
=======================================================================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-mariachi/aur-libdrm-git/src/drm-build/tests'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-mariachi/aur-libdrm-git/src/drm-build/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/tmp/yaourt-tmp-mariachi/aur-libdrm-git/src/drm-build/tests'
Making check in include
make[1]: Entering directory `/tmp/yaourt-tmp-mariachi/aur-libdrm-git/src/drm-build/include'
Making check in drm
make[2]: Entering directory `/tmp/yaourt-tmp-mariachi/aur-libdrm-git/src/drm-build/include/drm'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/tmp/yaourt-tmp-mariachi/aur-libdrm-git/src/drm-build/include/drm'
make[2]: Entering directory `/tmp/yaourt-tmp-mariachi/aur-libdrm-git/src/drm-build/include'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/tmp/yaourt-tmp-mariachi/aur-libdrm-git/src/drm-build/include'
make[1]: Leaving directory `/tmp/yaourt-tmp-mariachi/aur-libdrm-git/src/drm-build/include'
make: *** [check-recursive] Error 1
make: Target `check' not remade because of errors.


I don't know how to read this, and it says to post a bug report so.. 
I'm using arch linux with latest kernel (64bit) and a core2.
Comment 1 exalowprofile 2011-12-18 05:19:26 UTC
http://pastebin.com/ax0P3K5C complete error message
Comment 2 Chris Wilson 2011-12-18 06:04:18 UTC
commit ef20301a11afae50bfe127002913dbd0b81ddccc
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sun Dec 18 13:58:57 2011 +0000

    tests/gem_flink: Check for MASTER before proceeding
    
    gem_flink|gem_open are DRM_AUTH ioctl, and being lazy we do not
    establish ourselves as authenticated before testing the ioctls. So
    instead of aborting, skip the test unless we have root privileges (and
    so DRM_MASTER and the DRM_AUTH restriction no longer applies).
    
    A future test could assert that the flink fails without proper
    authentication.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43924
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 3 exalowprofile 2011-12-18 06:43:42 UTC
Thanks ;D

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.