Saturday, September 17, 2016

FreeBSD: Installing Portsdb

Command:

# cd /usr/ports/ports-mgmt/portupgrade
# make
# make install


Result:

===>  Staging for portupgrade-2.4.14,2
===>   portupgrade-2.4.14,2 depends on file: /usr/local/bin/ruby22 - found
===>   portupgrade-2.4.14,2 depends on file: /usr/local/lib/ruby/site_ruby/2.2/amd64-freebsd10/bdb.so - not found
===>   ruby22-bdb-0.6.6_4 depends on file: /usr/local/bin/ruby22 - found
===>   ruby22-bdb-0.6.6_4 depends on shared library: libdb-5.3.so - not found
===>  Installing for db5-5.3.28_4
===>  Checking if db5 already installed
===>   Registering installation for db5-5.3.28_4 as automatic
Installing db5-5.3.28_4...
===> SECURITY REPORT:
      This port has installed the following files which may act as network
      servers and may therefore pose a remote security risk to the system.
/usr/local/lib/db5/libdb_stl-5.3.so.0.0.0
/usr/local/lib/db5/libdb-5.3.so.0.0.0
/usr/local/lib/db5/libdb_cxx-5.3.so.0.0.0

      If there are vulnerabilities in these programs there may be a security
      risk to the system. FreeBSD makes no guarantee about the security of
      ports included in the Ports Collection. Please type 'make deinstall'
      to deinstall the port if this is a concern.

      For more information, and contact details about the security
      status of this software, see the following webpage:
http://www.oracle.com/us/products/database/berkeley-db/db/
===>   ruby22-bdb-0.6.6_4 depends on shared library: libdb-5.3.so - found (/usr/local/lib/libdb-5.3.so)
===>   Returning to build of ruby22-bdb-0.6.6_4
===>  Configuring for ruby22-bdb-0.6.6_4
===>  Running extconf.rb to configure
extconf.rb: Entering directory `src'
checking for db_version() in -ldb5... no
checking for db_version_5000() in -ldb5... no
checking for db_version() in -ldb... yes
checking for ruby/io.h... yes
checking for rb_frame_this_func() in ruby.h... yes
checking for rb_block_proc() in ruby.h... yes
checking for rb_io_stdio_file() in ruby.h... yes
checking for rb_block_call() in ruby.h... yes
checking for Array#insert... yes
checking for Array#values_at... yes
checking for rb_io_t in ruby.h,ruby/io.h... yes
checking for DB_AFTER in db.h...yes
checking for DB_AGGRESSIVE in db.h...yes
checking for DB_APPEND in db.h...yes
checking for DB_ARCH_ABS in db.h...yes
checking for DB_ARCH_DATA in db.h...yes
checking for DB_ARCH_LOG in db.h...yes
checking for DB_AUTO_COMMIT in db.h...yes
checking for DB_BEFORE in db.h...yes
checking for DB_BTREE in db.h...yes
checking for DB_CACHED_COUNTS in db.h...no
checking for DB_CDB_ALLDB in db.h...yes
checking for DB_CHECKPOINT in db.h...no
checking for DB_CHKSUM in db.h...yes
checking for DB_CHKSUM_SHA1 in db.h...no
checking for DB_CLIENT in db.h...no
checking for DB_CONFIG in db.h...no
checking for DB_CONSUME in db.h...yes
checking for DB_CONSUME_WAIT in db.h...yes
checking for DB_CREATE in db.h...yes
checking for DB_CURLSN in db.h...no
checking for DB_CURRENT in db.h...yes
checking for DB_DBT_MALLOC in db.h...yes
checking for DB_DBT_PARTIAL in db.h...yes
checking for DB_DBT_REALLOC in db.h...yes
checking for DB_DBT_USERMEM in db.h...yes
checking for DB_DIRECT_DB in db.h...yes
checking for DB_DIRECT_LOG in db.h...no
checking for DB_DIRTY_READ in db.h...yes
checking for DB_DONOTINDEX in db.h...yes
checking for DB_DSYNC_LOG in db.h...no
checking for DB_DUP in db.h...yes
checking for DB_DUPSORT in db.h...yes
checking for DB_EID_BROADCAST in db.h...yes
checking for DB_EID_INVALID in db.h...yes
checking for DB_ENCRYPT in db.h...yes
checking for DB_ENCRYPT_AES in db.h...yes
checking for DB_ENV_THREAD in db.h...no
checking for DB_EVENT_PANIC in db.h...yes
checking for DB_EVENT_REP_CLIENT in db.h...yes
checking for DB_EVENT_REP_ELECTED in db.h...yes
checking for DB_EVENT_REP_MASTER in db.h...yes
checking for DB_EVENT_REP_NEWMASTER in db.h...yes
checking for DB_EVENT_REP_PERM_FAILED in db.h...yes
checking for DB_EVENT_REP_STARTUPDONE in db.h...yes
checking for DB_EVENT_WRITE_FAILED in db.h...yes
checking for DB_EXCL in db.h...yes
checking for DB_FAST_STAT in db.h...yes
checking for DB_FIRST in db.h...yes
checking for DB_FIXEDLEN in db.h...no
checking for DB_FLUSH in db.h...yes
checking for DB_FORCE in db.h...yes
checking for DB_GET_BOTH_RANGE in db.h...yes
checking for DB_GET_RECNO in db.h...yes
checking for DB_GET_BOTH in db.h...yes
checking for DB_HASH in db.h...yes
checking for DB_HOME in db.h...no
checking for DB_IGNORE_LEASE in db.h...yes
checking for DB_INCOMPLETE in db.h...no
checking for DB_INIT_CDB in db.h...yes
checking for DB_INIT_LOCK in db.h...yes
checking for DB_INIT_LOG in db.h...yes
checking for DB_INIT_MPOOL in db.h...yes
checking for DB_INIT_REP in db.h...yes
checking for DB_INIT_TXN in db.h...yes
checking for DB_JOINENV in db.h...yes
checking for DB_JOIN_ITEM in db.h...yes
checking for DB_JOIN_NOSORT in db.h...yes
checking for DB_KEYEMPTY in db.h...yes
checking for DB_KEYEXIST in db.h...yes
checking for DB_KEYFIRST in db.h...yes
checking for DB_KEYLAST in db.h...yes
checking for DB_LAST in db.h...yes
checking for DB_LOCKDOWN in db.h...yes
checking for DB_LOCK_CONFLICT in db.h...no
checking for DB_LOCK_DEADLOCK in db.h...yes
checking for DB_LOCK_DEFAULT in db.h...yes
checking for DB_LOCK_EXPIRE in db.h...yes
checking for DB_LOCK_GET in db.h...yes
checking for DB_LOCK_GET_TIMEOUT in db.h...yes
checking for DB_LOCK_IREAD in db.h...yes
checking for DB_LOCK_IWR in db.h...yes
checking for DB_LOCK_IWRITE in db.h...yes
checking for DB_LOCK_MAXLOCKS in db.h...yes
checking for DB_LOCK_MINLOCKS in db.h...yes
checking for DB_LOCK_MINWRITE in db.h...yes
checking for DB_LOCK_NG in db.h...yes
checking for DB_LOCK_NOTGRANTED in db.h...yes
checking for DB_LOCK_NOTHELD in db.h...no
checking for DB_LOCK_NOWAIT in db.h...yes
checking for DB_LOCK_OLDEST in db.h...yes
checking for DB_LOCK_PUT in db.h...yes
checking for DB_LOCK_PUT_ALL in db.h...yes
checking for DB_LOCK_PUT_OBJ in db.h...yes
checking for DB_LOCK_RANDOM in db.h...yes
checking for DB_LOCK_READ in db.h...yes
checking for DB_LOCK_TIMEOUT in db.h...yes
checking for DB_LOCK_WRITE in db.h...yes
checking for DB_LOCK_YOUNGEST in db.h...yes
checking for DB_LOG_AUTOREMOVE in db.h...no
checking for DB_LOG_AUTO_REMOVE in db.h...yes
checking for DB_LOG_DIRECT in db.h...yes
checking for DB_LOG_DSYNC in db.h...yes
checking for DB_LOG_INMEMORY in db.h...no
checking for DB_LOG_IN_MEMORY in db.h...yes
checking for DB_LOG_ZERO in db.h...yes
checking for DB_MPOOL_CLEAN in db.h...no
checking for DB_MPOOL_CREATE in db.h...yes
checking for DB_MPOOL_DIRTY in db.h...yes
checking for DB_MPOOL_DISCARD in db.h...yes
checking for DB_MPOOL_LAST in db.h...yes
checking for DB_MPOOL_NEW in db.h...yes
checking for DB_MPOOL_PRIVATE in db.h...no
checking for DB_MULTIVERSION in db.h...yes
checking for DB_MUTEX_PROCESS_ONLY in db.h...yes
checking for DB_NEXT_DUP in db.h...yes
checking for DB_NEXT_NODUP in db.h...yes
checking for DB_NODUPDATA in db.h...yes
checking for DB_NOORDERCHK in db.h...yes
checking for DB_NOSERVER in db.h...yes
checking for DB_NOSERVER_HOME in db.h...no
checking for DB_NOSERVER_ID in db.h...no
checking for DB_NOTFOUND in db.h...yes
checking for DB_OLD_VERSION in db.h...yes
checking for DB_ORDERCHKONLY in db.h...yes
checking for DB_OVERWRITE in db.h...yes
checking for DB_POSITION in db.h...yes
checking for DB_PRIVATE in db.h...yes
checking for DB_SYSTEM_MEM in db.h...yes
checking for DB_RMW in db.h...yes
checking for DB_PAD in db.h...no
checking for DB_PREV_DUP in db.h...yes
checking for DB_PREV_NODUP in db.h...yes
checking for DB_PRINTABLE in db.h...yes
checking for DB_PRIORITY_DEFAULT in db.h...yes
checking for DB_PRIORITY_HIGH in db.h...yes
checking for DB_PRIORITY_LOW in db.h...yes
checking for DB_PRIORITY_VERY_HIGH in db.h...yes
checking for DB_QUEUE in db.h...yes
checking for DB_RDONLY in db.h...yes
checking for DB_READ_COMMITTED in db.h...yes
checking for DB_READ_UNCOMMITTED in db.h...yes
checking for DB_RECNO in db.h...yes
checking for DB_RECNUM in db.h...yes
checking for DB_RECORDCOUNT in db.h...no
checking for DB_RECOVER in db.h...yes
checking for DB_RECOVER_FATAL in db.h...yes
checking for DB_REGION_INIT in db.h...yes
checking for DB_RENUMBER in db.h...yes
checking for DB_REPFLAGS_MASK in db.h...no
checking for DB_REPMGR_ACKS_ALL in db.h...yes
checking for DB_REPMGR_ACKS_ALL_PEERS in db.h...yes
checking for DB_REPMGR_ACKS_NONE in db.h...yes
checking for DB_REPMGR_ACKS_ONE in db.h...yes
checking for DB_REPMGR_ACKS_ONE_PEER in db.h...yes
checking for DB_REPMGR_ACKS_QUORUM in db.h...yes
checking for DB_REPMGR_CONNECTED in db.h...yes
checking for DB_REPMGR_DISCONNECTED in db.h...yes
checking for DB_REPMGR_PEER in db.h...yes
checking for DB_REP_ACK_TIMEOUT in db.h...yes
checking for DB_REP_ANYWHERE in db.h...yes
checking for DB_REP_BULKOVF in db.h...yes
checking for DB_REP_CHECKPOINT_DELAY in db.h...yes
checking for DB_REP_CLIENT in db.h...yes
checking for DB_REP_CONF_BULK in db.h...yes
checking for DB_REP_CONF_DELAYCLIENT in db.h...yes
checking for DB_REP_CONF_NOAUTOINIT in db.h...no
checking for DB_REP_CONF_NOWAIT in db.h...yes
checking for DB_REP_CONNECTION_RETRY in db.h...yes
checking for DB_REP_DEFAULT_PRIORITY in db.h...yes
checking for DB_REP_DUPMASTER in db.h...yes
checking for DB_REP_EGENCHG in db.h...no
checking for DB_REP_ELECTION in db.h...yes
checking for DB_REP_ELECTION_RETRY in db.h...yes
checking for DB_REP_ELECTION_TIMEOUT in db.h...yes
checking for DB_REP_FULL_ELECTION in db.h...no
checking for DB_REP_FULL_ELECTION_TIMEOUT in db.h...yes
checking for DB_REP_HANDLE_DEAD in db.h...yes
checking for DB_REP_HOLDELECTION in db.h...yes
checking for DB_REP_IGNORE in db.h...yes
checking for DB_REP_ISPERM in db.h...yes
checking for DB_REP_JOIN_FAILURE in db.h...yes
checking for DB_REP_LEASE_EXPIRED in db.h...yes
checking for DB_REP_LEASE_TIMEOUT in db.h...yes
checking for DB_REP_LOCKOUT in db.h...yes
checking for DB_REP_LOGREADY in db.h...yes
checking for DB_REP_LOGSONLY in db.h...no
checking for DB_REP_MASTER in db.h...yes
checking for DB_REP_NEWMASTER in db.h...yes
checking for DB_REP_NEWSITE in db.h...yes
checking for DB_REP_NOBUFFER in db.h...yes
checking for DB_REP_NOTPERM in db.h...yes
checking for DB_REP_OUTDATED in db.h...no
checking for DB_REP_PAGEDONE in db.h...yes
checking for DB_REP_PERMANENT in db.h...yes
checking for DB_REP_REREQUEST in db.h...yes
checking for DB_REP_UNAVAIL in db.h...yes
checking for DB_RPCCLIENT in db.h...no
checking for DB_RUNRECOVERY in db.h...yes
checking for DB_SALVAGE in db.h...yes
checking for DB_SECONDARY_BAD in db.h...yes
checking for DB_SET in db.h...yes
checking for DB_SET_LOCK_TIMEOUT in db.h...yes
checking for DB_SET_RANGE in db.h...yes
checking for DB_SET_RECNO in db.h...yes
checking for DB_SET_TXN_TIMEOUT in db.h...yes
checking for DB_SNAPSHOT in db.h...yes
checking for DB_STAT_ALL in db.h...yes
checking for DB_STAT_CLEAR in db.h...yes
checking for DB_STAT_SUBSYSTEM in db.h...yes
checking for DB_THREAD in db.h...yes
checking for DB_TRUNCATE in db.h...yes
checking for DB_TXN_ABORT in db.h...yes
checking for DB_TXN_APPLY in db.h...yes
checking for DB_TXN_BACKWARD_ROLL in db.h...yes
checking for DB_TXN_FORWARD_ROLL in db.h...yes
checking for DB_TXN_NOSYNC in db.h...yes
checking for DB_TXN_NOWAIT in db.h...yes
checking for DB_TXN_PRINT in db.h...yes
checking for DB_TXN_SNAPSHOT in db.h...yes
checking for DB_TXN_SYNC in db.h...yes
checking for DB_TXN_WRITE_NOSYNC in db.h...yes
checking for DB_UNKNOWN in db.h...yes
checking for DB_UPGRADE in db.h...yes
checking for DB_USE_ENVIRON in db.h...yes
checking for DB_USE_ENVIRON_ROOT in db.h...yes
checking for DB_VERB_CHKPOINT in db.h...no
checking for DB_VERB_DEADLOCK in db.h...yes
checking for DB_VERB_RECOVERY in db.h...yes
checking for DB_VERB_REPLICATION in db.h...yes
checking for DB_VERB_WAITSFOR in db.h...yes
checking for DB_VERIFY in db.h...yes
checking for DB_PRIORITY_VERY_LOW in db.h...yes
checking for DB_WRITECURSOR in db.h...yes
checking for DB_XA_CREATE in db.h...yes
checking for DB_XIDDATASIZE in db.h...no
checking for DB_MULTIPLE_KEY in db.h...yes
checking for DB_REP_CONF_LEASE in db.h...yes
checking for DB_REP_HEARTBEAT_MONITOR in db.h...yes
checking for DB_REP_HEARTBEAT_SEND in db.h...yes
checking for DB_TXN_NOT_DURABLE in db.h...yes
checking for DB_KEY_RANGE in db.h... yes
checking for DB_INFO in db.h... no
checking for DB_SEQUENCE in db.h... yes
checking for DB_LOGC in db.h... yes
checking for DBTYPE in db.h... yes
checking for DB_COMPACT in db.h... yes
checking for DB_HASH_STAT in db.h... yes
checking for DB_HASH_STAT.hash_nkeys in db.h... yes
checking for DB_HASH_STAT.hash_nrecs in db.h... no
checking for DB_HASH_STAT.hash_ndata in db.h... yes
checking for DB_HASH_STAT.hash_nelem in db.h... no
checking for DB_HASH_STAT.hash_pagecnt in db.h... yes
checking for DB_QUEUE_STAT in db.h... yes
checking for DB_QUEUE_STAT.qs_nkeys in db.h... yes
checking for DB_QUEUE_STAT.qs_nrecs in db.h... no
checking for DB_QUEUE_STAT.qs_ndata in db.h... yes
checking for DB_QUEUE_STAT.qs_start in db.h... no
checking for DB_REP_STAT in db.h... yes
checking for DB_REP_STAT.st_bulk_fills in db.h... yes
checking for DB_REP_STAT.st_bulk_overflows in db.h... yes
checking for DB_REP_STAT.st_bulk_records in db.h... yes
checking for DB_REP_STAT.st_bulk_transfers in db.h... yes
checking for DB_REP_STAT.st_client_rerequests in db.h... yes
checking for DB_REP_STAT.st_client_svc_miss in db.h... yes
checking for DB_REP_STAT.st_client_svc_req in db.h... yes
checking for DB_REP_STAT.st_egen in db.h... yes
checking for DB_REP_STAT.st_election_nvotes in db.h... yes
checking for DB_REP_STAT.st_election_sec in db.h... yes
checking for DB_REP_STAT.st_election_usec in db.h... yes
checking for DB_REP_STAT.st_next_pg in db.h... yes
checking for DB_REP_STAT.st_pg_duplicated in db.h... yes
checking for DB_REP_STAT.st_pg_records in db.h... yes
checking for DB_REP_STAT.st_pg_requested in db.h... yes
checking for DB_REP_STAT.st_startup_complete in db.h... yes
checking for DB_REP_STAT.st_waiting_pg in db.h... yes
checking for DBC.c_close in db.h... yes
checking for DBC.c_count in db.h... yes
checking for DBC.c_del in db.h... yes
checking for DBC.c_dup in db.h... yes
checking for DBC.c_get in db.h... yes
checking for DBC.c_pget in db.h... yes
checking for DBC.c_put in db.h... yes
checking for DBC.close in db.h... yes
checking for DBC.count in db.h... yes
checking for DBC.del in db.h... yes
checking for DBC.dup in db.h... yes
checking for DBC.get in db.h... yes
checking for DBC.pget in db.h... yes
checking for DBC.put in db.h... yes
checking for DBC.get_priority in db.h... yes
checking for DB.app_private in db.h... yes
checking for DB.set_h_compare in db.h... yes
checking for DB.set_append_recno in db.h... yes
checking for DB.set_feedback in db.h... yes
checking for DB.set_q_extendsize in db.h... no
checking for DB.set_encrypt in db.h... yes
checking for DB.set_errcall in db.h... yes
checking for DB.get_type in db.h... yes
checking for DB.pget in db.h... yes
checking for DB.fd in db.h... yes
checking for DB.set_priority in db.h... yes
checking for DB.byteswapped in db.h... no
checking for DB.get_bt_minkey in db.h... yes
checking for DB.get_cachesize in db.h... yes
checking for DB.get_dbname in db.h... yes
checking for DB.get_env in db.h... yes
checking for DB.get_h_ffactor in db.h... yes
checking for DB.get_h_nelem in db.h... yes
checking for DB.get_lorder in db.h... yes
checking for DB.get_pagesize in db.h... yes
checking for DB.get_q_extentsize in db.h... yes
checking for DB.get_re_delim in db.h... yes
checking for DB.get_re_len in db.h... yes
checking for DB.get_re_pad in db.h... yes
checking for DB.get_re_source in db.h... yes
checking for DB.get_flags in db.h... yes
checking for DB.get_open_flags in db.h... yes
checking for DB.verify in db.h... yes
checking for DB.truncate in db.h... yes
checking for DB.upgrade in db.h... yes
checking for DB.remove in db.h... yes
checking for DB.rename in db.h... yes
checking for DB.join in db.h... yes
checking for DB.get_byteswapped in db.h... yes
checking for DB.set_cache_priority in db.h... no
checking for DB_GET_TYPE_2... yes
checking for DB.open in db.h... yes
checking for DB_OPEN_7... yes
checking for DB.associate in db.h... yes
checking for DB_ASSOCIATE_TXN... yes
checking for DB_JOIN_FLAG_DBC... yes
checking for DB_GET_BYTESWAPPED_2... yes
checking for DB_ENV.get_cachesize in db.h... yes
checking for DB_ENV.get_data_dirs in db.h... yes
checking for DB_ENV.get_flags in db.h... yes
checking for DB_ENV.get_home in db.h... yes
checking for DB_ENV.get_lg_bsize in db.h... yes
checking for DB_ENV.get_lg_dir in db.h... yes
checking for DB_ENV.get_lg_max in db.h... yes
checking for DB_ENV.get_lg_regionmax in db.h... yes
checking for DB_ENV.get_lk_detect in db.h... yes
checking for DB_ENV.get_lk_max_lockers in db.h... yes
checking for DB_ENV.get_lk_max_locks in db.h... yes
checking for DB_ENV.get_lk_max_objects in db.h... yes
checking for DB_ENV.get_mp_mmapsize in db.h... yes
checking for DB_ENV.get_open_flags in db.h... yes
checking for DB_ENV.get_rep_limit in db.h... no
checking for DB_ENV.get_rep_nsites in db.h... no
checking for DB_ENV.get_shm_key in db.h... yes
checking for DB_ENV.get_tas_spins in db.h... no
checking for DB_ENV.get_tmp_dir in db.h... yes
checking for DB_ENV.get_timeout in db.h... yes
checking for DB_ENV.get_tx_max in db.h... yes
checking for DB_ENV.get_tx_timestamp in db.h... yes
checking for DB_ENV.rep_get_nsites in db.h... yes
checking for DB_ENV.rep_get_priority in db.h... yes
checking for DB_ENV.lg_info in db.h... no
checking for DB_ENV.log_put in db.h... yes
checking for DB_ENV.log_flush in db.h... yes
checking for DB_ENV.log_cursor in db.h... yes
checking for DB_ENV.log_file in db.h... yes
checking for DB_ENV.log_flush in db.h... yes
checking for DB_ENV.set_feedback in db.h... yes
checking for DB_ENV.set_app_dispatch in db.h... yes
checking for DB_ENV.set_rep_transport in db.h... no
checking for DB_ENV.set_timeout in db.h... yes
checking for DB_ENV.set_txn_timeout in db.h... no
checking for DB_ENV.set_lock_timeout in db.h... no
checking for DB_ENV.set_encrypt in db.h... yes
checking for DB_ENV.set_rep_limit in db.h... no
checking for DB_ENV.rep_elect in db.h... yes
checking for DB_ENV.rep_start in db.h... yes
checking for DB_ENV.rep_process_message in db.h... yes
checking for DB_ENV.rep_set_limit in db.h... yes
checking for DB_ENV.set_msgcall in db.h... yes
checking for DB_ENV.set_thread_id in db.h... yes
checking for DB_ENV.set_thread_id_string in db.h... yes
checking for DB_ENV.set_isalive in db.h... yes
checking for DB_ENV.set_shm_key in db.h... yes
checking for DB_ENV.rep_set_nsites in db.h... yes
checking for DB_ENV.rep_set_priority in db.h... yes
checking for DB_ENV.rep_set_config in db.h... yes
checking for DB_ENV.rep_set_timeout in db.h... yes
checking for DB_ENV.rep_set_transport in db.h... yes
checking for DB_ENV.repmgr_set_local_site in db.h... no
checking for DB_ENV.repmgr_add_remote_site in db.h... no
checking for DB_ENV.repmgr_set_ack_policy in db.h... yes
checking for DB_ENV.repmgr_set_site_list in db.h... no
checking for DB_ENV.repmgr_start in db.h... yes
checking for DB_ENV.set_intermediate_dir_mode in db.h... yes
checking for DB_ENV.set_event_notify in db.h... yes
checking for DB_ENV.set_cachesize in db.h... yes
checking for DB_ENV.set_region_init in db.h... no
checking for DB_ENV.set_tas_spins in db.h... no
checking for DB_ENV.set_tx_timestamp in db.h... yes
checking for DB_ENV.db_verbose in db.h... no
checking for DB_ENV.set_verbose in db.h... yes
checking for DB_ENV.lk_detect in db.h... yes
checking for DB_ENV.set_lk_detect in db.h... yes
checking for DB_ENV.lk_max in db.h... yes
checking for DB_ENV.set_lk_max in db.h... no
checking for DB_ENV.lk_conflicts in db.h... yes
checking for DB_ENV.set_lk_conflicts in db.h... yes
checking for DB_ENV.set_timeout in db.h... yes
checking for DB_ENV.set_lk_max_locks in db.h... yes
checking for DB_ENV.set_lk_max_lockers in db.h... yes
checking for DB_ENV.lg_max in db.h... no
checking for DB_ENV.set_lk_max_objects in db.h... yes
checking for DB_ENV.set_lg_bsize in db.h... yes
checking for DB_ENV.set_data_dir in db.h... yes
checking for DB_ENV.set_lg_dir in db.h... yes
checking for DB_ENV.set_tmp_dir in db.h... yes
checking for DB_ENV.set_server in db.h... no
checking for DB_ENV.set_rpc_server in db.h... no
checking for DB_ENV.set_flags in db.h... yes
checking for DB_ENV.close in db.h... yes
checking for DB_ENV.set_func_sleep in db.h... no
checking for DB_ENV.set_func_yield in db.h... no
checking for DB_ENV.set_alloc in db.h... yes
checking for DB_ENV.set_errcall in db.h... yes
checking for DB_ENV.lsn_reset in db.h... yes
checking for DB_ENV.fileid_reset in db.h... yes
checking for DB_ENV.failchk in db.h... yes
checking for DB_ENV.rep_sync in db.h... yes
checking for DB_ENV.rep_stat in db.h... yes
checking for DB_ENV.log_set_config in db.h... yes
checking for DB_ENV.fidp in db.h... no
checking for DB_ENV.rep_set_clockskew in db.h... yes
checking for DB_ENV.rep_set_request in db.h... yes
checking for DB_ENV.open in db.h... yes
checking for ENV_OPEN_DB_CONFIG... no
checking for ENV_REMOVE_4... no
checking for DB_ENV.log_stat in db.h... yes
checking for DB_ENV.log_archive in db.h... yes
checking for DB_ENV.log_register in db.h... no
checking for DB_ENV.log_unregister in db.h... no
checking for DB_CURSOR_4... yes
checking for DB_ENV_REP_ELECT_7... no
checking for DB_ENV_REP_ELECT_5... no
checking for DB_ENV_REP_PROCESS_MESSAGE_5... yes
checking for DB_LOG_STAT.st_refcnt in db.h... no
checking for DB_LOG_STAT.st_lg_bsize in db.h... yes
checking for DB_LOG_STAT.st_lg_size in db.h... yes
checking for DB_LOG_STAT.st_lg_max in db.h... no
checking for DB_LOG_STAT.st_wcount_fill in db.h... yes
checking for DB_LOG_STAT.st_disk_file in db.h... yes
checking for DB_LOG_STAT.st_disk_offset in db.h... yes
checking for DB_LOG_STAT.st_flushcommit in db.h... no
checking for DB_LOG_STAT.st_maxcommitperflush in db.h... yes
checking for DB_LOG_STAT.st_mincommitperflush in db.h... yes
checking for DB_BTREE_STAT.bt_nkeys in db.h... yes
checking for DB_BTREE_STAT.bt_nrecs in db.h... no
checking for DB_BTREE_STAT.bt_ndata in db.h... yes
checking for DB_BTREE_STAT.bt_pagecnt in db.h... yes
checking for DB_STAT_4... yes
checking for DB_CURSOR_4... yes
checking for DB_ENV.lock_id_free in db.h... yes
checking for DB_ENV.lock_id in db.h... yes
checking for DB_ENV.lk_info in db.h... no
checking for DB_ENV.lock_detect in db.h... yes
checking for DB_ENV.lock_stat in db.h... yes
checking for DB_ENV.lock_get in db.h... yes
checking for DB_ENV.lock_vec in db.h... yes
checking for DB_ENV.lock_put in db.h... yes
checking for DB_LOCK_STAT.st_id in db.h... yes
checking for DB_LOCK_STAT.st_lastid in db.h... no
checking for DB_LOCK_STAT.st_lock_nowait in db.h... yes
checking for DB_LOCK_STAT.st_lock_wait in db.h... yes
checking for DB_LOCK_STAT.st_nnowaits in db.h... no
checking for DB_LOCK_STAT.st_nconflicts in db.h... no
checking for DB_LOCK_STAT.st_objs_nowait in db.h... yes
checking for DB_LOCK_STAT.st_objs_wait in db.h... yes
checking for DB_LOCK_STAT.st_lockers_nowait in db.h... yes
checking for DB_LOCK_STAT.st_lockers_wait in db.h... yes
checking for DB_LOCK_STAT.st_locks_nowait in db.h... no
checking for DB_LOCK_STAT.st_locks_wait in db.h... no
checking for DB_LOCKREQ.timeout in db.h... yes
checking for DB_TXN.abort in db.h... yes
checking for DB_TXN.commit in db.h... yes
checking for DB_TXN.id in db.h... yes
checking for DB_TXN.prepare in db.h... yes
checking for DB_TXN.discard in db.h... yes
checking for DB_TXN.set_timeout in db.h... yes
checking for DB_TXN.set_name in db.h... yes
checking for DB_ENV.tx_info in db.h... no
checking for DB_ENV.txn_begin in db.h... yes
checking for DB_ENV.txn_checkpoint in db.h... yes
checking for DB_ENV.txn_recover in db.h... yes
checking for DB_ENV.txn_stat in db.h... yes
checking for DB_ENV.dbremove in db.h... yes
checking for DB_ENV.dbrename in db.h... yes
checking for DB_ENV.set_tx_max in db.h... yes
checking for DB_TXN_STAT.st_maxnactive in db.h... yes
checking for DB_TXN_STAT.st_regsize in db.h... yes
checking for DB_TXN_STAT.st_region_wait in db.h... yes
checking for DB_TXN_STAT.st_region_nowait in db.h... yes
checking for DB_TXN_STAT.st_last_ckp in db.h... yes
checking for DB_TXN_STAT.st_pending_ckp in db.h... no
checking for DB_TXN_STAT.st_nrestores in db.h... yes
checking for DB_TXN_ACTIVE.tid in db.h... yes
checking for DB_TXN_ACTIVE.name in db.h... yes
checking for DB_TXN_ACTIVE.parentid in db.h... yes
checking for ENV_REP_TRANSPORT_6... yes
checking for DB_ENV_REP_PROCESS_MESSAGE_ENVID... yes
/usr/ports/databases/ruby-bdb/work/bdb-0.6.6/src/features.rb:882: warning: already initialized constant CONFTEST_C
/usr/ports/databases/ruby-bdb/work/bdb-0.6.6/src/features.rb:818: warning: previous definition of CONFTEST_C was here
creating Makefile
extconf.rb: Leaving directory `src'
===>  Building for ruby22-bdb-0.6.6_4
compiling bdb.c
compiling log.c
compiling transaction.c
compiling lock.c
compiling cursor.c
cursor.c:32:51: warning: 'rb_hash_ifnone' is deprecated [-Wdeprecated-declarations]
        if ((g = rb_hash_aref(f, rb_intern("flags"))) != rb_hash_ifnone(f) ||
                                                         ^
/usr/local/include/ruby-2.2/ruby/intern.h:528:18: note: 'rb_hash_ifnone' declared here
DEPRECATED(VALUE rb_hash_ifnone(VALUE));
                 ^
/usr/local/include/ruby-2.2//amd64-freebsd10/ruby/config.h:119:52: note: expanded from macro 'DEPRECATED'
#define DEPRECATED(x) __attribute__ ((deprecated)) x
                                                   ^
cursor.c:33:53: warning: 'rb_hash_ifnone' is deprecated [-Wdeprecated-declarations]
            (g = rb_hash_aref(f, rb_str_new2("flags"))) != rb_hash_ifnone(f)) {
                                                           ^
/usr/local/include/ruby-2.2/ruby/intern.h:528:18: note: 'rb_hash_ifnone' declared here
DEPRECATED(VALUE rb_hash_ifnone(VALUE));
                 ^
/usr/local/include/ruby-2.2//amd64-freebsd10/ruby/config.h:119:52: note: expanded from macro 'DEPRECATED'
#define DEPRECATED(x) __attribute__ ((deprecated)) x
                                                   ^
2 warnings generated.
compiling recnum.c
recnum.c:20:49: warning: 'rb_hash_ifnone' is deprecated [-Wdeprecated-declarations]
    if (rb_hash_aref(argv[argc - 1], sarray) != rb_hash_ifnone(argv[argc - 1])) {
                                                ^
/usr/local/include/ruby-2.2/ruby/intern.h:528:18: note: 'rb_hash_ifnone' declared here
DEPRECATED(VALUE rb_hash_ifnone(VALUE));
                 ^
/usr/local/include/ruby-2.2//amd64-freebsd10/ruby/config.h:119:52: note: expanded from macro 'DEPRECATED'
#define DEPRECATED(x) __attribute__ ((deprecated)) x
                                                   ^
recnum.c:152:13: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
    if (beg < 0) {
        ~~~ ^ ~
recnum.c:155:13: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
    if (beg < 0) {
        ~~~ ^ ~
recnum.c:700:51: warning: 'rb_hash_ifnone' is deprecated [-Wdeprecated-declarations]
        if ((g = rb_hash_aref(f, rb_intern("flags"))) != rb_hash_ifnone(f) ||
                                                         ^
/usr/local/include/ruby-2.2/ruby/intern.h:528:18: note: 'rb_hash_ifnone' declared here
DEPRECATED(VALUE rb_hash_ifnone(VALUE));
                 ^
/usr/local/include/ruby-2.2//amd64-freebsd10/ruby/config.h:119:52: note: expanded from macro 'DEPRECATED'
#define DEPRECATED(x) __attribute__ ((deprecated)) x
                                                   ^
recnum.c:701:53: warning: 'rb_hash_ifnone' is deprecated [-Wdeprecated-declarations]
            (g = rb_hash_aref(f, rb_str_new2("flags"))) != rb_hash_ifnone(f)) {
                                                           ^
/usr/local/include/ruby-2.2/ruby/intern.h:528:18: note: 'rb_hash_ifnone' declared here
DEPRECATED(VALUE rb_hash_ifnone(VALUE));
                 ^
/usr/local/include/ruby-2.2//amd64-freebsd10/ruby/config.h:119:52: note: expanded from macro 'DEPRECATED'
#define DEPRECATED(x) __attribute__ ((deprecated)) x
                                                   ^
5 warnings generated.
compiling delegator.c
compiling common.c
common.c:1232:51: warning: 'rb_hash_ifnone' is deprecated [-Wdeprecated-declarations]
        if ((v = rb_hash_aref(f, rb_str_new2("txn"))) != rb_hash_ifnone(f)) {
                                                         ^
/usr/local/include/ruby-2.2/ruby/intern.h:528:18: note: 'rb_hash_ifnone' declared here
DEPRECATED(VALUE rb_hash_ifnone(VALUE));
                 ^
/usr/local/include/ruby-2.2//amd64-freebsd10/ruby/config.h:119:52: note: expanded from macro 'DEPRECATED'
#define DEPRECATED(x) __attribute__ ((deprecated)) x
                                                   ^
common.c:1244:56: warning: 'rb_hash_ifnone' is deprecated [-Wdeprecated-declarations]
        else if ((v = rb_hash_aref(f, rb_str_new2("env"))) != rb_hash_ifnone(f)) {
                                                              ^
/usr/local/include/ruby-2.2/ruby/intern.h:528:18: note: 'rb_hash_ifnone' declared here
DEPRECATED(VALUE rb_hash_ifnone(VALUE));
                 ^
/usr/local/include/ruby-2.2//amd64-freebsd10/ruby/config.h:119:52: note: expanded from macro 'DEPRECATED'
#define DEPRECATED(x) __attribute__ ((deprecated)) x
                                                   ^
common.c:1257:59: warning: 'rb_hash_ifnone' is deprecated [-Wdeprecated-declarations]
            if ((v = rb_hash_aref(f, rb_intern("set_flags"))) != rb_hash_ifnone(f)) {
                                                                 ^
/usr/local/include/ruby-2.2/ruby/intern.h:528:18: note: 'rb_hash_ifnone' declared here
DEPRECATED(VALUE rb_hash_ifnone(VALUE));
                 ^
/usr/local/include/ruby-2.2//amd64-freebsd10/ruby/config.h:119:52: note: expanded from macro 'DEPRECATED'
#define DEPRECATED(x) __attribute__ ((deprecated)) x
                                                   ^
common.c:1261:45: warning: 'rb_hash_ifnone' is deprecated [-Wdeprecated-declarations]
            else if ((v = rb_hash_aref(f, tmp)) != rb_hash_ifnone(f)) {
                                                   ^
/usr/local/include/ruby-2.2/ruby/intern.h:528:18: note: 'rb_hash_ifnone' declared here
DEPRECATED(VALUE rb_hash_ifnone(VALUE));
                 ^
/usr/local/include/ruby-2.2//amd64-freebsd10/ruby/config.h:119:52: note: expanded from macro 'DEPRECATED'
#define DEPRECATED(x) __attribute__ ((deprecated)) x
                                                   ^
common.c:1573:6: warning: implicit declaration of function 'RBASIC_SET_CLASS_RAW' is invalid in C99 [-Wimplicit-function-declaration]
            RBASIC_SET_CLASS_RAW(obj, bdb_cBtree);
            ^
common.c:1638:26: warning: implicit declaration of function 'RCLASS_M_TBL' is invalid in C99 [-Wimplicit-function-declaration]
        if (cl == bdb_cBtree || RCLASS_M_TBL(cl) == RCLASS_M_TBL(bdb_cBtree)) {
                                ^
common.c:3007:51: warning: 'rb_hash_ifnone' is deprecated [-Wdeprecated-declarations]
        if ((g = rb_hash_aref(f, rb_intern("flags"))) != rb_hash_ifnone(f) ||
                                                         ^
/usr/local/include/ruby-2.2/ruby/intern.h:528:18: note: 'rb_hash_ifnone' declared here
DEPRECATED(VALUE rb_hash_ifnone(VALUE));
                 ^
/usr/local/include/ruby-2.2//amd64-freebsd10/ruby/config.h:119:52: note: expanded from macro 'DEPRECATED'
#define DEPRECATED(x) __attribute__ ((deprecated)) x
                                                   ^
common.c:3008:53: warning: 'rb_hash_ifnone' is deprecated [-Wdeprecated-declarations]
            (g = rb_hash_aref(f, rb_str_new2("flags"))) != rb_hash_ifnone(f)) {
                                                           ^
/usr/local/include/ruby-2.2/ruby/intern.h:528:18: note: 'rb_hash_ifnone' declared here
DEPRECATED(VALUE rb_hash_ifnone(VALUE));
                 ^
/usr/local/include/ruby-2.2//amd64-freebsd10/ruby/config.h:119:52: note: expanded from macro 'DEPRECATED'
#define DEPRECATED(x) __attribute__ ((deprecated)) x
                                                   ^
common.c:3351:51: warning: 'rb_hash_ifnone' is deprecated [-Wdeprecated-declarations]
        if ((g = rb_hash_aref(f, rb_intern("flags"))) != rb_hash_ifnone(f) ||
                                                         ^
/usr/local/include/ruby-2.2/ruby/intern.h:528:18: note: 'rb_hash_ifnone' declared here
DEPRECATED(VALUE rb_hash_ifnone(VALUE));
                 ^
/usr/local/include/ruby-2.2//amd64-freebsd10/ruby/config.h:119:52: note: expanded from macro 'DEPRECATED'
#define DEPRECATED(x) __attribute__ ((deprecated)) x
                                                   ^
common.c:3352:53: warning: 'rb_hash_ifnone' is deprecated [-Wdeprecated-declarations]
            (g = rb_hash_aref(f, rb_str_new2("flags"))) != rb_hash_ifnone(f)) {
                                                           ^
/usr/local/include/ruby-2.2/ruby/intern.h:528:18: note: 'rb_hash_ifnone' declared here
DEPRECATED(VALUE rb_hash_ifnone(VALUE));
                 ^
/usr/local/include/ruby-2.2//amd64-freebsd10/ruby/config.h:119:52: note: expanded from macro 'DEPRECATED'
#define DEPRECATED(x) __attribute__ ((deprecated)) x
                                                   ^
10 warnings generated.
compiling env.c
env.c:1985:60: warning: passing 'int *' to parameter of type 'u_int32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
        bdb_test_error(envst->envp->rep_get_priority(envst->envp, &size));
                                                                  ^~~~~
env.c:2454:61: warning: passing 'int *' to parameter of type 'u_int32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    bdb_test_error(envst->envp->rep_get_nsites(envst->envp, &offon));
                                                            ^~~~~~
env.c:2479:63: warning: passing 'int *' to parameter of type 'u_int32_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
    bdb_test_error(envst->envp->rep_get_priority(envst->envp, &offon));
                                                              ^~~~~~
3 warnings generated.
compiling sequence.c
linking shared-object bdb.so
(cd /usr/ports/databases/ruby-bdb/work/bdb-0.6.6 && /usr/bin/env RUBY_RDOC=/usr/local/bin/rdoc XDG_DATA_HOME=/usr/ports/databases/ruby-bdb/work  XDG_CONFIG_HOME=/usr/ports/databases/ruby-bdb/work  HOME=/usr/ports/databases/ruby-bdb/work NO_PIE=yes WITHOUT_DEBUG_FILES=yes WITHOUT_KERNEL_SYMBOLS=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 444"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444" make  -f Makefile DESTDIR=/usr/ports/databases/ruby-bdb/work/stage rdoc)
Parsing sources...
100% [18/18]  transaction.rd

Generating Darkfish format into /usr/ports/databases/ruby-bdb/work/bdb-0.6.6/docs/doc...
uh-oh! RDoc had a problem:
error generating /usr/ports/databases/ruby-bdb/work/bdb-0.6.6/docs/doc/exception_rb.html: Error while evaluating /usr/local/lib/ruby/2.2/rdoc/generator/template/darkfish/page.rhtml: undefined method `append' for "{set}[rdoc-label:set]":String (RDoc::Error)

run with --debug for full backtrace
*** Error code 1 (ignored)
===>  Staging for ruby22-bdb-0.6.6_4
===>   ruby22-bdb-0.6.6_4 depends on file: /usr/local/bin/ruby22 - found
===>   Generating temporary packing list
/usr/bin/install -c -m 0755 bdb.so /usr/ports/databases/ruby-bdb/work/stage/usr/local/lib/ruby/site_ruby/2.2/amd64-freebsd10
/usr/bin/strip /usr/ports/databases/ruby-bdb/work/stage/usr/local/lib/ruby/site_ruby/2.2/amd64-freebsd10/bdb.so
/bin/mkdir -p /usr/ports/databases/ruby-bdb/work/stage/usr/local/share/doc/ruby22/bdb/doc
(cd /usr/ports/databases/ruby-bdb/work/bdb-0.6.6 && install  -m 0644 Changes README.en bdb.rd docs/*.rd /usr/ports/databases/ruby-bdb/work/stage/usr/local/share/doc/ruby22/bdb)
(cd /usr/ports/databases/ruby-bdb/work/bdb-0.6.6/docs/doc && /bin/sh -c '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null  2>&1) &&  /usr/bin/find -d $0 $2 -type d -exec chmod 755 $1/{} \; &&  /usr/bin/find -d $0 $2 -type f -exec chmod 444 $1/{} \;' -- . /usr/ports/databases/ruby-bdb/work/stage/usr/local/share/doc/ruby22/bdb/doc)
/bin/mkdir -p /usr/ports/databases/ruby-bdb/work/stage/usr/local/share/examples/ruby22/bdb/
(cd /usr/ports/databases/ruby-bdb/work/bdb-0.6.6/examples/ && /bin/sh -c '(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null  2>&1) &&  /usr/bin/find -d $0 $2 -type d -exec chmod 755 $1/{} \; &&  /usr/bin/find -d $0 $2 -type f -exec chmod 444 $1/{} \;' -- . /usr/ports/databases/ruby-bdb/work/stage/usr/local/share/examples/ruby22/bdb "! -empty")
====> Compressing man pages (compress-man)
===>  Installing for ruby22-bdb-0.6.6_4
===>  Checking if ruby22-bdb already installed
===>   Registering installation for ruby22-bdb-0.6.6_4 as automatic
Installing ruby22-bdb-0.6.6_4...
===>   portupgrade-2.4.14,2 depends on file: /usr/local/lib/ruby/site_ruby/2.2/amd64-freebsd10/bdb.so - found
===>   Returning to build of portupgrade-2.4.14,2
===>   Generating temporary packing list
===> bin (install)
install -o root  -g wheel -m 555  .build/pkg_fetch  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/sbin/pkg_fetch
install -o root  -g wheel -m 555  .build/pkg_glob  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/sbin/pkg_glob
install -o root  -g wheel -m 555  .build/pkg_sort  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/sbin/pkg_sort
install -o root  -g wheel -m 555  .build/pkgdb  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/sbin/pkgdb
install -o root  -g wheel -m 555  .build/pkgdu  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/sbin/pkgdu
install -o root  -g wheel -m 555  .build/portcvsweb  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/sbin/portcvsweb
install -o root  -g wheel -m 555  .build/portsclean  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/sbin/portsclean
install -o root  -g wheel -m 555  .build/portsdb  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/sbin/portsdb
install -o root  -g wheel -m 555  .build/portupgrade  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/sbin/portupgrade
install -o root  -g wheel -m 555  .build/portversion  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/sbin/portversion
/usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/sbin/pkg_deinstall -> /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/sbin/pkg_glob
/usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/sbin/pkg_which -> /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/sbin/pkgdb
/usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/sbin/portinstall -> /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/sbin/portupgrade
/usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/sbin/portsvnweb -> /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/sbin/portcvsweb
/usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/sbin/ports_glob -> /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/sbin/portsdb
===> etc (install)
install -o root  -g wheel -m 555  .build/status-pkg.sh  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/etc/pkgtools.status-pkg.sh
install -o root  -g wheel -m 444  pkgtools.conf  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/etc/pkgtools.conf.sample
===> lib (install)
/bin/mkdir -p /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/lib/ruby/site_ruby/2.2/pkgtools
install -o root -g wheel  -m 444 pkgtools.rb /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/lib/ruby/site_ruby/2.2
/usr/ports/ports-mgmt/portupgrade/work/portupgrade-2.4.14/lib/../scripts/buildrev.sh
Using 'lib/pkgtools/revision.rb' file from distribution.
install -o root -g wheel  -m 444 .build/pkg.rb .build/pkgdb.rb .build/pkgdbtools.rb .build/pkginfo.rb .build/pkgmisc.rb .build/pkgtools.rb .build/pkgtsort.rb .build/pkgversion.rb .build/portinfo.rb .build/ports.rb .build/portsdb.rb pkgtools/revision.rb /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/lib/ruby/site_ruby/2.2/pkgtools
===> man (install)
install -o root -g wheel -m 444 pkg_deinstall.1.gz  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/man/man1
install -o root -g wheel -m 444 pkg_fetch.1.gz  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/man/man1
install -o root -g wheel -m 444 pkg_glob.1.gz  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/man/man1
install -o root -g wheel -m 444 pkg_sort.1.gz  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/man/man1
install -o root -g wheel -m 444 pkgdb.1.gz  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/man/man1
install -o root -g wheel -m 444 pkgdu.1.gz  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/man/man1
install -o root -g wheel -m 444 portcvsweb.1.gz  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/man/man1
install -o root -g wheel -m 444 portsclean.1.gz  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/man/man1
install -o root -g wheel -m 444 portsdb.1.gz  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/man/man1
install -o root -g wheel -m 444 portupgrade.1.gz  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/man/man1
install -o root -g wheel -m 444 portversion.1.gz  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/man/man1
install -o root -g wheel -m 444 pkgtools.conf.5.gz  /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/man/man5
/usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/man/man1/pkg_which.1.gz -> /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/man/man1/pkgdb.1.gz
/usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/man/man1/portinstall.1.gz -> /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/man/man1/portupgrade.1.gz
/usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/man/man1/portsvnweb.1.gz -> /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/man/man1/portcvsweb.1.gz
/usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/man/man1/ports_glob.1.gz -> /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/man/man1/portsdb.1.gz
===> misc (install)
===> misc/bash (install)
/bin/mkdir -p /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/share/examples/pkgtools/bash
install -o root -g wheel  -m 444 complete.sample /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/share/examples/pkgtools/bash
===> misc/tcsh (install)
/bin/mkdir -p /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/share/examples/pkgtools/tcsh
install -o root -g wheel  -m 444 complete.sample /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/share/examples/pkgtools/tcsh
===> misc/zsh (install)
/bin/mkdir -p /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/share/zsh/site-functions
install -o root -g wheel  -m 444 _pkgtools /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/share/zsh/site-functions
/bin/mkdir -p /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/share/doc/pkgtools
install -c -o root -g wheel -m 444  NEWS.md README.md /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/share/doc/pkgtools
/bin/mkdir -p /usr/ports/ports-mgmt/portupgrade/work/stage/usr/local/lib/compat/pkg
====> Compressing man pages (compress-man)
===>   Installing ldconfig configuration file
===>  Installing for portupgrade-2.4.14,2
===>  Checking if portupgrade already installed
===>   Registering installation for portupgrade-2.4.14,2
Installing portupgrade-2.4.14,2...


Command:

# portsdb -Fu


Result:

/usr/ports/INDEX-10.bz2                       100% of 1941 kB  862 kBps 00m03s
done
[Updating the portsdb <format:bdb_btree> in /usr/ports ... - 26231 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000.........19000.........20000.........21000.........22000.........23000.........24000.........25000.........26000.. ..... done]


Command:

# portversion -v


Result:

[Reading data from pkg(8) ... - 30 packages found - done]
autoconf-2.69_1             =  up-to-date with port
autoconf-wrapper-20131203   =  up-to-date with port
automake-1.15_1             =  up-to-date with port
automake-wrapper-20131203   =  up-to-date with port
ca_root_nss-3.26            =  up-to-date with port
curl-7.50.1                 =  up-to-date with port
db5-5.3.28_4                =  up-to-date with port
dialog4ports-0.1.5_2        <  needs updating (port has 0.1.6)
expat-2.1.0_3               <  needs updating (port has 2.2.0)
gettext-runtime-0.19.6      <  needs updating (port has 0.19.8.1)
gettext-tools-0.19.6        <  needs updating (port has 0.19.8.1)
gmake-4.1_2                 <  needs updating (port has 4.2.1_1)
help2man-1.43.3_1           =  up-to-date with port
indexinfo-0.2.4             =  up-to-date with port
libedit-3.1.20150325_2,1    =  up-to-date with port
libffi-3.2.1                =  up-to-date with port
libyaml-0.1.6_2             =  up-to-date with port
m4-1.4.17_1,1               =  up-to-date with port
nginx-1.10.1_1,2            <  needs updating (port has 1.10.1_2,2)
openssl-1.0.2_14            <  needs updating (port has 1.0.2_15,1)
p5-Locale-gettext-1.06      =  up-to-date with port
p5-XML-Parser-2.44          =  up-to-date with port
pcre-8.39                   =  up-to-date with port
perl5-5.20.3_8              <  needs updating (port has 5.20.3_15)
pkg-1.8.7_1                 <  needs updating (port has 1.8.7_3)
pkgconf-0.9.12_1            <  needs updating (port has 1.0.1)
portupgrade-2.4.14,2        =  up-to-date with port
ruby-2.2.5,1                =  up-to-date with port
ruby22-bdb-0.6.6_4          =  up-to-date with port
varnish4-4.1.3              =  up-to-date with port