Created attachment 329968 [details] emerge --info When trying to update media-libs/mesa from 9.0 to 9.0.1 I can't compile it, since it halts at configure stage saying: checking for WAYLAND... no configure: error: cannot find libwayland-client (Will attach full build log)
Created attachment 329970 [details] Build log
checking for WAYLAND... no configure: error: cannot find libwayland-client !!! Please attach the following file when seeking support: !!! /var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1/config.log Please attach that.
'pkg-config wayland-client --modversion' ? Chances are the installed version is simply too low.
(In reply to comment #3) > 'pkg-config wayland-client --modversion' ? > Chances are the installed version is simply too low. Right on the spot, from the config.log: configure:21805: $? = 0 configure:21814: result: yes configure:21570: checking for WAYLAND configure:21577: $PKG_CONFIG --exists --print-errors "wayland-client >= 0.99.0 wayland-server >= 0.99.0" Requested 'wayland-client >= 0.99.0' but version of Wayland Client is 0.95.0 Requested 'wayland-server >= 0.99.0' but version of Wayland Server is 0.95.0 configure:21580: $? = 1 configure:21594: $PKG_CONFIG --exists --print-errors "wayland-client >= 0.99.0 wayland-server >= 0.99.0" Requested 'wayland-client >= 0.99.0' but version of Wayland Client is 0.95.0 Requested 'wayland-server >= 0.99.0' but version of Wayland Server is 0.95.0 configure:21597: $? = 1 configure:21611: result: no Requested 'wayland-client >= 0.99.0' but version of Wayland Client is 0.95.0 Requested 'wayland-server >= 0.99.0' but version of Wayland Server is 0.95.0 configure:21628: error: cannot find libwayland-client I manually bumped wayland to 1.0.0 with my local overlay, and mesa compiles fine. Latest wayland available in tree is 0.95.0.
The issue that media-libs/mesa[wayland] needs versioned dependencies on dev-libs/wayland is known since bug #428162 comment #3 and bug #428162 comment #8. -> duplicate?
(In reply to comment #5) > The issue that media-libs/mesa[wayland] needs versioned dependencies on > dev-libs/wayland is known since bug #428162 comment #3 and bug #428162 > comment #8. > -> duplicate? Only in part - it was only 0.95.0 back then.
(In reply to comment #6) > Only in part - it was only 0.95.0 back then. Let's hope your report is not just being ignored like mine was back then. :)
Same issue here
Created attachment 330370 [details] New ebuild wayland-0.99.0.ebuild Worked for me, but YMMV. Copied the 0.95.0 ebuild and added support USE=doc (well, the ability to have no documentation, really, because it wants to build it by default).
The dev-libs/wayland-1.0.2 ebuild from bug #445494 makes media-libs/mesa-9.0.1 compile.
I can confirm this problem. Please look at the actual tests in configure.ac when creating ebuilds, to catch the actual versions required by a package. Please fix the mesa-9.0.1 ebuild to DEPEND wayland? ( >=dev-libs/wayland-0.99 ) thanks!
This has been "fixed" by chithanh@gentoo.org by use.mask-ing wayland for mesa-9.0.1 on 2012-12-25 (see /usr/portage/profiles/base/ChangeLog)
(In reply to comment #12) > This has been "fixed" by chithanh@gentoo.org by use.mask-ing wayland for > mesa-9.0.1 on 2012-12-25 (see /usr/portage/profiles/base/ChangeLog) Afaik he masked USE=wayland for stable versions of mesa, which means that the issue will pop up again once there is a new unstable version. The real fix is a versioned dependency.
*** This bug has been marked as a duplicate of bug 428162 ***