Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 213705
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Peter Volkov <pva@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Doug Goldstein <cardoe@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 213705 depends on: Show dependency tree
Bug 213705 blocks: 212149
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-03-17 15:01 0000
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 From Dawid Węgliński 2008-03-17 15:06:26 0000 -------

*** This bug has been marked as a duplicate of bug 212149 ***

------- Comment #2 From Peter Volkov 2008-03-17 16:30:37 0000 -------
This is not duplicate. That's an ordinary (actually a kind of predicted)
failure...

------- Comment #3 From Peter Volkov 2008-03-17 16:31:31 0000 -------
Assigning...

------- Comment #4 From Peter Volkov 2008-03-17 19:04:57 0000 -------
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 From Peter Volkov 2008-03-17 20:49:25 0000 -------
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.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug