Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 428162 - media-libs/mesa[wayland] needs versioned dependencies on dev-libs/wayland: wayland-drm.c:75:2: error: too few arguments to function 'wl_resource_destroy'
Summary: media-libs/mesa[wayland] needs versioned dependencies on dev-libs/wayland: wa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal with 3 votes (vote)
Assignee: Matt Turner
URL:
Whiteboard:
Keywords:
: 443942 (view as bug list)
Depends on: 445494
Blocks:
  Show dependency tree
 
Reported: 2012-07-26 11:25 UTC by Dennis Schridde
Modified: 2013-01-21 17:54 UTC (History)
11 users (show)

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


Attachments
build.log (build.log,49.46 KB, text/plain)
2012-07-26 11:26 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2012-07-26 11:25:36 UTC
wayland-drm.c: In function 'buffer_destroy':
wayland-drm.c:75:2: error: too few arguments to function 'wl_resource_destroy'
/usr/include/wayland-server.h:259:1: note: declared here

Reproducible: Always
Comment 1 Dennis Schridde 2012-07-26 11:26:11 UTC
Created attachment 319288 [details]
build.log
Comment 2 Matt Turner gentoo-dev 2012-08-10 23:20:48 UTC
I just built mesa-9999 against wayland-0.95.0, so I think this is fixed. Reopen if it's not.
Comment 3 Dennis Schridde 2012-08-11 09:35:02 UTC
media-libs/mesa-8.0.4 should depend on <dev-libs/wayland-0.95.0, while media-libs/mesa-8.1_rc1_pre20120724 should depend on >=dev-libs/wayland-0.95.0.
Comment 4 Håvard Wall 2012-08-11 10:06:02 UTC
(In reply to comment #3)

Yes, that fixed the problem for me.
Comment 5 Dennis Schridde 2012-08-15 14:27:21 UTC
(In reply to comment #3)
> media-libs/mesa-8.0.4 should depend on <dev-libs/wayland-0.95.0, while
> media-libs/mesa-8.1_rc1_pre20120724 should depend on
> >=dev-libs/wayland-0.95.0.
Persists in media-libs/mesa-8.1_rc1_pre20120814.
Comment 6 tao 2012-09-07 20:29:55 UTC
(In reply to comment #5)
> (In reply to comment #3)
> Persists in media-libs/mesa-8.1_rc1_pre20120814.

Succesfully built media-libs/mesa-9_pre20120831-r1 with dev-libs/wayland-0.95.0.
Comment 7 Matt Turner gentoo-dev 2012-09-07 20:33:32 UTC
Thanks for testing. Marking fixed.
Comment 8 Dennis Schridde 2012-09-07 22:47:24 UTC
(In reply to comment #5)
> (In reply to comment #3)
> > media-libs/mesa-8.0.4 should depend on <dev-libs/wayland-0.95.0, while
> > media-libs/mesa-8.1_rc1_pre20120724 should depend on
> > >=dev-libs/wayland-0.95.0.
> Persists in media-libs/mesa-8.1_rc1_pre20120814.
Still persists with media-libs/mesa-8.0.4-r1 and media-libs/mesa-9_pre20120831-r1.

Both currently have in RDEPEND:
wayland? ( dev-libs/wayland )

But mesa-8 should have:
wayland? ( <dev-libs/wayland-0.95.0 )

While mesa-9 should have:
wayland? ( >=dev-libs/wayland-0.95.0 )
Comment 9 jannis 2012-11-23 21:15:48 UTC
(In reply to comment #8)
> While mesa-9 should have:
> wayland? ( >=dev-libs/wayland-0.95.0 )

Did you mean:
While mesa-9 should have:
wayland? ( >dev-libs/wayland-0.95.0 )

?
Comment 10 Dennis Schridde 2012-11-24 16:12:12 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > While mesa-9 should have:
> > wayland? ( >=dev-libs/wayland-0.95.0 )
> 
> Did you mean:
> While mesa-9 should have:
> wayland? ( >dev-libs/wayland-0.95.0 )
No. Back when I wrote this 2.5 months ago, the only available mesa-9 version was some RC and it required >=0.95. Version 9.0.1 of Mesa (current as of today) requires an even newer version: >=0.99.

So the versions available in Gentoo as of today should have following DEPENDs:
=media-libs/mesa-8.0* should have:
wayland? ( <dev-libs/wayland-0.95.0 )

=media-libs/mesa-9.0 should have:
wayland? ( >=dev-libs/wayland-0.95.0 )

=media-libs/mesa-9.0.1 should have:
wayland? ( >=dev-libs/wayland-0.99.0 )
Comment 11 Dennis Schridde 2012-12-02 19:34:16 UTC
The dev-libs/wayland-1.0.2 ebuild from bug #445494 makes media-libs/mesa-9.0.1 compile.
Comment 12 Peter Stuge 2012-12-06 08:49:00 UTC
Please add the versioned dependencies to the mesa ebuilds. I agree that bug 443942 is a dup of this.
Comment 13 Matt Turner gentoo-dev 2013-01-21 17:50:15 UTC
*** Bug 443942 has been marked as a duplicate of this bug. ***
Comment 14 Matt Turner gentoo-dev 2013-01-21 17:54:48 UTC
Fixed, thanks. Sorry for the slow response.