Unable to build any GTK app, because of missing wayland-client.pc

Bug #1615160 reported by sean d'epagnier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk+3.0 (Ubuntu)
Expired
Low
Unassigned

Bug Description

lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04

# apt-cache policy libgtk-3-dev
libgtk-3-dev:
  Installed: 3.18.9-1ubuntu3.1
  Candidate: 3.18.9-1ubuntu3.1
  Version table:
 *** 3.18.9-1ubuntu3.1 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main arm64 Packages
        100 /var/lib/dpkg/status
     3.18.9-1ubuntu3 500
        500 http://ports.ubuntu.com/ubuntu-ports xenial/main arm64 Packages

This bug (see Bug #1106188) has re-emerged on arm64:

pkg-config gtk+-3.0 --cflags
Package wayland-egl was not found in the pkg-config search path.
Perhaps you should add the directory containing `wayland-egl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'wayland-egl', required by 'gtk+-3.0', not found

This affects both gtk and gdk. I edited gdk-3.0.pc and gtk-3.0.pc to remove any references to wayland or mir, and it seems to be working.

I am not sure how exactly these packages can provide the correct cflags, because they may not know their backend until runtime. Can we just remove the requirement for wayland, mir and x11?

Tags: gtk-mir
description: updated
description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, do you have libegl1-mesa-dev installed?

Changed in gtk+3.0 (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
tags: added: gtk-mir
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gtk+3.0 (Ubuntu) because there has been no activity for 60 days.]

Changed in gtk+3.0 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.