awesome

Welcome to awesome bug tracking system.
Tasklist

FS#895 - xcb-util-0.3.8 breaks awesome

Attached to Project: awesome
Opened by Dani Church (dchurch) - Friday, 29 April 2011, 20:27 GMT
Last edited by Arnaud Fontaine (arnau) - Saturday, 30 April 2011, 06:45 GMT
Task Type Bug Report
Category Core
Status Closed
Assigned To No-one
Operating System All
Severity Critical
Priority Normal
Reported Version git/master
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Apparently the people developing XCB thought it was a good idea to introduce API-breaking changes in between xcb-util 0.3.6 and 0.3.8. The attached patch fixes awesome to compile against 0.3.8, which of course breaks support for <=0.3.6.
This task depends upon

Closed by  Arnaud Fontaine (arnau)
Saturday, 30 April 2011, 06:45 GMT
Reason for closing:  Duplicate
Comment by Arnaud Fontaine (arnau) - Saturday, 30 April 2011, 06:44 GMT
And some other people think that it's a good idea to read the mailing list (for example awesome-devel) and the previous bug reports before actually reporting a bug (see #894)...
Comment by Giorgos Keramidas (gkeramidas) - Tuesday, 17 May 2011, 13:36 GMT
I'm running awesome on an LTS release of Ubuntu. Commit be7fda45d818ebe6d1029b4813e5fed3e81c19db in the git master branch, which matches this bug fix, breaks cmake-based builds of awesome on this release:

kobe:/home/gkeramidas/git/naquadah/awesome> cmake $(pwd)
-- cat -> /bin/cat
-- ln -> /bin/ln
-- grep -> /bin/grep
-- git -> /usr/bin/git
-- hostname -> /bin/hostname
-- asciidoc -> /usr/bin/asciidoc
-- xmlto -> /usr/bin/xmlto
-- gzip -> /bin/gzip
-- lua -> /usr/bin/lua
-- luadoc -> /usr/bin/luadoc
-- convert -> /usr/bin/convert
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- checking for module 'xcb>=1.6'
-- package 'xcb>=1.6' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:259 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:311 (_pkg_check_modules_internal)
awesomeConfig.cmake:128 (pkg_check_modules)
CMakeLists.txt:21 (include)


-- checking for modules 'glib-2.0;cairo;x11;oocairo;oopango;xcb-randr;xcb-xtest;xcb-xinerama;xcb-util>=0.3.8;xcb-keysyms>=0.3.4;xcb-icccm>=0.3.8;xcb-image>=0.3.0;cairo-xcb;libstartup-notification-1.0>=0.10;xproto>=7.0.15;libxdg-basedir>=1.0.0'
-- package 'xcb-util>=0.3.8' not found
-- package 'xcb-icccm>=0.3.8' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:259 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:311 (_pkg_check_modules_internal)
awesomeConfig.cmake:131 (pkg_check_modules)
CMakeLists.txt:21 (include)

Is there any case we can get back support for older xcb-util releases?

FWIW, my current xcb-related libraries are based on xcb-0.3.6...

kobe:/home/gkeramidas/git/naquadah/awesome> dpkg -l libxcb\* | grep -v '^un'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-===============================================-===============================================-============================================
ii libxcb-atom1 0.3.6-1build1 utility libraries for X C Binding -- atom
ii libxcb-atom1-dev 0.3.6-1build1 utility libraries for X C Binding -- atom
ii libxcb-aux0 0.3.6-1build1 utility libraries for X C Binding -- aux
ii libxcb-aux0-dev 0.3.6-1build1 utility libraries for X C Binding -- aux
ii libxcb-event1 0.3.6-1build1 utility libraries for X C Binding -- event
ii libxcb-event1-dev 0.3.6-1build1 utility libraries for X C Binding -- event
ii libxcb-icccm1 0.3.6-1build1 utility libraries for X C Binding -- icccm
ii libxcb-icccm1-dev 0.3.6-1build1 utility libraries for X C Binding -- icccm
ii libxcb-image0 0.3.6-1build1 utility libraries for X C Binding -- image
ii libxcb-image0-dev 0.3.6-1build1 utility libraries for X C Binding -- image
ii libxcb-keysyms1 0.3.6-1build1 utility libraries for X C Binding -- keysyms
ii libxcb-keysyms1-dev 0.3.6-1build1 utility libraries for X C Binding -- keysyms
ii libxcb-property1 0.3.6-1build1 utility libraries for X C Binding -- propert
ii libxcb-property1-dev 0.3.6-1build1 utility libraries for X C Binding -- propert
ii libxcb-randr0 1.5-2 X C Binding, randr extension
ii libxcb-randr0-dev 1.5-2 X C Binding, randr extension, development fi
ii libxcb-render-util0 0.3.6-1build1 utility libraries for X C Binding -- render-
ii libxcb-render-util0-dev 0.3.6-1build1 utility libraries for X C Binding -- render-
ii libxcb-render0 1.5-2 X C Binding, render extension
ii libxcb-render0-dev 1.5-2 X C Binding, render extension, development f
ii libxcb-shape0 1.5-2 X C Binding, shape extension
ii libxcb-shm0 1.5-2 X C Binding, shm extension
ii libxcb-shm0-dev 1.5-2 X C Binding, shm extension, development file
ii libxcb-xinerama0 1.5-2 X C Binding, xinerama extension
ii libxcb-xinerama0-dev 1.5-2 X C Binding, xinerama extension, development
ii libxcb-xtest0 1.5-2 X C Binding, xtest extension
ii libxcb-xtest0-dev 1.5-2 X C Binding, xtest extension, development fi
ii libxcb1 1.5-2 X C Binding
ii libxcb1-dev 1.5-2 X C Binding, development files
kobe:/home/gkeramidas/git/naquadah/awesome>

Comment by Uli Schlachter (psychon) - Tuesday, 17 May 2011, 15:38 GMT
The easiest fix that I can think of is "git checkout be7fda45d818e~1" and never to "git pull" again.

Alternatively you could "git revert be7fda45d818e", but I guess you'll eventually run into conflicts due to that.

Loading...