After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 645630 - Build fails on Debian Wheezy
Build fails on Debian Wheezy
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: building
2.91.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 645683 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-03-23 21:51 UTC by Marcus Lundblad
Modified: 2011-03-26 01:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Check for a version of xfixes with the pointer barrier stuff (1017 bytes, patch)
2011-03-23 22:04 UTC, Frederic Peters
none Details | Review
Improve checks for XFixes pointer barriers (2.72 KB, patch)
2011-03-25 18:39 UTC, Owen Taylor
committed Details | Review

Description Marcus Lundblad 2011-03-23 21:51:35 UTC
Since the inclusion of the new pointer barrier stuff, gnome-shell fails to build on Debian Wheezy
The package versions are:
libxfixes-dev 4.0.5
x11proto-fixes-dev 5.0

The macro XFIXES_MAJOR is defined by xfixeswire.h supplied by the x11proto-fixes-dev package, and hence says "5"
But the definitions of those functions are in libxfixes, and the version in Wheezy doesn't have them.

So, currently there is a build failure.
Comment 1 Owen Taylor 2011-03-23 22:00:03 UTC
We've had repeated problems with this. Think we should switch over to adding this in the AC_CHECK_FUNCS() in configure.ac. Also, while we're at this, we should fix the fact that gnome-shell won't pull in xfixes unless gstreamer is found.
Comment 2 Frederic Peters 2011-03-23 22:04:56 UTC
Created attachment 184177 [details] [review]
Check for a version of xfixes with the pointer barrier stuff
Comment 3 Owen Taylor 2011-03-25 18:39:21 UTC
Created attachment 184182 [details] [review]
Improve checks for XFixes pointer barriers

Here's a version I like better - just check for the functions we
need in exactly the way that the code uses them. DanW had another
version yesterday that added a configure flag --enable-pointer-barriers
that would cause a hard failure, but I think that's overkill.

====

Instead of checking on version (which doesn't work when protocol
and libraries are out of sync), just check for the functions we
need.
Comment 4 Dan Winship 2011-03-25 19:10:33 UTC
Comment on attachment 184182 [details] [review]
Improve checks for XFixes pointer barriers

sure, this one is fine too
Comment 5 Owen Taylor 2011-03-25 22:01:50 UTC
*** Bug 645683 has been marked as a duplicate of this bug. ***
Comment 6 Owen Taylor 2011-03-26 01:14:51 UTC
Pushing as a "Simple build fix" according to
https://live.gnome.org/ReleasePlanning_2fFreezes

Attachment 184182 [details] pushed as fc49fb2 - Improve checks for XFixes pointer barriers