<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Bisected]. Installing mesa fails with error "error: relink 'libEGL.la' with the above command before installing it""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=108823">108823</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[Bisected]. Installing mesa fails with error "error: relink 'libEGL.la' with the above command before installing it"
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>denys.kostin@globallogic.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hi. I remember that building via autotools is not a priority but I guess, it
still should work.
Here is a command for configuring:
<span class="quote">>./autogen.sh --with-gallium-drivers="" --with-dri-drivers=i965 --prefix=/home/den/mesa64/mesa_19.0.0last/</span >

For me it was broken after this commit:

den@den-HP-ZBook-14u-G4:~/repositories/mesa$ git bisect
bad621b0fa8922ade0a8122b868177308e65e6d3595 is the first bad commit
commit 621b0fa8922ade0a8122b868177308e65e6d3595
Author: Eric Anholt <<a href="mailto:eric@anholt.net">eric@anholt.net</a>>
Date:   Mon Oct 29 09:28:00 2018 -0700

    egl: Improve the debugging of gbm format matching in DRI configs.

    Previously the debug would be:

    libEGL debug: No DRI config supports native format 0x20203852
    libEGL debug: No DRI config supports native format 0x38385247

    but

    libEGL debug: No DRI config supports native format R8
    libEGL debug: No DRI config supports native format GR88

    is a lot easier to understand.

    Reviewed-by: Eric Engestrom <<a href="mailto:eric.engestrom@intel.com">eric.engestrom@intel.com</a>>
    Reviewed-by: Daniel Stone <<a href="mailto:daniels@collabora.com">daniels@collabora.com</a>>

:040000 040000 50d5e1cbd57b488d0e24fd86787c611bf58bd588
38f4b556496b2f14dcd382f55cfc3eb5fabe18d1 M      src


Haven't any ideas, what went wrong with this commit, but after it I can build
mesa, but can't install (error below):


/home/den/repositories/mesa/src/egl/drivers/dri2/platform_drm.c:668: undefined
reference to `gbm_format_get_name'
collect2: error: ld returned 1 exit status
libtool:   error: error: relink 'libEGL.la' with the above command before
installing it
Makefile:1030: recipe for target 'install-libLTLIBRARIES' failed
make[5]: *** [install-libLTLIBRARIES] Error 1


upd - with meson build works fine.
uupd - my configuration:
ubuntu 16.04
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609
GNU ld (GNU Binutils for Ubuntu) 2.26.1
kernel 4.17.0-041700-generic

Interesting that on another 16.04 ubuntu build/install works fine. Similar
issue was written in related bug (for vulkan).

Appreciate any help or suggestions.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>