Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175798 - Fail emerge x11-drivers/xf86-input-microtouch-1.1.0 w/ x11-proto/inputproto/inputproto-1.4
Summary: Fail emerge x11-drivers/xf86-input-microtouch-1.1.0 w/ x11-proto/inputproto/i...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-24 05:02 UTC by vyp08
Modified: 2007-08-01 21:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vyp08 2007-04-24 05:02:06 UTC
# emerge x11-drivers/xf86-input-microtouch
>>> Emerging (1 of 1) x11-drivers/xf86-input-microtouch-1.1.0 to /

[...]

microtouch.c:64:1: warning: "NEED_XF86_TYPES" redefined                                                   In file included from ../config.h:4,
                 from microtouch.c:54:
/usr/include/xorg/xorg-server.h:75:1: warning: this is the location of the previous definition            microtouch.c: In function `MuTouchPreInit':
microtouch.c:270: error: `TS_Raw' undeclared (first use in this function)
microtouch.c:270: error: (Each undeclared identifier is reported only once
microtouch.c:270: error: for each function it appears in.)                                                microtouch.c:272: error: `TS_Scaled' undeclared (first use in this function)
microtouch.c: In function `ReadInput':
microtouch.c:481: error: `TS_Scaled' undeclared (first use in this function)
microtouch.c: In function `ControlProc':
microtouch.c:541: error: `xDeviceTSCalibrationCtl' undeclared (first use in this function)
microtouch.c:541: error: `c' undeclared (first use in this function)
microtouch.c:541: error: syntax error before ')' token
microtouch.c: In function `SwitchMode':
microtouch.c:561: error: `TS_Raw' undeclared (first use in this function)
microtouch.c:561: error: `TS_Scaled' undeclared (first use in this function)
microtouch.c:566: error: `SendCoreEvents' undeclared (first use in this function)
microtouch.c:566: error: `DontSendCoreEvents' undeclared (first use in this function)
microtouch.c: In function `ConvertProc':
microtouch.c:590: error: `TS_Raw' undeclared (first use in this function)
make[2]: *** [microtouch.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-input-microtouch-1.1.0/work/xf86-input-micro
touch-1.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-input-microtouch-1.1.0/work/xf86-input-micro
touch-1.1.0'
make: *** [all] Ошибка 2

!!! ERROR: x11-drivers/xf86-input-microtouch-1.1.0 failed.


See also http://www.spinics.net/lists/xorg/msg20780.html.

And I cannot build another driver http://stz-softwaretechnik.com/~ke/touchscreen/evtouch.html#download too.

Question: if I manually insert into /usr/include/X11/extensions/XI.h lines:
/* Merged from Metrolink tree for XINPUT stuff  */
#define TS_Raw                                  57
#define TS_Scaled                               58
#define SendCoreEvents                  59
#define DontSendCoreEvents              60
/* End of merged section        */

it is work properly?


Reproducible: Always




# emerge --info
Portage 2.1.2.2 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r5, 2.6.18-hardened-r6 i686)
=================================================================
System uname: 2.6.18-hardened-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 23 Apr 2007 04:30:10 +0000
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=pentium3 -O2 -pipe -fforce-addr -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mcpu=i386 -pipe -fforce-addr"
DISTDIR="/usr/local/src/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="   http://gentoo.osuosl.org   http://www.ibiblio.org/pub/Linux/distributions/gentoo  "
LANG="ru_RU.KOI8-R"
LC_ALL="ru_RU.KOI8-R"
LINGUAS="ru"
MAKEOPTS="-j3"
PKGDIR="/usr/local/src/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip acpi alsa avi bzip2 caps crypt cups dbus dri dvd dvdr dvdread enca fortran gdbm gif gnutls hal hardened hardenedphp jpeg lirc mad mbox mikmod mmx mmxext mp3 mpeg ncurses nls nptl nptlonly opengl pam pic png posix quicktime readline rtc sasl sse sse2 ssl startup-notification tcpd tiff truetype udev usb userlocales v4l v4l2 vorbis wmf x86 xinetd xv zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="canon directory" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev microtouch mutouch" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="i810 nv radeon v4l vesa vga via vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 solar (RETIRED) gentoo-dev 2007-04-24 05:04:49 UTC
This does not appear to be a hardened-only bug.  Reassign bug to x11
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2007-04-25 02:04:46 UTC
Do we need to block all the older input drivers against newer inputproto? (i.e., anything besides mouse, keyboard, evdev, joystick.)
Comment 3 Joshua Baergen (RETIRED) gentoo-dev 2007-04-26 22:34:32 UTC
(In reply to comment #2)
> Do we need to block all the older input drivers against newer inputproto?
> (i.e., anything besides mouse, keyboard, evdev, joystick.)
> 

No, it's a contained list of about 6 or so drivers.  I'll try to dig up the list sometime soon - it's in the xorg archives, iirc.
Comment 4 Joshua Baergen (RETIRED) gentoo-dev 2007-04-29 15:49:09 UTC
From my own experimentation, this is the list of drivers that won't work:

xf86-input-calcomp
xf86-input-citron
xf86-input-dmc
xf86-input-dynapro
xf86-input-elo2300
xf86-input-microtouch
xf86-input-penmount
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2007-08-01 21:29:25 UTC
Can't tell why this has the Inclusion keyword because it doesn't have any patches and the fixes don't appear to be upstream. This is an upstream bug, and it's already known upstream. We'll just have to wait until the drivers get ported.