Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165038 - x11-drivers/xf86-input-penmount-1.2.0 does not compile w/ inputproto >= 1.4
Summary: x11-drivers/xf86-input-penmount-1.2.0 does not compile w/ inputproto >= 1.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical
Assignee: Gentoo X packagers
URL: http://lwn.net/Articles/249211/
Whiteboard:
Keywords:
Depends on:
Blocks: 191615
  Show dependency tree
 
Reported: 2007-02-02 20:11 UTC by Marco Clocchiatti
Modified: 2009-08-17 23:10 UTC (History)
4 users (show)

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


Attachments
inputproto-1.3.2.ebuild (inputproto-1.3.2.ebuild,505 bytes, text/plain)
2008-03-30 18:39 UTC, Richard Westwell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Clocchiatti 2007-02-02 20:11:42 UTC
amd64.
after having installed new linux-headers-2.6.17-r1 and done `emerge -e system`,
x11-drivers/xf86-input-penmount does not compile anymore.


Reproducible: Always

Steps to Reproduce:
1. just compile
2.
3.

Actual Results:  
here the error:

Making all in src
mkdir .libs
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=athlon64 -O2 -pipe -fweb -frename-registers -ftracer -I/usr/include/xorg -I../src -MT xf86PM.lo -MD -MP -MF .deps/xf86PM.Tpo -c xf86PM.c  -fPIC -DPIC -o .libs/xf86PM.o
xf86PM.c:47:1: warning: "NEED_XF86_TYPES" redefined
In file included from ../config.h:4,
                 from xf86PM.c:40:
/usr/include/xorg/xorg-server.h:69:1: warning: this is the location of the previous definition
xf86PM.c: In function 'PenMountPreInit':
xf86PM.c:389: error: 'TS_Raw' undeclared (first use in this function)
xf86PM.c:389: error: (Each undeclared identifier is reported only once
xf86PM.c:389: error: for each function it appears in.)
xf86PM.c:391: error: 'TS_Scaled' undeclared (first use in this function)
xf86PM.c: In function 'ReadInput':
xf86PM.c:598: error: 'TS_Scaled' undeclared (first use in this function)
xf86PM.c: In function 'DMC9000_ReadInput':
xf86PM.c:693: error: 'TS_Scaled' undeclared (first use in this function)
xf86PM.c: In function 'ControlProc':
xf86PM.c:754: error: 'xDeviceTSCalibrationCtl' undeclared (first use in this function)
xf86PM.c:754: error: 'c' undeclared (first use in this function)
xf86PM.c:754: error: expected expression before ')' token
xf86PM.c: In function 'SwitchMode':
xf86PM.c:784: error: 'TS_Raw' undeclared (first use in this function)
xf86PM.c:784: error: 'TS_Scaled' undeclared (first use in this function)
xf86PM.c:789: error: 'SendCoreEvents' undeclared (first use in this function)
xf86PM.c:789: error: 'DontSendCoreEvents' undeclared (first use in this function)
xf86PM.c: In function 'ConvertProc':
xf86PM.c:818: error: 'TS_Raw' undeclared (first use in this function)
make[2]: *** [xf86PM.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

!!! ERROR: x11-drivers/xf86-input-penmount-1.2.0 failed.


Expected Results:  
I like having no error.

s939 ~ # emerge --info
Portage 2.1.2-r5 (!/usr/portage/profiles/default-linux/amd64/2006.1/desktop, gcc-4.1.1/amd64-vanilla, glibc-2.4-r4, 2.6.19-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System release 1.12.6
Timestamp of tree: Thu, 01 Feb 2007 15:30:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fweb -frename-registers -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe -fweb -frename-registers -ftracer"
DISTDIR="/tmp/gentoo-tmp/distfiles"
FEATURES="autoconfig buildpkg distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirror.solnet.ch http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/"
LANG="it_IT@euro"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it en_GB"
MAKEOPTS="-j5 -s"
PKGDIR="/tmp/gentoo-tmp/packages64"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/tmp/gentoo-tmp/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa amd64 apache2 arts asf audiofile avi bash-completion beagle berkdb bitmap-fonts browserplugin bzip2 bzlib cairo caps cddb cdparanoia cdr chroot cli cpdflib cracklib crypt cspell cups curl dba dbus dga directfb dlloader dmi dri dv dvd dvdr dvdread dvx4linux eds emboss encode esd exif expat fam fbcon ffmpeg flac foomaticdb fortran fpx ftp gd gdbm gif gimp gmp gnome gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml hal iconv ieee1394 imlib innodb isdnlog jack java javascript jbig jikes jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility lcms ldap libcaca libg++ live locales lzo mad mailwrapper md5sum memlimit midi mikmod mime mng motif mozilla mp3 mpeg mplayer mssql mysql mythtv nas ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis openexr opengl oss pam pam_chroot pam_console pam_timestamp pcre pdf perl php png posix ppds pppd pwdb python qt qt3 qt4 quicktime readline reflection rle rtc samba scanner sdl seamonkey session slang speex spell spl ssl svg tcltk tcpd tetex tga theora threads tidy tiff tokenizer trace truetype truetype-fonts type1-fonts udev unicode usb utempter vorbis wmf xcomposite xine xml xml2 xmlreader xmlwriter xorg xpm xprint xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev penmount" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia vesa nv vga vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Joshua Baergen (RETIRED) gentoo-dev 2007-02-04 05:29:48 UTC
This isn't a problem with the linux-headers version, but x11-proto/inputproto.  Installing an earlier version of inputproto (1.3*) will fix this up.
Comment 2 Marco Clocchiatti 2007-02-04 14:49:11 UTC
(In reply to comment #1)
> 
> Installing an earlier version of inputproto (1.3*) will fix this up.
> 
thanks. solved for me.
Comment 3 Joshua Baergen (RETIRED) gentoo-dev 2007-02-04 18:49:20 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > 
> > Installing an earlier version of inputproto (1.3*) will fix this up.
> > 
> thanks. solved for me.
> 

This probably also means you'll need an older libXi and perhaps rebuild a few packages against the older proto (like the server, for example).

I'd like to see these packages fixed, but it doesn't look like upstream is in a rush to do so at the moment and I don't know if I'll have enough time myself.
Comment 4 Marco Clocchiatti 2007-02-04 21:13:48 UTC
(In reply to comment #3)

> 
> This probably also means you'll need an older libXi and perhaps rebuild a few
> packages against the older proto (like the server, for example).
> 
I don't well understand your comment. May be because of my poor english.

anyway, now my system seems stable, with input-proto-1.3.2, xf86-input-penmount-1.2.0 and libXi-1.0.1. `revdep-rebuild -pv` shows no broken libraries, so I don't see any reason to recompile some package.

May be you are looking at something more, I'm not able to see :) .
I don't mark the bug as fixed, just because I suspect you not agree.

if you like, do it.
Comment 5 Joshua Baergen (RETIRED) gentoo-dev 2007-02-05 04:10:07 UTC
(In reply to comment #4)

> anyway, now my system seems stable, with input-proto-1.3.2,
> xf86-input-penmount-1.2.0 and libXi-1.0.1. `revdep-rebuild -pv` shows no broken
> libraries, so I don't see any reason to recompile some package.

Good.  I don't think you'll be able to upgrade to libXi-1.1 with the older inputproto.

> May be you are looking at something more, I'm not able to see :) .
> I don't mark the bug as fixed, just because I suspect you not agree.

I'll probably leave this open until we can track it upstream.  There's nothing more you need to do for the time being :)
Comment 6 DEMAINE Benoît-Pierre, aka DoubleHP 2007-05-06 22:51:53 UTC
CC me
Comment 7 José Alberto Suárez López (RETIRED) gentoo-dev 2007-10-24 10:01:53 UTC
in portage now is only >=inputproto-1.4.2...
so how to fix it?
maybe input-penmount must be keywording ~x86 again?
Comment 8 Petteri Räty (RETIRED) gentoo-dev 2007-11-26 14:10:45 UTC
Please update the ebuild to 1.2.1:
http://lwn.net/Articles/249211/
Comment 9 Petteri Räty (RETIRED) gentoo-dev 2007-11-26 14:13:14 UTC
(In reply to comment #8)
> Please update the ebuild to 1.2.1:
> http://lwn.net/Articles/249211/
> 

Ah I see it is already done. Well it needs to be marked stable.
Comment 10 Petteri Räty (RETIRED) gentoo-dev 2007-11-26 14:16:53 UTC
(In reply to comment #9)
> 
> Ah I see it is already done. Well it needs to be marked stable.
> 

Should have actually tested that before speaking. 1.2.1 gives me the same error.
Comment 11 José Alberto Suárez López (RETIRED) gentoo-dev 2007-11-28 10:46:27 UTC
the same error in x86
Comment 12 DEMAINE Benoît-Pierre, aka DoubleHP 2007-12-20 19:40:32 UTC
can an admin insert again any ebuild NOT matching this:

>=x11-proto/inputproto-1.4

?
Comment 13 Evil Compile Person 2008-01-06 17:34:49 UTC
same bug here :)
Comment 14 Petteri Räty (RETIRED) gentoo-dev 2008-01-19 22:52:48 UTC
I was able to compile this on a ~arch system but it does not compile on a mostly stable system. So there is probably some change in ~arch that fixes this. Perhaps xorg-server.
Comment 15 Richard Westwell 2008-03-30 18:39:15 UTC
Created attachment 147723 [details]
inputproto-1.3.2.ebuild

I was having the same problem when installing a new amd64 system
probably not the best solution but I've attached the old 1.3.2 ebuild from the cvs tree
although you'll need to put it into your own overlay to use it
and mask out the 1.4 version in package.mask

1. install old version of inputproto
2. install xf86-input-* problem drivers
3. install new version of inputproto
4. revdep-rebuild shows no recompiles needed
Comment 16 Donnie Berkholz (RETIRED) gentoo-dev 2008-03-31 06:08:32 UTC
penmount 1.3 is available in ~arch, please use that. Leaving open till this is entirely resolved.
Comment 17 Matthew Gillespie 2009-03-10 18:20:19 UTC
I just ran into this same issue when building xorg-x11.

I found that using package mask to guarantee the installation of thse following packages, fixed my problem: x11-drivers/xf86-input-penmount-1.2.0, x11-proto/inputproto-1.3.2, x11-libs/libXi-1.0.1, x11-misc/xinput-1.2, x11-base/xorg-x11-7.2, and x11-base/xorg-server-1.3.0

It's a bit hackish (and I too had to grab ebuilds out of CVS), but it did work.
Comment 18 Rémi Cardona (RETIRED) gentoo-dev 2009-08-17 23:10:03 UTC
Bug was fixed when xorg-server 1.5 went stable. penmount 1.4 will be stabilized along with xorg-server 1.6.

Thanks