Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144217 - media-libs/mesa-6.4.2-r2 failed to compile
Summary: media-libs/mesa-6.4.2-r2 failed to compile
Status: RESOLVED DUPLICATE of bug 133671
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-17 09:04 UTC by ivo welch
Modified: 2006-08-17 11:18 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 ivo welch 2006-08-17 09:04:04 UTC
# emerge --search opengl
*  virtual/opengl
      Latest version available: 7.0
      Latest version installed: 6.4.2-r2
      Size of files: 0 kB
      Homepage:      http://www.gentoo.org/proj/en/desktop/x/x11/
      Description:   Virtual for OpenGL implementation
      License:       GPL-2

iaw@~:0:502 root## emerge --update -p opengl

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] virtual/opengl-7.0

# emerge --unmerge opengl ... ok

# emerge opengl
...
yikes---wants to do Mesa first, and this one dies on 
c99 -ffast-math  -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DDEFAULT_DRIVER_DIR='"/usr/lib64/xorg/modules/dri"' -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER clientattrib.c -o clientattrib.o
In file included from clientattrib.c:38:
glxclient.h:59:25: GL/glxproto.h: No such file or directory
In file included from clientattrib.c:38:
glxclient.h:257: error: syntax error before "GLXContextTag"
glxclient.h:257: warning: no semicolon at end of struct or union
glxclient.h:401: error: syntax error before '}' token
clientattrib.c: In function `do_enable_disable':
...

Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17.4jul28 x86_64)
=================================================================
System uname: 2.6.17.4jul28 x86_64 AMD Athlon(tm)64 X2 Dual Core Processor  3800+
Gentoo Base System version 1.12.4
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
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-r3
sys-devel/gcc-config: 1.3.13-r3
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="-march=athlon64 -pipe -O2"
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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo ftp://ftp.gtlib.cc.gatech.edu/p ub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
LC_ALL="POSIX"
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="X aalib acpi alsa amd64 apache2 arts atlas avi berkdb bitmap-fonts blas bonobo bzip2 bzlib calendar cdr cli crypt cups curl directfb dlloader dri dv dvd dvdr eds emacs emboss encode esd f77 fbcon foomaticdb fortran ftp g77 gcj gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile ieee1394 imagemagick imlib ipv6 isdnlog java javascript jpeg kde kdeenablefinal ldap libedit libwww lm_sensors lzw lzw-tiff mbox mime motif mozilla mp3 mpeg mval mysql nas ncurses nls nptl nsplugin opengl pam pcre pdflib perl png postgres ppds pppd python qt qt3 qt4 quicktime readline reflection ruby samba scanner sdl session slang snmp soap spell spl ssl symlink tcltk tcpd tetex tidy tiff truetype truetype-fonts type1-fonts usb xinerama xml xml2 xmms xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-17 09:07:45 UTC
What exactly are you emerging? Please, post relevant output including exact ebuild name and version, virtual/opengl doesn't install anything at all.
Comment 2 ivo welch 2006-08-17 09:56:40 UTC
iaw@/usr/portage/virtual/opengl:0:522 root## emerge opengl
Calculating dependencies... done!
>>> Emerging (1 of 2) media-libs/mesa-6.4.2-r2 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking MesaLib-6.4.2.tar.bz2 ;-)
>>> Unpacking source...
>>> Unpacking MesaLib-6.4.2.tar.bz2 to /var/tmp/portage/mesa-6.4.2-r2/work
 * Applying makedepend-location.patch ...                                                                                            [ ok ]
 * Applying 6.4-dont-install-gles-headers.patch ...                                                                                  [ ok ]
 * Applying change-default-dri-driver-dir.patch ...                                                                                  [ ok ]
 * Applying 6.4-multilib-fix.patch ...                                                                                               [ ok ]
 * Applying 64bit-fix-have-dix-config.patch ...                                                                                      [ ok ]
 * Applying 64bit-fix-indirect-vertex-array.patch ...                                                                                [ ok ]
 * Applying radeon-texture-problem.patch ...                                                                                         [ ok ]
 * Removing DO_DEBUG defs in dri drivers...
 * sed for dprintf to __mesa_dprintf...
>>> Source unpacked.

snipped

-I/usr/X11R6/include -Wall -march=athlon64 -pipe -O2 -fPIC -m64 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DDEFAULT_DRIVER_DIR='"/usr/lib64/xorg/modules/dri"' -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER -DUSE_X86_64_ASM -std=c99 -ffast-math  -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DDEFAULT_DRIVER_DIR='"/usr/lib64/xorg/modules/dri"' -DXF86VIDMODE -D_REENTRANT -UIN_DRI_DRIVER clientattrib.c -o clientattrib.o
In file included from clientattrib.c:38:
glxclient.h:59:25: GL/glxproto.h: No such file or directory
In file included from clientattrib.c:38:
glxclient.h:257: error: syntax error before "GLXContextTag"
glxclient.h:257: warning: no semicolon at end of struct or union
glxclient.h:401: error: syntax error before '}' token
clientattrib.c: In function `do_enable_disable':
clientattrib.c:48: error: dereferencing pointer to incomplete type
clientattrib.c:56: error: dereferencing pointer to incomplete type
clientattrib.c:56: error: dereferencing pointer to incomplete type
clientattrib.c: In function `__indirect_glPushClientAttrib':
clientattrib.c:75: error: dereferencing pointer to incomplete type
clientattrib.c:76: error: dereferencing pointer to incomplete type
clientattrib.c:78: error: dereferencing pointer to incomplete type
clientattrib.c:84: error: dereferencing pointer to incomplete type
clientattrib.c:93: error: dereferencing pointer to incomplete type
clientattrib.c:93: error: dereferencing pointer to incomplete type
clientattrib.c: In function `__indirect_glPopClientAttrib':
clientattrib.c:101: error: dereferencing pointer to incomplete type
clientattrib.c:102: error: dereferencing pointer to incomplete type
clientattrib.c:105: error: dereferencing pointer to incomplete type
clientattrib.c:110: error: dereferencing pointer to incomplete type
clientattrib.c:122: error: dereferencing pointer to incomplete type
clientattrib.c:122: error: dereferencing pointer to incomplete type
clientattrib.c: In function `__glFreeAttributeState':
clientattrib.c:131: error: dereferencing pointer to incomplete type
clientattrib.c:132: error: dereferencing pointer to incomplete type
make[3]: *** [clientattrib.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/mesa-6.4.2-r2/work/Mesa-6.4.2/src/glx/x11'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/tmp/portage/mesa-6.4.2-r2/work/Mesa-6.4.2/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/var/tmp/portage/mesa-6.4.2-r2/work/Mesa-6.4.2'
make: *** [linux-dri-x86-64] Error 2

!!! ERROR: media-libs/mesa-6.4.2-r2 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  mesa-6.4.2-r2.ebuild, line 235:   Called die

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

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-08-17 11:18:37 UTC
(Re)emerge x11-proto/glproto;
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-08-17 11:18:52 UTC

*** This bug has been marked as a duplicate of 133671 ***