Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 133712

Summary: xorg-server-1.0.2-r4 fails to compile (DMX ?)
Product: Gentoo Linux Reporter: Michael Sawczuk <bugs>
Component: [OLD] UnspecifiedAssignee: Gentoo X packagers <x11>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2005.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Log created from emerging xorg-server

Description Michael Sawczuk 2006-05-18 12:19:39 UTC
When I go to upgrade to xorg-server-1.0.2-r4 (on xorg-server-1.0.2-r3) it fails to complete the compile, here is a snippet of the errors that are produced just as it fails:

usr/lib64/libX11.so -ldl /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -lm
input/libdmxinput.a(dmxinputinit.o):(.data+0x11e8): undefined reference to `usbCreatePrivate'
input/libdmxinput.a(dmxinputinit.o):(.data+0x11f0): undefined reference to `usbDestroyPrivate'
input/libdmxinput.a(dmxinputinit.o):(.data+0x11f8): undefined reference to `kbdUSBInit'
input/libdmxinput.a(dmxinputinit.o):(.data+0x1210): undefined reference to `kbdUSBGetInfo'
input/libdmxinput.a(dmxinputinit.o):(.data+0x1218): undefined reference to `kbdUSBOn'
input/libdmxinput.a(dmxinputinit.o):(.data+0x1220): undefined reference to `usbOff'
input/libdmxinput.a(dmxinputinit.o):(.data+0x1248): undefined reference to `kbdUSBRead'
input/libdmxinput.a(dmxinputinit.o):(.data+0x1270): undefined reference to `kbdUSBCtrl'
input/libdmxinput.a(dmxinputinit.o):(.data+0x13d8): undefined reference to `usbCreatePrivate'
input/libdmxinput.a(dmxinputinit.o):(.data+0x13e0): undefined reference to `usbDestroyPrivate'
input/libdmxinput.a(dmxinputinit.o):(.data+0x13e8): undefined reference to `mouUSBInit'
input/libdmxinput.a(dmxinputinit.o):(.data+0x1400): undefined reference to `mouUSBGetInfo'
input/libdmxinput.a(dmxinputinit.o):(.data+0x1408): undefined reference to `mouUSBOn'
input/libdmxinput.a(dmxinputinit.o):(.data+0x1410): undefined reference to `usbOff'
input/libdmxinput.a(dmxinputinit.o):(.data+0x1438): undefined reference to `mouUSBRead'
input/libdmxinput.a(dmxinputinit.o):(.data+0x15c8): undefined reference to `usbCreatePrivate'
input/libdmxinput.a(dmxinputinit.o):(.data+0x15d0): undefined reference to `usbDestroyPrivate'
input/libdmxinput.a(dmxinputinit.o):(.data+0x15d8): undefined reference to `othUSBInit'
input/libdmxinput.a(dmxinputinit.o):(.data+0x15f0): undefined reference to `othUSBGetInfo'
input/libdmxinput.a(dmxinputinit.o):(.data+0x15f8): undefined reference to `othUSBOn'
input/libdmxinput.a(dmxinputinit.o):(.data+0x1600): undefined reference to `usbOff'
input/libdmxinput.a(dmxinputinit.o):(.data+0x1628): undefined reference to `othUSBRead'
collect2: ld returned 1 exit status
make[3]: *** [Xdmx] Error 1 
----------------------------------------------

I've already re-merged dmxproto and libdmx followed by a revdep-rebuild but the package still refuses to build.

Portage 2.1_rc1-r1 (default-linux/amd64/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -ftracer -pipe -funroll-loops -fpeel-loops"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -ftracer -pipe -funroll-loops -fpeel-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk/"
LANG="en_GB"
LC_ALL="en_GB"
MAKEOPTS="-j2"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://alpha.tower.local/gentoo-portage"
USE="3dnowex X a52 aac alsa amd64 avi berkdb bitmap-fonts cddb cdr cli crypt cups dbus divx4linux dri dvd dvdr emboss emul-linux-x86 encode ffmpeg foomaticdb fortran freetype gif gpm gstreamer gtk gtk2 hal imlib ipv6 isdnlog jpeg lzw lzw-tiff mad mozilla mp3 mpeg ncurses nls nptl nptlonly nvidia ogg opengl pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb wxwindows xorg xorg-x11 xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-05-18 18:26:04 UTC
Please attach (not paste) a complete compilation log and reopen. You can create one by setting PORT_LOGDIR in make.conf.
Comment 2 Michael Sawczuk 2006-05-19 10:28:09 UTC
Created attachment 87067 [details]
Log created from emerging xorg-server

Here's the log as requested
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2006-05-19 10:43:37 UTC
This is how you reopen. =)
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2006-05-20 01:55:40 UTC
OK, the problem is that linux/input.h isn't found.

checking linux/input.h usability... no
checking linux/input.h presence... no
checking for linux/input.h... no

This results in the USB stuff not getting included in the DMX build.

Do you have /usr/include/linux/input.h ? Run `ls -l` on it, and attach it if it exists. Also attach config.log from the build directory. Again, please reopen when you do.
Comment 5 Michael Sawczuk 2006-05-20 05:34:19 UTC
Hi,
That file was there... no idea where it went! But I've re-merged linux-headers to restore the file and now xorg-server builds

Thanks for you help
Michael
Comment 6 Joshua Baergen (RETIRED) gentoo-dev 2006-05-22 11:35:27 UTC
Re-opening to resolve correctly.
Comment 7 Joshua Baergen (RETIRED) gentoo-dev 2006-05-22 11:36:06 UTC
Resolving invalid, since it was a installation issue.