Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178706 - x11-base/xorg-server-1.2.0-r3 doesn't build
Summary: x11-base/xorg-server-1.2.0-r3 doesn't build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://ita.cizmar.org/tmp/build.log
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-16 01:58 UTC by Petr Cizmar
Modified: 2007-05-16 13:07 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 Petr Cizmar 2007-05-16 01:58:42 UTC
The topmost error it says is:
dri.c:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DRIDRMServerInfo'

Reproducible: Always

Steps to Reproduce:
1. emerge xorg-server
2.
3.




 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I../../../inclu
de -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I.
./../../hw/xfree86/common -I../../../hw/xfree86/os-support -I../../../hw/xfree86/os-support/bus -I../
../../GL/glx -I../../../GL/include -I../../../GL/include -I/var/tmp/portage/x11-base/xorg-server-1.2.
0-r3/work/Mesa-6.5.2/include -DHAVE_XORG_CONFIG_H -I/usr/include/X11/dri -I/usr/include/drm -Wall -Wp
ointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-st
rict-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../../../m
i -I../../../miext/shadow -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb -O
2 -march=pentium-m -msse3 -fomit-frame-pointer -pipe -I/usr/include -MT libdri_la-dri.lo -MD -MP -MF 
.deps/libdri_la-dri.Tpo -c dri.c  -fPIC -DPIC -o .libs/libdri_la-dri.o
dri.c:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DRIDRMServerInfo'
dri.c:594: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'DRIDRMServerInfo'
dri.c: In function 'drmSIGIOHandler':
dri.c:2118: error: 'drmHashEntry' undeclared (first use in this function)
dri.c:2118: error: (Each undeclared identifier is reported only once
dri.c:2118: error: for each function it appears in.)
dri.c:2118: error: 'entry' undeclared (first use in this function)
dri.c:2121: warning: implicit declaration of function 'drmGetHashTable'
dri.c:2121: warning: nested extern declaration of 'drmGetHashTable'
dri.c:2121: warning: assignment makes pointer from integer without a cast
dri.c: In function 'drmInstallSIGIOHandler':
dri.c:2156: error: 'drmHashEntry' undeclared (first use in this function)
dri.c:2156: error: 'entry' undeclared (first use in this function)
dri.c:2158: warning: implicit declaration of function 'drmGetEntry'
dri.c:2158: warning: nested extern declaration of 'drmGetEntry'
dri.c: In function 'drmRemoveSIGIOHandler':
dri.c:2166: error: 'drmHashEntry' undeclared (first use in this function)
dri.c:2166: error: 'entry' undeclared (first use in this function)
make[4]: *** [libdri_la-dri.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.2.0-r3/work/xorg-server-1.2.0/hw/
xfree86/dri'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.2.0-r3/work/xorg-server-1.2.0/hw/
xfree86'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.2.0-r3/work/xorg-server-1.2.0/hw/
xfree86'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.2.0-r3/work/xorg-server-1.2.0/hw'
make: *** [all-recursive] Error 1

!!! ERROR: x11-base/xorg-server-1.2.0-r3 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3965:   Called src_compile
  ebuild.sh, line 1304:   Called x-modular_src_compile
  x-modular.eclass, line 342:   Called x-modular_src_make
  x-modular.eclass, line 337:   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-base/xorg-server-1.2.0-r3/temp/build.log
'.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-16 06:38:52 UTC
You have some cruft in /usr/local, wipe it...

*** This bug has been marked as a duplicate of bug 174672 ***
Comment 2 Petr Cizmar 2007-05-16 11:53:29 UTC
I believe that it's not a duplicate of the bug #174672. See the complete build.log at:
http://ita.cizmar.org/tmp/build.log


output of the emerge --info:

Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r2, 2.6.21.1 i686)
=================================================================
System uname: 2.6.21.1 i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 16 May 2007 00:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -msse3 -fomit-frame-pointer -pipe -I/usr/include"
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/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -msse3 -fomit-frame-pointer -pipe -I/usr/include"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo "
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/portage /usr/portage/local/layman/sunrise /usr/portage/local/layman/nx"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi alsa berkdb bitmap-fonts bzip2 cli cracklib crypt cups dbus dri encode fftw flac fortran gdbm glut gpm gs iconv ipv6 isdnlog jpeg jpeg2k libg++ midi mmx mmxext mp3 ncurses network nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python quicktime readline real reflection rtc sdl session spell spl sqlite sse sse2 ssl tcpd theora tiff timidity truetype truetype-fonts type1-fonts unicode v4l v4l2 vorbis wmf x264 x86 xml xorg xvid zlib" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Comment 3 Petr Cizmar 2007-05-16 11:56:54 UTC
Also, the same happens to at least one more gentoo user.