Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 443942 - =media-libs/mesa-9.0.1 USE=wayland should depend on >=dev-libs/wayland-0.99.0 (which isn't in the tree yet)
Summary: =media-libs/mesa-9.0.1 USE=wayland should depend on >=dev-libs/wayland-0.99.0...
Status: RESOLVED DUPLICATE of bug 428162
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on: 445494
Blocks:
  Show dependency tree
 
Reported: 2012-11-19 18:11 UTC by David Carlos Manuelda
Modified: 2013-01-21 17:50 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (eminfo.txt,16.28 KB, text/plain)
2012-11-19 18:11 UTC, David Carlos Manuelda
Details
Build log (build.log,12.56 KB, text/plain)
2012-11-19 18:12 UTC, David Carlos Manuelda
Details
New ebuild wayland-0.99.0.ebuild (wayland-0.99.0.ebuild,1.12 KB, text/plain)
2012-11-23 22:35 UTC, Kobboi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Carlos Manuelda 2012-11-19 18:11:53 UTC
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)
Comment 1 David Carlos Manuelda 2012-11-19 18:12:34 UTC
Created attachment 329970 [details]
Build log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-11-19 19:47:26 UTC
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.
Comment 3 Rafał Mużyło 2012-11-19 19:48:15 UTC
'pkg-config wayland-client --modversion' ?
Chances are the installed version is simply too low.
Comment 4 Fabio Scaccabarozzi 2012-11-19 20:27:17 UTC
(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.
Comment 5 Dennis Schridde 2012-11-19 22:45:16 UTC
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?
Comment 6 Rafał Mużyło 2012-11-19 22:50:03 UTC
(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.
Comment 7 Dennis Schridde 2012-11-20 07:58:12 UTC
(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. :)
Comment 8 Kobboi 2012-11-23 22:00:31 UTC
Same issue here
Comment 9 Kobboi 2012-11-23 22:35:42 UTC
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).
Comment 10 Dennis Schridde 2012-12-02 19:34:08 UTC
The dev-libs/wayland-1.0.2 ebuild from bug #445494 makes media-libs/mesa-9.0.1 compile.
Comment 11 Peter Stuge 2012-12-06 08:47:20 UTC
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!
Comment 12 jannis 2013-01-08 12:58:20 UTC
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)
Comment 13 Dennis Schridde 2013-01-08 13:30:21 UTC
(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.
Comment 14 Matt Turner gentoo-dev 2013-01-21 17:50:15 UTC

*** This bug has been marked as a duplicate of bug 428162 ***