Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100513 - xorg-x11 dies: StrToOrnt.c:123: error: `XPointev' undeclared
Summary: xorg-x11 dies: StrToOrnt.c:123: error: `XPointev' undeclared
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-27 14:01 UTC by Ivan Piazza
Modified: 2005-10-07 10:26 UTC (History)
0 users

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


Attachments
This file contains the everything of the output of emergeing phase including gcc and make commands. (2339-xorg-x11-6.8.2-r2.log.gz,338.31 KB, text/plain)
2005-07-27 15:18 UTC, Ivan Piazza
Details
Sorry for previous attachment. I made a mistake: it's a gzip file of a plain text. (2339-xorg-x11-6.8.2-r2.log.gz,338.31 KB, application/octet-stream)
2005-07-28 02:53 UTC, Ivan Piazza
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Piazza 2005-07-27 14:01:41 UTC
During compiling phase a I get following error:
+++++++++++++++++++++
StrToOrnt.c: In function `XmuCvtOrientationToString':
StrToOrnt.c:123: error: `XPointev' undeclared (first use in this function)
StrToOrnt.c:123: error: (Each undeclared identifier is reported only once
StrToOrnt.c:123: error: for each function it appears in.)
StrToOrnt.c:123: error: syntax error before "buffer"
make[4]: *** [StrToOrnt.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc/lib/Xmu'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc'
make: *** [World] Error 2
++++++++++++++++++++++++
It happens every time I try to emerge xorg.


Reproducible: Always
Steps to Reproduce:
1.emerge xorg-x11
2.
3.

Actual Results:  
I got compiling crash followed by the nice usual message:
!!! ERROR: x11-base/xorg-x11-6.8.2-r2 failed.
!!! Function build, Line 974, Exitcode 2
!!! make World failed

I post only that because I've already posted the topmost build error in the
above form.

Expected Results:  
It should install itself without errors.

emerge --info --verbose xorg-x11
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE=""
ARCH="x86"
AUTOCLEAN="yes"
BASH_ENV="/etc/spork/is/not/valid/profile.env"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -m3dnow -msse -mmmx -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CLEAN_DELAY="5"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CVS_RSH="ssh"
CXXFLAGS="-O2 -march=athlon-xp -pipe -m3dnow -msse -mmmx -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_WARNING_DELAY="10"
FEATURES="autoconfig distlocks sandbox sfperms strict"
FETCHCOMMAND="/usr/bin/axel -a -S10 ${URI} -o ${DISTDIR}"
GCC_SPECS=""
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
http://gentoo.mirror.solnet.ch
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
http://pandemonium.tiscali.de/pub/gentoo/"
GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb ncurses"
HOME="/root"
HOSTNAME="lana"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.15.92.0.2/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/info"
KERNEL="linux"
LESS="-R"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="root"
MAIL="/var/mail/root"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.15.92.0.2/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5-20050130/man"
OLDPWD="/root"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3.5-20050130"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos ppc-od
s390 sh sparc x86 x86-fbsd x86-obsd x86-od"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="6030"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORT_LOGDIR="/var/tmp/portage/log"
PRELINK_PATH=""
PRELINK_PATH_MASK=""
PWD="/var/tmp/portage/log"
PYTHONDOCS="/usr/share/doc/python-docs-2.3.5/html"
PYTHONPATH="/usr/lib/portage/pym"
RESUMECOMMAND="/usr/bin/axel -a -S10 ${URI} -o ${DISTDIR}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="1"
RSYNC_TIMEOUT="5"
SHELL="/bin/bash"
SHLVL="1"
SSH_AUTH_SOCK="/tmp/ssh-PaRFSf5984/agent.5984"
SSH_CLIENT="1.17.168.82 1108 22"
SSH_CONNECTION="1.17.168.82 1108 1.17.168.81 22"
SSH_TTY="/dev/pts/0"
SYNC="rsync://rsync1.it.gentoo.org/gentoo-portage"
USE="x86 3dnow X acpi alsa apm arts audiofile authdaemond authfile avalon avi
bash-completion bcmath bdf berkdb bitmap-fonts bl blender-game bluetooth bmp
browserplugin bzip2 c++ cdb cdda cddb cdf cdio cdparanoia cdr cdrom cg chroot
cle266 cpudetection cracklib crypt cscope css csv ctype cups custom-cflags dbcp
dio directfb divx4linux djbfft dnsdb doc dts dv dvb dvd dvdr dvdread dxr3 ecc
edl encode erandom esd examples exif fat fbcon fbsplash ffmpeg fftw flac flash
fltk fluidsynth fmod font-server foomaticdb fortran fping fpx freetype ftp
ftruncate gd gdbm ggi gif gimp gimpprint gnome gphoto2 gpm gstreamer gtk gtk2
hardened hardenedphp hpn id3 imap imlib ipv6 java javacomm javascript jp2 jpeg
jpeg2k ladcca lame lcms ldap libcaca libg++ libwww lzo lzw mad mhash mikmod ming
mjpeg mmap mng mod motif mp3 mp4live mpeg mpeg2 mpeg4 mpi mplayer msn mythtv nas
ncurses nls nocardbus nptl numarray numeric nvidia ogg oggvorbis openal opengl
openntpd openssh openssl osc oscache oss pam pango parse-clocks pcre pdflib perl
php player png portaudio posix profile python quicktime rar readline real recode
reiserfs rtc samba sasl screen sdl sftp sftplogging sharedmem shorten slp
sndfile snmp sockets socks5 sox speex spell spl ssl startup-notification stream
svg svga tcltk tcpd theora threads tiff tokenizer transcode truetype
truetype-fonts type1-fonts ucs2 unichrome unicode usb uudeview v4l v4l2 vcd
vidix vim-pager vnc vorbis win32codecs wmf wxwindows xine xml xml2 xmms xpm
xscreensaver xv xvid xvmc yv12 zeo zlib userland_GNU kernel_linux elibc_glibc"
USER="root"
USERLAND="GNU"
USE_EXPAND="FRITZCAPI_CARDS FCDSL_CARDS VIDEO_CARDS INPUT_DEVICES LINGUAS
USERLAND KERNEL ELIBC"
XARGS="xargs -r"
_="/usr/bin/emerge"
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2005-07-27 14:12:01 UTC
Can you paste up everything including the last gcc command? Also, this is
reproduceable at the same place, right?
Comment 2 Ivan Piazza 2005-07-27 15:18:31 UTC
Created attachment 64460 [details]
This file contains the everything of the output of emergeing phase including gcc and make commands.
Comment 3 Ivan Piazza 2005-07-28 02:53:26 UTC
Created attachment 64507 [details]
Sorry for previous attachment. I made a mistake: it's a gzip file of a plain text.
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2005-07-28 09:15:10 UTC
i686-pc-linux-gnu-gcc -c -ansi -pedantic -Wno-return-type -w    -I../..
-I../../exports/include   -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L         
     -D_POSIX_SOURCE -D_XOPEN_SOURCE                          -D_BSD_SOURCE
-D_SVID_SOURCE                            -D_GNU_SOURCE                        
   -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API   
-DHAS_SNPRINTF   -O2 -march=athlon-xp -pipe -fomit-frame-pointer
-fno-strict-aliasing StrToOrnt.c -o unshared/StrToOrnt.o
StrToOrnt.c: In function `XmuCvtOrientationToString':
StrToOrnt.c:123: error: `XPointev' undeclared (first use in this function)
StrToOrnt.c:123: error: (Each undeclared identifier is reported only once
StrToOrnt.c:123: error: for each function it appears in.)
StrToOrnt.c:123: error: syntax error before "buffer"
Comment 5 Joshua Baergen (RETIRED) gentoo-dev 2005-07-29 17:08:00 UTC
I looked at this file and I have (XPointer) spelt correctly.  I'm not quite sure
how the spelling is changing to (XPointev).  I grepped and found no reference to it.
Comment 6 Ivan Piazza 2005-07-31 14:44:19 UTC
It seems there's no way to compile my xorg. Can I post any other information to
help you finding out the reason of that spelling change?
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2005-07-31 20:39:30 UTC
(In reply to comment #6)
> It seems there's no way to compile my xorg. Can I post any other information to
> help you finding out the reason of that spelling change?

Do you apply any custom patches or have an xorg-x11 ebuild in your overlay?
Comment 8 Ivan Piazza 2005-08-01 13:49:17 UTC
No Donnie, I've finished installing gentoo from step 1 and now I'm trying to
emerge xorg-x11 for the first time(without success :-()
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2005-08-01 13:56:22 UTC
OK...
Run this for me: grep PATCH_VER
/usr/portage/x11-base/xorg-x11/xorg-x11-6.8.2-r2.ebuild
Comment 10 Ivan Piazza 2005-08-02 05:47:20 UTC
Ok. Following the output of command you asked to me...

PATCH_VER="0.1.9"
X_PATCHES="http://dev.gentoo.org/~spyderous/${PN}/patchsets/${PV}/${P}-patches-${PATCH_VER}.tar.bz2
	http://dev.gentoo.org/~cyfred/distfiles/${P}-patches-${PATCH_VER}.tar.bz2
	mirror://gentoo/${P}-patches-${PATCH_VER}.tar.bz2"
		unpack ${P}-patches-${PATCH_VER}.tar.bz2 > /dev/null
		echo "#define XVendorString \"Gentoo (The X.Org Foundation ${PV}, revision
${PR}-${PATCH_VER})\"" 
Comment 11 Donnie Berkholz (RETIRED) gentoo-dev 2005-08-02 09:49:14 UTC
(In reply to comment #10)
> PATCH_VER="0.1.9"

That's the most current patchset, so I'm really not understanding where this
typo comes from.
Comment 12 Ivan Piazza 2005-08-03 01:35:09 UTC
Sorry Donnie, I made another mistake. I gave you a different grep output(from my
laptop instead of from my desktop which I'm trying to install). I'll post the
grep you wrote me to do this evening.
Sorry again.
Comment 13 Ivan Piazza 2005-08-04 01:31:59 UTC
The PATCH_VER variable is set to "0.1.9" as well. Can I do any other tests to
give you further information about that problem?
Comment 14 Ivan Piazza 2005-08-04 09:49:06 UTC
The PATCH_VER variable is set to "0.1.9" as well. Can I do any other tests to
give you further information about that problem?
Comment 15 Adam Jackson 2005-09-27 15:31:39 UTC
bogon when uncompressing X, most likely.

sudo rm -f /usr/portage/distfiles/xorg-x11*

and try emerging again.
Comment 16 Donnie Berkholz (RETIRED) gentoo-dev 2005-10-07 10:26:04 UTC
Please reopen when you've tested comment #15.