Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 447428 - Can not compile openssh with ldap flag
Summary: Can not compile openssh with ldap flag
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-16 09:08 UTC by muhsin
Modified: 2012-12-16 17:30 UTC (History)
0 users

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


Attachments
emerge --info '=net-misc/openssh-6.1_p1 (emergeinfo.txt,6.15 KB, text/plain)
2012-12-16 09:10 UTC, muhsin
Details
emerge -pqv '=net-misc/openssh-6.1_p1 (emergeinfo2.txt,127 bytes, text/plain)
2012-12-16 09:10 UTC, muhsin
Details
environment (environment,124.27 KB, text/plain)
2012-12-16 09:17 UTC, muhsin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description muhsin 2012-12-16 09:08:44 UTC
-lskey -lutil -lz -lnsl  -lcrypt -lpthread
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../i686-pc-linux-gnu/bin/ld: warning: libgnutls.so.26, needed by /usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_certificate_get_ours@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_certificate_server_set_request@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_priority_init@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_x509_privkey_import@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_certificate_set_x509_trust_file@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_record_send@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_x509_crt_import@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_certificate_activation_time_peers@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_init@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_handshake@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_certificate_get_x509_cas@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_x509_crt_list_import@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_transport_set_ptr@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_credentials_set@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_record_check_pending@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_strerror@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_certificate_free_credentials@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_x509_crt_init@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_certificate_allocate_credentials@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_priority_set@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_deinit@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_certificate_set_x509_key@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_record_get_direction@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_certificate_set_x509_crl_file@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_record_recv@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_global_deinit@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_x509_crt_get_subject_alt_name@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_certificate_expiration_time_peers@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_transport_set_pull_function@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_global_init@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_bye@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_certificate_verify_peers2@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_x509_crt_check_issuer@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_priority_deinit@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_cipher_get_key_size@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_transport_set_push_function@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_dh_params_init@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_certificate_set_verify_flags@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_cipher_get@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_dh_params_generate2@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_x509_privkey_init@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_certificate_get_peers@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_x509_crt_get_dn_by_oid@GNUTLS_1_4'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/../../../../lib/libldap.so: undefined reference to `gnutls_x509_crt_deinit@GNUTLS_1_4'
collect2: ld returned 1 exit status
make: *** [sshd] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: net-misc/openssh-6.1_p1 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-misc/openssh-6.1_p1'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/openssh-6.1_p1'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/openssh-6.1_p1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/openssh-6.1_p1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/openssh-6.1_p1/work/openssh-6.1p1'
 * S: '/var/tmp/portage/net-misc/openssh-6.1_p1/work/openssh-6.1p1'

>>> Failed to emerge net-misc/openssh-6.1_p1, Log file:

>>>  '/var/tmp/portage/net-misc/openssh-6.1_p1/temp/build.log'

 * Messages for package net-misc/openssh-6.1_p1:
Comment 1 muhsin 2012-12-16 09:10:04 UTC
Created attachment 332446 [details]
emerge --info '=net-misc/openssh-6.1_p1
Comment 2 muhsin 2012-12-16 09:10:52 UTC
Created attachment 332448 [details]
emerge -pqv '=net-misc/openssh-6.1_p1
Comment 3 muhsin 2012-12-16 09:17:27 UTC
Created attachment 332450 [details]
environment
Comment 4 muhsin 2012-12-16 09:19:37 UTC
Iny case I used this to get around the installation:

USE='-ldap' emerge -av openssh
Comment 5 muhsin 2012-12-16 10:26:17 UTC
Well, this bug report might be misleading as more packages failed to nearly the same error I had to investigate further and found the root started on openldap so re-installed without gnutls:

USE='-gnutls' emerge -av openldap

That means openssh can now easily be compiled with ldap flag on.
Comment 6 Rafał Mużyło 2012-12-16 17:30:39 UTC
This is a combination of not doing revdep-rebuild and bug 421463.