Bug 98769 - Build broken: piglit needs to link against libwaylandclient
Summary: Build broken: piglit needs to link against libwaylandclient
Status: RESOLVED FIXED
Alias: None
Product: piglit
Classification: Unclassified
Component: infrastructure (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium blocker
Assignee: Tapani Pälli
QA Contact: Piglit Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-18 18:15 UTC by Mark Janes
Modified: 2016-12-01 06:16 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
hopeful fix (1018 bytes, patch)
2016-11-21 06:12 UTC, Tapani Pälli
Details | Splinter Review

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.