libxi-dev may be missing as a Depend

Bug #273386 reported by Kees Cook
4
Affects Status Importance Assigned to Milestone
libxtst (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

/usr/include/X11/Extensions/XInput.h, which is included in X11/Extensions/XTest.h, has moved:

http://packages.ubuntu.com/search?searchon=contents&keywords=XInput.h&mode=exactfilename&suite=hardy&arch=any
http://packages.ubuntu.com/search?searchon=contents&keywords=XInput.h&mode=exactfilename&suite=intrepid&arch=any

As a result, it seems that x11proto-xext-dev (or perhaps x11proto-input-dev) needs to have a Depend added for libxi-dev.

This manifested as a FTBFS with synergy which has a BuildDep on x11proto-xext-dev, but fails needing XInput.h.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

I think it belongs to x11proto-input, since it was moved from there. Will upload a new version shortly.

Changed in x11proto-xext:
status: New → In Progress
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

hum, on a second thought I'm not sure if x11proto-input would be the real target.. maybe it would be best to fix all the packages which used to build-depend on x11proto-input-dev and check if they include XInput.h and if yes, change the build-dep to libxi-dev.

Timo Aaltonen (tjaalton)
Changed in x11proto-input:
status: In Progress → Confirmed
Revision history for this message
Kees Cook (kees) wrote :

Synergy's Build-Depends:

Build-Depends: debhelper (>= 4.0.0), autotools-dev, docbook-to-man, libxt-dev, libxtst-dev, libxinerama-dev

This will FTBFS. To fix it, I had to add libxi-dev. I don't think this is right, since it isn't aware of any use of XInput, etc. This seems like a problem with XInput.h moving between binary pacakges without tracking it in the Depends tree for those packages.

Revision history for this message
Kees Cook (kees) wrote :

This appears to have gotten cleaned up somewhere along the way.

Changed in x11proto-xext:
status: Confirmed → Fix Released
Revision history for this message
Michael Bienia (geser) wrote :

This bug reappeared again and made xautomation FTBFS during a rebuild test:
  In file included from xte.c:24:
  /usr/include/X11/extensions/XTest.h:50:35: error: X11/extensions/XInput.h: No such file or directory
(full log at http://builder.ubuntuwire.com:9998/job/45334)

As X11/extensions/XTest.h includes XInput.h it should depend on the package providing it (libxi-dev).

Changed in x11proto-xext (Ubuntu):
status: Fix Released → New
Revision history for this message
Michael Bienia (geser) wrote :

The test rebuild of libvncserver failed also due to this: https://lists.ubuntu.com/archives/ubuntu-autotest/2009-March/020878.html

Revision history for this message
Michael Bienia (geser) wrote :

After consulting #ubuntu-x I will add libxi-dev to Build-Depends for the affected packages.

Revision history for this message
Bryce Harrington (bryce) wrote :

Hi kees,

Please attach the output of `lspci -vvnn`, and attach your /var/log/Xorg.0.log (and maybe Xorg.0.log.old) file from after reproducing this issue. If you've made any customizations to your /etc/X11/xorg.conf please attach that as well.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-xorglog
tags: added: needs-lspci-vvnn
Changed in x11proto-xext (Ubuntu):
status: New → Incomplete
Revision history for this message
Bryce Harrington (bryce) wrote :

Heh, nevermind; this is a packaging bug so obviously we don't need that info.

(For future reference, set importance to Wishlist, and the New bug processing script will ignore it.)

Changed in x11proto-xext (Ubuntu):
importance: Undecided → Wishlist
status: Incomplete → Triaged
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

XTest.h is now in libxtst-dev, and it depends on libxi-dev (which has XInput.h), so the bug can be closed.

affects: x11proto-xext (Ubuntu) → libxtst (Ubuntu)
Changed in libxtst (Ubuntu):
status: Triaged → Fix Released
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.