Summary: | multilib media-libs/mesa-17.3.8 fail to build with undefined reference to gbm_bo_get_bpp | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Михаил <spike> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | andrius, backbone, chris, david, edwargix, gentoo-bugs-augustin, jstein, mod, norman.shulman, poncho, qinq_net, vylaern |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 652762, 668900 | ||
Bug Blocks: | |||
Attachments: |
Build log
emerge --info |
Description
Михаил
2018-04-06 10:21:18 UTC
Created attachment 526682 [details]
emerge --info
This is workaroung # qlist media-libs/mesa | grep /usr/lib/ | xargs rm # emerge -1 media-libs/mesa Alternatively, this one works too: USE=-abi_x86_32 emerge mesa -u1 It seems same here: --------------------------------------------- ./.libs/libEGL_common.a(platform_drm.o): In function `swrast_put_image2': platform_drm.c:(.text+0xa34): undefined reference to `gbm_bo_get_bpp' ./.libs/libEGL_common.a(platform_drm.o): In function `swrast_get_image': platform_drm.c:(.text+0xba8): undefined reference to `gbm_bo_get_bpp' collect2: error: ld returned 1 exit status libtool: error: error: relink 'libEGL.la' with the above command before installing it make[5]: *** [Makefile:994: install-libLTLIBRARIES] Error 1 --------------------------------------------- None of the suggested workarounds is doing it for me: qlist media-libs/mesa | grep /usr/lib/ outputs nothing, and USE=-abi_x86_32 emerge mesa -u1 outputs: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: media-libs/mesa:0 (media-libs/mesa-17.3.8:0/0::gentoo, ebuild scheduled for merge) conflicts with >=media-libs/mesa-9.1.6[abi_x86_32(-),abi_x86_64(-)] required by (virtual/opengl-7.0-r1:0/0::gentoo, installed) >>> Auto-cleaning packages... >>> No outdated packages were found on your system. Any clues? I'm on (binary) nvidia-drivers (I don't know whether that's a thing or not here) > WARNING: One or more updates/rebuilds have been skipped due to a dependency
> conflict:
Is is dependency conflict and not a bug. You have to solve it.
This bug about mesa build system. Libraries trying to link with existent (previous) version of mesa.
I had the same problem, in the last update the gcc is upgrade but I follow the wiki. None solution works for me, any ideas? If I change mesa to testing the problem is the same, and disable abi_x86_32 is not an option. (In reply to groche97 from comment #7) > I had the same problem, in the last update the gcc is upgrade but I follow > the wiki. > None solution works for me, any ideas? If you haven't tried already, consider unmerging mesa off of your system first then attempting to re-emerge mesa-17.3.8. Finaly I found a similar problem in this tread https://bugs.gentoo.org/616398 The solution to remove /usr/lib{32,64}/libgbm.so* works for me. Unmerging and merging back did the trick for me. (In reply to groche97 from comment #9) > Finaly I found a similar problem in this tread https://bugs.gentoo.org/616398 > The solution to remove /usr/lib{32,64}/libgbm.so* works for me. This was the solution for my system as well. Unmerging then re-emerging worked for me :) *** Bug 653072 has been marked as a duplicate of this bug. *** I had the same problem with mesa-17.3.9; unmerging and re-emerging fixed it. All versions in tree now use Meson (and thus not libtool). |