=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> 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 osm2pgsql-0.92.1.tar.gz => Checksum RMD160 OK for osm2pgsql-0.92.1.tar.gz => Checksum SHA512 OK for osm2pgsql-0.92.1.tar.gz ===> Installing dependencies for osm2pgsql-0.92.1nb1 ========================================================================== The following variables will affect the build process of this package, osm2pgsql-0.92.1nb1. Their current value is shown below: * LUA_VERSION_DEFAULT = 52 * READLINE_DEFAULT = editline * SSLBASE = /usr * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /etc/openssl/private Based on these variables, the following variables have been set: * LUA_PACKAGE = lua52 * READLINE_TYPE = editline * 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 cmake>=2.8.1nb1: found cmake-3.9.3 => Tool dependency checkperms>=1.1: found checkperms-1.11nb1 => Build dependency boost-headers-1.65.*: found boost-headers-1.65.1 => Build dependency cwrappers>=20150314: found cwrappers-20170611 => Full dependency geos>=3.3.4: found geos-3.6.2 => Full dependency proj>=4.9.1: found proj-4.9.3 => Full dependency boost-libs-1.65.*: found boost-libs-1.65.1nb1 => Full dependency boost-libs>=1.65.0: found boost-libs-1.65.1nb1 => Full dependency lua52>=5.2.0<5.3: found lua52-5.2.4nb1 => Full dependency postgresql95-client>=9.5.1nb1: found postgresql95-client-9.5.9 ===> Overriding tools for osm2pgsql-0.92.1nb1 ===> Extracting for osm2pgsql-0.92.1nb1 tar: Global extended headers posix ustar archive. Extracting as plain files. Following files might be in the wrong directory or have wrong attributes. ===> Patching for osm2pgsql-0.92.1nb1 => Applying pkgsrc patches for osm2pgsql-0.92.1nb1 => Verifying /data/pkgsrc/geography/osm2pgsql/patches/patch-CMakeLists.txt => Applying pkgsrc patch /data/pkgsrc/geography/osm2pgsql/patches/patch-CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CMakeLists.txt,v 1.1 2017/06/10 20:00:42 wiedi Exp $ | |fix man path | |--- CMakeLists.txt.orig 2017-04-13 20:58:25.000000000 +0000 |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 252. done ===> Creating toolchain wrappers for osm2pgsql-0.92.1nb1 /bin/ln -s /data/scratch/geography/osm2pgsql/work/.buildlink/lib/pkgconfig/lua-5.2.pc /data/scratch/geography/osm2pgsql/work/.buildlink/lib/pkgconfig/lua.pc ===> Configuring for osm2pgsql-0.92.1nb1 => Fixing CMAKE_MODULE_PATH in CMakeLists.txt INFO: [subst.mk:cmake] Nothing changed in ./CMakeLists.txt. => Checking for portability problems in extracted files -- The C compiler identification is Clang 5.0.5 -- The CXX compiler identification is Clang 5.0.5 -- Check for working C compiler: /data/scratch/geography/osm2pgsql/work/.cwrapper/bin/clang -- Check for working C compiler: /data/scratch/geography/osm2pgsql/work/.cwrapper/bin/clang -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /data/scratch/geography/osm2pgsql/work/.cwrapper/bin/clang++ -- Check for working CXX compiler: /data/scratch/geography/osm2pgsql/work/.cwrapper/bin/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Building osm2pgsql 0.92.1 -- Looking for include file termios.h -- Looking for include file termios.h - found -- Looking for include file libgen.h -- Looking for include file libgen.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for lseek64 -- Looking for lseek64 - not found -- Looking for posix_fallocate -- Looking for posix_fallocate - found -- Looking for posix_fadvise -- Looking for posix_fadvise - found -- Looking for sync_file_range -- Looking for sync_file_range - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of off_t -- Check size of off_t - done -- Found ZLIB: /usr/lib/libz.so (found version "1.2.10") -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - found -- Found Threads: TRUE -- Found EXPAT: /usr/lib/libexpat.so (found version "2.2.1") -- Found BZip2: /usr/lib/libbz2.so (found version "1.0.6") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Found Osmium: /data/scratch/geography/osm2pgsql/work/osm2pgsql-0.92.1/contrib/libosmium -- Found Lua: /usr/pkg/lib/liblua5.2.so;/usr/lib/libm.so (found version "5.2.4") -- Boost version: 1.65.1 -- Found the following Boost libraries: -- system -- filesystem -- Found PostgreSQL: /usr/pkg/lib/libpq.so (found version "9.5.9") Libraries used to build: /usr/pkg/lib/libboost_system.so/usr/pkg/lib/libboost_filesystem.so/usr/pkg/lib/libpq.so/usr/lib/libz.so/usr/lib/libexpat.so/usr/lib/libbz2.so/usr/pkg/lib/libgeos.so/usr/pkg/lib/libproj.so/usr/pkg/lib/liblua5.2.so/usr/lib/libm.so Active compiler flags:-O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/lua-5.2 -- Added test: test-expire-tiles... -- Added test: test-hstore-match-only... -- Added test: test-middle-flat... -- Added test: test-middle-pgsql... -- Added test: test-middle-ram... -- Added test: test-options-database... -- Added test: test-options-parse... -- Added test: test-options-projection... -- Added test: test-output-multi-line-storage... -- Added test: test-output-multi-line... -- Added test: test-output-multi-point-multi-table... -- Added test: test-output-multi-point... -- Added test: test-output-multi-poly-trivial... -- Added test: test-output-multi-polygon... -- Added test: test-output-multi-tags... -- Added test: test-output-pgsql-area... -- Added test: test-output-pgsql-schema... -- Added test: test-output-pgsql-tablespace... -- Added test: test-output-pgsql-validgeom... -- Added test: test-output-pgsql-z_order... -- Added test: test-output-pgsql... -- Added test: test-parse-diff... -- Added test: test-parse-xml2... -- Added test: test-pgsql-escape... -- Added test: test-wildcard-match... -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) CMake Warning at tests/CMakeLists.txt:80 (message): Can not find python, regression test disabled -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_INSTALL_LIBDIR -- Build files have been written to: /data/scratch/geography/osm2pgsql/work/build => Rewrite cmake Dependencies files