FS#49610 - freerdp update breaks remmina RDP support

Attached to Project: Arch Linux
Opened by Steven Noonan (neunon) - Tuesday, 07 June 2016, 20:20 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 07 June 2016, 22:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I don't see a category for "Packages: Community", so I'm assuming Extra is the right place to cut this ticket?

I did a pacman upgrade today, and freerdp was upgraded:

[2016-06-07 01:30] [ALPM] upgraded freerdp (1:1.2.0_20160107-6 -> 1:1.2.0_20160606-1)

Unfortunately Remmina no longer recognizes that RDP support is available. My best guess is that this is the reason:

$ strings /usr/lib/remmina/plugins/remmina-plugin-rdp.so | grep libfreerdp
libfreerdp.so.2.0
libfreerdp-client.so.2.0
[...]

The freerdp package doesn't provide the 'libfreerdp{,-client}.so.2.0' links:

$ pacman -Ql freerdp | grep libfreerdp
freerdp /usr/lib/libfreerdp-client.so
freerdp /usr/lib/libfreerdp-client.so.2
freerdp /usr/lib/libfreerdp-client.so.2.0.0
freerdp /usr/lib/libfreerdp.so
freerdp /usr/lib/libfreerdp.so.2
freerdp /usr/lib/libfreerdp.so.2.0.0

Presumably remmina just needs to be rebuilt so that remmina-plugin-rdp.so looks for the right libraries. But remmina doesn't appear to build at the moment for some reason:

[ 54%] Building C object remmina/CMakeFiles/remmina.dir/src/remmina.c.o
In file included from /tmp/remmina/src/Remmina-1.2.0.rcgit.12/remmina/src/remmina.c:36:0:
/usr/include/gtk-3.0/gdk/gdkx.h:37:34: fatal error: gdk/x11/gdkx11device.h: No such file or directory
#include <gdk/x11/gdkx11device.h>
^

The header it's looking for definitely isn't there (did it go away in GTK 3.20?):

$ ls -cahl /usr/include/gtk-3.0/gdk/x11/gdkx11device*
-rw-r--r-- 1 root root 1.8K May 25 00:21 /usr/include/gtk-3.0/gdk/x11/gdkx11device-core.h
-rw-r--r-- 1 root root 1.9K May 25 00:21 /usr/include/gtk-3.0/gdk/x11/gdkx11devicemanager-core.h
-rw-r--r-- 1 root root 1.3K May 25 00:21 /usr/include/gtk-3.0/gdk/x11/gdkx11devicemanager.h
-rw-r--r-- 1 root root 1.9K May 25 00:21 /usr/include/gtk-3.0/gdk/x11/gdkx11devicemanager-xi2.h
-rw-r--r-- 1 root root 1.7K May 25 00:21 /usr/include/gtk-3.0/gdk/x11/gdkx11device-xi2.h

This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 07 June 2016, 22:23 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#49596   FS#49598 
Comment by Steven Noonan (neunon) - Tuesday, 07 June 2016, 20:23 GMT
Oh, weird. I just noticed that it was a header provided by 'gtk3' that is failing to include gdkx11device.h. So somehow the GTK package is broken?
Comment by Steven Noonan (neunon) - Tuesday, 07 June 2016, 20:25 GMT
Okay, so gdkx11device.h was missing on filesystem but reported as installed by pacman. Reinstalling gtk3 fixed that, so remmina builds now. I can confirm that rebuilding remmina will resolve the original issue.

Loading...