Subject: pkg/30315: kphone doesn't compile on NetBSD-2.0.1
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <harenberg@physik.uni-wuppertal.de>
List: pkgsrc-bugs
Date: 05/23/2005 16:25:00
>Number: 30315
>Category: pkg
>Synopsis: kphone doesn't compile on NetBSD-2.0.1
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 23 16:25:00 +0000 2005
>Originator: Torsten Harenberg
>Release: NetBSD 2.0.1
>Organization:
University of Wuppertal
>Environment:
etBSD thinkpad 2.0.1 NetBSD 2.0.1 (GENERIC_LAPTOP) #0: Sun Feb 13 13:13
:18 CET 2005 root@:/usr/i386obj/sys/arch/i386/compile/GENERIC_LAPTOP i386
Architecture: i386
Machine: i386
>Description:
[11:17] root@thinkpad:/usr/pkgsrc $ cd net/kphone
[11:17] root@thinkpad:/usr/pkgsrc/net/kphone $ make install
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
===> Configuring for kphone-4.1.0
loading cache ./config.cache
checking for gcc... cc
checking whether the C compiler (cc -O2 -pthread -I/usr/pkg/include -I/usr/pkg/q
t3/include -I/usr/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -L/us
r/pkg/lib -L/usr/pkg/qt3/lib -Wl,-R/usr/pkg/qt3/lib -Wl,-R/usr/pkg/lib -L/usr/li
b -Wl,-R/usr/lib -pthread -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib) works... yes
checking whether the C compiler (cc -O2 -pthread -I/usr/pkg/include -I/usr/pkg/q
t3/include -I/usr/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -L/us
r/pkg/lib -L/usr/pkg/qt3/lib -Wl,-R/usr/pkg/qt3/lib -Wl,-R/usr/pkg/lib -L/usr/li
b -Wl,-R/usr/lib -pthread -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib) is a cross-comp
iler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking for c++... c++
checking whether the C++ compiler (c++ -O2 -pthread -I/usr/pkg/include -I/usr/pk
g/qt3/include -I/usr/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -L
/usr/pkg/lib -L/usr/pkg/qt3/lib -Wl,-R/usr/pkg/qt3/lib -Wl,-R/usr/pkg/lib -L/usr
/lib -Wl,-R/usr/lib -pthread -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib) works... yes
checking whether the C++ compiler (c++ -O2 -pthread -I/usr/pkg/include -I/usr/pk
g/qt3/include -I/usr/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -L
/usr/pkg/lib -L/usr/pkg/qt3/lib -Wl,-R/usr/pkg/qt3/lib -Wl,-R/usr/pkg/lib -L/usr
/lib -Wl,-R/usr/lib -pthread -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib) is a cross-c
ompiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking whether cc needs -traditional... no
checking for moc... /usr/pkg/qt3/bin/moc
checking for uic... /usr/pkg/qt3/bin/uic
checking location of Qt header files... /usr/pkg/qt3/include
checking location of Qt library... /usr/pkg/qt3/lib
checking if Qt is multi-threaded... yes
checking whether to enable thread... yes
checking for main in -lX11... yes
checking for main in -lXext... yes
checking for main in -lXt... yes
checking for main in -lICE... yes
checking for main in -lSM... yes
checking for main in -lpng... yes
checking for main in -lssl... no
configure: error: libssl not found
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/net/kphone
===>
===> There was an error during the ``configure'' phase.
===> Please investigate the following for more information:
===> * config.log
===> * /usr/pkgsrc/net/kphone/work/.work.log
===>
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/net/kphone
These are the last lines of config.log:
configure:1493: checking for main in -lpng
configure:1508: cc -o conftest -O2 -pthread -I/usr/pkg/include -I/usr/pkg/qt3/in
clude -I/usr/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I/usr/pkg
/qt3/include -Wall -I/usr/pkg/include -I/usr/pkg/qt3/include -I/usr/include -DGL
X_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -L/usr/pkg/lib -L/usr/pkg/qt3/lib -
Wl,-R/usr/pkg/qt3/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -L/u
sr/X11R6/lib -Wl,-R/usr/X11R6/lib conftest.c -lpng -lSM -lICE -lXt -lXext -lX11
-L/usr/pkg/qt3/lib -lqt-mt -lossaudio 1>&5
configure:1536: checking for main in -lssl
configure:1551: cc -o conftest -O2 -pthread -I/usr/pkg/include -I/usr/pkg/qt3/in
clude -I/usr/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I/usr/pkg
/qt3/include -Wall -I/usr/pkg/include -I/usr/pkg/qt3/include -I/usr/include -DGL
X_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -L/usr/pkg/lib -L/usr/pkg/qt3/lib -
Wl,-R/usr/pkg/qt3/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread -L/u
sr/X11R6/lib -Wl,-R/usr/X11R6/lib conftest.c -lssl -lpng -lSM -lICE -lXt -lXext
-lX11 -L/usr/pkg/qt3/lib -lqt-mt -lossaudio 1>&5
/usr/lib/libssl.so: undefined reference to `BIO_find_type'
/usr/lib/libssl.so: undefined reference to `EVP_enc_null'
/usr/lib/libssl.so: undefined reference to `EVP_CIPHER_CTX_init'
/usr/lib/libssl.so: undefined reference to `X509_NAME_dup'
/usr/lib/libssl.so: undefined reference to `COMP_compress_block'
/usr/lib/libssl.so: undefined reference to `EVP_rc2_cbc'
/usr/lib/libssl.so: undefined reference to `sk_new_null'
/usr/lib/libssl.so: undefined reference to `X509_STORE_get_by_subject'
/usr/lib/libssl.so: undefined reference to `lh_free'
/usr/lib/libssl.so: undefined reference to `EVP_VerifyFinal'
/usr/lib/libssl.so: undefined reference to `COMP_CTX_new'
/usr/lib/libssl.so: undefined reference to `sk_dup'
/usr/lib/libssl.so: undefined reference to `X509_STORE_CTX_set_ex_data'
/usr/lib/libssl.so: undefined reference to `X509_free'
/usr/lib/libssl.so: undefined reference to `CRYPTO_get_ex_data'
/usr/lib/libssl.so: undefined reference to `BN_bin2bn'
/usr/lib/libssl.so: undefined reference to `CRYPTO_get_ex_new_index'
/usr/lib/libssl.so: undefined reference to `EVP_DigestFinal_ex'
/usr/lib/libssl.so: undefined reference to `PEM_read_bio_RSAPrivateKey'
/usr/lib/libssl.so: undefined reference to `EVP_aes_128_cbc'
/usr/lib/libssl.so: undefined reference to `BN_bn2bin'
/usr/lib/libssl.so: undefined reference to `RAND_add'
/usr/lib/libssl.so: undefined reference to `BIO_s_socket'
/usr/lib/libssl.so: undefined reference to `asn1_add_error'
/usr/lib/libssl.so: undefined reference to `BUF_MEM_grow_clean'
/usr/lib/libssl.so: undefined reference to `d2i_RSAPrivateKey'
/usr/lib/libssl.so: undefined reference to `sk_num'
/usr/lib/libssl.so: undefined reference to `BIO_free_all'
/usr/lib/libssl.so: undefined reference to `RSA_up_ref'
/usr/lib/libssl.so: undefined reference to `BIO_get_retry_reason'
/usr/lib/libssl.so: undefined reference to `X509_STORE_new'
/usr/lib/libssl.so: undefined reference to `HMAC_Final'
/usr/lib/libssl.so: undefined reference to `HMAC_Init_ex'
/usr/lib/libssl.so: undefined reference to `EVP_md5'
/usr/lib/libssl.so: undefined reference to `ASN1_object_size'
/usr/lib/libssl.so: undefined reference to `EVP_get_cipherbyname'
/usr/lib/libssl.so: undefined reference to `EVP_rc4'
/usr/lib/libssl.so: undefined reference to `EVP_add_cipher'
/usr/lib/libssl.so: undefined reference to `ASN1_get_object'
/usr/lib/libssl.so: undefined reference to `BIO_s_file'
/usr/lib/libssl.so: undefined reference to `COMP_expand_block'
/usr/lib/libssl.so: undefined reference to `BIO_snprintf'
/usr/lib/libssl.so: undefined reference to `d2i_RSAPrivateKey_bio'
/usr/lib/libssl.so: undefined reference to `ASN1_dup'
/usr/lib/libssl.so: undefined reference to `RSA_sign'
/usr/lib/libssl.so: undefined reference to `ERR_peek_error'
/usr/lib/libssl.so: undefined reference to `PEM_read_bio_PrivateKey'
/usr/lib/libssl.so: undefined reference to `lh_retrieve'
/usr/lib/libssl.so: undefined reference to `X509_get_pubkey'
/usr/lib/libssl.so: undefined reference to `CRYPTO_dup_ex_data'
/usr/lib/libssl.so: undefined reference to `DH_generate_key'
/usr/lib/libssl.so: undefined reference to `DH_size'
/usr/lib/libssl.so: undefined reference to `i2d_ASN1_INTEGER'
/usr/lib/libssl.so: undefined reference to `lh_doall_arg'
/usr/lib/libssl.so: undefined reference to `CRYPTO_set_ex_data'
/usr/lib/libssl.so: undefined reference to `BIO_printf'
/usr/lib/libssl.so: undefined reference to `CRYPTO_lock'
/usr/lib/libssl.so: undefined reference to `DSA_verify'
/usr/lib/libssl.so: undefined reference to `sk_pop_free'
/usr/lib/libssl.so: undefined reference to `EVP_aes_192_cbc'
/usr/lib/libssl.so: undefined reference to `EVP_MD_CTX_cleanup'
/usr/lib/libssl.so: undefined reference to `EVP_aes_256_cbc'
/usr/lib/libssl.so: undefined reference to `BIO_puts'
/usr/lib/libssl.so: undefined reference to `X509_verify_cert_error_string'
/usr/lib/libssl.so: undefined reference to `BN_num_bits'
/usr/lib/libssl.so: undefined reference to `ASN1_check_infinite_end'
/usr/lib/libssl.so: undefined reference to `X509_STORE_CTX_purpose_inherit'
/usr/lib/libssl.so: undefined reference to `BUF_MEM_new'
/usr/lib/libssl.so: undefined reference to `BIO_free'
/usr/lib/libssl.so: undefined reference to `EVP_dss1'
/usr/lib/libssl.so: undefined reference to `DH_new'
/usr/lib/libssl.so: undefined reference to `d2i_PrivateKey'
/usr/lib/libssl.so: undefined reference to `X509_STORE_set_default_paths'
/usr/lib/libssl.so: undefined reference to `DSA_sign'
/usr/lib/libssl.so: undefined reference to `DH_compute_key'
/usr/lib/libssl.so: undefined reference to `CRYPTO_add_lock'
/usr/lib/libssl.so: undefined reference to `COMP_CTX_free'
/usr/lib/libssl.so: undefined reference to `sk_push'
/usr/lib/libssl.so: undefined reference to `EVP_sha1'
/usr/lib/libssl.so: undefined reference to `BIO_ctrl'
/usr/lib/libssl.so: undefined reference to `X509_STORE_CTX_init'
/usr/lib/libssl.so: undefined reference to `i2d_DHparams'
/usr/lib/libssl.so: undefined reference to `RSA_private_decrypt'
/usr/lib/libssl.so: undefined reference to `ERR_put_error'
/usr/lib/libssl.so: undefined reference to `RSA_new'
/usr/lib/libssl.so: undefined reference to `BIO_write'
/usr/lib/libssl.so: undefined reference to `sk_set_cmp_func'
/usr/lib/libssl.so: undefined reference to `EVP_PKEY_assign'
/usr/lib/libssl.so: undefined reference to `CRYPTO_free'
/usr/lib/libssl.so: undefined reference to `OBJ_NAME_add'
/usr/lib/libssl.so: undefined reference to `sk_new'
/usr/lib/libssl.so: undefined reference to `EVP_PKEY_type'
/usr/lib/libssl.so: undefined reference to `d2i_ASN1_INTEGER'
/usr/lib/libssl.so: undefined reference to `sk_zero'
/usr/lib/libssl.so: undefined reference to `X509_verify_cert'
/usr/lib/libssl.so: undefined reference to `sk_free'
/usr/lib/libssl.so: undefined reference to `BIO_new'
/usr/lib/libssl.so: undefined reference to `d2i_X509_bio'
/usr/lib/libssl.so: undefined reference to `X509_check_private_key'
/usr/lib/libssl.so: undefined reference to `EVP_CIPHER_CTX_cleanup'
/usr/lib/libssl.so: undefined reference to `sk_value'
/usr/lib/libssl.so: undefined reference to `EVP_DigestInit_ex'
/usr/lib/libssl.so: undefined reference to `CRYPTO_new_ex_data'
/usr/lib/libssl.so: undefined reference to `BIO_pop'
/usr/lib/libssl.so: undefined reference to `EVP_PKEY_copy_parameters'
/usr/lib/libssl.so: undefined reference to `X509_get_subject_name'
/usr/lib/libssl.so: undefined reference to `EVP_PKEY_new'
/usr/lib/libssl.so: undefined reference to `i2d_X509_NAME'
/usr/lib/libssl.so: undefined reference to `RSA_public_encrypt'
/usr/lib/libssl.so: undefined reference to `i2d_X509'
/usr/lib/libssl.so: undefined reference to `PEM_read_bio_X509'
/usr/lib/libssl.so: undefined reference to `HMAC_CTX_cleanup'
/usr/lib/libssl.so: undefined reference to `EVP_MD_CTX_init'
/usr/lib/libssl.so: undefined reference to `ERR_clear_error'
/usr/lib/libssl.so: undefined reference to `EVP_DigestUpdate'
/usr/lib/libssl.so: undefined reference to `OBJ_obj2nid'
/usr/lib/libssl.so: undefined reference to `OBJ_bsearch'
/usr/lib/libssl.so: undefined reference to `sk_delete'
/usr/lib/libssl.so: undefined reference to `RAND_bytes'
/usr/lib/libssl.so: undefined reference to `RSAPrivateKey_dup'
/usr/lib/libssl.so: undefined reference to `asn1_Finish'
/usr/lib/libssl.so: undefined reference to `BIO_copy_next_retry'
/usr/lib/libssl.so: undefined reference to `sk_set'
/usr/lib/libssl.so: undefined reference to `EVP_des_cbc'
/usr/lib/libssl.so: undefined reference to `OpenSSLDie'
/usr/lib/libssl.so: undefined reference to `EVP_EncryptInit_ex'
/usr/lib/libssl.so: undefined reference to `EVP_PKEY_missing_parameters'
/usr/lib/libssl.so: undefined reference to `EVP_DecryptInit_ex'
/usr/lib/libssl.so: undefined reference to `BIO_callback_ctrl'
/usr/lib/libssl.so: undefined reference to `DH_free'
/usr/lib/libssl.so: undefined reference to `X509_STORE_CTX_cleanup'
/usr/lib/libssl.so: undefined reference to `BUF_MEM_free'
/usr/lib/libssl.so: undefined reference to `EVP_SignFinal'
/usr/lib/libssl.so: undefined reference to `sk_find'
/usr/lib/libssl.so: undefined reference to `EVP_MD_CTX_copy_ex'
/usr/lib/libssl.so: undefined reference to `BIO_read'
/usr/lib/libssl.so: undefined reference to `X509_certificate_type'
/usr/lib/libssl.so: undefined reference to `ASN1_INTEGER_get'
/usr/lib/libssl.so: undefined reference to `RSA_free'
/usr/lib/libssl.so: undefined reference to `d2i_DHparams'
/usr/lib/libssl.so: undefined reference to `BIO_int_ctrl'
/usr/lib/libssl.so: undefined reference to `BIO_f_buffer'
/usr/lib/libssl.so: undefined reference to `ERR_get_error'
/usr/lib/libssl.so: undefined reference to `sk_shift'
/usr/lib/libssl.so: undefined reference to `OPENSSL_cleanse'
/usr/lib/libssl.so: undefined reference to `lh_new'
/usr/lib/libssl.so: undefined reference to `CRYPTO_free_ex_data'
/usr/lib/libssl.so: undefined reference to `ASN1_INTEGER_set'
/usr/lib/libssl.so: undefined reference to `ERR_peek_last_error'
/usr/lib/libssl.so: undefined reference to `i2d_ASN1_OCTET_STRING'
/usr/lib/libssl.so: undefined reference to `X509_STORE_CTX_get_ex_new_index'
/usr/lib/libssl.so: undefined reference to `RSA_verify'
/usr/lib/libssl.so: undefined reference to `BN_dup'
/usr/lib/libssl.so: undefined reference to `ERR_add_error_data'
/usr/lib/libssl.so: undefined reference to `X509_NAME_cmp'
/usr/lib/libssl.so: undefined reference to `EVP_CipherInit_ex'
/usr/lib/libssl.so: undefined reference to `EVP_PKEY_size'
/usr/lib/libssl.so: undefined reference to `EVP_add_digest'
/usr/lib/libssl.so: undefined reference to `BIO_push'
/usr/lib/libssl.so: undefined reference to `CRYPTO_mem_ctrl'
/usr/lib/libssl.so: undefined reference to `X509_get_issuer_name'
/usr/lib/libssl.so: undefined reference to `ASN1_put_object'
/usr/lib/libssl.so: undefined reference to `EVP_idea_cbc'
/usr/lib/libssl.so: undefined reference to `X509_get_ext_count'
/usr/lib/libssl.so: undefined reference to `EVP_des_ede3_cbc'
/usr/lib/libssl.so: undefined reference to `X509_STORE_free'
/usr/lib/libssl.so: undefined reference to `ERR_load_crypto_strings'
/usr/lib/libssl.so: undefined reference to `BUF_MEM_grow'
/usr/lib/libssl.so: undefined reference to `lh_insert'
/usr/lib/libssl.so: undefined reference to `X509_STORE_load_locations'
/usr/lib/libssl.so: undefined reference to `X509_NAME_free'
/usr/lib/libssl.so: undefined reference to `d2i_ASN1_OCTET_STRING'
/usr/lib/libssl.so: undefined reference to `CRYPTO_malloc'
/usr/lib/libssl.so: undefined reference to `lh_delete'
/usr/lib/libssl.so: undefined reference to `BN_clear_free'
/usr/lib/libssl.so: undefined reference to `X509_PURPOSE_set'
/usr/lib/libssl.so: undefined reference to `d2i_X509_NAME'
/usr/lib/libssl.so: undefined reference to `RSA_flags'
/usr/lib/libssl.so: undefined reference to `d2i_X509'
/usr/lib/libssl.so: undefined reference to `asn1_GetSequence'
/usr/lib/libssl.so: undefined reference to `RSA_size'
/usr/lib/libssl.so: undefined reference to `RAND_pseudo_bytes'
/usr/lib/libssl.so: undefined reference to `BIO_s_connect'
/usr/lib/libssl.so: undefined reference to `EVP_PKEY_free'
/usr/lib/libssl.so: undefined reference to `X509_TRUST_set'
/usr/lib/libssl.so: undefined reference to `HMAC_Update'
/usr/lib/libssl.so: undefined reference to `X509_STORE_CTX_set_verify_cb'
/usr/lib/libssl.so: undefined reference to `ERR_load_strings'
/usr/lib/libssl.so: undefined reference to `EVP_md2'
/usr/lib/libssl.so: undefined reference to `HMAC_CTX_init'
/usr/lib/libssl.so: undefined reference to `EVP_get_digestbyname'
configure: failed program was:
#line 1544 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
>How-To-Repeat:
Upgrade pkgsrc, try to build net/kphone
>Fix: