[00:00:00] Creating the reference jail... done [00:00:01] Mounting system devices for 11-amd64-default-python37 [00:00:01] Mounting ports/packages/distfiles [00:00:01] Stashing existing package repository [00:00:01] Mounting ccache from: /ssd/ccache-nobody [00:00:01] Mounting packages from: /usr/local/poudriere/data/packages/11-amd64-default-python37 [00:00:01] Copying /var/db/ports from: /usr/local/etc/poudriere.d/options [00:00:01] Appending to make.conf: /usr/local/etc/poudriere.d/make.conf [00:00:01] Appending to make.conf: /usr/local/etc/poudriere.d/python37-make.conf /etc/resolv.conf -> /usr/local/poudriere/data/.m/11-amd64-default-python37/ref/etc/resolv.conf [00:00:01] Starting jail 11-amd64-default-python37 [00:00:01] Ports supports: FLAVORS SELECTED_OPTIONS [00:00:01] Logs: /usr/local/poudriere/data/logs/bulk/11-amd64-default-python37/2018-07-26_19h46m21s [00:00:01] Loading MOVED for /usr/local/poudriere/data/.m/11-amd64-default-python37/ref/usr/ports [00:00:03] Gathering ports metadata [00:00:03] Calculating ports order and dependencies [00:00:03] Sanity checking the repository [00:00:03] Checking packages for incremental rebuild needs [00:00:03] Deleting py37-setuptools-39.2.0.txz: new version: 40.0.0 [00:00:03] Deleting stale symlinks... done [00:00:03] Deleting empty directories... done [00:00:03] Cleaning the build queue [00:00:03] Sanity checking build queue [00:00:03] Processing PRIORITY_BOOST [00:00:03] Balancing pool [00:00:03] Recording filesystem state for prepkg... done [00:00:06] Building 4 packages using 4 builders [00:00:06] Starting/Cloning builders [00:00:08] Hit CTRL+t at any time to see build progress and stats [00:00:08] [01] [00:00:00] Building devel/gmake | gmake-4.2.1_2 [00:00:08] [02] [00:00:00] Building lang/perl5.26 | perl5-5.26.2 [00:00:08] [03] [00:00:00] Building devel/py-setuptools@py37 | py37-setuptools-40.0.0 [00:00:13] [01] [00:00:05] Finished devel/gmake | gmake-4.2.1_2: Success [00:00:15] [03] [00:00:07] Finished devel/py-setuptools@py37 | py37-setuptools-40.0.0: Success [11-amd64-default-python37] [2018-07-26_19h46m21s] [parallel_build:] Queued: 5 Built: 2 Failed: 0 Skipped: 0 Ignored: 0 Tobuild: 3 Time: 00:01:29 [02]: lang/perl5.26 | perl5-5.26.2 stage (00:00:17 / 00:01:22) [00:01:30] Logs: /usr/local/poudriere/data/logs/bulk/11-amd64-default-python37/2018-07-26_19h46m21s [00:02:16] [02] [00:02:08] Finished lang/perl5.26 | perl5-5.26.2: Success [00:02:17] [01] [00:00:00] Building databases/postgresql95-client | postgresql95-client-9.5.13 [00:02:40] [01] [00:00:23] Finished databases/postgresql95-client | postgresql95-client-9.5.13: Success [00:02:40] Stopping 4 builders [00:02:43] Committing packages to repository [00:02:43] Removing old packages [00:02:43] Building with flags: [00:02:43] Removing existing /usr/local build started at Thu Jul 26 19:49:04 MSK 2018 port directory: /usr/ports/databases/py-psycopg2 package name: py37-psycopg2-2.7.5 building for: FreeBSD 11-amd64-default-python37 11.2-RELEASE FreeBSD 11.2-RELEASE amd64 maintained by: sunpoet@FreeBSD.org Makefile ident: $FreeBSD: head/databases/py-psycopg2/Makefile 473229 2018-06-24 20:16:52Z sunpoet $ Poudriere version: 3.2.7 Host OSVERSION: 1102000 Jail OSVERSION: 1102000 Job Id: ---Begin Environment--- SHELL=/bin/csh OSVERSION=1102000 UNAME_v=FreeBSD 11.2-RELEASE UNAME_r=11.2-RELEASE BLOCKSIZE=K MAIL=/var/mail/root WARNING_WAIT=0 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root TRYBROKEN=yes LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.7 MASTERMNT=/usr/local/poudriere/data/.m/11-amd64-default-python37/ref DEV_WARNING_WAIT=0 POUDRIERE_BUILD_TYPE=bulk SAVED_TERM=screen GID=0 UID=0 PWD=/usr/local/poudriere/data/.m/11-amd64-default-python37/ref/.p NO_WARNING_PKG_INSTALL_EOL=yes P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=11-amd64-default-python37 SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/11-amd64-default-python37/ref/.p/pool SCRIPTPATH=/usr/local/share/poudriere/testport.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV=PACKAGES=/tmp/pkgs PKGREPOSITORY=/tmp/pkgs FLAVOR=py37 DEPENDS_ARGS= MAKE_ARGS= FLAVOR=py37 ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for py37-psycopg2-2.7.5: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- sunpoet@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PYTHON="/usr/local/bin/python3.7" XDG_DATA_HOME=/wrkdirs/usr/ports/databases/py-psycopg2/work-py37 XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/py-psycopg2/work-py37 HOME=/wrkdirs/usr/ports/databases/py-psycopg2/work-py37 PATH=/wrkdirs/usr/ports/databases/py-psycopg2/work-py37/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/databases/py-psycopg2/work-py37 XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/py-psycopg2/work-py37 HOME=/wrkdirs/usr/ports/databases/py-psycopg2/work-py37 PATH=/wrkdirs/usr/ports/databases/py-psycopg2/work-py37/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib -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 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" PORTEXAMPLES="" PYTHON_INCLUDEDIR=include/python3.7m PYTHON_LIBDIR=lib/python3.7 PYTHON_PLATFORM=freebsd11 PYTHON_PYOEXTENSION=opt-1.pyc PYTHON_SITELIBDIR=lib/python3.7/site-packages PYTHON_SUFFIX=37 PYTHON_VER=3.7 PYTHON_VERSION=python3.7 PYTHON2="@comment " PYTHON3="" OSREL=11.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/py37-psycopg2" EXAMPLESDIR="share/examples/py37-psycopg2" DATADIR="share/py37-psycopg2" WWWDIR="www/py37-psycopg2" ETCDIR="etc/py37-psycopg2" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/py37-psycopg2 DOCSDIR=/usr/local/share/doc/py37-psycopg2 EXAMPLESDIR=/usr/local/share/examples/py37-psycopg2 WWWDIR=/usr/local/www/py37-psycopg2 ETCDIR=/usr/local/etc/py37-psycopg2 --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes #### /usr/local/etc/poudriere.d/make.conf #### PETITECHEZ_AGREE_LICENSE= yes _LICENSE_STATUS= accepted #OPTIONS_UNSET+= DOXYGEN BOOTSTRAP OPTIONS_UNSET= LATEX #### /usr/local/etc/poudriere.d/python37-make.conf #### DEFAULT_VERSIONS+= python=3.7 python3=3.7 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=amd64 OPSYS=FreeBSD _OSRELEASE=11.2-RELEASE OSREL=11.2 OSVERSION=1102000 PYTHONBASE=/usr/local HAVE_COMPAT_IA32_KERN=YES _SMP_CPUS=8 CONFIGURE_MAX_CMD_LEN=262144 HAVE_PORTS_ENV=1 #### Misc Poudriere #### ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 34275 open files (-n) 1024 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===> License LGPL3 accepted by the user =========================================================================== =================================================== ===> py37-psycopg2-2.7.5 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz [11-amd64-default-python37] Installing pkg-1.10.5_1... [11-amd64-default-python37] Extracting pkg-1.10.5_1: .......... done ===> py37-psycopg2-2.7.5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of py37-psycopg2-2.7.5 =========================================================================== =================================================== =========================================================================== =================================================== ===> License LGPL3 accepted by the user ===> py37-psycopg2-2.7.5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by py37-psycopg2-2.7.5 for building =========================================================================== =================================================== ===> License LGPL3 accepted by the user ===> py37-psycopg2-2.7.5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by py37-psycopg2-2.7.5 for building => SHA256 Checksum OK for psycopg2-2.7.5.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License LGPL3 accepted by the user ===> py37-psycopg2-2.7.5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by py37-psycopg2-2.7.5 for building ===> Extracting for py37-psycopg2-2.7.5 => SHA256 Checksum OK for psycopg2-2.7.5.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for py37-psycopg2-2.7.5 =========================================================================== =================================================== ===> py37-psycopg2-2.7.5 depends on package: py37-setuptools>0 - not found ===> Installing existing package /packages/All/py37-setuptools-40.0.0.txz [11-amd64-default-python37] Installing py37-setuptools-40.0.0... [11-amd64-default-python37] `-- Installing python37-3.7.0_1... [11-amd64-default-python37] | `-- Installing gettext-runtime-0.19.8.1_1... [11-amd64-default-python37] | | `-- Installing indexinfo-0.3.1... [11-amd64-default-python37] | | `-- Extracting indexinfo-0.3.1: .... done [11-amd64-default-python37] | `-- Extracting gettext-runtime-0.19.8.1_1: .......... done [11-amd64-default-python37] | `-- Installing libffi-3.2.1_2... [11-amd64-default-python37] | `-- Extracting libffi-3.2.1_2: .......... done [11-amd64-default-python37] | `-- Installing readline-7.0.3_1... [11-amd64-default-python37] | `-- Extracting readline-7.0.3_1: .......... done [11-amd64-default-python37] `-- Extracting python37-3.7.0_1: .......... done [11-amd64-default-python37] Extracting py37-setuptools-40.0.0: .......... done Message from python37-3.7.0_1: =========================================================================== Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py37-gdbm databases/py-gdbm@py37 py37-sqlite3 databases/py-sqlite3@py37 py37-tkinter x11-toolkits/py-tkinter@py37 =========================================================================== ===> py37-psycopg2-2.7.5 depends on package: py37-setuptools>0 - found ===> Returning to build of py37-psycopg2-2.7.5 ===> py37-psycopg2-2.7.5 depends on file: /usr/local/bin/python3.7 - found ===> py37-psycopg2-2.7.5 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.4.2.txz [11-amd64-default-python37] Installing ccache-3.4.2... [11-amd64-default-python37] Extracting ccache-3.4.2: .......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) Message from ccache-3.4.2: NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> py37-psycopg2-2.7.5 depends on file: /usr/local/bin/ccache - found ===> Returning to build of py37-psycopg2-2.7.5 =========================================================================== =================================================== ===> py37-psycopg2-2.7.5 depends on shared library: libpq.so.5 - not found ===> Installing existing package /packages/All/postgresql95-client-9.5.13.txz [11-amd64-default-python37] Installing postgresql95-client-9.5.13... [11-amd64-default-python37] `-- Installing perl5-5.26.2... [11-amd64-default-python37] `-- Extracting perl5-5.26.2: .......... done [11-amd64-default-python37] Extracting postgresql95-client-9.5.13: .......... done Message from perl5-5.26.2: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. Message from postgresql95-client-9.5.13: The PostgreSQL port has a collection of "side orders": postgresql-docs For all of the html documentation p5-Pg A perl5 API for client access to PostgreSQL databases. postgresql-tcltk If you want tcl/tk client support. postgresql-jdbc For Java JDBC support. postgresql-odbc For client access from unix applications using ODBC as access method. Not needed to access unix PostgreSQL servers from Win32 using ODBC. See below. ruby-postgres, py-psycopg2 For client access to PostgreSQL databases using the ruby & python languages. postgresql-plperl, postgresql-pltcl & postgresql-plruby For using perl5, tcl & ruby as procedural languages. postgresql-contrib Lots of contributed utilities, postgresql functions and datatypes. There you find pg_standby, pgcrypto and many other cool things. etc... ===> py37-psycopg2-2.7.5 depends on shared library: libpq.so.5 - found (/usr/local/lib/libpq.so.5) ===> Returning to build of py37-psycopg2-2.7.5 =========================================================================== =>> Recording filesystem state for prebuild... done =================================================== ===> py37-psycopg2-2.7.5 depends on package: py37-setuptools>0 - found ===> py37-psycopg2-2.7.5 depends on file: /usr/local/bin/python3.7 - found ===> py37-psycopg2-2.7.5 depends on file: /usr/local/bin/ccache - found ===> py37-psycopg2-2.7.5 depends on shared library: libpq.so.5 - found (/usr/local/lib/libpq.so.5) ===> Configuring for py37-psycopg2-2.7.5 running config =========================================================================== =================================================== ===> Building for py37-psycopg2-2.7.5 running build running build_py creating build creating build/lib.freebsd-11.2-RELEASE-amd64-3.7 creating build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2 copying lib/_ipaddress.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2 copying lib/_range.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2 copying lib/__init__.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2 copying lib/errorcodes.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2 copying lib/extensions.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2 copying lib/psycopg1.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2 copying lib/pool.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2 copying lib/sql.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2 copying lib/extras.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2 copying lib/tz.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2 copying lib/_json.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2 creating build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_copy.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_extras_dictcursor.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_cancel.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/testutils.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_ipaddress.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_types_basic.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_cursor.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_bug_gc.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/dbapi20.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/__init__.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_module.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_replication.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_connection.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_notify.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_async_keyword.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_with.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/testconfig.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_bugX000.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_sql.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_types_extras.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_quote.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_errcodes.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_transaction.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_lobject.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_dates.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_psycopg2_dbapi20.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/dbapi20_tpc.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_fast_executemany.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_green.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests copying tests/test_async.py -> build/lib.freebsd-11.2-RELEASE-amd64-3.7/psycopg2/tests Skipping optional fixer: buffer Skipping optional fixer: idioms Skipping optional fixer: set_literal Skipping optional fixer: ws_comma running build_ext building 'psycopg2._psycopg' extension creating build/temp.freebsd-11.2-RELEASE-amd64-3.7 creating build/temp.freebsd-11.2-RELEASE-amd64-3.7/psycopg cc -DNDEBUG -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION=2.7.5 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=90513 -DHAVE_LO64=1 -I/usr/local/include/python3.7m -I. -I/usr/local/include -I/usr/local/include/postgresql/server -c psycopg/psycopgmodule.c -o build/temp.freebsd-11.2-RELEASE-amd64-3.7/psycopg/psycopgmodule.o In file included from psycopg/psycopgmodule.c:27: In file included from ./psycopg/psycopg.h:37: ./psycopg/config.h:164:15: error: static declaration of 'round' follows non-static declaration static double round(double num) ^ /usr/include/math.h:312:8: note: previous declaration is here double round(double); ^ 1 error generated. It appears you are missing some prerequisite to build the package from source. You may install a binary package by installing 'psycopg2-binary' from PyPI. If you want to install psycopg2 from source, please install the packages required for the build and try again. For further information please check the 'doc/src/install.rst' file (also at ). error: command 'cc' failed with exit status 1 *** Error code 1 Stop. make: stopped in /usr/ports/databases/py-psycopg2 build of databases/py-psycopg2 | py37-psycopg2-2.7.5 ended at Thu Jul 26 19:49:20 MSK 2018 build time: 00:00:16 !!! build failure encountered !!! [00:02:59] Error: Build failed in phase: build [00:02:59] Cleaning up [00:02:59] Unmounting file systems