Bug 99959

Summary: egl-entrypoint-check fails
Product: Mesa Reporter: Vinson Lee <vlee>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact: mesa-dev
Severity: normal    
Priority: medium CC: emil.l.velikov, fdo-bugs
Version: gitKeywords: bisected, regression
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Vinson Lee 2017-02-25 07:52:59 UTC
mesa: 6b4bb24acfeec4d224acdffb73a5f5d810291a02 (master 17.1.0-devel)

FAIL: egl-entrypoint-check
==========================

./egl-entrypoint-check: 4: ./egl-entrypoint-check: Syntax error: redirection unexpected
FAIL egl-entrypoint-check (exit status: 2)


commit d25dea0c688cc05f08b4ae32545e9a3bd5b33be0
Author: Eric Engestrom <eric@engestrom.ch>
Date:   Tue Feb 21 23:56:51 2017 +0000

    egl: make sure entrypoints list is always sorted
    
    Starting with the next commit, badly sorting this list will break the
    eglGetProcAddress().
    
    Signed-off-by: Eric Engestrom <eric@engestrom.ch>
    Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Comment 1 Vinson Lee 2017-02-25 07:59:27 UTC
*** Bug 99960 has been marked as a duplicate of this bug. ***
Comment 2 Emil Velikov 2017-02-25 12:17:42 UTC
I'm assuming that you're `make check' correct ?
What shell are you using ? Please adjust the script to bash and let me know if it works.
Comment 3 Eric Engestrom 2017-02-26 14:02:27 UTC
Emil is right, this was caused by changing bash to sh at the last minute.

This is fixed by:

commit a1e5e55989c70c5f58bdd8a797f9a035f068f580
Author: Eric Engestrom <eric@engestrom.ch>
Date:   Sun Feb 26 13:35:25 2017 +0000

    check: mark two tests are requiring bash

    Requirement was removed just before pushing, but it's actually needed
    for heredocs (`<<<`).

    Signed-off-by: Eric Engestrom <eric@engestrom.ch>

(And I just realized I forgot the Fixes: tag... oh well :)
Comment 4 Emil Velikov 2017-02-26 18:34:30 UTC
Yes, I was "right" only after I got it wrong - it was me who did suggested sh :-\

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.