Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123834 - eselect-opengl handles multilib incorrectly, breaking xorg-server
Summary: eselect-opengl handles multilib incorrectly, breaking xorg-server
Status: RESOLVED DUPLICATE of bug 109922
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: Highest normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-23 10:08 UTC by Milan Plzik
Modified: 2006-03-03 08:08 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 Milan Plzik 2006-02-23 10:08:08 UTC
When emerging xorg-server-1.0.1-r4, following compilation error happens (when compiling GL/glx/glxcmds.c):


x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../include -I../../include -I../../include -I../../GL/include -I../../hw/xfree86/os-support -DHAVE_DIX_CONFIG_H -I/var/tmp/portage/xorg-server-1.0.1-r4/work/Mesa-6.4.2/include -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-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../../mi -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr -I../../fb -I../../lbx -O3 -pipe -fomit-frame-pointer -march=k8 -mtune=k8 -MT glxcmds.lo -MD -MP -MF .deps/glxcmds.Tpo -c glxcmds.c  -fPIC -DPIC -o .libs/glxcmds.o

glxcmds.c: In function `__glXBindSwapBarrierSGIX':
glxcmds.c:1749: warning: cast to pointer from integer of different size
glxcmds.c: In function `__glxQueryHyperpipeNetworkSGIX':
glxcmds.c:1796: error: `xGLXQueryHyperpipeNetworkSGIXReq' undeclared (first use in this function)
glxcmds.c:1796: error: (Each undeclared identifier is reported only once
glxcmds.c:1796: error: for each function it appears in.)
glxcmds.c:1796: error: `req' undeclared (first use in this function)
glxcmds.c:1796: error: syntax error before ')' token
glxcmds.c:1797: error: `xGLXQueryHyperpipeNetworkSGIXReply' undeclared (first use in this function)
glxcmds.c:1812: error: `reply' undeclared (first use in this function)
glxcmds.c:1825: error: `sz_xGLXQueryHyperpipeNetworkSGIXReply' undeclared (first use in this function)
glxcmds.c: In function `__glxDestroyHyperpipeConfigSGIX':
glxcmds.c:1836: error: `xGLXDestroyHyperpipeConfigSGIXReq' undeclared (first use in this function)
glxcmds.c:1836: error: `req' undeclared (first use in this function)
glxcmds.c:1837: error: syntax error before ')' token
glxcmds.c:1838: error: `xGLXDestroyHyperpipeConfigSGIXReply' undeclared (first use in this function)
glxcmds.c:1851: error: `reply' undeclared (first use in this function)
glxcmds.c:1863: error: `sz_xGLXDestroyHyperpipeConfigSGIXReply' undeclared (first use in this function)
glxcmds.c: In function `__glxQueryHyperpipeConfigSGIX':
glxcmds.c:1871: error: `xGLXQueryHyperpipeConfigSGIXReq' undeclared (first use in this function)
glxcmds.c:1871: error: `req' undeclared (first use in this function)
glxcmds.c:1872: error: syntax error before ')' token
glxcmds.c:1873: error: `xGLXQueryHyperpipeConfigSGIXReply' undeclared (first use in this function)
glxcmds.c:1889: error: `reply' undeclared (first use in this function)
glxcmds.c:1904: error: `sz_xGLXQueryHyperpipeConfigSGIXReply' undeclared (first use in this function)
glxcmds.c: In function `__glxHyperpipeConfigSGIX':
glxcmds.c:1915: error: `xGLXHyperpipeConfigSGIXReq' undeclared (first use in this function)
glxcmds.c:1915: error: `req' undeclared (first use in this function)
glxcmds.c:1916: error: syntax error before ')' token
glxcmds.c:1917: error: `xGLXHyperpipeConfigSGIXReply' undeclared (first use in this function)
glxcmds.c:1935: error: `reply' undeclared (first use in this function)
glxcmds.c:1949: error: `sz_xGLXHyperpipeConfigSGIXReply' undeclared (first use in this function)
make[2]: *** [glxcmds.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../include -I../../include -I../../include -I../../GL/include -I../../hw/xfree86/os-support -DHAVE_DIX_CONFIG_H -I/var/tmp/portage/xorg-server-1.0.1-r4/work/Mesa-6.4.2/include -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-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../../mi -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr -I../../fb -I../../lbx -O3 -pipe -fomit-frame-pointer -march=k8 -mtune=k8 -MT glxcmdsswap.lo -MD -MP -MF .deps/glxcmdsswap.Tpo -c glxcmdsswap.c  -fPIC -DPIC -o .libs/glxcmdsswap.o
make[2]: Leaving directory `/var/tmp/portage/xorg-server-1.0.1-r4/work/xorg-server-1.0.1/GL/glx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xorg-server-1.0.1-r4/work/xorg-server-1.0.1/GL'
make: *** [all-recursive] Error 1

!!! ERROR: x11-base/xorg-server-1.0.1-r4 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile




Portage 2.1_pre4-r1 (default-linux/amd64/2005.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.13-gentoo x86_64)
=================================================================
System uname: 2.6.13-gentoo x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -fomit-frame-pointer -march=k8 -mtune=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib64/mozilla/defaults/pref /usr/share/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="-O3 -pipe -fomit-frame-pointer -march=k8 -mtune=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo"
LINGUAS="us de cs sk ru jp"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/webcore /usr/local/portage/gplflash2"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib accessibility acl acpi aim alsa apache2 avi bash-completion bcmath berkdb bitmap-fonts bluetooth bonobo bzlib calendar caps cdr clibpdf crypt cscope ctype cups curl curlwrappers dba dbus dbx dga dio directfb doc dri dvd dvdr dvdread
eds emboss encode esd ethereal evo fbcon fftw flac flash foomaticdb fortran ftp gb gcj gd gdbm ggi gif ginac glitz gmp gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml iconv icq imagemagick imap imlib innodb ipv6 jabber java jikes joystick jpeg
junit ladcca lcms ldap libg++ libgda libwww lzw lzw-tiff mad maildir mbox mcal mhash mikmod mikmodmime ming mmap mng mozilla mp3 mpeg mpi mysql nas ncurses nis nls nptl ogg openal opengl oscar oss pam pcmcia pcntl pcre pda pdflib perl php plotutils png pnp portaudio posix postgres ppds python qt quicktime readline recode ruby samba scanner sdl session shared sharedmem slang slp sndfile snmp soap sockets sox speex spell spl sqlite ssl svg sysvipc szip tcltk tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts trusted type1-fonts unicode usb userlocales vhosts videos wifi wmf xface xine xinerama xml2 xmlrpc xmms xosd
xpm xprint xsl xv xvid zeo zlib elibc_glibc kernel_linux linguas_us linguas_de linguas_cs linguas_sk linguas_ru linguas_jp userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS
Comment 1 Milan Plzik 2006-02-23 10:34:36 UTC
update: looks like the problem is partially on shoulders of eselect-opengl - 
it makes symlinks for incorrect header files (some from /usr/lib32/opengl/include
instead of /usr/lib64/opengl/include) - these files are different and the version 
from lib64 contains desired definitions.
Comment 2 Herbie Hopkins (RETIRED) gentoo-dev 2006-03-03 08:08:43 UTC

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