| Summary: | net-libs/libvncserver-0.9.9 USE=-crypt - ../libvncserver/.libs/libvncserver.so: undefined reference to `gcry_*' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Lukas Zavodny <suchoi> |
| Component: | [OLD] Library | Assignee: | Mike Gilbert <floppym> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jcallen |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log | ||
|
Description
Lukas Zavodny
2012-06-12 09:52:08 UTC
Please provide `emerge --info`, `emerge -pv libvncserver` and the complete build.log, as mentioned on the bug reporting site. http://pastebin.com/LJiyBSJ2 emerge info http://pastebin.com/MB65KwKt build log emerge -pv libvncserver [ebuild U ] net-libs/libvncserver-0.9.9 [0.9.8.2-r2] USE="gnutls jpeg threads zlib -crypt -ipv6 -no24bpp -test" 1,640 kB (In reply to comment #2) > http://pastebin.com/LJiyBSJ2 emerge info > http://pastebin.com/MB65KwKt build log Attach those, please. I just hit this same issue on my machine, and was able to trace it down to the --disable-gcrypt option passed to econf. If USE=crypt is set, the package compiles sucessfully. I will attach a failing compile log with EXTRA_ECONF=--disable-silent-rules (to ensure that the full command lines are shown). Created attachment 315621 [details]
build.log
USE=gnutls should make it DEPEND on dev-libs/libgcrypt, too, I guess. Hmm... the gcrypt stuff is a bit hairy. There are two flags involved: --without-gcrypt disable support for gcrypt --without-client-gcrypt disable support for gcrypt in libvncclient Using --with-gnutls and --without-gcrypt together will cause under-linking of libvncserver.so. While I'm poking at this, I want to look into that client-gcrypt flag to see if it is useful. This should be fixed in 0.9.9. It probably needs to be addressed in 0.9.8.2-r2 as well. + 19 Jun 2012; Mike Gilbert <floppym@gentoo.org> -libvncserver-0.9.8.2.ebuild, + libvncserver-0.9.9.ebuild, metadata.xml: + Force gcrypt when gnutls is selected, bug 420803. Add openssl dependency. + Rename crypt and no24bpp use flags to gcrypt and 24bpp. + 0.9.8.2-r1 seems to be fine. |