Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 382779

Summary: net-analyser/wireshark fails to build with USE="ssl -gcrypt"
Product: Gentoo Linux Reporter: Olivier Crete (RETIRED) <tester>
Component: [OLD] GNOMEAssignee: Peter Volkov (RETIRED) <pva>
Status: RESOLVED NEEDINFO    
Severity: normal CC: netmon
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to unify ssl and gcrypt flags

Description Olivier Crete (RETIRED) gentoo-dev 2011-09-13 07:17:36 UTC
Created attachment 286297 [details, diff]
patch to unify ssl and gcrypt flags

ssl and gcrypt are actually intermingled in the wireshark source code. Trying to make them separate flag just does not build. So the attached patch just puts everything under the ssl use flag.
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2011-09-14 09:24:55 UTC
Last time I've checked it built and looking in the source made me think different. What version you have failure with? Please, attach, build.log. Thanks.
Comment 2 Olivier Crete (RETIRED) gentoo-dev 2011-09-17 22:56:11 UTC
1.4.8 and 1.4.9

If you look in dissectors/packet-ssl-utils.c, look for gcry_md_open(), it is protected by "#ifdef HAVE_LIBGNUTLS", not HAVE_LIBGCRYPT.. Just trying building with with USE="ssl -gcrypt", and you'll see it doesn't build.
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2011-12-12 06:47:04 UTC
Olivier, please, test wireshark-1.6.4. Actually having USE="ssl -gcrypt" is my default setup and so far I had no problems to build wireshark. Finally, please, ATTACH build.log.