checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g++ static flag -static works... yes checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking dependency style of i686-pc-linux-gnu-gcc... (cached) gcc3 checking for cpp... /usr/bin/cpp checking if /usr/bin/cpp requires -undef... yes checking if /usr/bin/cpp requires -traditional... yes checking if XINERAMA is defined... yes checking if RANDR is defined... yes checking if RENDER is defined... yes checking if XV is defined... yes checking if XF86MISC is defined... yes checking if DPMSExtension is defined... yes checking for i686-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for XORG... yes checking for ANSI C header files... (cached) yes checking for /usr/include/xorg/dri.h... yes checking for /usr/include/xorg/sarea.h... yes checking for /usr/include/xorg/dristruct.h... yes checking whether to include DRI support... yes checking for DRI... yes checking for /usr/share/sgml/X11/defs.ent... no checking for linuxdoc... no checking for ps2pdf... /usr/bin/ps2pdf checking Whether to build documentation... no checking Whether to build pdf documentation... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands make all-recursive make[1]: Entering directory `/var/tmp/portage/x11-drivers/xf86-video-sis-0.9.4/work/xf86-video-sis-0.9.4' Making all in src make[2]: Entering directory `/var/tmp/portage/x11-drivers/xf86-video-sis-0.9.4/work/xf86-video-sis-0.9.4/src' /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -O2 -march=pentium2 -fomit-frame-pointer -pipe -MT init301.lo -MD -MP -MF .deps/init301.Tpo -c -o init301.lo init301.c /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -O2 -march=pentium2 -fomit-frame-pointer -pipe -MT init.lo -MD -MP -MF .deps/init.Tpo -c -o init.lo init.c mkdir .libs i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -O2 -march=pentium2 -fomit-frame-pointer -pipe -MT init301.lo -MD -MP -MF .deps/init301.Tpo -c init301.c -fPIC -DPIC -o .libs/init301.o i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/xorg -I/usr/include/drm -I/usr/include/X11/dri -O2 -march=pentium2 -fomit-frame-pointer -pipe -MT init.lo -MD -MP -MF .deps/init.Tpo -c init.c -fPIC -DPIC -o .libs/init.o In file included from init.h:60, from init.c:63: sis.h:183:23: error: GL/glxint.h: No such file or directory In file included from init301.h:60, from init301.c:76: sis.h:183:23: error: GL/glxint.h: No such file or directory distcc[18957] ERROR: compile init301.c on server failed make[2]: *** [init301.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... distcc[19001] ERROR: compile init.c on gcomputer failed make[2]: *** [init.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-sis-0.9.4/work/xf86-video-sis-0.9.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-sis-0.9.4/work/xf86-video-sis-0.9.4' make: *** [all] Error 2 * * ERROR: x11-drivers/xf86-video-sis-0.9.4 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2942: Called x-modular_src_compile * environment, line 3727: Called x-modular_src_make * environment, line 3763: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * 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-drivers/xf86-video-sis-0.9.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-video-sis-0.9.4/temp/environment'. *
I have Mesa-6.5.2-r1 installed. Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 Pentium II (Deschutes) Timestamp of tree: Thu, 21 Aug 2008 15:06:27 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.2.11 dev-lang/python: 2.4.2, 2.5.2-r6 dev-python/pycrypto: 2.0.1-r5 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 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.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/lib/mozilla/defaults/pref /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distcc distlocks metadata-transfer sandbox sfperms unmerge-orphans userfetch" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib acpi alsa artworkextra asf avi bash-completion bindist bzip2 cdda cddb cdparanoia cdr cle266 crypt cups dbus dga directfb divx4linux dri dv dvd dvdread fbcon ffmpeg firefox flac font-server foomaticdb freetype ggi gif gimp gnome gnome-print gpm gtk gtk2 hal imlib imlib2 insecure-drivers jack javascript jpeg kerberos krb4 libcaca lzo mad matroska matrox mmx mng motif mouse mozilla mp3 mpeg mpeg2 mpeg4 mplayer ncurses nls nntp nptl nsplugin ogg oggvorbis opengl oss pam png ppds pulseaudio python quicktime rar rdesktop readline real reiserfs rtc samba sblive scanner scp screen sdl spell ssl svga szip tcltk tga theora tiff truetype truetype-fonts unicode usb utf8 vcd vidix vorbis win32codecs wxwindows x264 x86 xanim xine xorg xosd xpm xprint xscreensaver xv xvid xvmc 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="vesa vga nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Looks like it ought to depend on x11-proto/glproto.
Created attachment 166584 [details] fixed xf86-video-sis-0.9.4.ebuild with glproto dependency xf86-video-sis-0.9.4.ebuild
I can confirm that when x11-proto/glproto is installed this works, so it really looks only like a dependency glitch. Attaching proposed updated .ebuild file please integrate this, verify and mark as fixed.
Hum, the package's configure doesn't check for the right headers: PKG_CHECK_MODULES should be extended to also check for "glproto". Thanks
0.10.2 is now in portage. The bug should be gone there. Thanks