Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127394 - xorg-server 1.0.2-r1 fails to compile (cursor.c)
Summary: xorg-server 1.0.2-r1 fails to compile (cursor.c)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-24 00:28 UTC by Alexander Jenisch
Modified: 2006-03-24 01:50 UTC (History)
0 users

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 Alexander Jenisch 2006-03-24 00:28:28 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -I../include -I../include -I../include -DHAVE_DIX_CONFIG_H -DXFree86Server -DXFree86LOADER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -I../lbx -march=athlon64 -O2 -pipe -ftracer -MT cursor.lo -MD -MP -MF .deps/cursor.Tpo -c cursor.c  -fPIC -DPIC -o .libs/cursor.o
cursor.c: In function `TestForCursorName':
cursor.c:705: warning: cast from pointer to integer of different size
cursor.c: In function `ProcXFixesChangeCursorByName':
cursor.c:721: warning: cast to pointer from integer of different size
cursor.c: In function `ProcXFixesHideCursor':
cursor.c:840: error: syntax error before '*' token
cursor.c:843: error: `xXFixesHideCursorReq' undeclared (first use in this function)
cursor.c:843: error: (Each undeclared identifier is reported only once
cursor.c:843: error: for each function it appears in.)
cursor.c:845: error: `stuff' undeclared (first use in this function)
cursor.c: In function `SProcXFixesHideCursor':
cursor.c:879: error: syntax error before '*' token
cursor.c:881: error: `stuff' undeclared (first use in this function)
cursor.c:882: error: `xXFixesHideCursorReq' undeclared (first use in this function)
cursor.c: In function `ProcXFixesShowCursor':
cursor.c:892: error: syntax error before '*' token
cursor.c:894: error: `xXFixesShowCursorReq' undeclared (first use in this function)
cursor.c:896: error: `stuff' undeclared (first use in this function)
cursor.c: In function `SProcXFixesShowCursor':
cursor.c:923: error: syntax error before '*' token
cursor.c:925: error: `stuff' undeclared (first use in this function)
cursor.c:926: error: `xXFixesShowCursorReq' undeclared (first use in this function)
make[1]: *** [cursor.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/xorg-server-1.0.2-r1/work/xorg-server-1.0.2/xfixes'
make: *** [all-recursive] Error 1

!!! ERROR: x11-base/xorg-server-1.0.2-r1 failed.
Call stack:
  ebuild.sh, line 1573:   Called dyn_compile
  ebuild.sh, line 982:   Called src_compile
  ebuild.sh, line 1288:   Called x-modular_src_compile
  x-modular.eclass, line 305:   Called x-modular_src_make

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

root@enti $ emerge --info
Portage 2.1_pre6-r6 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.4-r1, 2.6.16-nitro_git3 x86_64)
=================================================================
System uname: 2.6.16-nitro_git3 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://213.186.33.38/gentoo-distfiles/ ftp://213.186.33.37/gentoo-distfiles/ http://213.186.33.37/gentoo-distfiles/ ftp://213.186.33.38/gentoo-distfiles/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LC_ALL="en_US.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/axxo-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d alsa apache2 audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cdda crypt ctype cups curl dga dir divx4linux dlloader dri dts dvd dvdread eds emboss encode ethereal fam ffmpeg flac foomaticdb fortran freetype ftp gdbm gif gphoto2 gpm gstreamer gtk gtk2 hal icq imagemagick imap imlib ipv6 ithreads java javascript jpeg jpeg2k kde kdeenablefinal libwww lm_sensors logitech-mouse lzw lzw-tiff mad maildir matroska mikmod mime mmap mng mp3 mpeg musicbrainz mysql ncurses nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opengl oss pam pdflib perl png posix python qt quicktime rdesktop readline real rtc samba sasl sdl slp sndfile sockets spamassassin spell ssl stream svg swat tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb videos vorbis webdav wxwindows xcomposite xine xml2 xmms xosd xpm xv xvid zeroconf zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-24 00:42:27 UTC
Your version of compositeproto and fixesproto?
Comment 2 Alexander Jenisch 2006-03-24 00:50:57 UTC
*  x11-proto/compositeproto
      Latest version available: 0.3
      Latest version installed: 0.2.2
      Size of downloaded files: 108 kB
      Homepage:    http://xorg.freedesktop.org/
      Description: X.Org Composite protocol headers
      License:     compositeproto

*  x11-proto/fixesproto
      Latest version available: 4.0
      Latest version installed: 3.0.2
      Size of downloaded files: 112 kB
      Homepage:    http://xorg.freedesktop.org/
      Description: X.Org Fixes protocol headers
      License:     fixesproto

i followed the instructions from [url=https://bugs.gentoo.org/show_bug.cgi?id=127333]here[/url], or else i wouldn't be able to use any gtk+ apps.
Comment 3 Alexander Jenisch 2006-03-24 00:51:47 UTC
sorry, about the url... i just won't ever understand this bugtracking system. :)
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-24 01:50:17 UTC
You need to "unfix" that fix to move on, that was just the original workaround. The real fix is upgrading to this new xorg-server.

I've added deps on the new compositeproto and fixesproto to try to keep anyone else from hitting this.