Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106303 - emerge -u xorg-x11-6.8.2-r4 build fails
Summary: emerge -u xorg-x11-6.8.2-r4 build fails
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-17 12:45 UTC by peter denisevich
Modified: 2006-03-26 12:16 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 peter denisevich 2005-09-17 12:45:51 UTC
ebuild fails with: 

i686-pc-linux-gnu-gcc -O2 -march=i686 -fomit-frame-pointer -fno-strict-aliasing
-ansi -pedantic -Wno-return-type -w    -fno-merge-constants
-I../../../../programs/Xserver/GL/glx -I../../../../programs/Xserver/GL/include
-I../../../../programs/Xserver/include -I../../../../exports/include
-I../../../../extras/Mesa/include                
-I../../../../exports/include/X11 -I../../../../programs/Xserver/mi            
    -I../../../../include/extensions -I../../../../include/fonts
-I../../../../lib/GL/include                
-I../../../../programs/Xserver/hw/xfree86  -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                    
-DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP        -DXCSECURITY -DTOGCUP  
-DXF86BIGFONT -DDPMSExtension       -DPIXPRIV -DPANORAMIX   -DRENDER -DRANDR   
   -DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE       -DGCCUSESGAS -DAVOID_GLYPHBLT
-DPIXPRIV -DSINGLEDEPTH                    -DXFreeXDGA -DXvExtension           
                    -DXFree86LOADER  -DXFree86Server  -DXF86VIDMODE            
               -DXvMCExtension                                 -DSMART_SCHEDULE
                           -DXResExtension                               
-DX_BYTE_ORDER=X_LITTLE_ENDIAN                            
-DXORG_VERSION_CURRENT="(((6) * 10000000) + ((8) * 100000) + ((2) * 1000) + 0)"
-DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO  -DIN_MODULE -DXFree86Module -DGLXEXT
-DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA    -c xfont.c
In file included from glxserver.h:61,
                 from xfont.c:38:
../../../../exports/include/GL/glxproto.h:966: error: syntax error before '?' token
../../../../exports/include/GL/glxproto.h:976: error: syntax error before '}' token
../../../../exports/include/GL/glxproto.h:976: error: ISO C forbids data
definition with no type or storage class
make[6]: *** [xfont.o] Error 1
make[6]: Leaving directory
`/var/tmp/portage/xorg-x11-6.8.2-r4/work/xc/programs/Xserver/GL/glx'
make[5]: *** [glx] Error 2
make[5]: Leaving directory
`/var/tmp/portage/xorg-x11-6.8.2-r4/work/xc/programs/Xserver/GL'
make[4]: *** [GL] Error 2
make[4]: Leaving directory
`/var/tmp/portage/xorg-x11-6.8.2-r4/work/xc/programs/Xserver'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r4/work/xc/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r4/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r4/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.8.2-r4 failed.
!!! Function build, Line 970, Exitcode 2
!!! make World failed


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

Actual Results:  
Fails as above

Expected Results:  
Build properly

dualxeon:/var$emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1,
2.6.11-gentoo-r11 i686)
=================================================================
System uname: 2.6.11-gentoo-r11 i686 Intel(R) Xeon(TM) CPU 1.60GHz
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
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.6
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"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.ccccom.com ftp://gentoo.agsn.ca/
ftp://ftp.ndlug.nd.edu/pub/gentoo/ http://mirror.datapipe.net/gentoo
http://gentoo.blueyonder.co.uk"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d alsa apm arts avi bash-completion berkdb bitmap-fonts cdr crypt
cups curl doc eds emacs emboss encode esd fam foomaticdb fortran gd gdbm gif
gimpprint gnome gpm gstreamer gtk gtk2 guile imagemagick imap imlib ipv6 java
jpeg kde ldap libg++ libwww mad mikmod motif mozilla mp3 mpeg mysql ncurses
netcdf nls nvidia ogg oggvorbis opengl oss pam pdflib perl plotutils png ppds
python qt quicktime readline samba sasl sdl spell ssl svg svga tcltk tcpd tetex
tiff truetype truetype-fonts type1-fonts usb vorbis xml xml2 xmms xprint xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

dualxeon:/var$uname -a
Linux dualxeon 2.6.11-gentoo-r11 #1 SMP Thu Jul 28 20:01:29 PDT 2005 i686 

driver: 
emerge -s nvidia
Intel(R) Xeon(TM) CPU 1.6*  media-video/nvidia-glx
      Latest version available: 1.0.6629-r6
      Latest version installed: 1.0.6629-r6
      Size of downloaded files: 16,116 kB
      Homepage:    http://www.nvidia.com/
      Description: NVIDIA X11 driver and GLX libraries
      License:     NVIDIA

*  media-video/nvidia-kernel
      Latest version available: 1.0.6629-r4
      Latest version installed: 1.0.6629-r4
      Size of downloaded files: 16,116 kB
      Homepage:    http://www.nvidia.com/
      Description: Linux kernel module for the NVIDIA X11 driver
      License:     NVIDIA

*  media-video/nvidia-settings
      Latest version available: 1.0.6629
      Latest version installed: 1.0.6629
      Size of downloaded files: 798 kB
      Homepage:    http://www.nvidia.com/
      Description: NVIDIA Linux X11 Settings Utility
      License:     GPL-2
0GHz GenuineIntel GNU/Linux


  sys-devel/gcc
      Latest version available: 3.3.6
      Latest version installed: 3.3.6
      Size of downloaded files: 24,332 kB
      Homepage:    http://www.gnu.org/software/gcc/gcc.html
      Description: The GNU Compiler Collection. Includes C/C++, java compilers,
pie+ssp extensions, Haj Ten Brugge runtime bounds checking
      License:     GPL-2 LGPL-2.1
Comment 1 Joshua Baergen (RETIRED) gentoo-dev 2005-09-17 14:40:37 UTC
Try this:

opengl-update xorg-x11 && emerge -u xorg-x11 && opengl-update nvidia
Comment 2 peter denisevich 2005-09-17 19:50:13 UTC
(In reply to comment #1)

That works fine.  Thank you very much.  I'll let you change the status as
appropriate.  Thanks again.

Comment 3 Joshua Baergen (RETIRED) gentoo-dev 2005-09-17 20:07:46 UTC
You're welcome :) Sometimes those drivers don't play nice with some compiles. 
I'm really not sure if it's fixable or not...

I will move this bug to x11-drivers so they can have a final look before closing.
Comment 4 andy 2005-11-15 18:09:35 UTC
I also has the same situation. So I tried the suggestion "opengl-update xorg-x11
&& emerge -u xorg-x11 && opengl-update nvidia". However the opgengl-update
prompted me that xorg-x11 is a "unrecognized option". Is it may opengl-update
version is defferent from yours, so will have this problem. My opengl-update is
2.2.1
Comment 5 Joshua Baergen (RETIRED) gentoo-dev 2005-11-22 18:25:06 UTC
Did you build xorg-x11 with USE="opengl"?
Comment 6 Henti Smith 2006-03-16 05:36:56 UTC
Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.is.co.za/linux/distributions/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa apache2 avi berkdb bitmap-fonts bzip2 crypt cups curl dri dts dvd dvdread eds emboss encode expat foomaticdb fortran gif gmp gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde lcms live lzw lzw-tiff matroska mng mp3 mpeg ncurses nls nptl oggvorbis opengl pam pcre pdflib perl png python qt quicktime readline real sdl spell ssl tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev usb userlocales xanim xml2 xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 7 Joshua Baergen (RETIRED) gentoo-dev 2006-03-26 12:16:33 UTC
Resolving NEEDINFO per comment #5.