Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 561972 - =x11-misc/x11vnc-0.9.13_p20150111-r1 fails to build with =net-libs/libvncserver-0.9.10-r4[-threads]
Summary: =x11-misc/x11vnc-0.9.13_p20150111-r1 fails to build with =net-libs/libvncserv...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alex Xu (Hello71)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-01 11:56 UTC by Alexander Arques
Modified: 2015-10-20 07:58 UTC (History)
2 users (show)

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


Attachments
Build log of x11vnc (build.log,70.05 KB, text/plain)
2015-10-01 11:57 UTC, Alexander Arques
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Arques 2015-10-01 11:56:25 UTC
If libvncserver is built without the threads USE-flag it does not get the rfbRegisterTightVNCFileTransferExtension symbol exported. By examining /usr/lib/libvncserver.so with the command:
"nm -D /usr/lib/libvncserver.so | grep rfbRegister"
I can see that "rfbRegisterTightVNCFileTransferExtension" is missing UNLESS libvncserver is built with the "threads" USE-flag.

This causes compilation of x11vnc to fail.

Reproducible: Always

Steps to Reproduce:
1. Try to emerge x11vnc using a "=net-libs/libvncserver-0.9.10-r4" without the "threads" USE-flag
Actual Results:  
Compilation fails

Expected Results:  
Successfully emerge x11vnc

I previously had x11-misc/x11vnc-0.9.13_p20150111 installed with no issue. I'm not sure what libvncserver it was compiled against but the newer 0.9.13_p20150111-r1 refused to compile using the newer libvncserver-0.9.10-r4 installed today.

I have another machine that had no issues with this upgrade and what I saw that differed was the "threads" USE flag. Adding it to my other machines libvncserver fixed the issue there.
Comment 1 Alexander Arques 2015-10-01 11:57:31 UTC
Created attachment 413424 [details]
Build log of x11vnc
Comment 2 Alex Xu (Hello71) 2015-10-19 23:56:44 UTC
I was unable to reproduce this bug with either _p20150111-r1 or _p20150627.

Please test again with latest version and if not fixed attach work/*/src/unixpw.c.
Comment 3 Alexander Arques 2015-10-20 07:58:32 UTC
For some reason I am also unable to reproduce this now. Even with the older version 0.9.13_p20150111-r1 that I reported this bug on.

It seems it no longer tries to use the rfbRegisterTightVNCFileTransferExtension symbol from libvncserver.