Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 506126 - x11-drivers/xf86-video-intel-2.20.13: sna_display.c build error: too many arguments to function 'DamageUnregister'
Summary: x11-drivers/xf86-video-intel-2.20.13: sna_display.c build error: too many arg...
Status: RESOLVED DUPLICATE of bug 496682
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-29 05:02 UTC by Jimmy C. Chau
Modified: 2014-05-22 08:31 UTC (History)
1 user (show)

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


Attachments
build log (xf86-video-intel.log,45.79 KB, application/octet-stream)
2014-03-29 05:03 UTC, Jimmy C. Chau
Details
Backported patch (xf86-video-intel-2.20.13-handle-updates-to-DamageUnregister-API.patch,574 bytes, patch)
2014-04-15 14:18 UTC, Wiktor Garbacz
Details | Diff
Ebuild diff (xf86-video-intel-2.20.13.ebuild.patch,315 bytes, patch)
2014-04-15 14:19 UTC, Wiktor Garbacz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jimmy C. Chau 2014-03-29 05:02:23 UTC
After upgrading from x11-base/xorg-server-1.14.3-r2 to xorg-server-1.15.0, I was prompted to "emerge @x11-module-rebuild" for an ABI change.  Emerging x11-drivers/xf86-video-intel-2.20.13 fails with an error in sna_display.c:723:2:

error: too many arguments to function 'DamageUnregister'

Reproducible: Always

Steps to Reproduce:
1. Upgrade to xorg-server-1.15.0
2. emerge -av1 x11-drivers/xf86-video-intel
Actual Results:  
Build fails with the "too many arguments to function 'DamageUnregister'" error.

Expected Results:  
Re-emerging xf86-video-intel succeeds.

For now, X will not start because an ABI mismatch.  

This bug appears similar to bug #496682.  

emerge --info x11-drivers/xf86-video-intel

Portage 2.2.8-r1 (hardened/linux/amd64/selinux, gcc-4.7.3, glibc-2.17, 3.13.2-hardened-r3-2014Mar23 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.13.2-hardened-r3-2014Mar23-x86_64-Intel-R-_Core-TM-2_Duo_CPU_U9400_@_1.40GHz-with-gentoo-2.2
KiB Mem:     8059048 total,   6808740 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of tree: Sat, 29 Mar 2014 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r3, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA @BINARY-REDISTRIBUTABLE AdobeFlash-11.x Google-TOS PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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="-march=core2 -O2 -pipe -msse4.1"
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 selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.netnitco.net 	http://gentoo.mirrors.tds.net/gentoo 	http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ 	http://distfiles.gentoo.org 	http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC=""
USE="X aac alsa amd64 berkdb bluetooth bzip2 cairo caps cjk cli consolekit cracklib crypt cups cxx dbus dri dvd exif ffmpeg flac gdbm gnutls gstreamer hal hardened iconv ipv6 jpeg justify laptop lcms libnotify mmx modules mp3 multilib ncurses nls nptl ogg open_perms opengl openmp pam pax_kernel pcre png ppds readline sdl selinux session spell sse sse2 ssl ssse3 system-sqlite tcpd theora threads truetype unicode urandom v4l vaapi vorbis vpx x264 xinerama xmp xtpax xv xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel usb-audio" 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" 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" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby20 ruby19" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

x11-drivers/xf86-video-intel-2.20.13 was built with the following:
USE="dri (selinux) sna udev xvmc -glamor -uxa" ABI_X86="64"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,lazy"
Comment 1 Jimmy C. Chau 2014-03-29 05:03:46 UTC
Created attachment 373790 [details]
build log

This is the build log of xf86-video-intel-2.20.13 showing the error
Comment 2 Rafał Mużyło 2014-03-29 13:58:26 UTC

*** This bug has been marked as a duplicate of bug 496682 ***
Comment 3 Wiktor Garbacz 2014-04-15 14:18:22 UTC
Created attachment 374998 [details, diff]
Backported patch

Bug still present.
Patch is only applied to 2.21.15, which is unusable for me (and probably other people) as of #486952.
Attached backported patch.
Comment 4 Wiktor Garbacz 2014-04-15 14:19:08 UTC
Created attachment 375000 [details, diff]
Ebuild diff
Comment 5 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-05-22 08:31:28 UTC
(In reply to Wiktor Garbacz from comment #3 and comment #4)

This bug is a duplicate of bug #496682; if you haven't already done so, please comment and attach new information there instead of here. Thank you in advance.