pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

archivers/bsdtar fails to build on NetBSD-current



With the recent update of openssl on NetBSD-current, the bsdtar package will not build. It would appear to be using the base system's headers yet getting its libcrypto from "somewhere else". The mismtach results in the following series of error messages:

  CCLD     bsdtar
./.libs/libarchive.a(archive_cryptor.o): In function `aes_ctr_release':
archive_cryptor.c:(.text+0xe): undefined reference to `EVP_CIPHER_CTX_free'
./.libs/libarchive.a(archive_cryptor.o): In function `aes_ctr_encrypt_counter':
archive_cryptor.c:(.text+0x55): undefined reference to `EVP_EncryptInit_ex'
archive_cryptor.c:(.text+0x74): undefined reference to `EVP_EncryptUpdate'
./.libs/libarchive.a(archive_cryptor.o): In function `aes_ctr_init':
archive_cryptor.c:(.text+0x200): undefined reference to `EVP_CIPHER_CTX_new'
archive_cryptor.c:(.text+0x231): undefined reference to `EVP_aes_256_ecb'
archive_cryptor.c:(.text+0x266): undefined reference to `EVP_CIPHER_CTX_reset'
archive_cryptor.c:(.text+0x272): undefined reference to `EVP_aes_128_ecb'
archive_cryptor.c:(.text+0x27d): undefined reference to `EVP_aes_192_ecb'
./.libs/libarchive.a(archive_hmac.o): In function `__hmac_sha1_cleanup':
archive_hmac.c:(.text+0x8): undefined reference to `HMAC_CTX_free'
./.libs/libarchive.a(archive_hmac.o): In function `__hmac_sha1_final':
archive_hmac.c:(.text+0x2d): undefined reference to `HMAC_Final'
./.libs/libarchive.a(archive_hmac.o): In function `__hmac_sha1_init':
archive_hmac.c:(.text+0x54): undefined reference to `HMAC_CTX_new'
archive_hmac.c:(.text+0x61): undefined reference to `EVP_sha1'
archive_hmac.c:(.text+0x75): undefined reference to `HMAC_Init_ex'
./.libs/libarchive.a(archive_hmac.o): In function `__hmac_sha1_update':
archive_hmac.c:(.text+0x42): undefined reference to `HMAC_Update'
*** [bsdtar] Error code 1


+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index