Bug 98769

Summary: Build broken: piglit needs to link against libwaylandclient
Product: piglit Reporter: Mark Janes <mark.a.janes>
Component: infrastructureAssignee: Tapani Pälli <lemody>
Status: RESOLVED FIXED QA Contact: Piglit Mailing List <piglit>
Severity: blocker    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: hopeful fix

Description Mark Janes 2016-11-18 18:15:34 UTC
series ending in:

2881f72d6b55864ceaeb2a7acf38bd28b3850139
Author:     Tapani Pälli <tapani.palli@intel.com>
util: implement eventloop for wayland platform

fails linking:
lib/libpiglitutil_gl.so.0: undefined reference to `wl_keyboard_interface'

Adding -lwayland-client on the command line links the library.
Comment 1 Tapani Pälli 2016-11-20 15:13:25 UTC
sorry for breakage
Comment 2 Tapani Pälli 2016-11-21 06:12:52 UTC
Created attachment 128094 [details] [review]
hopeful fix

Does the attached patch fix this problem?
Comment 3 Mark Janes 2016-11-30 18:25:40 UTC
wfm, please push.
Comment 4 Tapani Pälli 2016-12-01 06:16:47 UTC
commit 0d7d41159eb3e7c361bf92a3c6ed2c0f9a2d6296
Author: Tapani Pälli <tapani.palli@intel.com>
Date:   Tue Nov 22 07:54:28 2016 +0200

    util: link with WAYLAND_LIBRARIES when building for Wayland
    
    Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
    Tested-by: Mark Janes <mark.a.janes@intel.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98769

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.