Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540664 - x11-drivers/xf86-video-mga-1.6.3 USE=dri with x11-base/xorg-server-1.17.* - .../work/xf86-video-mga-1.6.3/src/mga_dri.c:1168:18: error: 'DRIWrappedFuncsRec' has no member named 'ValidateTree'
Summary: x11-drivers/xf86-video-mga-1.6.3 USE=dri with x11-base/xorg-server-1.17.* - ....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matt Turner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-19 14:15 UTC by Phil Stracchino (Unix Ronin)
Modified: 2015-02-20 19:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,17.22 KB, text/plain)
2015-02-19 14:17 UTC, Phil Stracchino (Unix Ronin)
Details
environment (environment,119.94 KB, text/plain)
2015-02-19 14:18 UTC, Phil Stracchino (Unix Ronin)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Stracchino (Unix Ronin) 2015-02-19 14:15:12 UTC
Summary pretty much says it all.  x11-drivers/xf86-video-mga-1.6.3 compiles fine against x11-base/xorg-server-1.16.4, and compiles against 1.1.7.* with USE=-dri, but fails if USE=dri is enabled:

/var/tmp/portage/x11-drivers/xf86-video-mga-1.6.3/work/xf86-video-mga-1.6.3/src/mga_dri.c: In function 'MGADRIScreenInit':
/var/tmp/portage/x11-drivers/xf86-video-mga-1.6.3/work/xf86-video-mga-1.6.3/src/mga_dri.c:1168:18: error: 'DRIWrappedFuncsRec' has no member named 'ValidateTree'
    pDRIInfo->wrap.ValidateTree = NULL;
                  ^
/var/tmp/portage/x11-drivers/xf86-video-mga-1.6.3/work/xf86-video-mga-1.6.3/src/mga_dri.c:1169:18: error: 'DRIWrappedFuncsRec' has no member named 'PostValidateTree'
    pDRIInfo->wrap.PostValidateTree = NULL;


Reproducible: Always




Portage 2.2.17 (python 3.3.5-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.19.0-gentoo-minbar x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.19.0-gentoo-minbar-x86_64-Intel-R-_Xeon-R-_CPU_E5620_@_2.40GHz-with-gentoo-2.2
KiB Mem:    24632948 total,  22302144 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 19 Feb 2015 07:00:01 +0000
sh bash 4.3_p33-r1
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p33-r1::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.1-r4::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/cmake:           2.8.12.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.9::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.13.4::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.4::gentoo
sys-devel/make:           4.0-r1::gentoo
sys-kernel/linux-headers: 3.16::gentoo (virtual/os-headers)
sys-libs/glibc:           2.19-r1::gentoo
Repositories:

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

farmboy0
    location: /var/lib/layman/farmboy0
    sync-type: laymansync
    sync-uri: https://github.com/farmboy0/portage-overlay.git
    masters: gentoo
    priority: 50

mysql
    location: /var/lib/layman/mysql
    sync-type: laymansync
    sync-uri: git://git.overlays.gentoo.org/proj/mysql.git
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    sync-type: laymansync
    sync-uri: git://git.overlays.gentoo.org/proj/x11
    masters: gentoo
    priority: 50

alaric
    location: /var/lib/layman/alaric
    sync-type: rsync
    sync-uri: rsync://babylon5/dev-alaric
    masters: gentoo
    priority: 60

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -mfpmath=sse -mcx16 -mpopcnt"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -mfpmath=sse -mcx16 -mpopcnt"
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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo                 ftp://mirror.iawnet.sandia.gov/pub/gentoo                 http://gentoo.cites.uiuc.edu/pub/gentoo                 http://gentoo.chem.wisc.edu/gentoo                 http://gentoo.osuosl.org                 http://www.gtlib.gatech.edu/pub/gentoo                 ftp://mirrors.rit.edu/gentoo                 http://mirrors.cs.wmich.edu/gentoo                 "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j16"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="acl aes amd64 bash-completion berkdb bzip2 cdda cddb cli cracklib crypt cxx dri fltk fortran gdbm iconv id3tag imagemagick ipv6 jpeg2k kde libav mmx mmxext modules multilib mysql ncurses nls nptl nsplugin openmp opus pam pcre readline session speex sse sse2 sse4 sse4_1 sse4_2 ssl tcpd theora threads tk tools unicode utils v4l v4l2 vdpau vorbis x264 xpm zlib" 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="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 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="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 keyboard mouse" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="mga" 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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

x11-drivers/xf86-video-mga-1.6.3::gentoo was built with the following:
USE="dri" ABI_X86="64"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,lazy"


minbar:root:~:19 # emerge -pqv '=x11-drivers/xf86-video-mga-1.6.3::gentoo'
[ebuild   R   ] x11-drivers/xf86-video-mga-1.6.3  USE="dri"
Comment 1 Phil Stracchino (Unix Ronin) 2015-02-19 14:17:17 UTC
Created attachment 396952 [details]
build.log

Build log for x11-drivers/xf86-video-mga-1.6.3[dri]
Comment 2 Phil Stracchino (Unix Ronin) 2015-02-19 14:18:00 UTC
Created attachment 396954 [details]
environment

Environment file for x11-drivers/xf86-video-mga-1.6.3[dri]
Comment 3 Matt Turner gentoo-dev 2015-02-19 19:48:59 UTC
This is fixed by the upstream commit http://cgit.freedesktop.org/xorg/driver/xf86-video-mga/commit/?id=cf46b1017a2663c59f07abd417573b9580f0145f which doesn't appear in any release.

I'll do a release today and push it into gentoo.
Comment 4 Matt Turner gentoo-dev 2015-02-20 19:01:17 UTC
I've added 1.6.4 to the tree which builds against 1.17.