Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mesa/eselect-mesa/ GL headers bug
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
asmer
n00b
n00b


Joined: 30 May 2008
Posts: 8

PostPosted: Wed Nov 16, 2016 11:42 pm    Post subject: mesa/eselect-mesa/ GL headers bug Reply with quote

Hello everyone.

I've 8+ years gentoo installation on my laptop, which I had sometimes update, almost with success. But this days I've got next issue: well compiled mesa,
but can't compile mesa dependent like xorg-server and mesa-progs. Looks like mesa-progs and xorg-server can't find required headers.

Hardware: core 2 duo, i965 (GMA 3100),

kernel configured as described on intel guide (https://wiki.gentoo.org/wiki/Intel), i've tried both 4.4 and 3.18 kernels

mesa versions: 10.3.7, 12.0.1, 11.0.6, 11.2.2
mesa USE flags: from "classic debug nptl udev" up to "classic debug nptl udev gallium dri3 egl gles1 gles2 llvm osmesa vaapi wayland" and other
VIDEO_CARDS="intel i965". Also tried with i915, no luck too

eselects:
Code:

eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *
Code:

eselect mesa list
64bit i915 (Intel 915, 945)
  [1]   classic *
64bit i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
  [1]   classic *
64bit r300 (Radeon R300-R500)
64bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
64bit sw (Software renderer)
  [1]   classic *
32bit i915 (Intel 915, 945)
  [1]   classic *
32bit i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
  [1]   classic *
32bit r300 (Radeon R300-R500)
32bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
32bit sw (Software renderer)
  [1]   classic *


mesa-progs build log:

http://pastebin.com/MdEeLK23

xorg-server build log:
http://markup.asmer.fe2.a-level.com.ua/build.log
Code:

emerge --info mesa-progs
Portage 2.3.0 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.23-r3, 3.18.25-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.25-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7250_@_2.00GHz-with-gentoo-2.2
KiB Mem:     2047540 total,   1283712 free
KiB Swap:    2923824 total,   2881332 free
Timestamp of repository gentoo: Wed, 16 Nov 2016 17:30:01 +0000
sh bash 4.3_p48
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p48::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21.7::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.5-r2::gentoo, 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

lorelei
    location: /var/lib/layman/lorelei
    masters: gentoo
    priority: 0
    aliases: lorelei-overlay

zugaina
    location: /var/lib/layman/zugaina
    masters: gentoo
    priority: 1

lisp
    location: /var/lib/layman/archimag-lisp
    masters: gentoo
    priority: 2

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 3

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=core2 -msse3"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 apache2 bash-completion battery berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups curl curlwrappers cvidix cxx dbus djvu dri dri2 dri3 dts dvd dvdnav dvdr dvdread emacs embedded-x86_64 emboss encode eselect exif fam ffmpeg firefox flac fortran ftp gallium gd gdbm gif git glamor gnokii gnutls gpm gs iconv icu ieee1394 ipv6 java jpeg jpeg2k lcms libnotify logitech-mouse mad mmx mmxext mng modules mozdevelop mp3 mp4 mpeg mysql ncurses nls nptl ogg opengl pam pango pcmcia pcre pdf pdo php png policykit postscript ppds python qt qt3 qt3support qt4 qvfb raw rdesktop readline sdl seccomp session simplexml soap sound spell sse sse2 ssl ssse3 startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower usb v4l v4l2 vcd vim-pager vim-syntax vim-with-x vorbis wifi win32codecs wxwidgets x264 xattr xcb xcomposite xine xinerama xml xorg xscreensaver xv xvid zlib zsh-completion" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel i965 i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.3"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

x11-apps/mesa-progs-8.0.1::gentoo was built with the following:
USE="" ABI_X86="64"


emerge -e world, depclean, revdep-rebuild, emerge @preserved-rebuild and other magic done too, so system looks like up to date.

wtf and how to fix this. And/or what I've forgot?

Thanks

[Moderator edit: added [code] tags to preserve output layout. -Hu]
_________________
with best regards
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7048
Location: almost Mile High in the USA

PostPosted: Thu Nov 17, 2016 1:55 am    Post subject: Reply with quote

Which version of media-libs/mesa and media-libs/glew do you have installed at the moment?

BTW if you have a real G965 chipset graphics, it's a GMA X3000 variant, a bit more powerful than the GMA 3100.
My Core2Duo/G965 machine is using glew-1.10.0-r2 and mesa-12.0.1 right now.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
asmer
n00b
n00b


Joined: 30 May 2008
Posts: 8

PostPosted: Thu Nov 17, 2016 3:32 pm    Post subject: Reply with quote

eccerr0r wrote:
Which version of media-libs/mesa and media-libs/glew do you have installed at the moment?

BTW if you have a real G965 chipset graphics, it's a GMA X3000 variant, a bit more powerful than the GMA 3100.
My Core2Duo/G965 machine is using glew-1.10.0-r2 and mesa-12.0.1 right now.



same:
mesa-12.0.1 and glew-1.10.0-r2. Please show yours eselects and USE flags
_________________
with best regards
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7048
Location: almost Mile High in the USA

PostPosted: Thu Nov 17, 2016 5:11 pm    Post subject: Reply with quote

mesa:
Code:
+gles+abi_x86_32 -bindist +classic +d3d9 -debug +dri3 +egl +gallium +gbm -gles1 +gles2 +llvm +nptl -opencl -openmax -osmesa -pax_kernel -pic +udev +vaapi -valgrind +vdpau +video_cards_i915 +video_cards_i965 -video_cards_ilo +video_cards_intel -video_cards_nouveau -video_cards_r100 -video_cards_r200 -video_cards_r300 -video_cards_r600 -video_cards_radeon -video_cards_radeonsi -video_cards_vmware -wayland +xa +xvmc


xorg-server:
Code:
+ude-dmx -doc +glamor +ipv6 +kdrive -minimal -static-libs +suid +systemd -tslib +udev -unwind -wayland -xephyr -xnest +xorg -xvfb


eselect mesa:
Code:
ouka ~ $ eselect mesa list
64bit i915 (Intel 915, 945)
  [1]   classic *
  [2]   gallium
64bit i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
  [1]   classic *
64bit r300 (Radeon R300-R500)
64bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
64bit sw (Software renderer)
  [1]   classic
  [2]   gallium *
32bit i915 (Intel 915, 945)
  [1]   classic *
  [2]   gallium
32bit i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
  [1]   classic *
32bit r300 (Radeon R300-R500)
32bit r600 (Radeon R600-R700, Evergreen, Northern Islands)
32bit sw (Software renderer)
  [1]   classic
  [2]   gallium *


GL extensions header from mesa:
Code:
ouka ~ $ ls -l /usr/include/GL/glext.h
-rw-r--r-- 1 root root 801304 Oct 26 23:46 /usr/include/GL/glext.h

_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum