Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 599712 - x11-base/xorg-server-1.18.4 can't find mesa-12.0.1 glx
Summary: x11-base/xorg-server-1.18.4 can't find mesa-12.0.1 glx
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-14 16:28 UTC by Ivan
Modified: 2017-01-29 07:47 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 Ivan 2016-11-14 16:28:08 UTC
trying to update system on i965 (3100).

and got 

/var/tmp/portage/x11-base/xorg-server-1.18.4/work/xorg-server-1.18.4/glx/indirect_dispatch_swap.c:84:8: error: unknown type name ‘GLsync’
 static GLsync
        ^
/var/tmp/portage/x11-base/xorg-server-1.18.4/work/xorg-server-1.18.4/glx/indirect_dispatch_swap.c: In function ‘bswap_CARD64’:
/var/tmp/portage/x11-base/xorg-server-1.18.4/work/xorg-server-1.18.4/glx/indirect_dispatch_swap.c:89:9: error: unknown type name ‘GLsync’
         GLsync ret;

and so many other errors looks like xorg configure can't find mesa GL.


Reproducible: Always

Steps to Reproduce:
1. eix-sync
2. emerge -uNDv world

Actual Results:  
tried:

kernel 4.4 and 3.18.25
mesa versions
xorg versions
some other use flags

no luck

Expected Results:  
running xorg server

core 2 duo + intel gma3100 (i965)
Comment 1 Ivan 2016-11-14 16:31:01 UTC
# emerge --info
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 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,    509552 free
KiB Swap:    2923824 total,   2895836 free
Timestamp of repository gentoo: Sun, 13 Nov 2016 18:00: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.9.6-r3::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.5.4::gentoo, 4.6.3::gentoo, 4.7.3-r1::gentoo, 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: 3.18::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.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/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" 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
Comment 2 Ivan 2016-11-14 16:40:12 UTC
[I] media-libs/mesa
     Available versions:  [M]~7.0.2[1] 10.3.7-r1^d 11.0.6^d ~11.0.9^d ~11.1.4^d 11.2.2^d 12.0.1^d ~12.0.3^d ~13.0.0^d **9999^d {bindist +classic d3d9 debug doc +dri3 +egl +gallium +gbm gcrypt gles1 gles2 libressl +llvm motif nettle (+)nptl opencl openmax +openssl openvg osmesa pax_kernel pic selinux +udev vaapi valgrind vdpau wayland xa xcb xvmc ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" KERNEL="FreeBSD linux" VIDEO_CARDS="freedreno i810 i915 i965 ilo intel mach64 mga none nouveau r100 r128 r200 r300 r600 radeon radeonsi s3virge savage sis sunffb tdfx trident vc4 via vmware"}
     Installed versions:  12.0.1^d(03:42:07 11/14/16)(classic debug dri3 egl gallium gbm gles1 gles2 llvm nptl osmesa udev vaapi wayland xa xvmc -bindist -d3d9 -opencl -openmax -pax_kernel -pic -selinux -valgrind -vdpau ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32" KERNEL="-FreeBSD" VIDEO_CARDS="i965 intel -freedreno -i915 -ilo -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi -vc4 -vmware")
     Homepage:            http://mesa3d.sourceforge.net/
     Description:         OpenGL-like graphic library for Linux

iridium ~ # eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *

iridium ~ # eselect mesa list
64bit i915 (Intel 915, 945)
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)
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

XORG uses that fails:

# emerge -av xorg-server


Calculating dependencies... done!
[ebuild  N     ] x11-base/xorg-server-1.18.4:0/1.18.4::gentoo  USE="glamor ipv6 suid udev wayland xorg xvfb -dmx -doc -kdrive (-libressl) -minimal (-selinux) -static-libs -systemd -tslib -unwind -xephyr -xnest" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

xorg build log

http://pastebin.com/d6C7J9TN
Comment 3 Ivan 2016-11-14 16:56:05 UTC
http://markup.asmer.fe2.a-level.com.ua/build.log - xorg-1.18.4 full buildlog. can't be uploaded as attachment due size limitations.
Comment 4 Matt Turner gentoo-dev 2017-01-29 07:47:10 UTC
Weird... can you still reproduce this?