Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259001 - problem compiling x11-drivers/xf86-input-keyboard-1.1.1
Summary: problem compiling x11-drivers/xf86-input-keyboard-1.1.1
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-14 20:36 UTC by Paul M. Bendixen
Modified: 2009-05-06 16:34 UTC (History)
2 users (show)

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 Paul M. Bendixen 2009-02-14 20:36:31 UTC
+++ This bug was initially created as a clone of Bug #192254 +++

problem with compiling xf86-input-keyboard-1.1.1-r1
beast ~ # emerge --info
Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.1.1, glibc-2.6.1-r0, 2.6.23-rc3 i686)
=================================================================
System uname: 2.6.23-rc3 i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Wed, 12 Sep 2007 00:00:01 +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-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.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18.50.0.1
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -mtune=prescott -pipe -fomit-frame-pointer"
CHOST="i686-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/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pl_PL.UTF-8"
LINGUAS="en pl"
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"
PORTDIR_OVERLAY="/usr/local/OVERLAY"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acl acpi alsa ao asf bash-completion bashlogger berkdb bidi bitmap-fonts bl browserplugin bzip2 cairo canvas caps cli compozitor config_wizard cpudetection cracklib crypt cups curl custom-cflags dbus dri dts dvb dvd dvdread encode expat extraicons extramodules extras fam fbcon ffmpeg flac fortran freetype gdbm gif glitz gnutls gpm gtk hal i8x0 icecast iconv ifp imagemagick ipv6 isdnlog ithreads jabber jack java javascript jpeg jpeg2k kdeenablefinal libcaca live livecd mail matroska midi mmx mng modplug moodbar mozilla mp3 mudflap musepack musicbrainz ncurses nls no_focus nptl nptlonly opengl openmp pam pam_console pcre perl portaudio pppd python qt3 quicktime rar readline real reflection rplay rtc samba session shout slang spl srv sse sse2 ssl ssse3 stream stroke svg tcltk tcpd theora tiff truetype truetype-fonts type1-fonts unicode userlocales v4l v4l2 vcd vidix vim-pager visualization vorbis win32codecs wma wxwindows x264 x86 xanim xcomposite xine xinerama xml2 xorg xv xvid xvmc zeroconf" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="en pl" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



error

if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -march=prescott -mtune=prescott -pipe -fomit-frame-pointer -I/usr/include/xorg -I/usr/include/pixman-1    -I../src -MT kbd.lo -MD -MP -MF ".deps/kbd.Tpo" -c -o kbd.lo kbd.c; \
        then mv -f ".deps/kbd.Tpo" ".deps/kbd.Plo"; else rm -f ".deps/kbd.Tpo"; exit 1; fi
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -march=prescott -mtune=prescott -pipe -fomit-frame-pointer -I/usr/include/xorg -I/usr/include/pixman-1 -I../src -MT kbd.lo -MD -MP -MF .deps/kbd.Tpo -c kbd.c  -fPIC -DPIC -o .libs/kbd.o
kbd.c:45:23: error: xf86OSKbd.h: No such file or directory
kbd.c: In function 'KbdPreInit':
kbd.c:220: error: 'KbdDevPtr' undeclared (first use in this function)
kbd.c:220: error: (Each undeclared identifier is reported only once
kbd.c:220: error: for each function it appears in.)
kbd.c:220: error: expected ';' before 'pKbd'
kbd.c:237: error: 'struct _LocalDeviceRec' has no member named 'motion_history_proc'
kbd.c:256: error: 'pKbd' undeclared (first use in this function)
kbd.c:256: error: 'KbdDevRec' undeclared (first use in this function)
kbd.c: In function 'KbdBell':
kbd.c:364: error: 'KbdDevPtr' undeclared (first use in this function)
kbd.c:364: error: expected ';' before 'pKbd'
kbd.c:365: error: 'pKbd' undeclared (first use in this function)
kbd.c: In function 'UpdateLeds':
kbd.c:372: error: 'KbdDevPtr' undeclared (first use in this function)
kbd.c:372: error: expected ';' before 'pKbd'
kbd.c:375: error: 'pKbd' undeclared (first use in this function)
kbd.c: In function 'KbdCtrl':
kbd.c:390: error: 'KbdDevPtr' undeclared (first use in this function)
kbd.c:390: error: expected ';' before 'pKbd'
kbd.c:393: error: 'pKbd' undeclared (first use in this function)
kbd.c: In function 'InitKBD':
kbd.c:434: error: 'KbdDevPtr' undeclared (first use in this function)
kbd.c:434: error: expected ';' before 'pKbd'
kbd.c:476: error: 'pKbd' undeclared (first use in this function)
kbd.c: In function 'KbdProc':
kbd.c:500: error: 'KbdDevPtr' undeclared (first use in this function)
kbd.c:500: error: expected ';' before 'pKbd'
kbd.c:507: error: 'pKbd' undeclared (first use in this function)
kbd.c: In function 'PostKbdEvent':
kbd.c:580: error: 'KbdDevPtr' undeclared (first use in this function)
kbd.c:580: error: expected ';' before 'pKbd'
kbd.c:600: error: 'pKbd' undeclared (first use in this function)
kbd.c:621: error: 'TransMapPtr' undeclared (first use in this function)
kbd.c:621: error: expected ';' before 'map'
kbd.c:622: error: 'map' undeclared (first use in this function)
kbd.c:637: error: expected ';' before 'map'
make[2]: *** [kbd.lo] Błąd 1
make[2]: Opuszczenie katalogu `/var/tmp/portage/x11-drivers/xf86-input-keyboard-1.1.1-r1/work/xf86-input-keyboard-1.1.1/src'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/var/tmp/portage/x11-drivers/xf86-input-keyboard-1.1.1-r1/work/xf86-input-keyboard-1.1.1'
make: *** [all] Błąd 2
 *
 * ERROR: x11-drivers/xf86-input-keyboard-1.1.1-r1 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ebuild.sh, line 1334:   Called x-modular_src_compile
 *   x-modular.eclass, line 337:   Called x-modular_src_make
 *   x-modular.eclass, line 332:   Called die
 *
 * emake failed
 * 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-keyboard-1.1.1-r1/temp/build.log'.
 *

 * Messages for package x11-drivers/xf86-input-keyboard-1.1.1-r1:

 *
 * ERROR: x11-drivers/xf86-input-keyboard-1.1.1-r1 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ebuild.sh, line 1334:   Called x-modular_src_compile
 *   x-modular.eclass, line 337:   Called x-modular_src_make
 *   x-modular.eclass, line 332:   Called die
 *
 * emake failed
 * 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-keyboard-1.1.1-r1/temp/build.log'.


Reproducible: Always



Expected Results:  
i expect fixed deps

When downgrading from ~x86 to x86 of xorg-server and friends this problem persists.

emerging xorg-server with the -O option, then emerging xf86-input-keyboard then emerging xorg-server again (just to be on the safe side ) seems to fix this.

$ emerge --info
Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.20-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.20-gentoo-r7-i686-Genuine_Intel-R-_CPU_T2300_@_1.66GHz-with-glibc2.0
Timestamp of tree: Sat, 14 Feb 2009 18:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
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.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/"
LANG="da_DK.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en da"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/usr/portage/local/local-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa bash-completion berkdb bzip2 cairo cddb cdinstall cdparanoia cli cpudetection cracklib crypt cups dell doc dri dvd dvdr dvdread examples fortran gd gdbm gif glib gpm gtk hou ibam iconv imagemagick imlib ipv6 isdnlog jpeg lapack laptop latex ldap midi mikmod mng mp3 mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 readline reflection samba sdl session smp sou spell spl ssl svg sysfs tcpd tetex threads tiff tools truetype unicode usb v4l videos vim vorbis x86 xorg xulrunner xvid zlib" ALSA_CARDS="hda-intel" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en da" USERLAND="GNU" VIDEO_CARDS="intel VESA"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2009-02-15 05:38:34 UTC
There are some limitations to what we can do with dependencies because ebuilds don't support ranges (for example, >=2 AND <=5). The case of downgrading from ~x86 to x86 is the one that I've basically punted on. We can't really guarantee correct behavior without tons of hacks unless you're using --deep or --complete-graph. One workaround is to explicitly specify, in an OR block, all possible versions that will work with an X server, but this is a lot of work.

Do you have a good suggestion to fix this?
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2009-05-06 16:34:29 UTC
I'm not sure there's much we can do to fix this. And a newer version is stable anyway...

Downgrading is Evil (tm) ;)

Thanks