=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. => Checksum SHA1 OK for ocamlnet-4.1.6.tar.gz => Checksum RMD160 OK for ocamlnet-4.1.6.tar.gz => Checksum SHA512 OK for ocamlnet-4.1.6.tar.gz ===> Installing dependencies for ocamlnet-4.1.6nb12 ========================================================================== The supported build options for ocamlnet are: gnutls gtk2 The currently selected options are: gnutls You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.ocamlnet (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, ocamlnet-4.1.6nb12. Their current value is shown below: * OCAML_USE_OPT_COMPILER = yes Based on these variables, the following variables have been set: * TERMCAP_TYPE = termcap You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency gmake>=3.81: found gmake-4.2.1nb1 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency ocaml-findlib>=1.8.1: found ocaml-findlib-1.8.1 => Full dependency ocaml>=4.09.0: found ocaml-4.09.0 => Full dependency gnutls>=3.6.8nb1: found gnutls-3.6.11.1 => Full dependency pcre-ocaml>=7.4.1: found pcre-ocaml-7.4.1 => Full dependency ocaml-zip>=1.07nb4: found ocaml-zip-1.07nb5 ===> Overriding tools for ocamlnet-4.1.6nb12 ===> Extracting for ocamlnet-4.1.6nb12 ===> Patching for ocamlnet-4.1.6nb12 => Applying pkgsrc patches for ocamlnet-4.1.6nb12 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/net/ocamlnet/patches/patch-src_netsys_netsys__c.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/net/ocamlnet/patches/patch-src_netsys_netsys__c.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_netsys_netsys__c.c,v 1.6 2016/02/03 13:19:33 jaapb Exp $ | |Work around absence of AT_REMOVEDIR, as on NetBSD 6.0. |--- src/netsys/netsys_c.c.orig 2015-06-21 15:26:42.000000000 +0000 |+++ src/netsys/netsys_c.c -------------------------- Patching file src/netsys/netsys_c.c using Plan A... Hunk #1 succeeded at 432. Hunk #2 succeeded at 564 (offset 11 lines). done ===> Creating toolchain wrappers for ocamlnet-4.1.6nb12 ===> Configuring for ocamlnet-4.1.6nb12 => Checking for portability problems in extracted files Welcome to Ocamlnet version 4.1.6 Checking operating system... NetBSD Checking for findlib... found Checking multi-threading support... posix (ok) Checking whether cmxs is supported... yes Checking word size... 64 bit Checking endianess... little Checking for GPROF... not found Checking for attributes... yes Checking for immutable strings... yes Checking for String.lowercase_ascii and the like... yes Checking for extensible variants... yes Checking for Unix.map_file... yes Checking for [@@noalloc]... yes checking for -opaque... present Checking for PCRE... found Checking for win32... no Checking whether Ocaml has Printexc.register_printer... found Checking for POSIX pthread... found Checking whether Ocaml has fancy page tables... found Checking on new implementation of caml_modify... found Checking whether new caml_modify can be overridden... found Checking whether out-of-heap values are supported and mutable... yes Checking for POSIX shared memory... found Checking for POSIX semaphores (anonymous)... found Checking for POSIX semaphores (named)... found Checking for POSIX spawn... found Checking for POSIX fadvise... found Checking for POSIX fallocate... found Checking for POSIX memalign... found Checking for syslog... found Checking for POSIX functions like openat... found Checking for POSIX function mkfifoat... found Checking for fchdir... found Checking for fdopendir... found Checking for realpath... found Checking for grantpt (System V style PTYs)... found Checking for posix_openpt (System V style PTYs)... found Checking for initgroups...found Checking for POSIX clocks...found Checking for POSIX timers...found Checking for eventfd (Linux)...not found Checking for timerfd (Linux)...not found Checking for epoll (Linux)...not found Checking for getifaddrs...found Checking for compare_and_swap (GCC)...found Checking for GPROF... not found Checking for O_SHARE_DELETE... yes Checking for O_CLOEXEC... yes Checking for O_KEEPEXEC... yes Checking for getpeereid... found Checking for getpeerucred... not found Checking whether netcamlbox and netmulticore are supported... yes ./configure: pkg-config: not found ./configure: pkg-config: not found ./configure: pkg-config: not found ./configure: pkg-config: not found Checking for GnuTLS... found Generating stubs File "../../tools/stubgen.ml", line 506, characters 4-21: 506 | String.capitalize (String.lowercase (String.sub n (p+1) (l-p-1))) ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii instead. File "../../tools/stubgen.ml", line 506, characters 23-39: 506 | String.capitalize (String.lowercase (String.sub n (p+1) (l-p-1))) ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii instead. File "../../tools/stubgen.ml", line 509, characters 9-26: 509 | String.capitalize (String.lowercase n) ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii instead. File "../../tools/stubgen.ml", line 509, characters 28-44: 509 | String.capitalize (String.lowercase n) ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii instead. File "../../tools/stubgen.ml", line 506, characters 4-21: 506 | String.capitalize (String.lowercase (String.sub n (p+1) (l-p-1))) ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii instead. File "../../tools/stubgen.ml", line 506, characters 23-39: 506 | String.capitalize (String.lowercase (String.sub n (p+1) (l-p-1))) ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii instead. File "../../tools/stubgen.ml", line 509, characters 9-26: 509 | String.capitalize (String.lowercase n) ^^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.capitalize Use String.capitalize_ascii instead. File "../../tools/stubgen.ml", line 509, characters 28-44: 509 | String.capitalize (String.lowercase n) ^^^^^^^^^^^^^^^^ Alert deprecated: Stdlib.String.lowercase Use String.lowercase_ascii instead. Checking presence of gnutls/crypto.h Checking presence of gnutls/abstract.h Checking presence of nettle/camellia.h Checking presence of nettle/gcm.h Checking whether set_en/decrypt_key has two args Checking type gnutls_sec_param_t Checking type gnutls_channel_binding_t Checking type gnutls_ecc_curve_t Checking type gnutls_info_access_what_t Checking type gnutls_privkey_type_t Checking type gnutls_cipher_hd_t Checking enum GNUTLS_PARAMS_ECDH Checking enum GNUTLS_A_NO_APPLICATION_PROTOCOL Checking enum GNUTLS_A_INNER_APPLICATION_FAILURE Checking enum GNUTLS_A_INNER_APPLICATION_VERIFICATION Checking enum GNUTLS_HANDSHAKE_HELLO_VERIFY_REQUEST Checking enum GNUTLS_HANDSHAKE_NEW_SESSION_TICKET Checking enum GNUTLS_HANDSHAKE_CHANGE_CIPHER_SPEC Checking enum GNUTLS_HANDSHAKE_CLIENT_HELLO_V2 Checking enum GNUTLS_CERT_SIGNATURE_FAILURE Checking enum GNUTLS_CERT_REVOCATION_DATA_SUPERSEDED Checking enum GNUTLS_CERT_UNEXPECTED_OWNER Checking enum GNUTLS_CERT_REVOCATION_DATA_ISSUED_IN_FUTURE Checking enum GNUTLS_CERT_SIGNER_CONSTRAINTS_FAILURE Checking enum GNUTLS_CERT_MISMATCH Checking enum GNUTLS_CERT_PURPOSE_MISMATCH Checking enum GNUTLS_VERIFY_DISABLE_TRUSTED_TIME_CHECKS Checking enum GNUTLS_VERIFY_DO_NOT_ALLOW_X509_V1_CA_CRT Checking enum GNUTLS_VERIFY_DISABLE_CRL_CHECKS Checking enum GNUTLS_DTLS0_9 Checking enum GNUTLS_DTLS1_0 Checking enum GNUTLS_DTLS1_2 Checking enum GNUTLS_CRT_PRINT_COMPACT Checking enum GNUTLS_CRT_PRINT_FULL_NUMBERS Checking enum GNUTLS_SEC_PARAM_INSECURE Checking enum GNUTLS_SEC_PARAM_EXPORT Checking enum GNUTLS_SEC_PARAM_VERY_WEAK Checking enum GNUTLS_SEC_PARAM_LEGACY Checking enum GNUTLS_DATAGRAM Checking enum GNUTLS_NONBLOCK Checking enum GNUTLS_NO_EXTENSIONS Checking enum GNUTLS_NO_REPLAY_PROTECTION Checking enum GNUTLS_SUPPLEMENTAL_UNKNOWN Checking enum GNUTLS_PRIVKEY_EXT Checking enum GNUTLS_IA_UNKNOWN Checking enum GNUTLS_X509_CRT_LIST_FAIL_IF_UNSORTED Checking enum GNUTLS_X509_CRT_LIST_SORT Checking enum GNUTLS_E_TOO_MANY_HANDSHAKE_PACKETS Checking enum GNUTLS_E_UNSUPPORTED_SIGNATURE_ALGORITHM Checking enum GNUTLS_E_SAFE_RENEGOTIATION_FAILED Checking enum GNUTLS_E_UNSAFE_RENEGOTIATION_DENIED Checking enum GNUTLS_E_UNKNOWN_SRP_USERNAME Checking enum GNUTLS_E_PREMATURE_TERMINATION Checking enum GNUTLS_E_CRYPTODEV_IOCTL_ERROR Checking enum GNUTLS_E_CRYPTODEV_DEVICE_ERROR Checking enum GNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLE Checking enum GNUTLS_E_BAD_COOKIE Checking enum GNUTLS_E_OPENPGP_PREFERRED_KEY_ERROR Checking enum GNUTLS_E_INCOMPAT_DSA_KEY_WITH_TLS_PROTOCOL Checking enum GNUTLS_E_HEARTBEAT_PONG_RECEIVED Checking enum GNUTLS_E_HEARTBEAT_PING_RECEIVED Checking enum GNUTLS_E_PKCS11_ERROR Checking enum GNUTLS_E_PKCS11_LOAD_ERROR Checking enum GNUTLS_E_PARSING_ERROR Checking enum GNUTLS_E_PKCS11_PIN_ERROR Checking enum GNUTLS_E_PKCS11_SLOT_ERROR Checking enum GNUTLS_E_LOCKING_ERROR Checking enum GNUTLS_E_PKCS11_ATTRIBUTE_ERROR Checking enum GNUTLS_E_PKCS11_DEVICE_ERROR Checking enum GNUTLS_E_PKCS11_DATA_ERROR Checking enum GNUTLS_E_PKCS11_UNSUPPORTED_FEATURE_ERROR Checking enum GNUTLS_E_PKCS11_KEY_ERROR Checking enum GNUTLS_E_PKCS11_PIN_EXPIRED Checking enum GNUTLS_E_PKCS11_PIN_LOCKED Checking enum GNUTLS_E_PKCS11_SESSION_ERROR Checking enum GNUTLS_E_PKCS11_SIGNATURE_ERROR Checking enum GNUTLS_E_PKCS11_TOKEN_ERROR Checking enum GNUTLS_E_PKCS11_USER_ERROR Checking enum GNUTLS_E_CRYPTO_INIT_FAILED Checking enum GNUTLS_E_TIMEDOUT Checking enum GNUTLS_E_USER_ERROR Checking enum GNUTLS_E_ECC_NO_SUPPORTED_CURVES Checking enum GNUTLS_E_ECC_UNSUPPORTED_CURVE Checking enum GNUTLS_E_PKCS11_REQUESTED_OBJECT_NOT_AVAILBLE Checking enum GNUTLS_E_CERTIFICATE_LIST_UNSORTED Checking enum GNUTLS_E_ILLEGAL_PARAMETER Checking enum GNUTLS_E_NO_PRIORITIES_WERE_SET Checking enum GNUTLS_E_X509_UNSUPPORTED_EXTENSION Checking enum GNUTLS_E_SESSION_EOF Checking enum GNUTLS_E_TPM_ERROR Checking enum GNUTLS_E_TPM_KEY_PASSWORD_ERROR Checking enum GNUTLS_E_TPM_SRK_PASSWORD_ERROR Checking enum GNUTLS_E_TPM_SESSION_ERROR Checking enum GNUTLS_E_TPM_KEY_NOT_FOUND Checking enum GNUTLS_E_TPM_UNINITIALIZED Checking enum GNUTLS_E_NO_CERTIFICATE_STATUS Checking enum GNUTLS_E_OCSP_RESPONSE_ERROR Checking enum GNUTLS_E_RANDOM_DEVICE_ERROR Checking enum GNUTLS_E_AUTH_ERROR Checking enum GNUTLS_E_NO_APPLICATION_PROTOCOL Checking enum GNUTLS_E_SOCKETS_INIT_ERROR Checking enum GNUTLS_E_KEY_IMPORT_FAILED Checking enum GNUTLS_E_SELF_TEST_ERROR Checking enum GNUTLS_E_NO_SELF_TEST Checking enum GNUTLS_E_LIB_IN_ERROR_STATE Checking enum GNUTLS_E_PK_GENERATION_ERROR Checking enum GNUTLS_E_IDNA_ERROR Checking enum GNUTLS_E_NEED_FALLBACK Checking enum GNUTLS_PKCS_USE_PBES2_DES Checking enum GNUTLS_PKCS_USE_PBES2_AES_128 Checking enum GNUTLS_PKCS_USE_PBES2_AES_192 Checking enum GNUTLS_PKCS_USE_PBES2_AES_256 Checking enum GNUTLS_PKCS_NULL_PASSWORD Checking function gnutls_alert_get_strname Checking function gnutls_priority_get_cipher_suite_index Checking function gnutls_sec_param_to_pk_bits Checking function gnutls_pk_bits_to_sec_param Checking function gnutls_sec_param_get_name Checking function gnutls_session_ticket_key_generate Checking function gnutls_session_ticket_enable_client Checking function gnutls_session_ticket_enable_server Checking function gnutls_session_channel_binding Checking function gnutls_ecc_curve_get_name Checking function gnutls_ecc_curve_get_size Checking function gnutls_ecc_curve_get Checking function gnutls_cipher_init Checking function gnutls_cipher_encrypt2 Checking function gnutls_cipher_decrypt2 Checking function gnutls_cipher_add_auth Checking function gnutls_cipher_tag Checking function gnutls_sign_algorithm_get_requested Checking function gnutls_safe_renegotiation_status Checking function gnutls_key_generate Checking function gnutls_certificate_set_x509_system_trust Checking function gnutls_certificate_get_issuer Checking function gnutls_srp_allocate_client_credentials Checking function gnutls_srp_set_client_credentials Checking function gnutls_srp_allocate_server_credentials Checking function gnutls_srp_set_server_credentials_file Checking function gnutls_srp_server_get_username Checking function gnutls_srp_set_prime_bits Checking function gnutls_srp_verifier Checking function gnutls_x509_crt_get_subject_unique_id Checking function gnutls_x509_crt_get_issuer_unique_id Checking function gnutls_x509_crt_get_authority_info_access Checking function gnutls_x509_crt_get_issuer_alt_name Checking function gnutls_x509_crt_get_issuer_alt_othername_oid Checking function gnutls_pubkey_init Checking function gnutls_privkey_init Checking function gnutls_pubkey_import Checking function gnutls_pubkey_import_url Checking function gnutls_pubkey_import_privkey Checking function gnutls_privkey_import_x509 Checking function gnutls_pubkey_encrypt_data Checking function gnutls_privkey_decrypt_data Checking function gnutls_privkey_sign_data Checking function gnutls_pubkey_verify_data2 Checking function gnutls_transport_set_pull_timeout_function Checking function gnutls_certificate_set_verify_function Checking function gnutls_x509_crl_list_import Checking type nettle_cipher_func Checking function nettle_gcm_aes_set_key Checking function nettle_gcm_aes_set_iv Checking function nettle_gcm_aes_update Checking function nettle_gcm_aes_encrypt Checking function nettle_gcm_aes_decrypt Checking function nettle_gcm_aes_digest Checking function nettle_ciphers Checking function nettle_get_ciphers Checking function nettle_hashes Checking function nettle_get_hashes System certificates: from GnuTLS Checking for zip/camlzip... found Preprocessor for ocamlrpcgen: cpp Effective options: -enable-pcre -disable-full-pcre -disable-gtk -disable-gtk2 -disable-tcl -enable-gnutls -disable-gssapi -enable-zip -disable-apache -disable-nethttpd -bindir /tmp/net/ocamlnet/work/.buildlink/bin -datadir /tmp/net/ocamlnet/work/.destdir/usr/pkg/lib/ocaml/site-lib/netunidata -cpp cpp Writing Makefile.conf Please check Makefile.conf. You can now compile Ocamlnet by invoking make all for the bytecode compiler, and optionally by invoking make opt for the native-code compiler (if supported on your architecture). Finally, a make install will install the package(s).