../../os/.libs/libos.a(WaitFor.o): In function `WaitForSomething': WaitFor.c:(.text+0x610): undefined reference to `vncWriteBlockHandler' WaitFor.c:(.text+0x6ad): undefined reference to `vncWriteWakeupHandler' WaitFor.c:(.text+0x99d): undefined reference to `vncWriteWakeupHandler' collect2: error: ld returned 1 exit status distcc[28623] ERROR: compile (null) on localhost failed
Created attachment 387206 [details] net-misc:tigervnc-1.3.1-r2:20141022-114342.log.lz
Created attachment 393668 [details] output of unix/xserver/configure --help When building tigervnc with the 'server' use flag, your first option to _avoid_ these problems is patching the ebuild to pass --disable-xwayland to configure in src_prepare(). After you have done so and are building with the 'gnutls' use flag as well, you will hit another problem that fails to link Xvnc: --- SNIP --- net-misc-tigervnc-1.3.1-r2/temp//ccZbJCud.ltrans6.ltrans.o:ccZbJCud.ltrans6.o:function rfb::CSecurityTLS::setParam(): error: undefined reference to 'getvnchomedir(char**)' [...] /var/tmp/paludis/net-misc-tigervnc-1.3.1-r2/temp//ccZbJCud.ltrans14.ltrans.o:ccZbJCud.ltrans14.o:function rfb::CSecurityTLS::setDefaults(): error: undefined reference to 'fileexists(char*)' [...] collect2: error: ld returned 1 exit status Makefile:791: recipe for target 'Xvnc' failed --- SNAP --- Again, you may _avoid_ this secondary problem by either disabling 'gnutls' use flag for the build or by patching the ebuild to pass --disable-xcsecurity to configure in src_prepare(). (see the attached output of configure --help for detailed information on available configure options in tigervnc-1.3.1)
Created attachment 393670 [details, diff] tigervnc-1.3.1-satisfy-oslib-refs-in-xwayland-and-xvnc.patch When building tigervnc with the 'server' use flag, your second option to _fix_ these problems is applying the attached patch in src_prepare() stage. It will fix both, Xwayland and Xvnc linkage problems, the latter only occuring if 'gnutls' use flag is enabled.
Created attachment 393672 [details, diff] tigervnc-1.3.1-r2.ebuild.patch
Created attachment 393674 [details, diff] tigervnc-1.3.1-r2.ebuild.patch no need to swith dirs (was needed for a previous patch attempt)
is this valid with newer versions?