Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192657 - x11-drivers/xf86-input-mouse-1.2.2 (in combination with xorg-server-1.4 only?): mouse locked at one screen w/ multi-head
Summary: x11-drivers/xf86-input-mouse-1.2.2 (in combination with xorg-server-1.4 only?...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: Inclusion
: 194377 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-16 08:04 UTC by Andre Lehmann
Modified: 2007-10-02 00:22 UTC (History)
8 users (show)

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


Attachments
fix: Mouse pointer gets stuck on the rightmost X screen (zaphod-xinerama-fix.diff,1004 bytes, patch)
2007-09-20 17:46 UTC, Hanno Zysik (geki)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Lehmann 2007-09-16 08:04:24 UTC
Hello,

I'am using X.Org X Server 1.4.0 and there's a strange Problem with the Mouse.
I'am using a setup with 3 Screens from 3 Devices. The Xinerama USE FLag is active and the Option is set in xorg.conf.   

X started to Screen 1, Mouse is at Screen 1. If I go to Screen 2 with Mouse, the Mouse can't go back to Screen 1, but to Screen 3. If the Mouse is at Screen 3, the same Problem. 

I have changed the Video Driver from nv to vesa, same Problem. 
I have tested the USE Flags from my old installation, same Problem. 

Reproducible: Always

Steps to Reproduce:
The Problem occurs every time.

Actual Results:  
X started to Screen 1, Mouse is at Screen 1. If I go to Screen 2 with Mouse, the Mouse can't go back to Screen 1, but to Screen 3. If the Mouse is at Screen 3, the same Problem. 

Expected Results:  
The Mouse should go over every Screen and back again.

emerge --info

Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r6 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Sun, 16 Sep 2007 07:30:03 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r5
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -pipe -O3 -mmmx -msse -msse2 -m3dnow -fomit-frame-pointer -mfpmath=sse -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops"
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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -pipe -O3 -mmmx -msse -msse2 -m3dnow -fomit-frame-pointer -mfpmath=sse -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/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="3dnow 3dnowext X acl acpi alsa amd64 berkdb bitmap-fonts bluetooth cli cracklib crypt css cups dga dri dvb dvd dvdr dvdread encode ffmpeg gdbm gtk hal iconv ipod isdnlog java joystick jpeg kde mad midi mmx mmxext mp3 mudflap ncurses network nls nptl nptlonly nsplugin nvidia opengl openmp pam pcre pda pdf perl png pppd python qt3 readline reflection remote scanner sdl sensors session spl sse sse2 ssl tcpd threads truetype-fonts type1-fonts unicode usb v4l v4l2 vcd xinerama xml xorg xscreensaver xv zvbi" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


xorg.conf

Section "Module"
#        Load    "bitmap"
#        Load    "dbe"
#        Load    "ddc"
#        Load    "extmod"
#        Load    "freetype"
#        Load    "record"
#        Load    "type1"
#        Load    "vbe"
#       Load    "glx"
EndSection

Section "Files"
    RgbPath     "/usr/X11R6/lib/X11/rgb"
    FontPath    "/usr/X11R6/lib/X11/fonts/local/"
    FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"

    FontPath    "/usr/share/fonts/local"
    FontPath    "/usr/share/fonts/misc"
    FontPath    "/usr/share/fonts/Type1"
    FontPath    "/usr/share/fonts/TTF"
    FontPath    "/usr/share/fonts/CID"
    FontPath    "/usr/share/fonts/75dpi"
    FontPath    "/usr/share/fonts/100dpi"


EndSection

Section "InputDevice"
        Identifier      "Keyboard0"
        Driver          "keyboard"
        Option          "AutoRepeat" "500 30"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "de"
EndSection

Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "mouse"
        Option          "Protocol"    "IMPS/2"
        Option          "Device"       "/dev/psaux"
        Option          "ZAxisMapping" "4 5"
        Option          "Buttons" "5"
EndSection

Section "Monitor"
        Identifier      "Monitor0"
        HorizSync       30-121
        VertRefresh     48-160
        DisplaySize     380 270
EndSection
Section "Monitor"
        Identifier      "Monitor1"
        HorizSync       30-121
        VertRefresh     48-160
        DisplaySize     380 270
EndSection
Section "Monitor"
        Identifier      "Monitor2"
        HorizSync       30-121
        VertRefresh     48-160
        DisplaySize     380 270
EndSection

Section "Device"
        Identifier      "Device0"
        Driver          "vesa"
        BusID           "1:0:0"
EndSection
Section "Device"
        Identifier      "Device1"
        Driver          "vesa"
        BusID           "3:0:0"
EndSection
Section "Device"
        Identifier      "Device2"
        Driver          "vesa"
        BusID           "5:0:0"
EndSection

Section "Screen"
        Identifier      "Screen0"
        Device          "Device0"
        Monitor         "Monitor0"
        DefaultDepth    24
        Subsection "Display"
                Depth       24
                Modes       "1600x1200"
        EndSubsection
EndSection
Section "Screen"
        Identifier      "Screen1"
        Device          "Device1"
        Monitor         "Monitor1"
        DefaultDepth    24
        Subsection "Display"
                Depth       24
                Modes       "1600x1200"
        EndSubsection
EndSection
Section "Screen"
        Identifier      "Screen2"
        Device          "Device2"
        Monitor         "Monitor2"
        DefaultDepth    24
        Subsection "Display"
                Depth       24
                Modes       "1600x1200"
        EndSubsection
EndSection

Section "ServerFlags"
        Option "Xinerama" "true"
EndSection

Section "ServerLayout"
        Identifier      "Layout"
        Screen          "Screen0" 0 0
        Screen          "Screen2" RightOf "Screen0"
        Screen          "Screen1" RightOf "Screen2"
        InputDevice     "Mouse0" "CorePointer"
        InputDevice     "Keyboard0" "CoreKeyboard"
EndSection
Comment 1 Andre Lehmann 2007-09-16 08:17:55 UTC
Hello,

I'have changed the Devices to nv again and added to every Device Section :
Option "SWCursor" "yes" .
The Problem is the same :-(
Comment 2 Andre Lehmann 2007-09-16 09:41:51 UTC
Now I've tested the evdev Input Driver, same Problem. :-(

Here's the section from my xorg.conf:

Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "evdev"
        Option          "Name"       "ImExPS/2 Generic Explorer Mouse"
        Option          "CorePointer"
EndSection

Comment 3 Sebastien Morin 2007-09-19 23:47:13 UTC
Hi!

I have the exact same problem here, but I do not user xinerama, before my upgrade it worked and now it doesn't.

I only have to screen and when I go to the second screen, I cannot come back.

emerge --info

Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3500+
Timestamp of tree: Wed, 19 Sep 2007 09:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
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.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=k8 -march=athlon64 -O2 -fomit-frame-pointer -pipe -fforce-addr -momit-leaf-frame-pointer -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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-mtune=k8 -march=athlon64 -O2 -fomit-frame-pointer -pipe -fforce-addr -momit-leaf-frame-pointer -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://mirror.datapipe.net/gentoo"
LINGUAS="en fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="S3TC X a52 aac acl acpi alsa amd amd64 apache2 artworkextra automount bash-completion beagle berkdb bluetooth branding bzip2 cairo cdaudio cdparanoia chm cli cracklib crypt css cups d dba dbus deprecated dga dri dts dvd dvdr dvdread emerald encode exif ffmpeg firefox flac galago gdbm gif gimp glitz gnome gpm gtk guile hal hddtemp howl iconv input_device_mouse ipv6 isdnlog java joystick jpeg ldap libnotify libsexy lm_sensors mad midi mikmod mmx mng mono mozbranding mozilla mozsvg mp3 msn mudflap nautilus ncurses new-login nls no-old-linux nptl nptlonly nsplugin nvidia offensive ogg openal opengl openmp pam pcre pdf perl pic png ppds pppd python quicktime rar readline reflection regex sdl session source spl sqlite sqlite3 sse sse2 ssl svg swat tcpd theora threads tiff toolkit-scroll-bars truetype-fonts type1-fonts udev unicode usb v4l v4l2 vorbis wma x264 xcomposite xft xorg 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr" USERLAND="GNU" VIDEO_CARDS="nvidia"

xorg.conf

Section "ServerLayout" 
   	Identifier  "Simple Layout" 
    Screen "Screen[0]" "" "" "" "Screen[1]"
    Screen "Screen[1]" "" "" "Screen[0]" ""
    InputDevice    "Generic Keyboard" "CoreKeyboard"
    InputDevice	   "Logitech MX1000" "CorePointer"
EndSection

Section "Extensions"
    Option "Composite" "enable"
EndSection

Section "Files"

	# path to defoma fonts
    FontPath        "/usr/share/fonts/misc"
    FontPath        "/usr/share/fonts/cyrillic"
    FontPath        "/usr/share/fonts/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/Type1"
    FontPath        "/usr/share/fonts/100dpi"
    FontPath        "/usr/share/fonts/75dpi"
EndSection

Section "Module"
    Load           "i2c"
    Load           "bitmap"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "type1"
    Load           "vbe"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
#    Option         "CoreKeyboard"
#    Option         "XkbRules" "xorg"
#    Option         "XkbModel" "pc104"
#    Option         "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier	"Logitech MX1000"
    Driver      "evdev"
    Option      "Name"  "Logitech USB RECEIVER"
    Option "Emulate3Buttons" "false"
EndSection

Section "Monitor"
#    Identifier     "SyncMaster 955df"
    Identifier      "Monitor[0]" #CRT
    HorizSync       30.0 - 85.0
    VertRefresh     50.0 - 160.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "ViewSonic P220f"
#    Identifier      "Monitor[0]" #CRT
    HorizSync 	    30.0 - 110.0
    VertRefresh     50.0 - 160.0 
#    Modeline "640x240" 57.65 640 656 720 800 240 241 244 258 +HSync +Vsync doublescan
#    Option "SyncOnGreen" 
    Option         "DPMS"
EndSection

Section "Monitor" 
    Identifier "Monitor[1]" #TV 
    HorizSync 30-50
    VertRefresh 60 
EndSection

Section "Device"
#	Driver		"nv"
#    Identifier     "NVIDIA Corporation NVIDIA Default Card"
	Identifier	"Device[0]"
  Driver         "nvidia"
	BusID		"PCI:3:0:0"
	screen 0
#	Option 	"RenderAccel"	"false"
	Option "NoLogo" "true"
	Option "RenderAccel" "true"
	Option "AllowGLXWithComposite" "On"
EndSection

Section "Device" 
   	Driver          "nvidia" 
   	Identifier      "Device[1]" 
   	Screen 1 
   	Option          "TVOutFormat" "SVIDEO" #or Composite etc 
   	Option          "TVStandard" "NTSC-M" #or NTSC etc 
   	Option          "ConnectedMonitor" "Monitor[1]" 
   	BusID           "PCI:3:0:0" #adjust using 'lspci' or cat /proc/pci 
#	Option 		"RenderAccel" "false"
#	Option	  "DisableGLXRootClipping" "1"
#	Option 	  "RenderAccel" "1"
#	Option	  "BackStoring" "1"
	Option "NoLogo" "true"
	Option "RenderAccel" "true"
	Option "AllowGLXWithComposite" "On"
EndSection

Section "Screen"
#    Identifier     "Default Screen"
	Identifier	"Screen[0]
    Device         "Device[0]"
    Monitor        "Monitor[0]"
    DefaultDepth    24
    SubSection     "Display"
        Depth       8
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
		Option "AddARGBGLXVisuals" "true"
EndSection

Section "Screen" 
   	Device "Device[1]" 
   	Identifier "Screen[1]" 
   	Monitor "Monitor[1]" 
   	DefaultDepth 24 
   	SubSection "Display" 
	    Depth 24 
      Modes "800x600_60" 
   	EndSubSection    
		Option "AddARGBGLXVisuals" "true"
EndSection

Comment 5 Wulf Krueger (RETIRED) gentoo-dev 2007-09-21 13:04:43 UTC
(In reply to comment #4)
> Created an attachment (id=131437) [edit]
> fix: Mouse pointer gets stuck on the rightmost X screen

Confirmed. This works fine and without any obvious side effects on two amd64 systems at least.
Comment 6 Andre Lehmann 2007-09-23 11:06:57 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Created an attachment (id=131437) [edit]
> > fix: Mouse pointer gets stuck on the rightmost X screen
> 
> Confirmed. This works fine and without any obvious side effects on two amd64
> systems at least.
> 

Hello,

I can't test the Patch because I've got a few free days (only with notebook ;-) ). 
I will test the patch a few days later. 

Thank's for the help :-)

P.S.: I think the Bug is resolved? Changing resolution to "FIXED" ? 

Comment 7 Marijn Schouten (RETIRED) gentoo-dev 2007-09-23 15:02:42 UTC
(In reply to comment #6)

> P.S.: I think the Bug is resolved? Changing resolution to "FIXED" ? 

the bug is fixed when someone commits the fix
Comment 8 Marijn Schouten (RETIRED) gentoo-dev 2007-09-23 18:43:18 UTC
I can also confirm that Hanno's patch works (thank you). The patch to the ebuild is:

--- /usr/portage/x11-drivers/xf86-input-mouse/xf86-input-mouse-1.2.2.ebuild     2007-09-10 05:37:59.000000000 +0200
+++ /home/marijn/overlay/x11-drivers/xf86-input-mouse/xf86-input-mouse-1.2.2-r1.ebuild  2007-09-23 20:34:09.000000000 +0200
@@ -5,6 +5,7 @@
 # Must be before x-modular eclass is inherited
 #SNAPSHOT="yes"
 XDPVER=4
+PATCHES="${FILESDIR}/unconfinemouse.patch"

 inherit x-modular
Comment 9 Wulf Krueger (RETIRED) gentoo-dev 2007-09-23 18:51:52 UTC
Until this has been added to the tree, you'll find an updated ebuild in my dev overlay.
Comment 10 Andre Lehmann 2007-09-25 11:58:47 UTC
Hello,

Confirmed, the patch worked... :-)



Comment 11 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-01 08:30:46 UTC
Fixed in xf86-input-mouse-1.2.2-r1 -- thanks for your patience!
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2007-10-01 14:26:52 UTC
*** Bug 194377 has been marked as a duplicate of this bug. ***
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2007-10-01 14:27:59 UTC
Would help to actually commit the patch.
Comment 14 Timon Van Overveldt 2007-10-01 17:41:05 UTC
(In reply to comment #11)
> Fixed in xf86-input-mouse-1.2.2-r1 -- thanks for your patience!
> 

The new ebuild doesn't work. The patch isn't in the files/ directory, resulting in an error when trying to emerge.

#emerge -1 xf86-input-mouse
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) x11-drivers/xf86-input-mouse-1.2.2-r1 to /
 * x11-driver-patches-4.tar.bz2 RMD160 ;-) ...                            [ ok
 * x11-driver-patches-4.tar.bz2 SHA1 ;-) ...                              [ ok
 * x11-driver-patches-4.tar.bz2 SHA256 ;-) ...                            [ ok
 * x11-driver-patches-4.tar.bz2 size ;-) ...                              [ ok
 * xf86-input-mouse-1.2.2.tar.bz2 RMD160 ;-) ...                          [ ok
 * xf86-input-mouse-1.2.2.tar.bz2 SHA1 ;-) ...                            [ ok
 * xf86-input-mouse-1.2.2.tar.bz2 SHA256 ;-) ...                          [ ok
 * xf86-input-mouse-1.2.2.tar.bz2 size ;-) ...                            [ ok
 * checking ebuild checksums ;-) ...                                      [ ok
 * checking auxfile checksums ;-) ...                                     [ ok
 * checking miscfile checksums ;-) ...                                    [ ok
 * checking xf86-input-mouse-1.2.2.tar.bz2 ;-) ...                        [ ok
 * checking x11-driver-patches-4.tar.bz2 ;-) ...                          [ ok
>>> Unpacking source...
>>> Unpacking xf86-input-mouse-1.2.2.tar.bz2 to /var/tmp/portage/x11-drivers/x
6-input-mouse-1.2.2-r1/work
>>> Unpacking x11-driver-patches-4.tar.bz2 to /var/tmp/portage/x11-drivers/xf8
input-mouse-1.2.2-r1/work

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /usr/portage/x11-drivers/xf86-input-mouse/files/1.2.2-zaphod-xinerama-fix
iff
 *   ( 1.2.2-zaphod-xinerama-fix.diff )

 * 
 * ERROR: x11-drivers/xf86-input-mouse-1.2.2-r1 failed.
 * Call stack:
 *          ebuild.sh, line 1684:  Called dyn_unpack
 *          ebuild.sh, line  798:  Called qa_call 'src_unpack'
 *          ebuild.sh, line   44:  Called src_unpack
 *          ebuild.sh, line 1364:  Called x-modular_src_unpack
 *   x-modular.eclass, line  277:  Called x-modular_patch_source
 *   x-modular.eclass, line  245:  Called epatch '/usr/portage/x11-drivers/xf8
input-mouse/files/1.2.2-zaphod-xinerama-fix.diff'
 *      eutils.eclass, line  161:  Called die
 * The specific snippet of code:
 *                      die "Cannot find \$EPATCH_SOURCE!"
 *  The die message:
 *   Cannot find $EPATCH_SOURCE!
 * 
 * If you need support, post the topmost build error, and the call stack if re
vant.
 * A complete build log is located at '/var/tmp/portage/x11-drivers/xf86-input
ouse-1.2.2-r1/temp/build.log'.
 * 
Comment 15 Timon Van Overveldt 2007-10-01 17:44:33 UTC
I'm sorry, the output was all messed up. Here's the correct one.

# emerge -1 xf86-input-mouse
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) x11-drivers/xf86-input-mouse-1.2.2-r1 to /
 * x11-driver-patches-4.tar.bz2 RMD160 ;-) ...                                  [ ok ]
 * x11-driver-patches-4.tar.bz2 SHA1 ;-) ...                                    [ ok ]
 * x11-driver-patches-4.tar.bz2 SHA256 ;-) ...                                  [ ok ]
 * x11-driver-patches-4.tar.bz2 size ;-) ...                                    [ ok ]
 * xf86-input-mouse-1.2.2.tar.bz2 RMD160 ;-) ...                                [ ok ]
 * xf86-input-mouse-1.2.2.tar.bz2 SHA1 ;-) ...                                  [ ok ]
 * xf86-input-mouse-1.2.2.tar.bz2 SHA256 ;-) ...                                [ ok ]
 * xf86-input-mouse-1.2.2.tar.bz2 size ;-) ...                                  [ ok ]
 * checking ebuild checksums ;-) ...                                            [ ok ]
 * checking auxfile checksums ;-) ...                                           [ ok ]
 * checking miscfile checksums ;-) ...                                          [ ok ]
 * checking xf86-input-mouse-1.2.2.tar.bz2 ;-) ...                              [ ok ]
 * checking x11-driver-patches-4.tar.bz2 ;-) ...                                [ ok ]
>>> Unpacking source...
>>> Unpacking xf86-input-mouse-1.2.2.tar.bz2 to /var/tmp/portage/x11-drivers/xf86-input-mouse-1.2.2-r1/work
>>> Unpacking x11-driver-patches-4.tar.bz2 to /var/tmp/portage/x11-drivers/xf86-input-mouse-1.2.2-r1/work

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /usr/portage/x11-drivers/xf86-input-mouse/files/1.2.2-zaphod-xinerama-fix.diff
 *   ( 1.2.2-zaphod-xinerama-fix.diff )

 * 
 * ERROR: x11-drivers/xf86-input-mouse-1.2.2-r1 failed.
 * Call stack:
 *          ebuild.sh, line 1684:  Called dyn_unpack
 *          ebuild.sh, line  798:  Called qa_call 'src_unpack'
 *          ebuild.sh, line   44:  Called src_unpack
 *          ebuild.sh, line 1364:  Called x-modular_src_unpack
 *   x-modular.eclass, line  277:  Called x-modular_patch_source
 *   x-modular.eclass, line  245:  Called epatch '/usr/portage/x11-drivers/xf86-input-mouse/files/1.2.2-zaphod-xinerama-fix.diff'
 *      eutils.eclass, line  161:  Called die
 * The specific snippet of code:
 *                      die "Cannot find \$EPATCH_SOURCE!"
 *  The die message:
 *   Cannot find $EPATCH_SOURCE!
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-drivers/xf86-input-mouse-1.2.2-r1/temp/build.log'.
 * 
Comment 16 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-01 23:22:16 UTC
Fixed a while ago, sorry about that.
Comment 17 Timon Van Overveldt 2007-10-02 00:22:27 UTC
Same bug in evdev driver, see http://bugs.gentoo.org/show_bug.cgi?id=194465 for similar fix.