Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489982 - net-misc/tigervnc-1.3.0 - (EE) Failed to load /usr/lib64/xorg/modules/extensions/libvnc.so: /usr/lib64/xorg/modules/extensions/libvnc.so: undefined symbol: key_is_down
Summary: net-misc/tigervnc-1.3.0 - (EE) Failed to load /usr/lib64/xorg/modules/extensi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Raúl Porcel (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-10-31 16:05 UTC by Simone Scanzoni
Modified: 2014-03-17 19:50 UTC (History)
1 user (show)

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


Attachments
040_key_is_down.patch (040_key_is_down.patch,1.63 KB, patch)
2013-10-31 16:05 UTC, Simone Scanzoni
Details | Diff
patch for xorg-server to export missing key_is_down for tigervnc (tigervnc.patch,426 bytes, patch)
2014-01-11 17:36 UTC, MA
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simone Scanzoni 2013-10-31 16:05:01 UTC
Created attachment 362368 [details, diff]
040_key_is_down.patch

TigerVNC 1.3.0 builds but X fails to load the vnc module complaining of a missing symbol.
This can be fixed with the patch attached.
Comment 1 Agostino Sarubbo gentoo-dev 2013-10-31 17:17:42 UTC
Please post the details of the issue.
Comment 2 Simone Scanzoni 2013-10-31 17:57:06 UTC
Xorg.0.log without patch:

[ 24423.832] (II) LoadModule: "vnc"
[ 24423.833] (II) Loading /usr/lib64/xorg/modules/extensions/libvnc.so
[ 24423.847] (EE) Failed to load /usr/lib64/xorg/modules/extensions/libvnc.so: /usr/lib64/xorg/modules/extensions/libvnc.so: undefined symbol: key_is_down
[ 24423.847] (II) UnloadModule: "vnc"
[ 24423.847] (II) Unloading vnc
[ 24423.847] (EE) Failed to load module "vnc" (loader failed, 7)


Xorg.0.log with patch:

[  3354.885] (II) LoadModule: "vnc"
[  3354.886] (II) Loading /usr/lib64/xorg/modules/extensions/libvnc.so
[  3354.933] (II) Module vnc: vendor="Constantin Kaplinsky"
[  3354.933]    compiled for 1.14.3, module version = 1.0.0
[  3354.933]    Module class: X.Org Server Extension
[  3354.933]    ABI class: X.Org Server Extension, version 7.0
[  3354.933] Loading extension VNC


I don't know what else to post.
Thanks!
Comment 3 Johan Ymerson 2013-12-13 10:34:14 UTC
Patch is working perfectly here, thanks.
Any chance on getting a tigervnc-1.3.0-r1 out with this patch included soon?
Comment 4 MA 2014-01-11 16:47:01 UTC
i have the same issue and imho the patch shouldn't be used

take a look at the discussion about this bug here:

https://bugzilla.redhat.com/show_bug.cgi?id=1016152

it seems xorg-server needs a patch
Comment 5 MA 2014-01-11 16:56:26 UTC
as described here the patch breaks keyboard handling

http://sourceforge.net/mailarchive/message.php?msg_id=31504295
Comment 6 MA 2014-01-11 17:36:55 UTC
Created attachment 367654 [details, diff]
patch for xorg-server to export missing key_is_down for tigervnc

this patch for xorg-server works fine to fix the issue without breaking keyboard of tigervnc
Comment 7 Simone Scanzoni 2014-01-11 17:41:27 UTC
I've been using the VNC module with the key_is_down patch almost everyday for more than 2 months and never had a problem.
I'm using a standard PS/2 Italian keyboard with Dvorak layout and a keyboard shortcut to switch between that and the QWERTY layout.
What should be broken?

However your fix seems much cleaner, I'll try it, thanks!
Comment 8 MA 2014-01-11 18:14:30 UTC
check out the link from #comment 5

i don't know exactly what is broken, but according to the discussion of the tigervnc-devs key_is_down is required so i would recommend to use the patch i provided as we can be sure it breaks nothing.
Comment 9 Scott Alfter 2014-01-22 17:51:17 UTC
(In reply to MA from comment #6)
> Created attachment 367654 [details, diff] [details, diff]
> patch for xorg-server to export missing key_is_down for tigervnc

This patch worked for me.
Comment 10 satmd 2014-02-01 11:08:32 UTC
I've just run into this issue and applying the patch to tigervnc fixed it for me.
Comment 11 Raúl Porcel (RETIRED) gentoo-dev 2014-02-01 18:18:19 UTC
So...from what i've read the patch needs to be on xorg-server and not in tigervnc...did i got it correctly?
Comment 12 MA 2014-02-02 09:59:33 UTC
yes, that's correct!

my patch for xorg-server exports the missing symbol 'key_is_down' that is required in order to compile tigervnc

the patch by simone that patches tigervnc and 'works' should not be used as it may break things according to tigervnc devs.
Comment 13 Simone Scanzoni 2014-03-17 19:50:42 UTC
I tried to rebuild xorg-server-1.15 and tigervnc-1.3.0-r1 today and the problem seems gone.
Thanks.