Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Compile error in xf86-video-intel, from Bugzilla – Bug 84901
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message

Joined: 16 Nov 2011
Posts: 36

PostPosted: Sun Feb 15, 2015 9:03 pm    Post subject: Compile error in xf86-video-intel, from Bugzilla – Bug 84901 Reply with quote

Trying to update my world set, I run into a strange build error when building xf86-video-intel. More details below, but the gist of it is

libtool: compile:  x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-drivers/xf86-video-intel-2.21.15/work/xf86-video-intel-2.21.15/src/sna/fb -I../../.. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -fvisibility=hidden -I/usr/include/xorg -I/usr/include/X11/dri -I/usr/include/libdrm -I/usr/include/pixman-1 -Wno-cast-qual -Wno-redundant-decls -Wno-maybe-uninitialized -O2 -march=native -pipe -c /var/tmp/portage/x11-drivers/xf86-video-intel-2.21.15/work/xf86-video-intel-2.21.15/src/sna/fb/fbglyph.c  -fPIC -DPIC -o .libs/libfb_la-fbglyph.o
/var/tmp/portage/x11-drivers/xf86-video-intel-2.21.15/work/xf86-video-intel-2.21.15/src/sna/fb/fbcopy.c: In function 'sfbCopyPlane':
/var/tmp/portage/x11-drivers/xf86-video-intel-2.21.15/work/xf86-video-intel-2.21.15/src/sna/fb/fbcopy.c:224:7: error: too many arguments to function 'miHandleExposures'
In file included from /var/tmp/portage/x11-drivers/xf86-video-intel-2.21.15/work/xf86-video-intel-2.21.15/src/sna/fb/fbcopy.c:27:0:
/usr/include/xorg/mi.h:224:28: note: declared here
 extern _X_EXPORT RegionPtr miHandleExposures(DrawablePtr /*pSrcDrawable */ ,
Makefile:515: recipe for target 'libfb_la-fbcopy.lo' failed

This is suspiciously close to, a bug that was closed 3 months ago.
So why am I running into it now?

Perhaps something's wrong in my particular system, well, more wrong then usual during an update. So here are the usual details:

# emerge -pqv '=x11-drivers/xf86-video-intel-2.21.15::gentoo'
[ebuild   R   ] x11-drivers/xf86-video-intel-2.21.15  USE="dri sna udev -glamor -uxa -xvmc"


Portage 2.2.14 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.3, glibc-2.19-r1, 3.7.9-gentoo x86_64)
                         System Settings
System uname: Linux-3.7.9-gentoo-x86_64-Intel-R-_Core-TM-_i7-2620M_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:     8061568 total,    886704 free
KiB Swap:    9437180 total,   9377736 free
Timestamp of tree: Sun, 15 Feb 2015 10:45:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.9
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.12.6, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.7.3-r1, 4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.4
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo x-portage
CFLAGS="-O2 -march=native -pipe"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
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"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5 -l5"
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"
USE="X a52 aac acl acpi afs alsa amd64 avahi bash-completion berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt ctype cups cxx dbus declarative divx djvu dri dts dvd dvdr emboss encode enscript esd exif fam firefox flac fortran gdbm gif glamor gpm gsl iconv icu id3 imagemagick ipv6 jpeg jpeg2000 kde kerberos kipi lame latex lcms ldap mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds pulseaudio python qt3support qt4 readline realmedia sdl semantic-desktop session smp sound spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb v41 v412 video vnc vorbis wicd wifi wmp wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zeroconf 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="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="aes avx 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="keyboad mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en he" 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="intel vesa fbdev" 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"

                        Package Settings

x11-drivers/xf86-video-intel-2.21.15 was built with the following:
USE="dri sna udev -glamor -uxa -xvmc" ABI_X86="64"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,lazy"

Any ideas what's going on, how to investigate further, or even resolve this?

Last edited by aharel on Mon Feb 16, 2015 9:31 am; edited 1 time in total
Back to top
View user's profile Send private message
Ant P.

Joined: 18 Apr 2009
Posts: 6563

PostPosted: Sun Feb 15, 2015 10:27 pm    Post subject: Reply with quote

/usr/include/xorg/mi.h comes from xorg-server; have you updated that recently? The intel driver may have been declared stable prematurely.
Back to top
View user's profile Send private message

Joined: 16 Nov 2011
Posts: 36

PostPosted: Mon Feb 16, 2015 7:27 am    Post subject: recent xorg-server update Reply with quote

Hi Ant,

Yes. As part of the world update, I upgraded to x11-base/xorg-server-1.17.1 just before this showed up.
I found the commit that resolved this upstream:

So the problem is that the default x11-drivers/xf86-video-intel package, version 2.21.15, is incompatible
with xorg-server versions >1.16.99. And apparently, portage doesn't know about this.

So what would be a quick solution?
I unmasked xf86-video-intel-2.99.917 and installed it. This seems to resolve the issue for now.

Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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