<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - xf86-video-intel xwayland branch fails to build"
href="https://bugs.freedesktop.org/show_bug.cgi?id=74165">74165</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>xf86-video-intel xwayland branch fails to build
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>xorg-team@lists.x.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>blocker
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>aaronbpaden@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>XWayland
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr></table>
<p>
<div>
<pre>I get the following errors building in jhbuild:
sna_display.c: In function 'sna_mode_disable_shadow':
sna_display.c:850:2: warning: passing argument 1 of 'DamageUnregister' from
incompatible pointer type [enabled by default]
DamageUnregister(&sna->front->drawable, sna->mode.shadow_damage);
^
In file included from /opt/jhbuild-gnome/include/xorg/pixmapstr.h:53:0,
from /opt/jhbuild-gnome/include/xorg/xf86str.h:40,
from /opt/jhbuild-gnome/include/xorg/xf86.h:44,
from /opt/jhbuild-gnome/include/xorg/xf86i2c.h:9,
from /opt/jhbuild-gnome/include/xorg/xf86DDC.h:16,
from sna_display.c:46:
/opt/jhbuild-gnome/include/xorg/damage.h:77:2: note: expected 'DamagePtr' but
argument is of type 'struct DrawableRec *'
DamageUnregister(DamagePtr pDamage);
^
sna_display.c:850:2: error: too many arguments to function 'DamageUnregister'
DamageUnregister(&sna->front->drawable, sna->mode.shadow_damage);
^
In file included from /opt/jhbuild-gnome/include/xorg/pixmapstr.h:53:0,
from /opt/jhbuild-gnome/include/xorg/xf86str.h:40,
from /opt/jhbuild-gnome/include/xorg/xf86.h:44,
from /opt/jhbuild-gnome/include/xorg/xf86i2c.h:9,
from /opt/jhbuild-gnome/include/xorg/xf86DDC.h:16,
from sna_display.c:46:
/opt/jhbuild-gnome/include/xorg/damage.h:77:2: note: declared here
DamageUnregister(DamagePtr pDamage);
^
Makefile:585: recipe for target 'sna_display.lo' failed
make[4]: *** [sna_display.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
sna_accel.c: In function 'sna_poly_zero_line_blt':
sna_accel.c:7629:11: warning: variable 'intersects' set but not used
[-Wunused-but-set-variable]
bool intersects;
^
sna_accel.c:7528:7: warning: variable 'degenerate' set but not used
[-Wunused-but-set-variable]
bool degenerate = true;
^
sna_accel.c: In function 'migrate_dirty_tracking':
sna_accel.c:15226:3: warning: passing argument 1 of 'DamageUnregister' from
incompatible pointer type [enabled by default]
DamageUnregister(&dirty->src->drawable, dirty->damage);
^
In file included from /opt/jhbuild-gnome/include/xorg/pixmapstr.h:53:0,
from /opt/jhbuild-gnome/include/xorg/xf86str.h:40,
from /opt/jhbuild-gnome/include/xorg/xf86.h:44,
from ../../src/intel_options.h:4,
from sna_accel.c:32:
/opt/jhbuild-gnome/include/xorg/damage.h:77:2: note: expected 'DamagePtr' but
argument is of type 'struct DrawableRec *'
DamageUnregister(DamagePtr pDamage);
^
sna_accel.c:15226:3: error: too many arguments to function 'DamageUnregister'
DamageUnregister(&dirty->src->drawable, dirty->damage);
^
In file included from /opt/jhbuild-gnome/include/xorg/pixmapstr.h:53:0,
from /opt/jhbuild-gnome/include/xorg/xf86str.h:40,
from /opt/jhbuild-gnome/include/xorg/xf86.h:44,
from ../../src/intel_options.h:4,
from sna_accel.c:32:
/opt/jhbuild-gnome/include/xorg/damage.h:77:2: note: declared here
DamageUnregister(DamagePtr pDamage);
^
I wasn't sure if it was more appropriate to report this for xwayland or xorg,
but this is my best guess.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>