[Mesa-dev] [Bug 108823] [Bisected]. Installing mesa fails with error "error: relink 'libEGL.la' with the above command before installing it"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 21 14:47:06 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=108823

            Bug ID: 108823
           Summary: [Bisected]. Installing mesa fails with error "error:
                    relink 'libEGL.la' with the above command before
                    installing it"
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: denys.kostin at globallogic.com
        QA Contact: mesa-dev at lists.freedesktop.org

Hi. I remember that building via autotools is not a priority but I guess, it
still should work.
Here is a command for configuring:
>./autogen.sh --with-gallium-drivers="" --with-dri-drivers=i965 --prefix=/home/den/mesa64/mesa_19.0.0last/

For me it was broken after this commit:

den at den-HP-ZBook-14u-G4:~/repositories/mesa$ git bisect
bad621b0fa8922ade0a8122b868177308e65e6d3595 is the first bad commit
commit 621b0fa8922ade0a8122b868177308e65e6d3595
Author: Eric Anholt <eric at anholt.net>
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 <eric.engestrom at intel.com>
    Reviewed-by: Daniel Stone <daniels at collabora.com>

: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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181121/d5c16efa/attachment.html>


More information about the mesa-dev mailing list