Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213705 - net-analyzer/wireshark-0.98.8 fails to compile
Summary: net-analyzer/wireshark-0.98.8 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 212149
  Show dependency tree
 
Reported: 2008-03-17 15:01 UTC by Doug Goldstein (RETIRED)
Modified: 2018-12-13 16:25 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Goldstein (RETIRED) gentoo-dev 2008-03-17 15:01:04 UTC
checking whether to use kerberos... yes
checking for krb5-config... /usr/bin/krb5-config
configure: error: Kerberos library requires -lcrypto but --with-ssl not specified

[ebuild     U ] net-analyzer/wireshark-0.99.8 [0.99.8_rc1] USE="caps%* gtk ipv6 kerberos pcre%* zlib%* -adns -gcrypt% -gnutls% -lua -pcap% -portaudio -profile% (-selinux) -smi% -threads (-snmp%) (-ssl%*)" 0 kB 

The ssl USE flag went away... so I can't pass --with-ssl
Comment 1 Dawid Węgliński (RETIRED) gentoo-dev 2008-03-17 15:06:26 UTC

*** This bug has been marked as a duplicate of bug 212149 ***
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2008-03-17 16:30:37 UTC
This is not duplicate. That's an ordinary (actually a kind of predicted) failure...
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2008-03-17 16:31:31 UTC
Assigning...
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2008-03-17 19:04:57 UTC
Some notes for history:
But is reproducible with app-crypt/heimdal built with ssl USE flags. Actually configure just checks if we have -lcrypto inside `krb5-config --libs` and if we do have - fails in case we didn't provide --with-openssl to ./configure. Stupid thing, but I think it's supposed in future to be extended and allow to link with different crypto libraries but I do not see how this can work...


To all: What do you think about the following solution:

    # Workaround bug #213705. If krb5-config --libs has -lcrypto then pass
    # --with-ssl to ./configure. (Duplicates code from acinclude.m4).
    if use kerberos; then
        case `krb5-config --libs` in
            *-lcrypto*) myconf="${myconf} --with-ssl" ;;
        esac
    fi

Is it safe to call krb5-config from ebuild? If so I'll commit this...
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2008-03-17 20:49:25 UTC
Fixed in CVS.

http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/wireshark/wireshark-0.99.8.ebuild?r1=1.4&r2=1.5

In case some kerberos implementation does not install krb5-config this will be no problem both for ebuild and ./configure.

I knew that there should be some problem with kerberos and -lcrypto, I just didn't manage to find this problem although I did all I could think about (and this was the reason for delay in version bump btw)... Now I see where the problem is and feel myself much better. :) Thank you Cardoe for report.