Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138465 - xterm-212-r3 fails to compile
Summary: xterm-212-r3 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Emanuele Giaquinta (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-29 05:25 UTC by Alfonso
Modified: 2006-06-30 06:52 UTC (History)
1 user (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 Alfonso 2006-06-29 05:25:27 UTC
I have tried to emerge xterm-212-r3, with this error:

/usr/include/X11/CompositeP.h:65: error: error sint
Comment 1 Alfonso 2006-06-29 05:25:27 UTC
I have tried to emerge xterm-212-r3, with this error:

/usr/include/X11/CompositeP.h:65: error: error sintáctico antes de "XtOrderProc"
/usr/include/X11/CompositeP.h:70: error: error sintáctico antes de "CompositePar t"
In file included from /usr/include/X11/IntrinsicP.h:201,
                 from ./ptyx.h:67,
                 from ./xterm.h:274,
                 from ./button.c:63:
/usr/include/X11/ConstrainP.h:61: error: error sintáctico antes de "CompositePar t"
/usr/include/X11/ConstrainP.h:63: error: error sintáctico antes del elemento '}'
make: *** [button.o] Error 1

!!! ERROR: x11-terms/xterm-212-r3 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  xterm-212-r3.ebuild, line 83:   Called die


EMERGE --INFO:

Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.15
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
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="-O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.club-internet.fr/pub/mirrors/gentoo http://linuv.uv.es/mirror/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="es"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib alsa arts avi berkdb bitmap-fonts cdparanoia cli crypt cups dbus dga divx4linux doc dri dts dvb dvd dvdread eds emboss encode esd fbcon foomaticdb fortran ggi gif gnome gpm gstreamer gtk gtk2 hal howl imlib ipv6 isdnlog jack jpeg libcaca live lzo lzw lzw-tiff mad matroska mono mp3 mpeg nas ncurses nls nptl nvidia opengl oss pam pcre pdflib perl png ppds pppd python qt3 qt4 quicktime readline reflection rtc samba sdl session spell spl ssl tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 xanim xinerama xmms xorg xpm xv xvid xvmc zlib elibc_glibc kernel_linux linguas_es userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Peter Weller (RETIRED) gentoo-dev 2006-06-29 05:29:36 UTC
I doubt THAT many of the devs can read whatever language that error is in... o.O
Comment 3 Alfonso 2006-06-29 08:11:56 UTC
In case there is a problem with that lines in Spanish:

"error sint
Comment 4 Alfonso 2006-06-29 08:11:56 UTC
In case there is a problem with that lines in Spanish:

"error sintáctico antes de" = syntactic error before ...
"error sintáctico antes del elemento" = syntactic error before the element...
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2006-06-29 10:02:11 UTC
do you perchance have libXt installed?  if not, can you install it and then retry?
Comment 6 Emanuele Giaquinta (RETIRED) gentoo-dev 2006-06-29 10:04:13 UTC
and please use LC_ALL=C.
Comment 7 Alfonso 2006-06-29 17:03:53 UTC
(In reply to comment #3)
> do you perchance have libXt installed?  if not, can you install it and then
> retry?
> 

libXt is masked in amd64, but I will try with it...
Comment 8 Alfonso 2006-06-29 17:14:14 UTC
and find a lot of blocks with xorg-x11-6.9 trying to install libXt. Should I upgrade to masked xorg-7.0 or 7.1?
Comment 9 Seemant Kulleen (RETIRED) gentoo-dev 2006-06-29 17:27:05 UTC
oh wait, you're running monolithic X?
Comment 10 Alfonso 2006-06-29 17:33:23 UTC
(In reply to comment #7)
> oh wait, you're running monolithic X?
> 

I'm not shure, how can I test it?
Comment 11 Seemant Kulleen (RETIRED) gentoo-dev 2006-06-29 17:37:54 UTC
do you have xorg-server installed or xorg-x11?
Comment 12 Alfonso 2006-06-29 17:52:28 UTC
(In reply to comment #9)
> do you have xorg-server installed or xorg-x11?
> 

I have xorg-x11, xorg-server is also masked for my amd64 
Comment 13 Emanuele Giaquinta (RETIRED) gentoo-dev 2006-06-30 03:10:32 UTC
Can you re-emerge using LC_ALL=C and repost the error?
Comment 14 Alfonso 2006-06-30 04:46:21 UTC
I think I have where could be the problem. Sorry I didn't post the full error. By the way, this is part of the output emerging with LC_ALL=C (with this option the output is in spanish too, should I change any other language variables?).

En el fichero inclu��do de (in the file included from) /usr/include/X11/IntrinsicP.h:54,
                 de ./ptyx.h:67,
                 de ./xterm.h:274,
                 de ./button.c:63:
/usr/include/X11/Intrinsic.h:174:27: X11/Composite.h: No existe el fichero o el directorio (The file or directory doesn't exist)
In file included from /usr/include/X11/IntrinsicP.h:200,
                 from ./ptyx.h:67,
                 from ./xterm.h:274,
                 from ./button.c:63:
/usr/include/X11/CompositeP.h:65: error: error sint��ctico antes de "XtOrderProc" (syntactic error previous to)
/usr/include/X11/CompositeP.h:70: error: error sint��ctico antes de "CompositePart" (syntactic error previous to)
In file included from /usr/include/X11/IntrinsicP.h:201,
                 from ./ptyx.h:67,
                 from ./xterm.h:274,
                 from ./button.c:63:


May be this problem is caused because I don't have this header, Composite.h in /usr/include/X11. In fact, I'm also unable to emerge xscreensaver due to this file missing. Plese, do you know what package is needed for this header? Should I reemerge x11-xorg?

Thank you.
Comment 15 Alfonso 2006-06-30 04:54:18 UTC
Finally, the complete error in english:

In file included from /usr/include/X11/IntrinsicP.h:54,
                 from ./ptyx.h:67,
                 from ./xterm.h:274,
                 from ./button.c:63:
/usr/include/X11/Intrinsic.h:174:27: X11/Composite.h: No such file or directory
In file included from /usr/include/X11/IntrinsicP.h:200,
                 from ./ptyx.h:67,
                 from ./xterm.h:274,
                 from ./button.c:63:
/usr/include/X11/CompositeP.h:65: error: syntax error before "XtOrderProc"
/usr/include/X11/CompositeP.h:70: error: syntax error before "CompositePart"
In file included from /usr/include/X11/IntrinsicP.h:201,
                 from ./ptyx.h:67,
                 from ./xterm.h:274,
                 from ./button.c:63:
/usr/include/X11/ConstrainP.h:61: error: syntax error before "CompositePart"
/usr/include/X11/ConstrainP.h:63: error: syntax error before '}' token
make: *** [button.o] Error 1

!!! ERROR: x11-terms/xterm-215 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  xterm-215.ebuild, line 75:   Called die

!!! failed to compile xterm
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 16 Seemant Kulleen (RETIRED) gentoo-dev 2006-06-30 05:08:08 UTC
Alfonso,

Before you recompile X today, maybe wait a little while, because a little birdy told me recently that xorg-server (the modular xorg) is hitting stable today (it even may have already, if you emerge --sync).  Be sure to check the modular X upgrading guide on http://docs.gentoo.org though
Comment 17 Alfonso 2006-06-30 06:52:43 UTC
(In reply to comment #14)
> Alfonso,
> 
> Before you recompile X today, maybe wait a little while, because a little birdy
> told me recently that xorg-server (the modular xorg) is hitting stable today
> (it even may have already, if you emerge --sync).  Be sure to check the modular
> X upgrading guide on http://docs.gentoo.org though
> 

Thank you from the advice, Seemant, I'll wait for that xorg-xserver then. Thanks.