Summary: | net-misc/tigervnc-1.3.1-r2 USE=server - ../../os/.libs/libos.a(WaitFor.o): In function `WaitForSomething': WaitFor.c:(.text+0x610): undefined reference to `vncWriteBlockHandler' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
net-misc:tigervnc-1.3.1-r2:20141022-114342.log.lz
output of unix/xserver/configure --help tigervnc-1.3.1-satisfy-oslib-refs-in-xwayland-and-xvnc.patch tigervnc-1.3.1-r2.ebuild.patch tigervnc-1.3.1-r2.ebuild.patch |
Description
Michał Górny
2014-10-22 11:58:32 UTC
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? |