Unity 6.2.0 - build error (xorg-x11-proto patch ?)

Bug #1035708 reported by nmarques
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Unity
Invalid
Low
Łukasz Zemczak
libxfixes (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Hi,

I've taken back the work I've started in 2010 about bringing Unity Desktop to openSUSE and created a new project (since the old has been taken over) under X11:Unity. Currently everything seems to be ok, but I'm getting a build error on Unity:

----- LOG -----

[ 573s] [ 57%] Building CXX object launcher/CMakeFiles/launcher-lib.dir/LauncherModel.cpp.o
[ 578s] [ 57%] Building CXX object launcher/CMakeFiles/launcher-lib.dir/LauncherOptions.cpp.o
[ 585s] [ 57%] Building CXX object launcher/CMakeFiles/launcher-lib.dir/MockLauncherIcon.cpp.o
[ 588s] [ 59%] Building CXX object launcher/CMakeFiles/launcher-lib.dir/PointerBarrier.cpp.o
[ 591s] /home/abuild/rpmbuild/BUILD/unity-6.2.0/launcher/PointerBarrier.cpp: In member function 'virtual void unity::ui::PointerBarrierWrapper::ConstructBarrier()':
[ 591s] /home/abuild/rpmbuild/BUILD/unity-6.2.0/launcher/PointerBarrier.cpp:75:52: error: 'XFixesCreatePointerBarrierVelocity' was not declared in this scope
[ 591s] /home/abuild/rpmbuild/BUILD/unity-6.2.0/launcher/PointerBarrier.cpp:79:69: error: 'XFixesSelectBarrierInput' was not declared in this scope
[ 591s] /home/abuild/rpmbuild/BUILD/unity-6.2.0/launcher/PointerBarrier.cpp: In member function 'virtual void unity::ui::PointerBarrierWrapper::ReleaseBarrier(int)':
[ 591s] /home/abuild/rpmbuild/BUILD/unity-6.2.0/launcher/PointerBarrier.cpp:107:92: error: 'XFixesBarrierReleasePointer' was not declared in this scope
[ 591s] /home/abuild/rpmbuild/BUILD/unity-6.2.0/launcher/PointerBarrier.cpp: In member function 'bool unity::ui::PointerBarrierWrapper::HandleEvent(XEvent)':
[ 591s] /home/abuild/rpmbuild/BUILD/unity-6.2.0/launcher/PointerBarrier.cpp:126:36: error: 'XFixesBarrierNotify' was not declared in this scope
[ 591s] /home/abuild/rpmbuild/BUILD/unity-6.2.0/launcher/PointerBarrier.cpp:128:42: error: expected type-specifier before 'XFixesBarrierNotifyEvent'
[ 591s] /home/abuild/rpmbuild/BUILD/unity-6.2.0/launcher/PointerBarrier.cpp:128:42: error: expected '>' before 'XFixesBarrierNotifyEvent'
[ 591s] /home/abuild/rpmbuild/BUILD/unity-6.2.0/launcher/PointerBarrier.cpp:128:42: error: expected '(' before 'XFixesBarrierNotifyEvent'
[ 591s] /home/abuild/rpmbuild/BUILD/unity-6.2.0/launcher/PointerBarrier.cpp:128:42: error: 'XFixesBarrierNotifyEvent' was not declared in this scope
[ 591s] /home/abuild/rpmbuild/BUILD/unity-6.2.0/launcher/PointerBarrier.cpp:128:67: error: expected primary-expression before '>' token
[ 591s] /home/abuild/rpmbuild/BUILD/unity-6.2.0/launcher/PointerBarrier.cpp:128:77: error: expected ')' before ';' token
[ 591s] /home/abuild/rpmbuild/BUILD/unity-6.2.0/launcher/PointerBarrier.cpp:128:77: error: unable to deduce 'auto' from '<expression error>'
[ 591s] /home/abuild/rpmbuild/BUILD/unity-6.2.0/launcher/PointerBarrier.cpp:130:70: error: 'XFixesBarrierHitNotify' was not declared in this scope
[ 591s] /home/abuild/rpmbuild/BUILD/unity-6.2.0/launcher/PointerBarrier.cpp:141:99: error: unable to deduce 'auto' from '<expression error>'
[ 592s] make[2]: *** [launcher/CMakeFiles/launcher-lib.dir/PointerBarrier.cpp.o] Error 1
[ 592s] make[1]: *** [launcher/CMakeFiles/launcher-lib.dir/all] Error 2
[ 592s] make: *** [all] Error 2
[ 592s] error: Bad exit status from /var/tmp/rpm-tmp.GYgwrD (%install)
[ 592s]
----- END -----

I'm not sure what is causing this; Is this anyway related to a vendor patch applied by Ubuntu on xorg-x11-proto or the source is related to another issue? Any help on fixing this would be most welcomed as once this is fixed and it builds I can start working on implementation with openSUSE.

I'm available to provide any other information required.

Thanks.

Revision history for this message
nmarques (nmo-marques) wrote :
Omer Akram (om26er)
Changed in unity:
assignee: nobody → Łukasz Zemczak (sil2100)
Changed in unity:
milestone: none → 6.4
Changed in unity:
importance: Undecided → Low
Changed in libxfixes (Ubuntu):
importance: Undecided → Low
Omer Akram (om26er)
Changed in unity:
status: New → Confirmed
Changed in libxfixes (Ubuntu):
status: New → Triaged
Changed in unity:
status: Confirmed → Triaged
Changed in libxfixes (Ubuntu):
status: Triaged → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libxfixes (Ubuntu):
status: New → Confirmed
Changed in unity:
milestone: 6.4 → 6.6
Changed in unity:
milestone: 6.6 → 7.0
Revision history for this message
Brandon Schaefer (brandontschaefer) wrote :

Hey nmo-marques,

https://code.launchpad.net/~ubuntu-branches/ubuntu/raring/xorg-server/raring

In this package there is a special patch for ubuntu:
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/raring/xorg-server/raring/view/head:/debian/patches/500_pointer_barrier_thresholds.diff

So you'll need that patched for it to work :(.

There are also some changes coming (sometime) that will be removing that patch and support will be added to Xi:
http://who-t.blogspot.com.au/2012/12/whats-new-in-xi-23-pointer-barrier.html

The branch for unity, for that update.
https://code.launchpad.net/~brandontschaefer/unity/move-pointer-barrier-to-xi-1.6.99.1

Good luck with the work!

Changed in unity:
status: Triaged → Invalid
Changed in libxfixes (Ubuntu):
status: Confirmed → Invalid
Stephen M. Webb (bregma)
Changed in unity:
milestone: 7.0.0 → none
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.