=> Bootstrap dependency digest>=20010302: found digest-20160304 => Checksum SHA1 OK for postgresql-10.4.tar.bz2 => Checksum RMD160 OK for postgresql-10.4.tar.bz2 => Checksum SHA512 OK for postgresql-10.4.tar.bz2 ===> Installing dependencies for postgresql10-contrib-10.4 ========================================================================== The supported build options for postgresql10-contrib are: bonjour dtrace gssapi icu ldap pam The currently selected options are: gssapi You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.postgresql10 (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, postgresql10-contrib-10.4. Their current value is shown below: * KRB5_DEFAULT = heimdal * PGSQL_BLCKSZ (not defined) * READLINE_DEFAULT = readline * SSLBASE = /usr * SSLCERTS = /etc/ssl/certs * SSLDIR = /etc/ssl * SSLKEYS = /etc/ssl/private Based on these variables, the following variables have been set: * KRB5BASE (defined, but empty) * KRB5_TYPE = heimdal * READLINE_TYPE = readline * TERMCAP_TYPE = tinfo You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/usr/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency bison>=1.0: found bison-3.0.4nb3 => Tool dependency gmake>=3.81: found gmake-4.1nb4 => Tool dependency gettext-tools>=0.15: found gettext-tools-0.19.8.1nb1 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency postgresql10-server>=10.4: found postgresql10-server-10.4 => Full dependency gettext-lib>=0.18: found gettext-lib-0.19.8.1 => Full dependency libxml2>=2.8.0nb2: found libxml2-2.9.8nb1 => Full dependency readline>=6.0: found readline-7.0 => Full dependency postgresql10-client>=10.0: found postgresql10-client-10.4 ===> Overriding tools for postgresql10-contrib-10.4 ===> Extracting for postgresql10-contrib-10.4 touch /var/pkgsrc/work/databases/postgresql10-contrib/work/postgresql-10.4/src/template/dragonfly cp /var/pkgsrc/work/databases/postgresql10-contrib/work/postgresql-10.4/src/backend/port/dynloader/freebsd.c /var/pkgsrc/work/databases/postgresql10-contrib/work/postgresql-10.4/src/backend/port/dynloader/dragonfly.c cp /var/pkgsrc/work/databases/postgresql10-contrib/work/postgresql-10.4/src/backend/port/dynloader/freebsd.h /var/pkgsrc/work/databases/postgresql10-contrib/work/postgresql-10.4/src/backend/port/dynloader/dragonfly.h cp /var/pkgsrc/work/databases/postgresql10-contrib/work/postgresql-10.4/src/include/port/freebsd.h /var/pkgsrc/work/databases/postgresql10-contrib/work/postgresql-10.4/src/include/port/dragonfly.h cp /var/pkgsrc/work/databases/postgresql10-contrib/work/postgresql-10.4/src/makefiles/Makefile.freebsd /var/pkgsrc/work/databases/postgresql10-contrib/work/postgresql-10.4/src/makefiles/Makefile.dragonfly ===> Patching for postgresql10-contrib-10.4 => Applying pkgsrc patches for postgresql10-contrib-10.4 ===> Creating toolchain wrappers for postgresql10-contrib-10.4 ===> Configuring for postgresql10-contrib-10.4 => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => Fixing locale directory references. checking build system type... x86_64-unknown-freebsd11 checking host system type... x86_64-unknown-freebsd11 checking which template to use... freebsd checking whether NLS is wanted... yes checking for default port number... 5432 checking for block size... 8kB checking for segment size... 1GB checking for WAL block size... 8kB checking for WAL segment size... 16MB checking for x86_64-unknown-freebsd11-gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking whether clang supports -Wdeclaration-after-statement... yes checking whether clang supports -Wendif-labels... yes checking whether clang supports -Wmissing-format-attribute... yes checking whether clang supports -Wformat-security... yes checking whether clang supports -fno-strict-aliasing... yes checking whether clang supports -fwrapv... yes checking whether clang supports -fexcess-precision=standard... no checking whether clang supports -funroll-loops... yes checking whether clang supports -ftree-vectorize... yes checking whether clang supports -Wunused-command-line-argument... yes checking whether the C compiler still works... yes checking how to run the C preprocessor... clang -E checking allow thread-safe client libraries... yes checking whether to build with ICU support... no checking whether to build with Tcl... no checking whether to build Perl modules... no checking whether to build Python modules... no checking whether to build with GSSAPI support... yes checking whether to build with PAM support... no checking whether to build with BSD Authentication support... no checking whether to build with LDAP support... no checking whether to build with Bonjour support... no checking whether to build with OpenSSL support... yes checking whether to build with SELinux support... no checking whether to build with systemd support... no checking for xml2-config... /var/pkgsrc/work/databases/postgresql10-contrib/work/.buildlink/bin/xml2-config checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for x86_64-unknown-freebsd11-ranlib... no checking for ranlib... ranlib checking for x86_64-unknown-freebsd11-strip... no checking for strip... strip checking whether it is possible to strip libraries... no checking for x86_64-unknown-freebsd11-ar... no checking for ar... ar checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g users checking for TAR... /usr/bin/tar checking whether ln -s works... yes checking for gawk... /usr/bin/awk checking for a thread-safe mkdir -p... config/install-sh -c -d checking for BISON... /var/pkgsrc/work/databases/postgresql10-contrib/work/.tools/bin/bison configure: using bison (GNU Bison) 3.0.4 checking for flex... /var/pkgsrc/work/databases/postgresql10-contrib/work/.tools/bin/lex configure: using lex 2.5.37 checking for perl... /var/pkgsrc/work/databases/postgresql10-contrib/work/.tools/bin/perl configure: using perl configure: WARNING: *** The installed version of Perl, /var/pkgsrc/work/databases/postgresql10-contrib/work/.tools/bin/perl, is too old to use with PostgreSQL. *** Perl version 5.8 or later is required, but this is . configure: WARNING: *** Without Perl you will not be able to build PostgreSQL from Git. *** You can obtain Perl from any CPAN mirror site. *** (If you are using the official distribution of PostgreSQL then you do not *** need to worry about this, because the Perl output is pre-generated.) checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking if compiler needs certain flags to reject unknown flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... -D_THREAD_SAFE checking for PTHREAD_PRIO_INHERIT... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for strerror_r... yes checking for getpwuid_r... yes checking for gethostbyname_r... yes checking whether strerror_r returns int... yes checking for main in -lm... yes checking for library containing setproctitle... none required checking for library containing dlopen... none required checking for library containing socket... none required checking for library containing shl_load... no checking for library containing getopt_long... none required checking for library containing crypt... -lcrypt checking for library containing shm_open... none required checking for library containing shm_unlink... none required checking for library containing clock_gettime... none required checking for library containing fdatasync... none required checking for library containing sched_yield... none required checking for library containing gethostbyname_r... none required checking for library containing shmget... none required checking for library containing readline... -lreadline checking for inflate in -lz... yes checking for library containing gss_init_sec_context... -lgssapi -lkrb5 -lcrypto checking for CRYPTO_new_ex_data in -lcrypto... yes checking for SSL_new in -lssl... yes checking for SSL_get_current_compression... yes checking for OPENSSL_init_ssl... no checking for BIO_get_data... no checking for BIO_meth_new... no checking for ASN1_STRING_get0_data... no checking for RAND_OpenSSL... no checking for CRYPTO_lock... yes checking for xmlSaveToBuffer in -lxml2... yes checking for uuid_to_string... yes checking atomic.h usability... no checking atomic.h presence... no checking for atomic.h... no checking crypt.h usability... no checking crypt.h presence... no checking for crypt.h... no checking dld.h usability... no checking dld.h presence... no checking for dld.h... no checking fp_class.h usability... no checking fp_class.h presence... no checking for fp_class.h... no checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking ieeefp.h usability... yes checking ieeefp.h presence... yes checking for ieeefp.h... yes checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking mbarrier.h usability... no checking mbarrier.h presence... no checking for mbarrier.h... no checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sys/epoll.h usability... no checking sys/epoll.h presence... no checking for sys/epoll.h... no checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking sys/sockio.h usability... yes checking sys/sockio.h presence... yes checking for sys/sockio.h... yes checking sys/tas.h usability... no checking sys/tas.h presence... no checking for sys/tas.h... no checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking ucred.h usability... no checking ucred.h presence... no checking for ucred.h... no checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking for net/if.h... yes checking for sys/ucred.h... yes checking for netinet/tcp.h... yes checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking gssapi/gssapi.h usability... yes checking gssapi/gssapi.h presence... yes checking for gssapi/gssapi.h... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking libxml/parser.h usability... yes checking libxml/parser.h presence... yes checking for libxml/parser.h... yes checking uuid.h usability... yes checking uuid.h presence... yes checking for uuid.h... yes checking whether byte ordering is bigendian... no checking for inline... inline checking for printf format archetype... printf checking for flexible array members... yes checking for signed types... yes checking for __func__... yes checking for _Static_assert... yes checking for typeof... typeof checking for __builtin_types_compatible_p... yes checking for __builtin_bswap32... yes checking for __builtin_bswap64... yes checking for __builtin_constant_p... yes checking for __builtin_unreachable... yes checking for computed goto support... yes checking for __VA_ARGS__... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for tzname... yes checking for union semun... yes checking for struct sockaddr_un... yes checking for struct sockaddr_storage... yes checking for struct sockaddr_storage.ss_family... yes checking for struct sockaddr_storage.__ss_family... no checking for struct sockaddr_storage.ss_len... yes checking for struct sockaddr_storage.__ss_len... no checking for struct sockaddr.sa_len... yes checking for struct addrinfo... yes checking for intptr_t... yes checking for uintptr_t... yes checking for unsigned long long int... yes checking for long long int... yes checking for locale_t... yes checking for struct cmsgcred... yes checking for struct option... yes checking for z_streamp... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking size of off_t... 8 checking for int timezone... no checking types of arguments for accept()... int, int, struct sockaddr *, socklen_t * checking whether gettimeofday takes only one argument... no checking for wcstombs_l declaration... yes (in xlocale.h) checking for cbrt... yes checking for clock_gettime... yes checking for dlopen... yes checking for fdatasync... yes checking for getifaddrs... yes checking for getpeerucred... no checking for getrlimit... yes checking for mbstowcs_l... yes checking for memmove... yes checking for poll... yes checking for posix_fallocate... yes checking for pstat... no checking for pthread_is_threaded_np... no checking for readlink... yes checking for setproctitle... yes checking for setsid... yes checking for shm_open... yes checking for symlink... yes checking for sync_file_range... no checking for towlower... yes checking for utime... yes checking for utimes... yes checking for wcstombs... yes checking for wcstombs_l... yes checking for fseeko... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking for posix_fadvise... yes checking whether posix_fadvise is declared... yes checking whether fdatasync is declared... yes checking whether strlcat is declared... yes checking whether strlcpy is declared... yes checking whether F_FULLFSYNC is declared... no checking for struct sockaddr_in6... yes checking for PS_STRINGS... no checking for snprintf... yes checking for vsnprintf... yes checking whether snprintf is declared... yes checking whether vsnprintf is declared... yes checking for isinf... yes checking for crypt... yes checking for fls... yes checking for getopt... yes checking for getrusage... yes checking for inet_aton... yes checking for mkdtemp... yes checking for random... yes checking for rint... yes checking for srandom... yes checking for strerror... yes checking for strlcat... yes checking for strlcpy... yes checking for unsetenv... yes checking for getpeereid... yes checking for getaddrinfo... yes checking for getopt_long... yes checking whether sys_siglist is declared... yes checking for syslog... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for opterr... yes checking for optreset... yes checking for strtoll... yes checking for strtoull... yes checking for rl_completion_append_character... yes checking for rl_completion_matches... yes checking for rl_filename_completion_function... yes checking for rl_reset_screen_size... yes checking for append_history... yes checking for history_truncate_file... yes checking test program... ok checking whether snprintf supports argument control... yes checking whether long int is 64 bits... yes checking whether snprintf supports the %z modifier... yes checking size of void *... 8 checking size of size_t... 8 checking size of long... 8 checking whether to build with float4 passed by value... yes checking whether to build with float8 passed by value... yes checking alignment of short... 2 checking alignment of int... 4 checking alignment of long... 8 checking alignment of double... 8 checking for int8... no checking for uint8... no checking for int64... no checking for uint64... no checking for __int128... yes checking for __int128 alignment bug... ok checking alignment of PG_INT128_TYPE... 16 checking for builtin __sync char locking functions... yes checking for builtin __sync int32 locking functions... yes checking for builtin __sync int32 atomic operations... yes checking for builtin __sync int64 atomic operations... yes checking for builtin __atomic int32 atomic operations... yes checking for builtin __atomic int64 atomic operations... yes checking for __get_cpuid... yes checking for __cpuid... no checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=... no checking for _mm_crc32_u8 and _mm_crc32_u32 with CFLAGS=-msse4.2... yes checking which CRC-32C implementation to use... SSE 4.2 with runtime check checking for library containing sem_init... none required checking which semaphore API to use... unnamed POSIX checking which random number source to use... OpenSSL checking for library containing bind_textdomain_codeset... -lintl checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for MSGFMT... /usr/pkg/bin/msgfmt checking for msgfmt flags... -c checking for msgmerge... /usr/pkg/bin/msgmerge checking for xgettext... /usr/pkg/bin/xgettext checking for onsgmls... no checking for nsgmls... no checking for DocBook V4.2... no checking for dbtoepub... no checking for xmllint... /usr/pkg/bin/xmllint checking for xsltproc... no checking for osx... no checking for sgml2xml... no checking for sx... no checking for fop... no checking thread safety of required library functions... yes checking whether clang supports -Wl,--as-needed... yes configure: using compiler=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) configure: using CFLAGS=-Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 configure: using CPPFLAGS=-I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -I/usr/pkg/include/libxml2 -I/usr/include configure: using LDFLAGS=-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -L/usr/lib -L/usr/lib -L/usr/lib -Wl,--as-needed configure: creating ./config.status config.status: creating GNUmakefile config.status: creating src/Makefile.global config.status: creating src/include/pg_config.h config.status: creating src/include/pg_config_ext.h config.status: creating src/interfaces/ecpg/include/ecpg_config.h config.status: linking src/backend/port/tas/dummy.s to src/backend/port/tas.s config.status: linking src/backend/port/dynloader/freebsd.c to src/backend/port/dynloader.c config.status: linking src/backend/port/posix_sema.c to src/backend/port/pg_sema.c config.status: linking src/backend/port/sysv_shmem.c to src/backend/port/pg_shmem.c config.status: linking src/backend/port/dynloader/freebsd.h to src/include/dynloader.h config.status: linking src/include/port/freebsd.h to src/include/pg_config_os.h config.status: linking src/makefiles/Makefile.freebsd to src/Makefile.port WARNING: Please add USE_TOOLS+=perl to the package Makefile.