| Summary: | sys-kernel/linuxwacom-module-0.8.8_p10 - cp: cannot stat `src/*/wacom.o': No such file or directory | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Qingping Hou <dave2008713> |
| Component: | [OLD] Core system | Assignee: | Peter Volkov (RETIRED) <pva> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | acidrums4, julien.sanchez, kamil.kwiek, tl |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Qingping Hou
2011-11-12 16:55:53 UTC
sorry for forgetting to append emerge --info: Portage 2.1.10.11 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.0.7-gentoo x86_64) ================================================================= System uname: Linux-3.0.7-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_M_640_@_2.80GHz-with-gentoo-2.0.3 Timestamp of tree: Thu, 10 Nov 2011 16:45:01 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r2, 2.7.2-r3::sage-on-gentoo, 3.1.4-r3 dev-util/cmake: 2.8.4-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.8.3-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r1 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.39 (virtual/os-headers) sys-libs/glibc: 2.13-r4::sabayon Repositories: gentoo java-overlay sage-on-gentoo sabayon kde gentoo-zh x-portage ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA PUEL AdobeFlash-10.1 dlj-1.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=native -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS=" http://mirrors.xmu.edu.cn/gentoo ftp://mirrors.xmu.edu.cn/gentoo http://mirrors.sohu.com/gentoo http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.cs.nctu.edu.tw/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_US" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/java-overlay /var/lib/layman/sage-on-gentoo /var/lib/layman/sabayon /var/lib/layman/kde /var/lib/layman/gentoo-zh /usr/local/portage" SYNC="rsync://mirrors.xmu.edu.cn/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cjk cli consolekit cracklib crypt cscope cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gcj gdbm gdu gif gnutls gpm gstreamer gtk iconv icu ios ipod ipv6 java jpeg kde kerberos kipi kpathsea lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pppd pulseaudio qt3support qt4 rar readline sdl semantic-desktop session smp spell sqlite sse sse2 ssl ssse3 startup-notification svg sysfs tcpd threads tiff truetype udev unicode usb vim vim-syntax vnc vorbis wifi x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid xvmc 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics mouse keyboard wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS And when it compiles, it only shows this: make -j1 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= all Making all in . make[1]: Entering directory `/var/tmp/portage/sys-kernel/linuxwacom-module-0.8.8_p10/work/linuxwacom-0.8.8-10/src' rm -f wacom.4x.gz xsetwacom.4x.gz gzip -9c < ./wacom.4x > wacom.4x.gz gzip -9c < ./xsetwacom.4x > xsetwacom.4x.gz make[1]: Leaving directory `/var/tmp/portage/sys-kernel/linuxwacom-module-0.8.8_p10/work/linuxwacom-0.8.8-10/src' If I try to find any kernel module (*.ko), its not there, so it hasn't really built one and the image directory is also empty. It's not just a failed install, it's not building. (In reply to comment #2) > And when it compiles, it only shows this: > > make -j1 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- > LDFLAGS= all > Making all in . > make[1]: Entering directory > `/var/tmp/portage/sys-kernel/linuxwacom-module-0.8.8_p10/work/linuxwacom-0.8.8-10/src' > rm -f wacom.4x.gz xsetwacom.4x.gz > gzip -9c < ./wacom.4x > wacom.4x.gz > gzip -9c < ./xsetwacom.4x > xsetwacom.4x.gz > make[1]: Leaving directory > `/var/tmp/portage/sys-kernel/linuxwacom-module-0.8.8_p10/work/linuxwacom-0.8.8-10/src' > > If I try to find any kernel module (*.ko), its not there, so it hasn't really > built one and the image directory is also empty. It's not just a failed > install, it's not building. See, do I need to close this one and fire another report? Hi, I have exactly the same problem, but on the kernel: tuxonice-sources-3.0.6. kernel/linuxwacom-module-0.8.8_p10/image/ category sys-kernel cp: cannot stat `src/*/wacom.o': No such file or directory cp: cannot stat `src/*/wacom.ko': No such file or directory I have the very same problem here with the standard gentoo-sources 3.0.6 on amd64.
configure shows:
----------------------------------------
BUILD ENVIRONMENT:
architecture - x86_64-pc-linux-gnu
linux kernel - yes
kernel source - yes /lib/modules/3.0.6-gentoo/build
XFree86 source - no
Xorg SDK - no no
XSERVER64 - no
dlloader - no
XLib - no no
xf86config - no
TCL - no no
TK - no no
ncurses - yes
BUILD OPTIONS:
wacom.o - no
wacdump - no
xidump - no
libwacomcfg - no
libwacomxi - no
xsetwacom - no
wacomxrrd - no
hid.o - no
wacom_drv.so - no
wacom_drv.o - no
wacom*_drv quirks - IsXExtensionPointer key-events
----------------------------------------
and later I get
cp: Aufruf von stat für „src/*/wacom.o“ nicht möglich: Datei oder Verzeichnis nicht gefunden
cp: Aufruf von stat für „src/*/wacom.ko“ nicht möglich: Datei oder Verzeichnis nicht gefunden
or in LC_ALL=C:
cp: cannot stat `src/*/wacom.o': No such file or directory
cp: cannot stat `src/*/wacom.ko': No such file or directory
Perhaps, the ebuild looks in the wrong paths? It doesn't find X11, etc.
I'm not perfectly sure if the other reporters had the same intention as me, but I tried to install this package because the in-kernel wacom tablet driver didn't work for my newly bought Wacom Bamboo Pen tablet. Installing the current wacom kernel driver by hand (based on the instructions on http://ubuntuforums.org/showthread.php?t=1515562 ) using the sources provided by http://prdownloads.sourceforge.net/linuxwacom/input-wacom-0.12.0.tar.bz2 did the trick for me. So here we have version 0.8.8 in portage of which the ebuild is broken. The current version seems to be 0.12.0 and works fine – so perhaps, instead of fixing this out-dated ebuild, a version bump to the latest (and working!) version should be done. i guess this version is just incompatible with kernel 3.-whatever # ls linuxwacom-0.8.8-10/src 2.6.16 2.6.18 2.6.24 2.6.30 Makefile Makefile.am Makefile.in Module.symvers -> /var/tmp/portage/sys-kernel/linuxwacom-module-0.8.8_p10/work/linuxwacom-0.8.8-10/Module.symvers include util wacom.4x wacom.4x.gz wacomxi xdrv xsetwacom.4x xsetwacom.4x.gz so the deps are wrong AND a version bump is needed. input-wacom-0.12.0 builds and works without a problem, tested with gentoo-sources-3.0.6 and gentoo-sources-3.1.6. All I had to to was ./configure cp 2.6.38/wacom.ko /lib/modules/3.1.6-gentoo/kernel/drivers/input/ ./configure quite unusually also starts make. There were three 2.6.* direcories, but it did work, so I don't think this causes the incompatibility. Without a reboot, I had to do insmod /lib/modules/3.1.6-gentoo/kernel/drivers/input/wacom.ko to make my tablet work; after a reboot the module is loaded automatically or can be loaded via modprobe. I'm pretty sure running some command will make it work immediately, but I'm not so experienced in compiling out-of-kernel modules by hand (or even in writing an ebuild for them ;-) I have the same issue under gentoo-sources-3.2.2-gentoo with a Wacom Bamboo CTL470L. The solution provided for Tobias Leupold also did the trick for me. Thanks, bro! Just checked out the linuxwacom's project page, and I found out that linuxwacom-module package is somehow deprecated now. Modern distributions users are encouraged to use Xf86-input-wacom package instead. So all you need to do is to emerge x11-drivers/xf86-input-wacom and enable the wacom driver in your kernel according to the message after xf86-input-wacom is emerged. Now I have my wacom tablet working again. :) |